/* Scoped team page: sidebar and all other page palettes keep their existing styles. */
#team-hub{position:static;inset:auto;width:100%;max-width:1280px;height:auto;max-height:none;z-index:auto;box-shadow:none;border:0;border-radius:0;background:transparent;padding:0;margin:0;overflow:visible}
#team-hub[hidden],#team-hub-toggle[hidden],#team-unread-count[hidden]{display:none!important}
#team-hub .team-hub-header{padding:0 0 24px;border:0;background:transparent;align-items:center}
#team-hub .team-hub-header h2{font-size:28px;color:#25443c}
#team-hub .team-hub-close{width:auto;height:auto;padding:10px 15px;border-radius:8px}
.team-workspace-grid{display:grid;grid-template-columns:285px minmax(0,1fr);gap:24px;align-items:start}
#team-hub .online-team{border:1px solid #dce5df;border-radius:14px;background:#fff;padding:20px;margin:0}
#team-hub .online-team-heading{display:block;margin-bottom:18px}#team-hub .online-team-heading span{display:block;margin-top:6px;color:#6b7e74}
#team-hub .online-user-list{display:flex;flex-direction:column;gap:10px;max-height:65vh;overflow:auto}
#team-hub .online-user{padding:13px 10px;border:1px solid #e3e9e5;min-width:0;gap:12px;background:#fff}#team-hub .online-user.current{background:#f4faf7;border-color:#c7e0d4}
#team-hub .online-user strong{font-size:13px}#team-hub .online-user small{font-size:11px;line-height:1.5;margin-top:4px}
#team-hub .online-avatar{width:36px;height:36px;flex-shrink:0;background:#71877c}.online-avatar.ceren{background:#20834c!important}.online-avatar.ahmet{background:#ad7628!important}.online-avatar.zeynep{background:#2d7dd2!important}.online-avatar.melek{background:#8e44d6!important}
#team-hub .is-offline .online-avatar i{background:#a5aca8;box-shadow:none}#team-hub .is-online .online-avatar i{background:#2bb96e}
#team-hub .team-chat{background:#fff;border:1px solid #dce5df;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;padding:0;min-width:0}
.team-conversation-title{padding:18px 24px;border-bottom:1px solid #edf1ee;display:flex;align-items:center;justify-content:space-between;gap:12px}.team-conversation-title h3{margin:0;font-size:17px}.team-conversation-title span{color:#819087;font-size:12px}
#team-hub .team-message-list{height:clamp(300px,53vh,680px);max-height:none;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:24px;background:#f8faf8;scrollbar-gutter:stable}
#team-hub .team-message{flex-shrink:0;max-width:82%;padding:12px 15px;border-radius:12px;background:#fff;border:1px solid #e0e8e2;color:#28453b;align-self:flex-start}
#team-hub .team-message.own{align-self:flex-end;background:#e7f4ec;border-color:#cbe4d5;color:#254d36}#team-hub .team-message-meta{font-size:11px;gap:20px;color:#587362}#team-hub .team-message p{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0}
.team-day{align-self:center;color:#839388;font-size:11px;padding:6px 12px;background:#eef2ed;border-radius:20px}.team-message-form{border-top:1px solid #e1e8e3;padding:18px 22px!important;background:#fff}#team-hub .team-message-form textarea{font:inherit;font-size:14px;min-height:72px;max-height:180px;border-color:#d6e2d9;border-radius:9px}
#team-hub-toggle{gap:7px;align-items:center}#team-hub-toggle>span:nth-child(2){flex:1;min-width:0}#team-nav-summary{display:block;font-size:9px;line-height:1.4;margin-top:4px;opacity:.85;white-space:normal}#online-user-count,#team-unread-count{font-size:10px;padding:3px 5px;border-radius:8px;background:#e7f4ec;color:#17673a}#team-unread-count{background:#f2ca67;color:#563a00}
.kvd-assignee-badge.ceren,.kvd-assignee-select.ceren{background:#e5f4e9;color:#17643a;border-color:#a5d4b6}.kvd-assignee-badge.ceren::before{background:#20834c}.team-profile-identity [data-team-presence].is-online{color:#20834c}
@media(max-width:850px){.team-workspace-grid{grid-template-columns:1fr}#team-hub .online-user-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:240px}#team-hub .team-message-list{height:48vh;padding:15px}.team-conversation-title span{display:none}}
#team-hub{display:block}.team-profile-avatar.ceren{background:#20834c;color:#fff}#customer-assigned-person:has(option[value="Ceren Kılıç"]:checked),#italy-account-assignee:has(option[value="Ceren Kılıç"]:checked){background:#e5f4e9;color:#17643a;border-color:#a5d4b6}
