/* Talkback's compact, filtered messenger. Capture and the setup portal keep their own layouts. */
#app.messenger-shell { height:100dvh; display:flex; flex-direction:column; background:#f8faf8; color:#202522; font-size:14px; --quiet:#647069; --line:#e1e7e2; }
#app.messenger-shell .header { flex:none; background:#bdd9cb; border:0; }
#app.messenger-shell .top { width:100%; max-width:none; height:44px; padding:0 16px; position:relative; }
#app.messenger-shell .wordmark { position:absolute; left:50%; transform:translateX(-50%); }
.tb-mark { object-fit:contain; width:24px; height:29px; }
#app.messenger-shell .top .account { margin-left:auto; }
#app.messenger-shell .main { flex:1; min-height:0; width:100%; max-width:none; padding:0; display:flex; flex-direction:column; }
#app.messenger-shell .messenger { flex:1; min-height:0; height:auto; grid-template-columns:240px minmax(0,1fr); border:0; border-radius:0; box-shadow:none; }
#app.messenger-shell h2,#app.messenger-shell h3 { font-weight:450; letter-spacing:-.025em; }
#app.messenger-shell button { font-weight:450; box-shadow:none; background-image:none; }
#app.messenger-shell .friends { margin:0; padding:0; gap:0; border:0; border-right:1px solid var(--line); border-radius:0; box-shadow:none; background:#f8faf8; display:flex; flex-direction:column; }
#app.messenger-shell .self-profile { position:relative; background:none; color:inherit; border:0; border-radius:0; box-shadow:none; }
#app.messenger-shell .profile-dropdown > summary { padding:20px 16px 12px; gap:12px; min-height:78px; color:inherit; }
#app.messenger-shell .self-details h3 { font-size:16px; }
#app.messenger-shell .self-availability { color:#56625b; font-size:12px; margin-top:4px; }
#app.messenger-shell .self-availability::before { content:""; display:inline-block; width:6px; height:6px; background:#1cb557; border-radius:50%; margin-right:5px; }
#app.messenger-shell .profile-dropdown-body { position:absolute; top:100%; left:10px; right:10px; z-index:15; max-height:330px; padding:14px; overflow:auto; background:#fff; border:1px solid var(--line); border-radius:12px; box-shadow:0 12px 30px #18312518; color:#202522; }
#app.messenger-shell .profile-dropdown-body p,#app.messenger-shell .profile-dropdown-body label { color:#58665d; }
#app.messenger-shell .profile-dropdown-body select { width:100%; }
#app.messenger-shell .avatar { border-radius:50%; background:#e2ebe5; color:#50665a; box-shadow:none; font-weight:450; overflow:hidden; }
#app.messenger-shell .avatar img { width:100%; height:100%; object-fit:cover; }
#app.messenger-shell .contacts-section { display:flex; flex:1; flex-direction:column; min-height:90px; padding:0 12px; overflow:visible; background:none; }
#app.messenger-shell .people-search { padding:0; display:grid; gap:14px; flex:none; }
#app.messenger-shell input[type=search] { border:1px solid #e1e6e2; border-radius:22px; box-shadow:none; background:transparent; min-height:32px; font-size:13px; padding:6px 12px; width:100%; }
#app.messenger-shell .presence-tabs { display:flex; gap:2px; padding-top:2px; }
#app.messenger-shell .presence-tab { flex:1; display:flex; gap:5px; justify-content:center; align-items:center; padding:6px 3px; min-height:32px; border:1px solid transparent; border-radius:20px; background:none; font-size:12px; }
#app.messenger-shell .presence-tab svg { width:17px; height:17px; color:#22a559; }
#app.messenger-shell .presence-tab[data-presence-tab=offline] svg { color:#cf6255; }
#app.messenger-shell .presence-tab[aria-pressed=true] { background:#e1f0e6; border-color:#c6e2d1; }
#app.messenger-shell .people-filters { display:flex; align-items:center; gap:8px; margin:0 0 10px; }
#app.messenger-shell .people-filters select { min-width:0; flex:1; min-height:30px; padding:4px 10px; border:1px solid var(--line); border-radius:20px; background:#f8faf8; box-shadow:none; font-size:12px; }
#app.messenger-shell .friend-list { padding:0; flex:1; min-height:0; overflow:auto; scrollbar-width:thin; }
#app.messenger-shell .friend { position:relative; display:flex; gap:10px; width:100%; min-height:38px; padding:6px 8px; border:0; border-radius:8px; box-shadow:none; margin:0 0 2px; background:none; }
#app.messenger-shell .friend:hover { background:#eff3ef; }
#app.messenger-shell .friend.active { background:#dceee2; }
#app.messenger-shell .friend-portrait { position:relative; flex:none; width:26px; height:26px; }
#app.messenger-shell .friend-portrait > svg { width:21px; height:21px; margin:2px; }
#app.messenger-shell .friend .avatar { width:26px; height:26px; font-size:12px; }
#app.messenger-shell .friend-name { font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#app.messenger-shell .friend-role { font-size:11px; margin-left:auto; color:#647169; max-width:82px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.roster-presence { position:absolute; right:-1px; bottom:-1px; width:8px; height:8px; border-radius:50%; border:1.5px solid #f8faf8; background:#1bb452; }
.roster-presence[data-status=Offline],.roster-presence[data-status=Invisible] { background:#ce6255; }
.roster-presence[data-status="Do not disturb"] { background:#8c9290; }
.roster-presence[data-status="Do not disturb"]::after { content:""; position:absolute; width:5px; height:5px; background:#f8faf8; top:-1px; right:-1px; border-radius:50%; }
#app.messenger-shell .chat-badge { flex:none; align-self:center; padding:1px 4px; font-size:10px; color:#fff; background:#38684f; }
#app.messenger-shell .groups-section { flex:0 1 auto; max-height:25%; min-height:65px; margin:10px 12px 0; padding:10px 0 0; border-top:1px solid var(--line); background:none; }
#app.messenger-shell .friends-heading { padding:0 6px 5px; }
#app.messenger-shell .friends-heading h2 { font-size:12px; color:#6d7771; }
#app.messenger-shell .group-list { overflow:auto; }
#app.messenger-shell .group-list .friend { min-height:32px; }
#app.messenger-shell .group-list .friend-name { font-size:13px; }
#app.messenger-shell .roster-footer { flex:none; display:flex; justify-content:space-between; padding:10px 16px; }
#app.messenger-shell .icon-button { display:grid; place-items:center; width:30px; height:30px; min-height:30px; padding:5px; background:transparent; border:0; border-radius:6px; }
#app.messenger-shell .icon-button svg { width:20px; height:20px; }
#app.messenger-shell .icon-button:hover { background:#e3ece6; }
#app.messenger-shell .icon-button[aria-pressed=true] { color:#276243; background:#deeee3; }
#app.messenger-shell .conversation { padding:0; min-width:0; }
#app.messenger-shell .chat-workspace { flex:1; min-height:0; grid-template-columns:minmax(0,1fr) 224px; gap:0; }
#app.messenger-shell .chat-main { background:#e5eeea; min-height:0; min-width:0; }
#app.messenger-shell .chat-heading { min-height:83px; flex-wrap:nowrap; gap:10px; padding:16px 18px; border:0; border-radius:0; background:#f8faf8; }
#app.messenger-shell .chat-heading > .avatar { flex:0 0 38px; width:38px; height:38px; }
#app.messenger-shell .chat-heading h2 { font-size:20px; }
#app.messenger-shell .chat-heading h2::before { content:none; }
#app.messenger-shell .chat-heading-name { flex:1; min-width:0; }
#app.messenger-shell .chat-heading .presence { margin-top:4px; font-size:12px; }
#app.messenger-shell .chat-toolbar { padding:0; gap:2px; background:none; margin-left:auto; flex:none; }
#app.messenger-shell .chat-tool > summary { width:28px; height:30px; min-height:30px; padding:5px; min-width:0; border:0; border-radius:6px; background:none; box-shadow:none; }
#app.messenger-shell .chat-tool > summary svg { width:18px; height:18px; }
#app.messenger-shell .chat-tool-popover { left:auto; right:0; }
#app.messenger-shell .chat-timeline { background:transparent; border:0; border-radius:0; box-shadow:none; padding:24px 22px; gap:16px; }
#app.messenger-shell .chat-message { width:fit-content; max-width:82%; align-self:flex-start; background:#f4f6f4; border:0; border-radius:16px 16px 16px 5px; box-shadow:none; padding:10px 14px; display:flex; flex-direction:column; gap:4px; }
#app.messenger-shell .chat-message.mine { align-self:flex-end; background:#cfe6d8; border-radius:16px 16px 5px 16px; }
#app.messenger-shell .message-body { font-size:14px; padding:0; line-height:1.45; }
#app.messenger-shell .message-time { font-size:10px; color:#627268; order:2; align-self:flex-end; }
#app.messenger-shell .chat-bottom { margin:0; padding:8px 16px 16px; background:transparent; border:0; border-radius:0; box-shadow:none; overflow:visible; }
#app.messenger-shell .chat-shortcuts { display:flex; gap:12px; margin:0 0 10px 8px; }
#app.messenger-shell .chat-action-icon { width:auto; min-height:25px; height:auto; display:flex; gap:6px; padding:3px; background:none; border:0; font-size:12px; }
#app.messenger-shell .chat-action-icon svg { width:15px; height:15px; }
#app.messenger-shell .chat-composer { display:flex; padding:8px 10px; gap:8px; align-items:center; border:1px solid #dce3dd; border-radius:20px; background:#fafcfb; box-shadow:0 3px 10px #25483609; }
#app.messenger-shell .chat-composer textarea { flex:1; height:34px; min-height:34px; max-height:90px; padding:7px 3px; font-size:14px; border:0; border-radius:0; background:none; box-shadow:none; }
#app.messenger-shell .chat-composer .primary { display:grid; place-items:center; width:32px; height:32px; min-height:32px; flex:0 0 32px; padding:7px; border:0; border-radius:50%; background:#222b26; color:#e0eee6; }
#app.messenger-shell .chat-composer .primary svg { width:18px; height:18px; }
#app.messenger-shell .chat-composer .error:not([hidden]) { flex-basis:100%; }
#app.messenger-shell .chat-composer:has(.error:not([hidden])) { flex-wrap:wrap; }
#app.messenger-shell .drop-hint { display:none; }
#app.messenger-shell .profile-rail { padding:24px 18px 16px; background:#f8faf8; border:0; border-left:1px solid var(--line); display:flex; flex-direction:column; gap:12px; overflow:auto; }
#app.messenger-shell .conversation-profile { padding:0; background:none; border:0; border-radius:0; box-shadow:none; text-align:left; display:flex; flex-direction:column; gap:18px; }
#app.messenger-shell .profile-identity { display:flex; align-items:center; gap:10px; }
#app.messenger-shell .profile-identity > div { flex:1; min-width:0; }
#app.messenger-shell .conversation-profile .avatar { width:40px; height:40px; flex:0 0 40px; margin:0; font-size:17px; }
#app.messenger-shell .conversation-profile h3 { font-size:19px; }
#app.messenger-shell .profile-role { font-size:12px; color:#627067; margin-top:4px; }
#app.messenger-shell .conversation-profile .presence { justify-content:flex-start; font-size:12px; }
#app.messenger-shell .rail-status { font-size:13px; color:#4c5d52; }
#app.messenger-shell .looking-label { background:#e3f0e7; color:#344f40; padding:9px 10px; font-size:12px; border-radius:8px; }
#app.messenger-shell .studio-facts { display:grid; grid-template-columns:65px minmax(0,1fr); gap:12px 10px; margin:4px 0; font-size:12px; line-height:1.5; }
#app.messenger-shell .studio-facts dt { color:#6a746e; }
#app.messenger-shell .studio-facts dd { margin:0; overflow-wrap:anywhere; }
#app.messenger-shell .profile-location { font-size:12px; color:#637168; }
#app.messenger-shell .studio-disclosure { padding-top:14px; border-top:1px solid var(--line); font-size:12px; }
#app.messenger-shell .studio-disclosure summary { color:inherit; cursor:pointer; }
#app.messenger-shell .studio-disclosure p { margin:12px 0; color:#607166; }
#app.messenger-shell .profile-brand { margin-top:auto; padding-top:28px; text-align:right; }
#app.messenger-shell .profile-brand .neinfeld-logo { width:132px; margin:0; }
#app.messenger-shell .profile-hidden .chat-workspace { grid-template-columns:minmax(0,1fr); }
#app.messenger-shell .profile-hidden .profile-rail { display:none; }
#app.messenger-shell .storage-banner { flex:none; margin:0; padding:6px 14px; border:0; border-bottom:1px solid #d3e2d7; border-radius:0; background:#edf4ef; font-size:12px; }
#app.messenger-shell .storage-banner p { font-size:12px; }
#app.messenger-shell .storage-banner button { min-height:28px; padding:3px 10px; font-size:12px; }
#app.messenger-shell .chat-audio { width:min(100%,420px); padding:0; background:none; border:0; border-radius:0; box-shadow:none; gap:7px; align-self:flex-start; }
#app.messenger-shell .chat-audio.mine { align-self:flex-end; }
#app.messenger-shell .compact-version { display:flex; align-items:center; gap:10px; border:0; border-radius:18px; padding:14px; background:#f2f5f2; box-shadow:none; }
#app.messenger-shell .compact-version.own-take { background:#252d28; color:#edf6f0; }
#app.messenger-shell .compact-version .inline-player { flex:1; min-width:0; display:flex; gap:10px; align-items:center; }
#app.messenger-shell .play-toggle { width:30px; height:30px; min-height:30px; flex:0 0 30px; padding:0; border:0; background:#242e28; color:white; font-size:12px; border-radius:50%; }
#app.messenger-shell .own-take .play-toggle { color:#222e26; background:#f4faf6; }
#app.messenger-shell .player-track { flex:1; min-width:0; display:grid; gap:6px; }
#app.messenger-shell .version-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; font-weight:450; }
#app.messenger-shell .player-time { font-size:11px; color:#738077; }
#app.messenger-shell .own-take .player-time { color:#c4d8cb; }
#app.messenger-shell .version-menu { position:relative; flex:none; }
#app.messenger-shell .version-menu > summary { list-style:none; cursor:pointer; padding:4px; color:inherit; }
#app.messenger-shell .version-menu > summary::-webkit-details-marker { display:none; }
#app.messenger-shell .version-menu .actions { display:grid; position:absolute; top:100%; right:0; z-index:6; width:160px; padding:8px; background:#fff; color:#202b24; box-shadow:0 8px 22px #1c392322; border:1px solid var(--line); border-radius:10px; }
#app.messenger-shell .version-menu button { border:0; background:none; text-align:left; }
#app.messenger-shell .audio-context { display:flex; gap:9px; align-items:center; padding:0 7px; }
#app.messenger-shell .audio-context button { border:0; background:none; padding:2px; min-height:24px; font-size:12px; color:#526d5c; }
#app.messenger-shell .version-reply { font-size:11px; padding:4px 10px 0; color:#5d7265; }
#app.messenger-shell .requests { padding:6px; font-size:12px; }
#app.messenger-shell .chat-action-card { width:fit-content; min-width:0; background:#f6f9f6; border:1px solid #d4e2d8; font-size:12px; }
#app.messenger-shell .chat-welcome { background:#e5eeea; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:16px; }
#app.messenger-shell .chat-welcome h1 { font-size:28px; font-weight:450; }
#app.messenger-shell .presence[data-status="Free for 10 mins"] i,#app.messenger-shell .presence[data-status="Up for vocals"] i,#app.messenger-shell .presence[data-status="Listening only"] i { background:#23a85b; }
@media(min-width:1250px) { #app.messenger-shell .messenger { grid-template-columns:280px minmax(0,1fr); } #app.messenger-shell .chat-workspace { grid-template-columns:minmax(0,1fr) 260px; } #app.messenger-shell .friend { min-height:42px; } }
@media(max-width:900px) { #app.messenger-shell .messenger { grid-template-columns:205px minmax(0,1fr); } #app.messenger-shell .chat-workspace { grid-template-columns:minmax(0,1fr); } #app.messenger-shell .profile-rail { display:none; } #app.messenger-shell .profile-hidden .profile-rail { display:flex; position:absolute; right:0; top:83px; bottom:0; width:240px; z-index:7; box-shadow:-10px 0 30px #18312516; } #app.messenger-shell .chat-heading { padding:12px; } }
@media(max-width:600px) { #app.messenger-shell .messenger { grid-template-columns:155px minmax(0,1fr); grid-template-rows:1fr; min-height:0; } #app.messenger-shell .friends { display:flex; margin:0; } #app.messenger-shell .friend-role { display:none; } #app.messenger-shell .people-search { display:grid; } #app.messenger-shell .presence-tab { font-size:10px; gap:3px; } #app.messenger-shell .presence-tab svg { width:12px; } #app.messenger-shell .contacts-section { padding:0 6px; } #app.messenger-shell .friend { gap:6px; padding:5px; } #app.messenger-shell .friend-name { font-size:12px; } #app.messenger-shell .chat-timeline { padding:14px 10px; } #app.messenger-shell .chat-heading { flex-wrap:wrap; min-height:90px; } #app.messenger-shell .chat-heading > .avatar { display:none; } #app.messenger-shell .chat-heading h2 { font-size:17px; } #app.messenger-shell .chat-toolbar { margin:0; } #app.messenger-shell .chat-bottom { padding:8px; } }
@media(prefers-reduced-motion:reduce) { #app.messenger-shell * { scroll-behavior:auto!important; transition:none!important; } }
.waveform-seek { position:relative; height:28px; min-width:0; }
.waveform { display:flex; align-items:center; justify-content:space-between; gap:2px; height:28px; color:#5c7365; }
.waveform i { flex:1; min-width:1px; max-width:3px; background:currentColor; border-radius:2px; }
.own-take .waveform { color:#bad9c6; }
.waveform-pending::before { content:""; width:100%; height:2px; background:currentColor; opacity:.4; }
#app.messenger-shell .waveform-seek input[type=range] { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:.015; cursor:pointer; }
#app.messenger-shell .waveform-seek:focus-within { outline:2px solid #397956; outline-offset:3px; border-radius:3px; }
#app.messenger-shell .friend { min-height:34px; padding-top:4px; padding-bottom:4px; }
#app.messenger-shell .chat-audio.mine .audio-context { justify-content:flex-end; }
#app.messenger-shell .friend-list { display:block; }
#app.messenger-shell .profile-brand .website-logo { width:140px; aspect-ratio:1922 / 200; }
#app.messenger-shell .website-logo img { width:113.007284%; height:362%; left:-6.555671%; top:-125%; filter:brightness(0); }
#app.messenger-shell .self-availability[data-status=Invisible]::before { background:#ce6255; }
#app.messenger-shell .self-availability[data-status="Do not disturb"]::before { background:#8c9290; }
