@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url('./fonts/roboto-latin-400-normal.woff2')}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:url('./fonts/roboto-latin-500-normal.woff2')}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url('./fonts/roboto-latin-700-normal.woff2')}@font-face{font-family:'Material Symbols Outlined';font-style:normal;font-weight:100 700;src:url('./fonts/material-symbols.woff2')}
.material-symbols-outlined{font-family:'Material Symbols Outlined';font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24;-webkit-font-smoothing:antialiased}
.ref-shell{--main:#1f2937;--muted:#6b7280;--line:#e5e7eb;--panel:#fff;--bg:#f9fafb;--primary:#2196f3;font-family:Roboto,sans-serif;color:var(--main);background:var(--bg);position:fixed;inset:0;height:var(--visible-height,100dvh);display:flex;flex-direction:column}
/* TALKCHAT_R31R49_CHAT_SELECTION_OWNER
   Prevent accidental drag selection across the chat UI only.
   Text inputs, search fields, and editable widgets remain selectable. */
.ref-shell,
.ref-shell * {
  -webkit-user-select: none !important;
  user-select: none !important;
}
.ref-shell :is(input, textarea, select, [contenteditable]:not([contenteditable="false"]), [role="textbox"]),
.ref-shell :is(input, textarea, select, [contenteditable]:not([contenteditable="false"]), [role="textbox"]) * {
  -webkit-user-select: text !important;
  user-select: text !important;
}
/* /TALKCHAT_R31R49_CHAT_SELECTION_OWNER */
.ref-shell button{font-family:inherit}.ref-shell button:disabled{cursor:default;opacity:1}.ref-shell button:not(:disabled):hover{color:var(--primary)}.ref-shell .topbar{height:56px;min-height:56px;display:flex;align-items:center;gap:0;padding:0 0 0 16px;background:var(--panel);border-bottom:1px solid var(--line);z-index:20}.ref-brand{font-size:18px;font-weight:700;letter-spacing:-.4px;margin-right:12px}.ref-brand .ref-icon{display:none}.header-room{display:flex;align-items:center;gap:8px;border:0;border-left:1px solid var(--line);padding:4px 12px;background:transparent;text-align:left;min-width:0}.room-avatar{width:32px;height:32px;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--primary);flex-shrink:0}.header-room strong{font-size:14px;font-weight:600;display:block;line-height:18px}.header-room small{display:block;font-size:12px;color:var(--muted);margin-top:2px}.header-room small b{font-weight:700}.ref-shell .connection{margin-left:auto;font-size:10px;width:auto;flex:0 0 auto;padding:0 8px;color:#10b981}.ref-shell .connection.offline{color:#ef4444}.header-rooms{display:flex;align-items:center;padding:0 12px;border-right:1px solid var(--line);font-size:12px;color:var(--muted)}.header-actions{width:360px;display:flex;justify-content:space-around;align-items:center;flex-shrink:0}.ref-icon{width:32px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.ref-icon .material-symbols-outlined{font-size:20px}.header-actions>.ref-icon{width:40px;height:40px;border-radius:50%;position:relative}.self-avatar{background:none;border:0;margin:0 8px;padding:0;display:flex}.ref-avatar{display:block;width:40px;height:40px;object-fit:cover;border-radius:50%;background:#f3f4f6;border:2px solid #60a5fa}.ref-avatar.female{border-color:#f472b6}.self-avatar .ref-avatar{width:32px;height:32px}.ref-shell .shell-body{display:flex;flex:1;min-height:0;position:relative;overflow:hidden}.ref-shell .rail{width:72px;padding:16px 8px 8px;gap:8px;flex-shrink:0;display:flex;align-items:center;flex-direction:column;border-right:1px solid var(--line);background:var(--panel);overflow-y:auto}.rail .menu-caption{border:1px solid var(--line);border-radius:8px;font-size:11px;font-weight:700;letter-spacing:.4px;line-height:18px;min-height:22px;padding:0;width:100%;color:var(--muted)}.rail-items{width:100%;border-top:1px solid var(--line);padding-top:8px}.rail-item{position:relative}.rail-item:after{content:'';display:block;height:1px;background:var(--line);margin:4px 12px}.rail-item:last-child:after{display:none}.ref-shell .rail .rail-item button,.ref-shell .rail .logout{width:100%;aspect-ratio:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:0;border:0;border-radius:12px;padding:0;background:transparent;color:var(--muted)}.rail-item button span:last-child,.rail .logout span:last-child{font-size:9px;line-height:11px;font-weight:500;text-align:center}.ref-shell .rail .logout{margin-top:auto;flex-shrink:0}.ref-shell .chat{flex:1;min-width:0;display:flex;flex-direction:column;position:relative;background:var(--bg);overflow:hidden}.ref-shell .messages{flex:1;min-height:0;display:flex;flex-direction:column;overflow:auto;overflow-anchor:none;padding:12px 8px 2px;gap:4px}.message-spacer{flex-grow:1;flex-shrink:0}.ref-shell .message{flex-shrink:0;display:flex;gap:8px;padding:2px 0;margin:0}.msg-avatar .ref-avatar{width:32px;height:32px}.msg-meta{display:flex;align-items:center;gap:8px;line-height:17px}.msg-meta b{font-size:12px;color:#2196f3;font-weight:700}.ref-shell .message time{font-size:9px;color:var(--muted);margin:0}.msg-body{min-width:0}.ref-shell .message .text{font-size:13px;line-height:19px;white-space:pre-wrap;overflow-wrap:anywhere}.ref-shell .typing{height:16px;min-height:16px;font-size:10px;padding:0 12px}.ref-composer-wrap{padding:0 8px 8px;flex-shrink:0}.ref-shell .composer{min-height:44px;display:flex;align-items:center;gap:2px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:4px 6px;margin:0}.ref-shell .composer input{flex:1;min-width:0;border:none;outline:none;padding:6px 4px;border-radius:0;background:transparent;font:13px Roboto,sans-serif;color:var(--main);height:32px}.ref-shell .composer .ref-icon{color:#aaa}.ref-shell #sendButton{height:32px;width:32px;padding:0;border-radius:8px;background:#3b82f6;color:white;display:flex;align-items:center;justify-content:center;border:0;flex-shrink:0}.ref-shell #sendButton .material-symbols-outlined{font-size:18px}.ref-shell .right-panel{width:360px;min-width:360px;display:flex;flex-direction:column;background:#fff;border-left:1px solid var(--line);position:relative}.ref-shell .panel-tabs{display:flex;flex-shrink:0}.ref-shell .people-tabs{padding:12px;border-bottom:1px solid var(--line)}.people-tabs>div{display:flex;width:100%;border:1px solid #ddd;border-radius:8px;overflow:hidden}.ref-shell .panel-tabs button{flex:1;min-width:0;border:0;border-radius:0;background:white;color:#666;font-size:12.8px;padding:6px 8px;white-space:nowrap}.people-tabs button+button{border-left:1px solid #e0e0e0!important}.ref-shell .people-tabs button.selected{background:#f5f5f5;color:#555;font-weight:700}.people-tabs button b{font-size:12px;color:#999;border:1px solid #00000012;border-radius:4px;padding:0 4px;margin-left:3px}.people-tabs .ref-icon{width:34px;flex:0 0 34px!important}.ref-shell .room-tabs{border-bottom:1px solid var(--line)}.ref-shell .room-tabs button{padding:12px 4px;font-size:14px}.ref-shell .room-tabs button.selected{border-bottom:2px solid var(--primary);color:var(--primary)}.ref-shell .panel-search{padding:12px;border-bottom:1px solid var(--line)}.ref-shell .panel-search[hidden]{display:none}.ref-shell .panel-search input{width:100%;background:#f3f4f6;border:0;border-radius:8px;padding:10px 12px;font:14px Roboto,sans-serif}.ref-shell .panel-content{overflow-y:auto;flex:1;padding:8px}.ref-shell .person{display:flex;align-items:center;gap:8px;padding:10px 6px;border-bottom:1px solid #e5e7eb80;min-height:61px}.person-avatar{position:relative;flex-shrink:0}.person-avatar .ref-avatar{width:48px;height:48px}.ref-shell .person .online{position:absolute;bottom:0;right:0;width:12px;height:12px;background:#22c55e;border:2px solid white;border-radius:50%}.person-name{flex:1;min-width:0;font-size:13px}.person-name strong{font-weight:600}.person-name small{display:block;color:var(--muted);font-size:10px}.person>.material-symbols-outlined{font-size:16px;color:#9ca3af}.role-stars{font-size:9px;color:#3b82f6;display:flex;gap:1px}.ref-shell .room-card{display:flex;align-items:center;gap:10px;position:relative;overflow:hidden;padding:5px 52px 5px 16px;min-height:64px;width:100%;text-align:left;border:1px solid #00000012;border-left:3px solid #00000021;border-radius:6px;background:#fff;margin-bottom:8px}.ref-shell .room-card.current{border-left-color:#2196f3;background:#2196f30a}.room-symbol{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:6px;background:linear-gradient(135deg,#2196f333,#2196f30d);color:#2196f3;flex-shrink:0}.room-symbol .material-symbols-outlined{font-size:22px}.rs-body{min-width:0;flex:1;line-height:1.35}.rs-body>b{font-size:16px;color:#414141;white-space:nowrap}.rs-body small{display:block;font-size:11.52px;color:#999}.rs-body small em{font-style:normal;color:#10b981;font-weight:700}.rs-angle{position:absolute;right:0;top:0;bottom:0;width:54px;background:#2196f31a;clip-path:polygon(28px 0,100% 0,100% 100%,0 100%)}.room-card.current .rs-angle{background:#2196f3}.rs-arrow{position:absolute;right:0;top:0;bottom:0;width:34px;display:flex;align-items:center;justify-content:center;color:#2196f3}.rs-arrow .material-symbols-outlined{font-size:18px}.room-card.current .rs-arrow{color:white}.mobile-side{display:none}.ref-shell .panel-backdrop{display:none}.ref-shell .mobile-only{display:none}.ref-shell [hidden]{display:none!important}
@media(max-width:767px){.ref-shell .topbar{height:48px;min-height:48px;padding:0 8px;gap:8px}.ref-shell .desktop-only,.ref-shell [data-desktop]{display:none!important}.ref-brand{margin:0}.ref-brand .ref-icon{display:flex;width:32px;height:32px}.header-room{padding:4px 8px;gap:8px;flex:1;overflow:hidden}.header-room strong{font-size:14px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-room small{font-size:10px;max-width:170px;white-space:nowrap}.header-actions{width:auto;gap:4px;margin-left:auto}.header-actions>.ref-icon{width:32px;height:36px}.header-actions>.ref-icon .material-symbols-outlined{font-size:24px}.self-avatar{margin:0}.ref-shell .connection{position:absolute;width:6px;height:6px;padding:0;border-radius:50%;background:#10b981;color:transparent;font-size:0;left:33px;top:8px}.ref-shell .connection.offline{background:#ef4444}.ref-shell .rail{position:fixed;top:48px;bottom:0;left:0;z-index:50;transform:translateX(-100%);transition:transform .2s}.ref-shell .rail.open{transform:translateX(0);box-shadow:0 20px 25px #0002}.ref-shell .right-panel{position:absolute;right:0;top:0;bottom:0;width:80%;min-width:0;z-index:40;transform:translateX(100%);transition:transform .3s}.ref-shell .right-panel.open{transform:translateX(0);box-shadow:0 25px 50px #0004}.ref-shell .panel-backdrop.open{display:block;position:absolute;inset:0;background:#0009;z-index:30}.ref-shell .panel-close{display:flex;position:absolute;bottom:0;left:-21px;width:42px;height:72px;border:0;border-radius:6px 6px 0 0;background:#3b82f6;color:white;align-items:center;justify-content:center}.ref-shell .messages{padding:8px 40px 2px 10px}.mobile-side{display:flex;position:absolute;right:0;top:50%;transform:translateY(-50%);z-index:20;flex-direction:column;border-radius:8px 0 0 8px;box-shadow:0 2px 8px #0002;background:white;border:1px solid #0000001a;border-right:0;overflow:hidden}.mobile-side button{width:36px;height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;border-bottom:1px solid var(--line);background:none;color:var(--muted)}.mobile-side button:last-child{border:0}.mobile-side .material-symbols-outlined{font-size:15px}.mobile-side small{font-size:7px;font-weight:600}.mobile-side b{font-size:10px;border:1px solid var(--line);background:#0000000d;border-radius:20px;min-width:20px;padding:0 4px;line-height:12px}.ref-composer-wrap{padding:0}.ref-shell .composer{border-radius:0;border-left:0;border-right:0;border-bottom:0;padding:4px}.ref-shell .composer:has(input:not(:placeholder-shown)) .extra-tool{display:none}.ref-shell .person{padding:10px 6px}.ref-shell .room-card{padding-left:8px}}

.ref-shell .composer button.ref-icon{background:transparent;color:#aaa;border:0;padding:0;border-radius:8px;width:32px;height:32px}
@media(max-width:767px){.ref-shell .right-panel:not(.open) .panel-close{display:none}.ref-shell .right-panel:not(.open){pointer-events:none}.ref-shell .right-panel.open{pointer-events:auto}}

.lucide-icon{width:20px;height:20px}.ref-shell .composer .emoji-trigger{font-size:26px}.ref-shell .composer button[data-action="emoji"]{width:42px}@media(max-width:767px){.lucide-icon{width:24px;height:24px}}

/* Screenshot correction 2026-09-17: no seats; bubbles and room background. */
.ref-shell .chat{background:transparent}.ref-shell .chat:before{content:'';position:absolute;inset:0;min-height:100vh;background:url('./reference/room-bg-6a56b32216c9ab9ba4c153ab-1789350696016-352667067.webp') center top/cover no-repeat;pointer-events:none}.ref-shell .chat>*{position:relative}.ref-shell .chat>.mobile-side{position:absolute}.ref-shell .messages{padding-top:12px;gap:4px}.ref-shell .message{padding:0;align-items:flex-start;gap:4px}.ref-shell .msg-body{background:#fff;border:1px solid #eee;border-radius:6px;padding:3px 6px;box-shadow:0 1px 1px #0002;max-width:90%;width:max-content;min-width:0}.ref-shell .msg-meta{line-height:15px}.ref-shell .msg-meta b{font-size:12px}.ref-shell .message .text{font-size:14px;line-height:19px;white-space:pre-wrap;color:#1f2937}.ref-shell .message time{font-size:10px;color:#9ca3af;display:inline-block;margin-left:8px;white-space:nowrap;vertical-align:baseline}.ref-shell .system-message{display:flex;align-items:center;gap:6px;align-self:flex-start;margin:0 0 0 8px;padding:5px 8px;border-left:3px solid #999;border-right:3px solid #999;border-radius:6px;background:#f3f4f6;color:#8b929d;font-size:12px;line-height:16px;box-shadow:0 1px 1px #0002}.system-message .material-symbols-outlined{font-size:16px}.ref-shell .person{min-height:69px}.ref-shell .person-name strong{font-size:12px}.ref-shell .person-name small{font-size:11px;line-height:13px}.ref-shell .person>.gender-icon .material-symbols-outlined{font-size:12px}.gender-icon.male{color:#5185ff}.gender-icon.female{color:#ff3892}.ref-shell .role-stars{gap:1px;font-size:9px}.header-extra{display:flex;margin-left:auto;align-items:center}.header-extra button{display:flex;align-items:center;gap:8px;border:0;border-left:1px solid var(--line);padding:0 24px;background:transparent;color:var(--muted);font-size:12px;height:24px}.header-extra .material-symbols-outlined{font-size:18px}.header-rooms{border-left:1px solid var(--line)}.header-actions>.ref-icon:after{content:'';position:absolute;right:-12px;top:8px;height:24px;width:1px;background:var(--line)}.header-actions>.ref-icon[data-action="people"]{background:#f3f4f6}.ref-shell .connection{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}.room-avatar{border:0;border-right:1px solid var(--line);color:#8b5cf6;padding-right:8px;width:32px}.ref-shell .ref-brand{width:118px;flex-shrink:0}.ref-shell .ref-composer-wrap{padding:8px;background:#ffffffed;border-top:1px solid var(--line)}.ref-shell .typing{height:0;min-height:0}.ref-shell .typing:not(:empty){height:16px;min-height:16px;background:#ffffffc0}.ref-shell .composer{border-radius:18px}.ref-shell .message-spacer{min-height:0}
@media(max-width:767px){.ref-shell .ref-brand{width:auto;flex-shrink:1}.header-actions{gap:4px}.header-actions>.ref-icon:after{display:none}.ref-shell .ref-composer-wrap{padding:0}.ref-shell .composer{border-radius:0}.ref-shell .messages{padding-top:8px}.ref-shell .msg-body{max-width:calc(100% - 36px)}}

/* TALKCHAT_R31R25R1_MOBILE_PANEL_CLOSE_ARROW_OWNER: preserve white glyph on blue button */
@media (max-width: 767px) {
  .ref-shell .right-panel.open > .panel-close.mobile-only,
  .ref-shell .right-panel.open > .panel-close.mobile-only:hover,
  .ref-shell .right-panel.open > .panel-close.mobile-only:focus,
  .ref-shell .right-panel.open > .panel-close.mobile-only:focus-visible,
  .ref-shell .right-panel.open > .panel-close.mobile-only:active {
    color: #fff !important;
  }
  .ref-shell .right-panel.open > .panel-close.mobile-only .material-symbols-outlined,
  .ref-shell .right-panel.open > .panel-close.mobile-only:hover .material-symbols-outlined,
  .ref-shell .right-panel.open > .panel-close.mobile-only:focus-visible .material-symbols-outlined,
  .ref-shell .right-panel.open > .panel-close.mobile-only:active .material-symbols-outlined,
  .ref-shell .right-panel.open > .panel-close.mobile-only svg {
    color: #fff !important;
    fill: none;
  }
}

/* TALKCHAT_R31R27R3_PC_HAMBURGER_OWNER */
@media (min-width:768px) {
 .ref-shell .rail:not(.open) .rail-items, .ref-shell .rail:not(.open) > .logout {display:none!important;}
 .ref-shell .rail .menu-caption .material-symbols-outlined {font-size:20px;line-height:1;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;}
}

/* TALKCHAT_R31R27R4_DESKTOP_HEADER_RAIL_TOGGLE */
@media (min-width:768px) {
 .ref-shell .topbar .tc-desktop-hamburger {
   display:inline-flex!important; flex:0 0 34px; width:34px; height:34px;
   align-items:center; justify-content:center; cursor:pointer;
   border:0; background:transparent; color:var(--muted); padding:0;
 }
 .ref-shell .topbar .tc-desktop-hamburger .material-symbols-outlined {
   display:inline-flex; font-size:23px; line-height:1; color:inherit;
 }
 .ref-shell .topbar .tc-desktop-hamburger:hover,
 .ref-shell .topbar .tc-desktop-hamburger:focus-visible {color:var(--text);}
 .ref-shell .rail:not(.open) {
   width:0!important; min-width:0!important; flex-basis:0!important;
   padding:0!important; border:0!important; gap:0!important;
   overflow:hidden!important; visibility:hidden!important;
 }
 .ref-shell .rail.open {
   width:72px!important; min-width:72px!important; flex-basis:72px!important;
   visibility:visible!important;
 }
 .ref-shell .rail .menu-caption {display:none!important;}
}
@media (max-width:767px) {
 .ref-shell .topbar .tc-desktop-hamburger {display:none!important;}
}

/* TALKCHAT_R31R27R5_PC_HEADER_MENU_OWNER */
@media (min-width: 768px) {
  /* Logo and hamburger are siblings in the same topbar row; no line wrapping. */
  .ref-shell .topbar > .ref-brand {
    display: flex !important; align-items: center !important;
    flex: 0 0 118px !important; width: 118px !important;
    min-width: 0 !important; margin-right: 0 !important;
  }
  .ref-shell .topbar > .tc-desktop-hamburger {
    display: inline-flex !important; position: relative !important;
    order: -1 !important; /* PC: hamburger solda, TalkChat logosu sagda. */
    flex: 0 0 36px !important; width: 36px !important; height: 36px !important;
    min-width: 36px !important; align-self: center !important;
    justify-content: center !important; align-items: center !important;
    padding: 0 !important; margin: 0 6px 0 0 !important;
    border: 0 !important; background: transparent !important;
    color: var(--muted, #64748b) !important; cursor: pointer !important;
  }
  .ref-shell .topbar > .tc-desktop-hamburger .material-symbols-outlined {
    display: inline-flex !important; font-size: 23px !important;
    line-height: 1 !important; color: inherit !important;
  }
  .ref-shell .topbar > .tc-desktop-hamburger:hover,
  .ref-shell .topbar > .tc-desktop-hamburger:focus-visible {
    color: var(--text, #1f2937) !important;
  }
  /* Collapse the actual rail width, returning all 72px to the chat canvas. */
  .ref-shell .shell-body > .rail.open {
    display: flex !important; width: 72px !important; min-width: 72px !important;
    flex: 0 0 72px !important; padding: 16px 8px 8px !important;
    border-right: 1px solid var(--line) !important;
    visibility: visible !important; overflow-y: auto !important;
  }
  .ref-shell .shell-body > .rail:not(.open) {
    width: 0 !important; min-width: 0 !important; flex: 0 0 0px !important;
    padding: 0 !important; border-right: 0 !important;
    visibility: hidden !important; overflow: hidden !important;
  }
}
@media (max-width: 767px) {
  .ref-shell .topbar > .tc-desktop-hamburger { display: none !important; }
}

/* TALKCHAT_R31R48_SIDEBAR_PEOPLE_HOVER_OWNER
   Root stylesheet: hover only; no DOM, role, image, dimension, or event changes. */
.ref-shell .rail .rail-item > button,
.ref-shell .rail > .logout,
.ref-shell .right-panel .panel-content .person[data-profile] {
  transition: background-color 160ms ease, box-shadow 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .ref-shell .rail .rail-item > button:not(:disabled):hover,
  .ref-shell .rail > .logout:not(:disabled):hover {
    background-color: rgba(59,130,246,.075);
    box-shadow: inset 2px 0 0 rgba(59,130,246,.52);
    color: #2563eb;
  }
  .ref-shell .right-panel .panel-content .person[data-profile]:hover {
    background-color: rgba(59,130,246,.052);
    box-shadow: inset 2px 0 0 rgba(59,130,246,.25);
  }
  html.dark .ref-shell .rail .rail-item > button:not(:disabled):hover,
  html.dark .ref-shell .rail > .logout:not(:disabled):hover {
    background-color: rgba(96,165,250,.105);
    box-shadow: inset 2px 0 0 rgba(147,197,253,.52);
    color: #93c5fd !important;
  }
  html.dark .ref-shell .right-panel .panel-content .person[data-profile]:hover {
    background-color: rgba(96,165,250,.085);
    box-shadow: inset 2px 0 0 rgba(147,197,253,.28);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ref-shell .rail .rail-item > button,
  .ref-shell .rail > .logout,
  .ref-shell .right-panel .panel-content .person[data-profile] {
    transition: none;
  }
}
/* /TALKCHAT_R31R48_SIDEBAR_PEOPLE_HOVER_OWNER */

/* TALKCHAT_R31R28_PEOPLE_TABS_STABLE_OWNER: desktop tabs never shift on selection. */
@media (min-width: 768px) {
  .ref-shell #panelTabs.people-tabs-desktop .people-panel-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .ref-shell #panelTabs.people-tabs-desktop .people-panel-filters > button,
  .ref-shell #panelTabs.people-tabs-desktop .people-panel-filters > button:hover,
  .ref-shell #panelTabs.people-tabs-desktop .people-panel-filters > button:focus,
  .ref-shell #panelTabs.people-tabs-desktop .people-panel-filters > button:active,
  .ref-shell #panelTabs.people-tabs-desktop .people-panel-filters > button.selected {
    transform: none !important;
    translate: none !important;
    scale: none !important;
    transition: none !important;
    animation: none !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* TALKCHAT_R31R51_EVERYONE_OFFLINE_DIRECTORY_OWNER: only Herkes offline member rows */
.ref-shell .right-panel .panel-content .person.tc-directory-offline { opacity:.57; }
.ref-shell .right-panel .panel-content .person.tc-directory-offline .online.status-offline {
  background-color:#9ca3af!important;
  box-shadow:none!important;
}
.ref-shell .right-panel .panel-content .person.tc-directory-offline .person-avatar img { filter:grayscale(.32); }
.ref-shell .right-panel .panel-content .person.tc-directory-offline > .material-symbols-outlined { opacity:.85; }
@media (hover:hover) and (pointer:fine) {
  .ref-shell .right-panel .panel-content .person.tc-directory-offline:hover {opacity:.72;}
}
.ref-shell .right-panel .panel-content .tc-directory-more {
  display:block; width:100%; margin:10px 0 12px; padding:11px 8px;
  border:1px solid var(--line); border-radius:8px; background:transparent;
  color:var(--primary); font:inherit; font-size:12px; font-weight:600;
  cursor:pointer;
}
.ref-shell .right-panel .panel-content .tc-directory-note {
  color:var(--muted);font-size:12px;text-align:center;margin:12px 4px;
}
/* /TALKCHAT_R31R51_EVERYONE_OFFLINE_DIRECTORY_OWNER */


/* TALKCHAT_R31R55_MOBILE_CHAT_INPUT_BORDER_OWNER
   Only mobile chat text input; no changes to composer row, emojis or send buttons.
   The original 32px input height and responsive flex sizing are preserved. */
@media (max-width: 767px) {
  .ref-shell .composer input#messageInput {
    box-sizing: border-box;
    border: 1px solid #d9dee6 !important;
    border-radius: 10px !important;
    padding-inline: 9px !important;
  }
  .ref-shell .composer input#messageInput:focus {
    border-color: #93bdf3 !important;
  }
  html.dark .ref-shell .composer input#messageInput,
  html[data-theme="dark"] .ref-shell .composer input#messageInput {
    border-color: #526176 !important;
  }
  html.dark .ref-shell .composer input#messageInput:focus,
  html[data-theme="dark"] .ref-shell .composer input#messageInput:focus {
    border-color: #93bdf3 !important;
  }
}
/* /TALKCHAT_R31R55_MOBILE_CHAT_INPUT_BORDER_OWNER */

/* TALKCHAT_R31R62_IOS_VIEWPORT_ROOT_OWNER
   One iOS/iPadOS app viewport: body is NOT scrollable. The fixed root is
   the clipping boundary, and only the inner message list scrolls.
   JavaScript supplies the ONE visual viewport height for both keyboard and
   address-bar states. All other platforms retain their previous layout. */
html.tc-ios-chat-active,
html.tc-ios-chat-active body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden !important;
  overscroll-behavior: none;
}
/* TALKCHAT_R31R63R2_IOS_SINGLE_FIXED_ROOT_OWNER
   Only ONE viewport-positioned ancestor on iOS. Safari can translate a
   fixed body plus a fixed root independently during initial toolbar settling.
   The application root alone owns the visual viewport bounds; the chat shell
   fills it. Android/desktop are unaffected by these class-scoped rules. */
html.tc-ios-chat-active body {
  position: static;
  inset: auto;
  max-height: none;
}
html.tc-ios-chat-active #root {
  position: fixed;
  inset: auto 0 auto 0;
  top: var(--tc-ios-view-top, 0px);
  width: 100%;
  height: var(--tc-ios-view-height, 100dvh);
  overflow: hidden;
}
html.tc-ios-chat-active .ref-shell {
  position: absolute;
  inset: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 0;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
html.tc-ios-chat-active .ref-shell .topbar {
  flex-shrink: 0;
}
html.tc-ios-chat-active .ref-shell .shell-body,
html.tc-ios-chat-active .ref-shell .chat {
  min-height: 0;
  min-width: 0;
  flex-shrink: 1;
}
html.tc-ios-chat-active .ref-shell .messages {
  min-height: 0;
  min-width: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
html.tc-ios-chat-active .ref-shell .ref-composer-wrap {
  flex-shrink: 0;
  min-width: 0;
}
@media (max-width: 767px) {
  html.tc-ios-mobile-layout .ref-shell .messages .message {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  html.tc-ios-mobile-layout .ref-shell .messages .message .msg-body {
    box-sizing: border-box;
    width: max-content;
    min-width: 0;
    max-width: calc(100% - 44px);
    overflow-wrap: anywhere;
  }
  html.tc-ios-mobile-layout .ref-shell .messages .message .text {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  /* Once Safari's native keyboard is present the home indicator area is
     owned by the OS, not an additional padding row inside the composer. */
  html.tc-ios-mobile-layout.tc-ios-keyboard-open .ref-shell .ref-composer-wrap {
    padding-bottom: 2px;
  }
}
/* /TALKCHAT_R31R62_IOS_VIEWPORT_ROOT_OWNER */

/* TALKCHAT_R31R60R1_IOS_EDGE_POLISH_OWNER
   Narrow iPhone Safari only: keep controls in the chat inline area.
   Do not alter the r31r60 viewport calculation or mobile/desktop behavior. */
@media (max-width: 767px) {
  html.tc-ios-mobile-layout .ref-shell .topbar {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    padding-left: max(6px, env(safe-area-inset-left, 0px));
    padding-right: max(6px, env(safe-area-inset-right, 0px));
    gap: 3px;
    overflow: hidden;
  }
  html.tc-ios-mobile-layout .ref-shell .topbar > .header-room {
    min-width: 0;
    flex: 1 1 0;
    overflow: hidden;
  }
  html.tc-ios-mobile-layout .ref-shell .topbar > .header-room > span:last-child {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }
  html.tc-ios-mobile-layout .ref-shell .topbar .header-actions {
    flex: 0 0 auto;
    min-width: 0;
    width: auto;
    gap: 1px;
    margin-left: 0;
  }
  html.tc-ios-mobile-layout .ref-shell .topbar .header-actions > .ref-icon {
    flex: 0 0 29px;
    width: 29px;
    height: 34px;
  }
  html.tc-ios-mobile-layout .ref-shell .topbar .self-avatar {
    flex: 0 0 auto;
    margin: 0 1px;
  }
  html.tc-ios-mobile-layout .ref-shell .chat > .mobile-side {
    right: max(4px, env(safe-area-inset-right, 0px));
    width: 36px;
    max-width: 36px;
    box-sizing: border-box;
    border-radius: 8px;
  }
  html.tc-ios-mobile-layout .ref-shell .chat > .mobile-side button {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
  html.tc-ios-mobile-layout .ref-shell .ref-composer-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: max(2px, env(safe-area-inset-left, 0px));
    padding-right: max(2px, env(safe-area-inset-right, 0px));
    padding-bottom: max(2px, env(safe-area-inset-bottom, 0px));
  }
  html.tc-ios-mobile-layout .ref-shell .ref-composer-wrap .composer {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  html.tc-ios-mobile-layout .ref-shell .composer #messageInput {
    box-sizing: border-box;
    flex: 1 1 auto;
    min-width: 56px;
    width: 0;
    max-width: 100%;
    /* TALKCHAT_R31R60R3_IOS_NO_AUTOZOOM_OWNER
       iOS Safari focuses and auto-zooms inputs with computed font-size
       below 16px. Prevent viewport scale/scroll changes on each focus.
       Keep the r31r60r2 keyboard viewport JS untouched. */
    font-size: 16px;
    line-height: 20px;
  }
}
/* /TALKCHAT_R31R60R1_IOS_EDGE_POLISH_OWNER */
