.boskom-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 12px;
  min-height: 420px;
  height: calc(100% - 8px);
}

.boskom-sidebar,
.boskom-main {
  background: linear-gradient(165deg, rgba(10, 18, 32, 0.92) 0%, rgba(8, 14, 24, 0.88) 100%);
  border: 1px solid rgba(132, 203, 255, 0.16);
  border-radius: 12px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.boskom-main {
  position: relative;
  overflow: hidden;
}

.boskom-sidebar-head,
.boskom-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(132, 203, 255, 0.1);
}

.boskom-sidebar-head h3,
.boskom-main-head h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #e8f4ff;
  font-weight: 700;
}

.boskom-sidebar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.boskom-chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.boskom-chat-head-btn {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 4px 6px;
  margin: -4px -6px;
  border-radius: 10px;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.boskom-chat-head-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.boskom-chat-head-btn:disabled {
  cursor: default;
  opacity: 1;
}

.boskom-chat-head-btn:disabled:hover {
  background: transparent;
}

.boskom-chat-head-text {
  min-width: 0;
}

.boskom-chat-head-avatar .boskom-item-avatar-wrap,
.boskom-chat-head-avatar .boskom-avatar {
  width: 36px;
  height: 36px;
}

.boskom-group-head-icon {
  border-radius: 10px;
}

.boskom-section-label {
  padding: 8px 12px 4px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(159, 214, 255, 0.55);
}

.boskom-list {
  overflow: auto;
  padding: 4px 8px 10px;
  flex: 1;
  min-height: 0;
}

.boskom-item {
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  color: #e8f4ff;
  border-radius: 8px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.boskom-item-avatar-wrap {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.boskom-item-avatar-wrap .boskom-avatar-status {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 9px;
  height: 9px;
  border: 2px solid rgba(15, 23, 42, 0.95);
}

.boskom-item:hover,
.boskom-item.active {
  background: rgba(132, 203, 255, 0.1);
  border-color: rgba(132, 203, 255, 0.22);
}

.boskom-item.active {
  box-shadow: inset 3px 0 0 #3b82f6;
}

.boskom-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.boskom-status-dot.avail-ready { background: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.5); }
.boskom-status-dot.avail-talking { background: #f59e0b; box-shadow: 0 0 8px rgba(245, 158, 11, 0.5); }
.boskom-status-dot.avail-pause { background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.45); }
.boskom-status-dot.avail-offline { background: #64748b; }

.boskom-item-body {
  min-width: 0;
}

.boskom-item-title {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.boskom-item-sub {
  font-size: 11px;
  color: rgba(232, 244, 255, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.boskom-unread {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.boskom-empty {
  padding: 24px 16px;
  text-align: center;
  color: rgba(232, 244, 255, 0.55);
  font-size: 13px;
}

.boskom-compose.boskom-compose-off-duty {
    opacity: 0.72;
}

.boskom-compose-off-duty .boskom-compose-input:disabled {
    cursor: not-allowed;
}

.boskom-denied {
  padding: 28px;
  text-align: center;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
}

.boskom-messages {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.boskom-msg {
  max-width: 72%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.boskom-msg.self {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.42) 0%, rgba(29, 78, 216, 0.32) 100%);
  border: 1px solid rgba(96, 165, 250, 0.38);
  border-bottom-right-radius: 4px;
}

.boskom-msg.other {
  align-self: flex-start;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-bottom-left-radius: 4px;
}

.boskom-msg.info {
  align-self: center;
  max-width: 92%;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #fde68a;
  font-size: 12px;
}

.boskom-msg.link a {
  color: #93c5fd;
  text-decoration: underline;
}

.boskom-msg-meta {
  margin-top: 4px;
  font-size: 10px;
  color: rgba(232, 244, 255, 0.5);
}

.boskom-msg.deleted {
  align-self: flex-start;
  background: rgba(15, 23, 42, 0.55);
  border: 1px dashed rgba(148, 163, 184, 0.22);
  font-style: italic;
}

.boskom-msg-deleted {
  color: rgba(232, 244, 255, 0.45);
}

.boskom-msg-edited {
  margin-left: 6px;
  font-size: 10px;
  color: rgba(232, 244, 255, 0.42);
  font-style: italic;
}

.boskom-msg {
  position: relative;
}

.boskom-msg-actions {
  position: absolute;
  top: 4px;
  right: 4px;
  display: none;
  gap: 2px;
}

.boskom-msg.self:hover .boskom-msg-actions,
.boskom-msg.other:hover .boskom-msg-actions,
.boskom-msg-row.editing .boskom-msg-actions {
  display: inline-flex;
}

.boskom-msg-action {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 6px;
  background: rgba(8, 14, 24, 0.55);
  color: rgba(232, 244, 255, 0.85);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}

.boskom-msg-action:hover {
  background: rgba(37, 99, 235, 0.35);
  color: #fff;
}

.boskom-msg-row.editing .boskom-msg.self {
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.45);
}

.boskom-compose.is-editing {
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.35);
}

.boskom-compose.is-replying {
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.35);
}

.boskom-msg-quote {
  margin-bottom: 6px;
  padding: 6px 8px;
  border-left: 3px solid rgba(59, 130, 246, 0.65);
  border-radius: 4px;
  background: rgba(8, 14, 24, 0.35);
  font-size: 11px;
  line-height: 1.35;
}

.boskom-msg.self .boskom-msg-quote {
  border-left-color: rgba(134, 239, 172, 0.55);
}

.boskom-msg-quote-name {
  display: block;
  font-weight: 600;
  color: rgba(147, 197, 253, 0.95);
  margin-bottom: 2px;
}

.boskom-msg-quote-body {
  display: block;
  color: rgba(232, 244, 255, 0.72);
  white-space: pre-wrap;
  word-break: break-word;
}

.boskom-msg.pinned-msg {
  box-shadow: inset 0 0 0 1px rgba(250, 204, 21, 0.25);
}

.boskom-pinned-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  padding: 8px 10px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 14, 24, 0.45);
}

.boskom-pinned-item {
  flex: 0 0 auto;
  max-width: 220px;
  padding: 6px 10px;
  border: none;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.18);
  color: rgba(232, 244, 255, 0.9);
  cursor: pointer;
  text-align: left;
  font-size: 11px;
  line-height: 1.3;
}

.boskom-pinned-item:hover {
  background: rgba(37, 99, 235, 0.32);
}

.boskom-pinned-item-name {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
  color: rgba(147, 197, 253, 0.95);
}

.boskom-pinned-item-body {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.85;
}

.boskom-reply-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 14, 24, 0.55);
}

.boskom-reply-preview-body {
  flex: 1;
  min-width: 0;
  padding-left: 10px;
  border-left: 3px solid rgba(34, 197, 94, 0.65);
}

.boskom-reply-preview-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(134, 239, 172, 0.95);
}

.boskom-reply-preview-text {
  display: block;
  font-size: 12px;
  color: rgba(232, 244, 255, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.boskom-cancel-reply {
  flex-shrink: 0;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(232, 244, 255, 0.85);
  cursor: pointer;
  font-size: 11px;
}

.boskom-messages > .boskom-empty:only-child {
  margin: auto;
  width: min(320px, 80%);
  padding: 28px 20px;
  background: rgba(16, 31, 49, 0.62);
  border-style: solid;
  text-align: center;
}

.boskom-cancel-reply:hover {
  background: rgba(255, 255, 255, 0.14);
}

.boskom-item-title .boskom-chat-pin {
  margin-right: 4px;
  opacity: 0.85;
}

#boskomPinChatBtn.is-pinned {
  color: #facc15;
}

.boskom-confirm-text {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(232, 244, 255, 0.82);
}

.boskom-confirm-modal .tablet-btn.danger {
  background: rgba(220, 38, 38, 0.85);
  border-color: rgba(248, 113, 113, 0.45);
}

.boskom-confirm-modal .tablet-btn.danger:hover {
  background: rgba(220, 38, 38, 1);
}

.boskom-msg-row.highlight-flash .boskom-msg {
  animation: boskom-msg-flash 1.2s ease;
}

@keyframes boskom-msg-flash {
  0%, 100% { box-shadow: none; }
  35% { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.55); }
}

.boskom-cancel-edit {
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.75);
  color: #e8f4ff;
  cursor: pointer;
  font-size: 12px;
}

.boskom-cancel-edit:hover {
  border-color: rgba(148, 163, 184, 0.45);
}

.boskom-compose {
  border-top: 1px solid rgba(132, 203, 255, 0.12);
  padding: 12px 14px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-end;
  background: rgba(6, 12, 22, 0.45);
}

.boskom-item-sub.is-typing,
.boskom-sidebar-typing {
  color: #93c5fd;
  font-style: italic;
}

.boskom-item-sub.mentioned {
  color: #fde68a;
}

.boskom-item.has-unread {
  background: rgba(37, 99, 235, 0.06);
}

.boskom-item-title.unread {
  font-weight: 800;
  color: #f8fbff;
}

.boskom-unread-spacer {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.boskom-typing-dots.inline span {
  width: 4px;
  height: 4px;
  margin-left: 1px;
}

.boskom-msg-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 4px;
}

.boskom-msg.self .boskom-msg-foot {
  justify-content: flex-end;
}

.boskom-read-tick {
  font-size: 11px;
  line-height: 1;
  letter-spacing: -0.08em;
}

.boskom-read-tick.sent {
  color: rgba(232, 244, 255, 0.55);
}

.boskom-read-tick.read {
  color: #60a5fa;
  font-weight: 700;
}

.boskom-mention {
  color: #93c5fd;
  font-weight: 700;
  background: rgba(59, 130, 246, 0.14);
  border-radius: 4px;
  padding: 0 2px;
}

.boskom-mention.self {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.16);
}

.boskom-msg-row.mentioned .boskom-msg.other {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.12);
}

.boskom-mention-picker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 6px);
  background: rgba(10, 18, 30, 0.98);
  border: 1px solid rgba(132, 203, 255, 0.22);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 180px;
  overflow: auto;
  z-index: 20;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.boskom-compose-inner {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.boskom-mention-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 1px solid transparent;
  background: rgba(8, 14, 24, 0.55);
  color: #e8f4ff;
  border-radius: 8px;
  padding: 6px 8px;
  cursor: pointer;
  text-align: left;
}

.boskom-mention-option:hover {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(37, 99, 235, 0.12);
}

.boskom-compose-input {
  width: 100%;
  min-height: 42px;
  max-height: 120px;
  resize: none;
  border: 1px solid rgba(132, 203, 255, 0.18);
  border-radius: 12px;
  background: rgba(8, 14, 24, 0.85);
  color: #e8f4ff;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.45;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.boskom-compose-input:focus {
  outline: none;
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.boskom-compose-input::placeholder {
  color: rgba(232, 244, 255, 0.38);
}

.boskom-compose-hint {
  font-size: 10px;
  color: rgba(232, 244, 255, 0.38);
  padding-left: 2px;
}

.boskom-send-btn {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.boskom-send-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.boskom-send-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

.boskom-send-btn:active {
  transform: translateY(0);
}

.boskom-typing-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 2px;
  font-size: 11px;
  color: rgba(147, 197, 253, 0.9);
  min-height: 22px;
}

.boskom-typing-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.boskom-typing-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #60a5fa;
  animation: boskomTypingPulse 1.2s infinite ease-in-out;
}

.boskom-typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.boskom-typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes boskomTypingPulse {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.boskom-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12000;
}

.boskom-modal {
  width: min(480px, 94vw);
  background: rgba(10, 18, 30, 0.98);
  border: 1px solid rgba(132, 203, 255, 0.22);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.boskom-group-modal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: min(82vh, 720px);
}

.boskom-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.boskom-modal-kicker {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(159, 214, 255, 0.55);
  margin-bottom: 4px;
}

.boskom-modal-head h4 {
  margin: 0;
  color: #e8f4ff;
  font-size: 18px;
}

.boskom-modal-close {
  border: 1px solid rgba(132, 203, 255, 0.18);
  background: rgba(132, 203, 255, 0.06);
  color: #c8deff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
}

.boskom-group-name-input {
  font-size: 14px;
}

.boskom-group-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.boskom-group-toolbar .leit-input {
  flex: 1;
}

.boskom-group-selected-count {
  font-size: 11px;
  color: rgba(159, 214, 255, 0.7);
  white-space: nowrap;
}

.boskom-group-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 28px;
}

.boskom-group-chips-empty {
  font-size: 11px;
  color: rgba(232, 244, 255, 0.45);
}

.boskom-group-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(37, 99, 235, 0.18);
  color: #dbeafe;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
}

.boskom-group-chip-x {
  opacity: 0.75;
}

.boskom-group-member-list {
  flex: 1;
  min-height: 180px;
  max-height: 320px;
  overflow: auto;
  border: 1px solid rgba(132, 203, 255, 0.12);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.boskom-group-member {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 10px 18px;
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: rgba(8, 14, 24, 0.55);
  border-radius: 10px;
  padding: 8px 10px;
  color: #e8f4ff;
  cursor: pointer;
}

.boskom-group-member:hover,
.boskom-group-member.selected {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(37, 99, 235, 0.12);
}

.boskom-group-member.offline {
  opacity: 0.82;
}

.boskom-group-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: rgba(132, 203, 255, 0.14);
  color: #9fd6ff;
}

.boskom-group-member-body {
  min-width: 0;
}

.boskom-group-member-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.boskom-group-member-sub {
  display: block;
  font-size: 11px;
  color: rgba(232, 244, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.boskom-group-check {
  font-size: 12px;
  color: #93c5fd;
  text-align: center;
}

.boskom-modal h4 {
  margin: 0 0 12px;
  color: #9fd6ff;
}

.boskom-member-pick {
  max-height: 180px;
  overflow: auto;
  border: 1px solid rgba(132, 203, 255, 0.12);
  border-radius: 8px;
  padding: 6px;
  margin: 8px 0 12px;
}

.boskom-member-pick label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  font-size: 12px;
  cursor: pointer;
}

.boskom-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.boskom-peer-status {
  font-size: 11px;
  color: rgba(232, 244, 255, 0.62);
}

.boskom-peer-status.is-typing {
  color: #93c5fd;
  font-style: italic;
}

.boskom-notify-toast {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 15000;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: min(320px, calc(100vw - 36px));
  max-width: min(420px, calc(100vw - 36px));
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: linear-gradient(135deg, rgba(10, 24, 48, 0.96) 0%, rgba(15, 32, 64, 0.94) 100%);
  color: #e8f4ff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
  cursor: pointer;
  animation: boskomToastIn 0.22s ease-out;
}

.boskom-notify-toast.hidden {
  display: none;
}

.boskom-notify-toast.mentioned {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 14px 36px rgba(245, 158, 11, 0.12);
}

.boskom-notify-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.22);
  flex-shrink: 0;
}

.boskom-notify-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.boskom-notify-kicker {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(147, 197, 253, 0.85);
  font-weight: 700;
}

.boskom-notify-label {
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.boskom-leit-badge {
  position: absolute;
  top: 6px;
  right: 8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #3b82f6;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
}

#tabLeitstelleBtn {
  position: relative;
}

@keyframes boskomToastIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.boskom-tab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #3b82f6;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.95);
  pointer-events: none;
}

#leitSubBoskomBtn {
  position: relative;
}

.boskom-self-profile {
  display: block;
  padding: 0;
  margin-bottom: 10px;
  border: none;
  background: transparent;
}

.boskom-self-profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.45), rgba(15, 23, 42, 0.65));
  color: #e8f4ff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.boskom-self-profile-card:hover {
  border-color: rgba(96, 165, 250, 0.45);
  transform: translateY(-1px);
}

.boskom-self-profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.boskom-self-profile-avatar-wrap .boskom-avatar {
  width: 44px;
  height: 44px;
  font-size: 14px;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35);
}

.boskom-self-profile-chevron {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
  opacity: 0.55;
}

.boskom-self-profile-body {
  flex: 1;
  min-width: 0;
}

.boskom-self-profile-name {
  font-size: 13px;
  font-weight: 700;
  color: #e8f4ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.boskom-self-profile-sub {
  font-size: 10px;
  color: rgba(232, 244, 255, 0.55);
}

.boskom-main-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.boskom-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.35);
  color: #dbeafe;
  font-weight: 800;
  overflow: hidden;
  object-fit: cover;
}

.boskom-avatar.sm { width: 28px; height: 28px; font-size: 10px; }
.boskom-avatar.md { width: 36px; height: 36px; font-size: 12px; }
.boskom-avatar.lg { width: 48px; height: 48px; font-size: 14px; }

.boskom-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.boskom-msg-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.boskom-msg-row.self {
  flex-direction: row-reverse;
}

.boskom-msg-row .boskom-msg {
  flex: 1;
  min-width: 0;
}

.boskom-profile-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.boskom-profile-preview .boskom-avatar {
  width: 64px;
  height: 64px;
  font-size: 18px;
}

.boskom-profile-sheet {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.98), rgba(8, 14, 24, 0.99));
  animation: boskom-profile-in 0.22s ease;
}

.boskom-profile-sheet.hidden {
  display: none;
}

@keyframes boskom-profile-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.boskom-profile-sheet-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  font-weight: 700;
  color: #e8f4ff;
}

.boskom-profile-back {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #e8f4ff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.boskom-profile-back:hover {
  background: rgba(255, 255, 255, 0.14);
}

.boskom-profile-sheet-content {
  flex: 1;
  overflow-y: auto;
  padding: 18px 14px 24px;
}

.boskom-profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 12px 22px;
}

.boskom-profile-hero .boskom-avatar.xl {
  width: 112px;
  height: 112px;
  font-size: 28px;
  margin-bottom: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.boskom-profile-hero-name {
  font-size: 20px;
  font-weight: 800;
  color: #f8fbff;
  line-height: 1.2;
}

.boskom-profile-hero-sub {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(232, 244, 255, 0.62);
}

.boskom-profile-section {
  margin-top: 14px;
  border-radius: 12px;
  background: rgba(8, 14, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.boskom-profile-section-title {
  padding: 10px 14px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(147, 197, 253, 0.85);
}

.boskom-profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.boskom-profile-row:first-of-type {
  border-top: none;
}

.boskom-profile-row-label {
  font-size: 11px;
  color: rgba(232, 244, 255, 0.52);
}

.boskom-profile-row-value {
  font-size: 13px;
  font-weight: 600;
  color: #e8f4ff;
  text-align: right;
}

.boskom-profile-row-value-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.boskom-profile-row-primary {
  font-size: 13px;
  font-weight: 700;
  color: #e8f4ff;
}

.boskom-profile-row-secondary {
  font-size: 11px;
  font-weight: 600;
  color: rgba(147, 197, 253, 0.78);
}

.boskom-profile-edit-block {
  padding: 0 14px 14px;
}

.boskom-profile-edit-block .leit-input {
  width: 100%;
  margin-top: 6px;
}

.boskom-avatar-upload-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.boskom-avatar-upload-status {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.boskom-avatar-upload-or {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
  margin: 4px 0 8px;
}

.boskom-profile-edit-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.boskom-profile-member-list {
  display: flex;
  flex-direction: column;
}

.boskom-profile-member {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.boskom-profile-member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
  max-width: 140px;
}

.boskom-member-act {
  border: 1px solid rgba(147, 197, 253, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #dbeafe;
  border-radius: 6px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.boskom-member-act:hover {
  background: rgba(147, 197, 253, 0.12);
}

.boskom-member-act.danger {
  color: #fca5a5;
  border-color: rgba(252, 165, 165, 0.25);
}

.boskom-role-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  vertical-align: middle;
}

.boskom-role-badge.admin {
  background: rgba(96, 165, 250, 0.18);
  color: #93c5fd;
}

.boskom-role-badge.owner {
  background: rgba(251, 191, 36, 0.16);
  color: #fcd34d;
}

.boskom-group-desc-input {
  width: 100%;
  min-height: 72px;
  resize: vertical;
  margin-top: 6px;
}

.boskom-profile-desc-view,
.boskom-profile-hero-desc {
  padding: 0 14px 14px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(232, 244, 255, 0.72);
  white-space: pre-wrap;
}

.boskom-profile-hero-desc {
  padding: 8px 16px 0;
  max-width: 320px;
  margin: 0 auto;
}

.boskom-profile-hint {
  margin: 0 12px 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.14);
  font-size: 11px;
  line-height: 1.4;
  color: rgba(219, 234, 254, 0.85);
}

.boskom-profile-member-body {
  flex: 1;
  min-width: 0;
}

.boskom-profile-member-name {
  font-size: 13px;
  font-weight: 700;
  color: #e8f4ff;
}

.boskom-profile-member-sub {
  font-size: 11px;
  color: rgba(232, 244, 255, 0.55);
  margin-top: 2px;
}

.boskom-profile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.boskom-profile-action-list {
  display: flex;
  flex-direction: column;
}

.boskom-profile-action-row {
  width: 100%;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent;
  color: #e8f4ff;
  padding: 12px 14px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.boskom-profile-action-row:first-child {
  border-top: none;
}

.boskom-profile-action-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.boskom-profile-action-row.danger {
  color: #fca5a5;
}

.boskom-profile-action-meta {
  font-size: 12px;
  opacity: 0.75;
}

.boskom-profile-hero-avatar-wrap {
  position: relative;
  display: inline-flex;
  margin-bottom: 14px;
}

.boskom-profile-hero-status {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 16px;
  height: 16px;
  box-shadow: 0 0 0 3px rgba(8, 14, 24, 0.95);
}

.boskom-avatar.xl { width: 112px; height: 112px; font-size: 28px; }

.boskom-compose-tools {
  display: flex;
  gap: 6px;
  padding: 0 8px 6px;
}

.boskom-compose-tool {
  border: 1px solid rgba(147, 197, 253, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #dbeafe;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 16px;
}

.boskom-compose-tool:hover {
  background: rgba(147, 197, 253, 0.12);
}

.boskom-msg.card-msg {
  padding-bottom: 8px;
}

.boskom-share-card {
  width: 100%;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background: rgba(15, 23, 42, 0.55);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.boskom-share-card:hover {
  background: rgba(30, 58, 95, 0.55);
}

.boskom-share-card-icon {
  font-size: 22px;
  line-height: 1;
}

.boskom-share-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.boskom-share-card-kicker {
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(147, 197, 253, 0.75);
}

.boskom-share-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #e8f4ff;
}

.boskom-share-card-sub,
.boskom-share-card-meta {
  font-size: 11px;
  color: rgba(232, 244, 255, 0.62);
}

.boskom-msg-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.boskom-reaction-chip,
.boskom-reaction-add {
  border: 1px solid rgba(147, 197, 253, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #e8f4ff;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.boskom-reaction-chip.self {
  border-color: rgba(96, 165, 250, 0.45);
  background: rgba(59, 130, 246, 0.18);
}

.boskom-reaction-add {
  min-width: 28px;
  justify-content: center;
  font-weight: 700;
}

.boskom-reaction-picker {
  position: fixed;
  z-index: 10050;
  display: flex;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(8, 14, 24, 0.96);
  border: 1px solid rgba(147, 197, 253, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.boskom-reaction-pick {
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 8px;
}

.boskom-reaction-pick:hover {
  background: rgba(255, 255, 255, 0.08);
}

.boskom-read-tick-btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.boskom-read-popover {
  position: fixed;
  z-index: 10050;
  min-width: 160px;
  max-width: 240px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(8, 14, 24, 0.96);
  border: 1px solid rgba(147, 197, 253, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.boskom-read-popover-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(147, 197, 253, 0.75);
  margin-bottom: 6px;
}

.boskom-read-popover-list {
  font-size: 12px;
  color: #e8f4ff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.boskom-share-picker-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 320px;
  overflow: auto;
  padding: 0 2px 8px;
}

.boskom-share-pick-item {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.boskom-share-pick-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.boskom-share-pick-kicker {
  display: block;
  font-size: 10px;
  color: rgba(147, 197, 253, 0.75);
  text-transform: uppercase;
}

.boskom-share-pick-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #e8f4ff;
}

.boskom-share-pick-sub {
  display: block;
  font-size: 11px;
  color: rgba(232, 244, 255, 0.58);
  margin-top: 2px;
}

.web-dispatch .boskom-layout {
  min-height: 520px;
}

/* BOSKOM workspace refresh */
.boskom-layout {
  --boskom-bg: #08111f;
  --boskom-panel: #0d1828;
  --boskom-panel-soft: #111f32;
  --boskom-line: rgba(148, 179, 211, 0.14);
  --boskom-muted: rgba(218, 233, 248, 0.58);
  --boskom-accent: #4f9cf9;
  grid-template-columns: minmax(270px, 31%) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--boskom-line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--boskom-bg);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.32);
}

.boskom-sidebar,
.boskom-main {
  border: 0;
  border-radius: 0;
  background: var(--boskom-panel);
  box-shadow: none;
}

.boskom-sidebar {
  border-right: 1px solid var(--boskom-line);
  padding: 12px;
  gap: 10px;
}

.boskom-main {
  background:
    radial-gradient(circle at 50% 0%, rgba(50, 115, 190, 0.08), transparent 38%),
    #091321;
}

.boskom-self-profile {
  margin: 0;
}

.boskom-self-profile-card {
  padding: 10px 11px;
  border: 0;
  border-radius: 11px;
  background: #14243a;
  box-shadow: none;
}

.boskom-self-profile-card:hover {
  border-color: transparent;
  background: #192c46;
  transform: none;
}

.boskom-self-profile-avatar-wrap .boskom-avatar {
  width: 38px;
  height: 38px;
  box-shadow: none;
}

.boskom-sidebar-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 2px 0;
}

.boskom-sidebar-intro h3 {
  margin: 1px 0 0;
  color: #f2f7fc;
  font-size: 16px;
  line-height: 1.15;
}

.boskom-sidebar-kicker {
  display: block;
  color: #79b8ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.boskom-new-group-btn {
  border: 1px solid rgba(100, 170, 255, 0.22);
  border-radius: 9px;
  background: rgba(79, 156, 249, 0.12);
  color: #cfe6ff;
  padding: 7px 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.boskom-new-group-btn:hover {
  background: rgba(79, 156, 249, 0.22);
  border-color: rgba(100, 170, 255, 0.38);
}

.boskom-new-group-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.boskom-search {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(148, 179, 211, 0.13);
  border-radius: 10px;
  background: #091421;
  color: rgba(205, 224, 243, 0.48);
}

.boskom-search:focus-within {
  border-color: rgba(79, 156, 249, 0.5);
  box-shadow: 0 0 0 3px rgba(79, 156, 249, 0.08);
}

.boskom-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #edf6ff;
  font: inherit;
  font-size: 12px;
}

.boskom-search input::placeholder {
  color: rgba(205, 224, 243, 0.4);
}

.boskom-sidebar-section {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.boskom-chat-section {
  flex: 1 1 56%;
}

.boskom-contact-section {
  flex: 1 1 44%;
  border-top: 1px solid var(--boskom-line);
  padding-top: 6px;
}

.boskom-section-label {
  min-height: 24px;
  padding: 3px 4px 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(195, 216, 237, 0.55);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.boskom-section-count {
  min-width: 19px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(148, 179, 211, 0.1);
  color: rgba(218, 233, 248, 0.64);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  letter-spacing: 0;
}

.boskom-list {
  padding: 0 2px 5px;
  scrollbar-width: thin;
  scrollbar-color: rgba(126, 162, 197, 0.28) transparent;
}

.boskom-item {
  min-height: 50px;
  margin: 2px 0;
  padding: 7px 8px;
  border: 0;
  border-radius: 10px;
  gap: 9px;
}

.boskom-item:hover {
  border-color: transparent;
  background: rgba(137, 180, 222, 0.08);
}

.boskom-item.active {
  border-color: transparent;
  background: linear-gradient(90deg, rgba(79, 156, 249, 0.22), rgba(79, 156, 249, 0.08));
  box-shadow: inset 3px 0 0 var(--boskom-accent);
}

.boskom-item.has-unread {
  background: rgba(79, 156, 249, 0.08);
}

.boskom-item-avatar-wrap,
.boskom-item-avatar-wrap .boskom-avatar {
  width: 34px;
  height: 34px;
}

.boskom-item-title {
  color: #eaf4fd;
  font-size: 12px;
  line-height: 1.35;
}

.boskom-item-sub {
  margin-top: 2px;
  color: var(--boskom-muted);
  font-size: 10px;
}

.boskom-unread {
  background: var(--boskom-accent);
  box-shadow: 0 3px 10px rgba(79, 156, 249, 0.28);
}

.boskom-main-head {
  min-height: 62px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--boskom-line);
  background: rgba(10, 22, 36, 0.94);
}

.boskom-chat-head-btn {
  flex: 0 1 auto;
}

.boskom-main-actions .tablet-btn {
  min-height: 30px;
  border-radius: 8px;
  font-size: 10px;
}

.boskom-messages {
  padding: 18px 18px 12px;
  gap: 7px;
  background-image: radial-gradient(rgba(145, 181, 217, 0.07) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
}

.boskom-msg-row {
  max-width: 86%;
  gap: 7px;
}

.boskom-msg-row.self {
  align-self: flex-end;
}

.boskom-msg {
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
}

.boskom-msg.other {
  background: #132238;
  border-color: rgba(166, 195, 224, 0.12);
}

.boskom-msg.self {
  background: linear-gradient(145deg, #225da5, #1c4f8f);
  border-color: rgba(139, 195, 255, 0.24);
}

.boskom-msg-meta {
  color: rgba(223, 237, 251, 0.52);
}

.boskom-compose {
  padding: 10px 12px 11px;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--boskom-line);
  background: #0b1726;
}

.boskom-compose-tools {
  gap: 4px;
  padding: 0;
}

.boskom-compose-tool {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 9px;
  background: rgba(139, 177, 215, 0.08);
  color: rgba(218, 233, 248, 0.72);
}

.boskom-compose-input {
  min-height: 38px;
  max-height: 110px;
  border: 1px solid rgba(148, 179, 211, 0.14);
  border-radius: 11px;
  background: #101f31;
  padding: 9px 11px;
}

.boskom-compose-input:focus {
  border-color: rgba(79, 156, 249, 0.48);
  box-shadow: 0 0 0 3px rgba(79, 156, 249, 0.08);
}

.boskom-compose-hint {
  padding-left: 3px;
  color: rgba(205, 224, 243, 0.35);
  font-size: 9px;
}

.boskom-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--boskom-accent);
  box-shadow: 0 6px 18px rgba(79, 156, 249, 0.24);
}

.boskom-empty {
  margin: 5px 2px;
  padding: 17px 10px;
  border: 1px dashed rgba(148, 179, 211, 0.12);
  border-radius: 9px;
  color: rgba(205, 224, 243, 0.42);
  font-size: 11px;
}

.boskom-pinned-bar,
.boskom-reply-preview,
.boskom-typing-bar {
  background: rgba(13, 28, 45, 0.96);
  border-color: var(--boskom-line);
}

@media (max-width: 1050px) {
  .boskom-layout {
    grid-template-columns: minmax(235px, 36%) minmax(0, 1fr);
  }

  .boskom-new-group-btn span {
    display: none;
  }

  .boskom-main-actions .tablet-btn:not(#boskomPinChatBtn) {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* BOSKOM profiles, administration and overlays refresh */
.boskom-profile-sheet {
  background:
    radial-gradient(circle at 78% -8%, rgba(79, 156, 249, 0.11), transparent 31%),
    var(--boskom-bg, #08111f);
}

.boskom-profile-sheet-head {
  min-height: 58px;
  padding: 10px 16px;
  gap: 11px;
  border-bottom: 1px solid var(--boskom-line, rgba(148, 179, 211, 0.14));
  background: rgba(9, 20, 34, 0.92);
  font-size: 13px;
  letter-spacing: 0.01em;
}

.boskom-profile-back,
.boskom-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid var(--boskom-line, rgba(148, 179, 211, 0.14));
  border-radius: 9px;
  background: rgba(148, 179, 211, 0.07);
  color: rgba(226, 239, 252, 0.78);
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.boskom-profile-back {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 16px;
}

.boskom-profile-back:hover,
.boskom-modal-close:hover {
  border-color: rgba(79, 156, 249, 0.38);
  background: rgba(79, 156, 249, 0.13);
  color: #fff;
}

.boskom-profile-sheet-content {
  padding: 20px clamp(14px, 3vw, 28px) 28px;
  scrollbar-color: rgba(111, 157, 202, 0.32) transparent;
}

.boskom-profile-hero {
  position: relative;
  width: min(100%, 620px);
  margin: 0 auto 18px;
  padding: 22px 20px 20px;
  border: 1px solid var(--boskom-line, rgba(148, 179, 211, 0.14));
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(20, 40, 64, 0.84), rgba(13, 27, 45, 0.9));
  overflow: hidden;
}

.boskom-profile-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--boskom-accent, #4f9cf9), transparent);
  opacity: 0.8;
}

.boskom-profile-hero .boskom-avatar.xl {
  width: 92px;
  height: 92px;
  margin-bottom: 12px;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), 0 0 0 3px rgba(79, 156, 249, 0.18);
}

.boskom-profile-hero-name {
  font-size: 19px;
  letter-spacing: -0.01em;
}

.boskom-profile-hero-sub {
  margin-top: 5px;
  color: var(--boskom-muted, rgba(218, 233, 248, 0.58));
}

.boskom-profile-hero-desc {
  max-width: 470px;
  padding: 10px 0 0;
  color: rgba(218, 233, 248, 0.67);
}

.boskom-profile-hero-status {
  right: -2px;
  bottom: 10px;
  width: 15px;
  height: 15px;
  box-shadow: 0 0 0 3px #132238;
}

.boskom-profile-section,
.boskom-profile-actions {
  width: min(100%, 620px);
  margin-left: auto;
  margin-right: auto;
}

.boskom-profile-section {
  margin-top: 12px;
  border: 1px solid var(--boskom-line, rgba(148, 179, 211, 0.14));
  border-radius: 13px;
  background: rgba(14, 29, 47, 0.78);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.boskom-profile-section-title {
  padding: 12px 14px 9px;
  border-bottom: 1px solid rgba(148, 179, 211, 0.09);
  color: rgba(150, 198, 247, 0.82);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.boskom-profile-row {
  min-height: 48px;
  padding: 10px 14px;
  border-top-color: rgba(148, 179, 211, 0.08);
}

.boskom-profile-row-label {
  color: var(--boskom-muted, rgba(218, 233, 248, 0.58));
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.boskom-profile-row-value,
.boskom-profile-row-primary {
  color: rgba(239, 247, 255, 0.94);
  font-size: 12px;
}

.boskom-profile-row-secondary {
  color: rgba(137, 190, 245, 0.78);
  font-size: 10px;
}

.boskom-profile-edit-block {
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(148, 179, 211, 0.08);
  background: rgba(7, 17, 29, 0.24);
}

.boskom-profile-edit-block .leit-input,
.boskom-group-modal .leit-input,
.boskom-group-desc-input {
  border-color: rgba(148, 179, 211, 0.16);
  border-radius: 9px;
  background: rgba(7, 18, 31, 0.76);
  color: #eaf4fe;
}

.boskom-profile-edit-block .leit-input:focus,
.boskom-group-modal .leit-input:focus,
.boskom-group-desc-input:focus {
  border-color: rgba(79, 156, 249, 0.54);
  box-shadow: 0 0 0 3px rgba(79, 156, 249, 0.09);
  outline: none;
}

.boskom-profile-edit-actions,
.boskom-modal-actions {
  gap: 7px;
}

.boskom-profile-edit-actions .tablet-btn,
.boskom-modal-actions .tablet-btn {
  min-height: 34px;
  border-radius: 8px;
}

.boskom-avatar-upload-row {
  margin-bottom: 8px;
}

.boskom-avatar-upload-status,
.boskom-avatar-upload-or {
  color: var(--boskom-muted, rgba(218, 233, 248, 0.58));
}

.boskom-profile-desc-view {
  padding: 12px 14px 14px;
  color: rgba(218, 233, 248, 0.68);
}

.boskom-profile-hint {
  margin: 12px 14px;
  padding: 10px 11px;
  border-color: rgba(79, 156, 249, 0.16);
  border-radius: 9px;
  background: rgba(79, 156, 249, 0.07);
  color: rgba(211, 231, 250, 0.76);
}

.boskom-profile-member {
  min-height: 58px;
  padding: 9px 14px;
  border-top-color: rgba(148, 179, 211, 0.08);
  transition: background 0.15s ease;
}

.boskom-profile-member:hover {
  background: rgba(148, 179, 211, 0.045);
}

.boskom-profile-member-name {
  color: rgba(239, 247, 255, 0.94);
  font-size: 12px;
}

.boskom-profile-member-sub {
  color: var(--boskom-muted, rgba(218, 233, 248, 0.58));
  font-size: 10px;
}

.boskom-profile-member-actions {
  max-width: none;
  gap: 5px;
}

.boskom-member-act {
  min-height: 27px;
  padding: 4px 8px;
  border-color: rgba(148, 179, 211, 0.15);
  border-radius: 7px;
  background: rgba(148, 179, 211, 0.055);
  color: rgba(218, 233, 248, 0.74);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.boskom-member-act:hover {
  border-color: rgba(79, 156, 249, 0.34);
  background: rgba(79, 156, 249, 0.12);
  color: #eaf4fe;
}

.boskom-member-act.danger {
  border-color: rgba(248, 113, 113, 0.2);
  background: rgba(239, 68, 68, 0.055);
  color: #f4a5a5;
}

.boskom-member-act.danger:hover {
  border-color: rgba(248, 113, 113, 0.38);
  background: rgba(239, 68, 68, 0.13);
}

.boskom-role-badge {
  margin-left: 5px;
  padding: 2px 6px;
  font-size: 8px;
  letter-spacing: 0.06em;
}

.boskom-role-badge.admin {
  background: rgba(79, 156, 249, 0.14);
  color: #91c5fa;
}

.boskom-role-badge.owner {
  background: rgba(245, 176, 65, 0.13);
  color: #f4c873;
}

.boskom-profile-actions {
  margin-top: 12px;
}

.boskom-profile-action-list {
  overflow: hidden;
  border: 1px solid var(--boskom-line, rgba(148, 179, 211, 0.14));
  border-radius: 13px;
  background: rgba(14, 29, 47, 0.78);
}

.boskom-profile-action-row {
  min-height: 46px;
  padding: 10px 14px;
  border-top-color: rgba(148, 179, 211, 0.08);
  color: rgba(226, 239, 252, 0.82);
  font-size: 12px;
}

.boskom-profile-action-row:hover {
  background: rgba(79, 156, 249, 0.075);
  color: #f3f8fd;
}

.boskom-profile-action-row.danger {
  color: #ef9b9b;
}

.boskom-profile-action-row.danger:hover {
  background: rgba(239, 68, 68, 0.08);
}

.boskom-profile-action-meta {
  color: var(--boskom-muted, rgba(218, 233, 248, 0.58));
  font-size: 10px;
}

.boskom-modal-backdrop {
  padding: 20px;
  background: rgba(2, 8, 15, 0.76);
  backdrop-filter: blur(5px);
  animation: boskom-overlay-in 0.15s ease-out;
}

@keyframes boskom-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.boskom-modal {
  width: min(500px, 94vw);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 179, 211, 0.18);
  border-radius: 14px;
  background: #0d1b2c;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.48);
}

.boskom-group-modal {
  gap: 0;
  max-height: min(84vh, 740px);
}

.boskom-modal-head {
  padding: 15px 16px 13px;
  border-bottom: 1px solid var(--boskom-line, rgba(148, 179, 211, 0.14));
  background: rgba(9, 20, 34, 0.7);
}

.boskom-modal-kicker {
  margin-bottom: 3px;
  color: rgba(137, 190, 245, 0.62);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.boskom-modal-head h4,
.boskom-modal h4 {
  margin: 0;
  color: rgba(241, 248, 255, 0.96);
  font-size: 15px;
}

.boskom-modal-close {
  width: 32px;
  height: 32px;
}

.boskom-group-modal > .leit-input,
.boskom-group-modal > .boskom-group-toolbar,
.boskom-group-modal > .boskom-group-chips,
.boskom-group-modal > .boskom-group-member-list,
.boskom-group-modal > .boskom-share-picker-list,
.boskom-group-modal > .boskom-confirm-text {
  margin-left: 16px;
  margin-right: 16px;
}

.boskom-group-modal > .leit-input {
  width: calc(100% - 32px);
  margin-top: 14px;
}

.boskom-group-toolbar {
  margin-top: 12px;
}

.boskom-group-selected-count {
  padding: 5px 8px;
  border-radius: 7px;
  background: rgba(79, 156, 249, 0.08);
  color: rgba(158, 205, 252, 0.72);
  font-size: 10px;
}

.boskom-group-chips {
  min-height: 32px;
  margin-top: 9px;
}

.boskom-group-chips-empty {
  padding: 6px 0;
  color: var(--boskom-muted, rgba(218, 233, 248, 0.58));
  font-size: 10px;
}

.boskom-group-chip {
  padding: 4px 8px;
  border-color: rgba(79, 156, 249, 0.22);
  background: rgba(79, 156, 249, 0.1);
  color: rgba(213, 234, 255, 0.86);
  font-size: 10px;
}

.boskom-group-chip:hover {
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(239, 68, 68, 0.09);
}

.boskom-group-member-list {
  min-height: 190px;
  margin-top: 9px;
  padding: 5px;
  border-color: rgba(148, 179, 211, 0.12);
  background: rgba(6, 15, 26, 0.42);
  scrollbar-color: rgba(111, 157, 202, 0.32) transparent;
}

.boskom-group-member {
  grid-template-columns: 34px minmax(0, 1fr) 10px 18px;
  min-height: 52px;
  padding: 7px 9px;
  border-color: transparent;
  border-radius: 8px;
  background: rgba(148, 179, 211, 0.035);
}

.boskom-group-member:hover,
.boskom-group-member.selected {
  border-color: rgba(79, 156, 249, 0.26);
  background: rgba(79, 156, 249, 0.09);
}

.boskom-group-avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(79, 156, 249, 0.11);
  color: #9ccaf8;
}

.boskom-group-member-name {
  color: rgba(239, 247, 255, 0.92);
  font-size: 12px;
}

.boskom-group-member-sub {
  color: var(--boskom-muted, rgba(218, 233, 248, 0.58));
  font-size: 10px;
}

.boskom-group-check {
  color: #82baf3;
}

.boskom-modal-actions {
  margin-top: 14px;
  padding: 12px 16px;
  border-top: 1px solid var(--boskom-line, rgba(148, 179, 211, 0.14));
  background: rgba(7, 16, 28, 0.44);
}

.boskom-confirm-text {
  margin-top: 16px;
  color: rgba(218, 233, 248, 0.7);
  font-size: 12px;
}

.boskom-share-picker-list {
  gap: 5px;
  margin-top: 12px;
  padding: 0 0 2px;
  scrollbar-color: rgba(111, 157, 202, 0.32) transparent;
}

.boskom-share-pick-item {
  padding: 9px 11px;
  border-color: rgba(148, 179, 211, 0.11);
  border-radius: 8px;
  background: rgba(148, 179, 211, 0.035);
}

.boskom-share-pick-item:hover {
  border-color: rgba(79, 156, 249, 0.24);
  background: rgba(79, 156, 249, 0.08);
}

.boskom-share-pick-kicker,
.boskom-share-card-kicker {
  color: rgba(137, 190, 245, 0.7);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.boskom-share-pick-title,
.boskom-share-card-title {
  color: rgba(239, 247, 255, 0.94);
  font-size: 12px;
}

.boskom-share-pick-sub,
.boskom-share-card-sub,
.boskom-share-card-meta {
  color: var(--boskom-muted, rgba(218, 233, 248, 0.58));
  font-size: 10px;
}

.boskom-share-card {
  padding: 9px 10px;
  border-color: rgba(148, 179, 211, 0.14);
  border-radius: 9px;
  background: rgba(7, 17, 29, 0.26);
}

.boskom-share-card:hover {
  border-color: rgba(79, 156, 249, 0.3);
  background: rgba(79, 156, 249, 0.09);
}

.boskom-share-card-icon {
  font-size: 19px;
}

.boskom-pinned-bar {
  gap: 5px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--boskom-line, rgba(148, 179, 211, 0.14));
  background: rgba(9, 21, 35, 0.96);
  scrollbar-color: rgba(111, 157, 202, 0.28) transparent;
}

.boskom-pinned-item {
  max-width: 210px;
  padding: 6px 9px;
  border: 1px solid rgba(79, 156, 249, 0.14);
  border-radius: 7px;
  background: rgba(79, 156, 249, 0.07);
}

.boskom-pinned-item:hover {
  border-color: rgba(79, 156, 249, 0.3);
  background: rgba(79, 156, 249, 0.13);
}

.boskom-pinned-item-name {
  color: rgba(145, 197, 250, 0.88);
  font-size: 10px;
}

.boskom-pinned-item-body {
  color: rgba(218, 233, 248, 0.64);
  font-size: 10px;
}

.boskom-reply-preview {
  padding: 7px 11px;
  border-color: var(--boskom-line, rgba(148, 179, 211, 0.14));
  background: rgba(9, 21, 35, 0.96);
}

.boskom-reply-preview-body {
  border-left-color: var(--boskom-accent, #4f9cf9);
}

.boskom-reply-preview-label {
  color: rgba(145, 197, 250, 0.9);
  font-size: 10px;
}

.boskom-reply-preview-text {
  color: rgba(218, 233, 248, 0.62);
  font-size: 11px;
}

.boskom-cancel-reply,
.boskom-cancel-edit {
  border: 1px solid rgba(148, 179, 211, 0.13);
  border-radius: 7px;
  background: rgba(148, 179, 211, 0.06);
  color: rgba(218, 233, 248, 0.68);
}

.boskom-cancel-reply:hover,
.boskom-cancel-edit:hover {
  background: rgba(148, 179, 211, 0.12);
  color: #fff;
}

.boskom-msg-quote {
  border-left-color: rgba(145, 197, 250, 0.66);
  background: rgba(3, 11, 20, 0.22);
}

.boskom-msg-quote-name {
  color: rgba(165, 208, 250, 0.92);
}

.boskom-msg-reactions {
  gap: 3px;
}

.boskom-reaction-chip,
.boskom-reaction-add {
  min-height: 23px;
  padding: 2px 7px;
  border-color: rgba(148, 179, 211, 0.14);
  background: rgba(148, 179, 211, 0.055);
  font-size: 11px;
}

.boskom-reaction-chip.self {
  border-color: rgba(79, 156, 249, 0.34);
  background: rgba(79, 156, 249, 0.13);
}

.boskom-reaction-picker,
.boskom-read-popover {
  border-color: rgba(148, 179, 211, 0.18);
  background: rgba(10, 23, 38, 0.98);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.42);
}

.boskom-reaction-picker {
  gap: 2px;
  padding: 5px;
  border-radius: 12px;
}

.boskom-reaction-pick {
  border-radius: 7px;
}

.boskom-read-popover {
  border-radius: 9px;
}

.boskom-read-popover-title {
  color: rgba(137, 190, 245, 0.72);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.boskom-notify-toast {
  padding: 10px 11px;
  border-color: rgba(79, 156, 249, 0.28);
  border-radius: 10px;
  background: rgba(12, 28, 46, 0.97);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42);
}

.boskom-notify-toast.mentioned {
  border-color: rgba(245, 176, 65, 0.36);
}

.boskom-notify-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(79, 156, 249, 0.13);
}

.boskom-denied {
  width: min(460px, calc(100% - 32px));
  margin: auto;
  padding: 24px;
  border-color: rgba(248, 113, 113, 0.2);
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.065);
  color: #efaaaa;
}

.boskom-compose.boskom-compose-off-duty {
  opacity: 0.58;
  filter: saturate(0.55);
}

/* ============================================================
   BOSKOM Gruppenprofil / Profil — Professional refresh v3
============================================================ */
.boskom-profile-sheet-content {
  padding: 22px clamp(16px, 3vw, 34px) 34px;
}

/* Hero als Banner-Karte mit Akzentkopf */
.boskom-profile-hero {
  position: relative;
  width: min(100%, 640px);
  margin: 0 auto 18px;
  padding: 34px 24px 24px;
  border: 1px solid var(--boskom-line, rgba(148, 179, 211, 0.14));
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(22, 44, 70, 0.78), rgba(11, 23, 38, 0.94));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.boskom-profile-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 88px;
  background:
    radial-gradient(120% 150% at 50% -55%, rgba(126, 188, 255, 0.5), transparent 62%),
    linear-gradient(120deg, #1c4f8f, #3b82f6 92%);
  opacity: 0.92;
}

.boskom-profile-hero > #boskomGroupProfileHeroAvatar,
.boskom-profile-hero .boskom-profile-hero-avatar-wrap,
.boskom-profile-hero-name,
.boskom-profile-hero-sub,
.boskom-profile-hero-desc {
  position: relative;
  z-index: 1;
}

.boskom-profile-hero .boskom-avatar.xl {
  width: 98px;
  height: 98px;
  margin-bottom: 14px;
  border-radius: 22px;
  border: 3px solid rgba(13, 27, 45, 0.96);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(126, 188, 255, 0.18);
}

.boskom-profile-hero-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.boskom-profile-hero-sub {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(186, 214, 244, 0.72);
}

/* Sektions-Karten */
.boskom-profile-section,
.boskom-profile-actions {
  width: min(100%, 640px);
  margin-left: auto;
  margin-right: auto;
}

.boskom-profile-section,
.boskom-profile-action-list {
  margin-top: 14px;
  border: 1px solid var(--boskom-line, rgba(148, 179, 211, 0.14));
  border-radius: 14px;
  background: rgba(14, 29, 47, 0.82);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.boskom-profile-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px 11px;
  border-bottom: 1px solid rgba(148, 179, 211, 0.08);
  color: rgba(168, 206, 247, 0.9);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.boskom-profile-section-title::before {
  content: "";
  flex-shrink: 0;
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: var(--boskom-accent, #4f9cf9);
  box-shadow: 0 0 10px rgba(79, 156, 249, 0.55);
}

/* Formular-Blöcke */
.boskom-profile-edit-block {
  padding: 14px 16px 16px;
}

.boskom-profile-edit-block .leit-label {
  display: block;
  margin: 12px 0 6px;
  font-size: 10px;
  letter-spacing: 0.05em;
  color: rgba(150, 190, 235, 0.72);
}

.boskom-profile-edit-block .leit-label:first-child {
  margin-top: 0;
}

.boskom-profile-edit-block .leit-input,
.boskom-group-desc-input {
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 13px;
}

.boskom-profile-edit-actions {
  justify-content: flex-end;
  margin-top: 12px;
}

/* Buttons in Profil/Modal: kompakt & professionell */
.boskom-profile-edit-actions .tablet-btn,
.boskom-avatar-upload-row .tablet-btn,
.boskom-modal-actions .tablet-btn {
  min-height: 34px;
  padding: 0 15px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.boskom-profile-edit-actions .tablet-btn:not(.ghost):not(.danger),
.boskom-modal-actions .tablet-btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #4f9cf9, #2f6fd0);
  color: #fff;
  box-shadow: 0 6px 16px rgba(79, 156, 249, 0.26);
}

.boskom-profile-edit-actions .tablet-btn:not(.ghost):not(.danger):hover,
.boskom-modal-actions .tablet-btn.primary:hover {
  background: linear-gradient(135deg, #5fa8ff, #3b82f6);
  box-shadow: 0 8px 20px rgba(79, 156, 249, 0.36);
  transform: translateY(-1px);
}

.boskom-avatar-upload-row {
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.boskom-avatar-upload-row .tablet-btn.ghost {
  border: 1px dashed rgba(126, 173, 226, 0.4);
  background: rgba(79, 156, 249, 0.07);
  color: #cfe6ff;
}

.boskom-avatar-upload-row .tablet-btn.ghost:hover {
  border-color: rgba(126, 173, 226, 0.6);
  background: rgba(79, 156, 249, 0.14);
}

.boskom-avatar-upload-or {
  margin: 2px 0 10px;
  font-size: 9px;
  letter-spacing: 0.08em;
}

/* Mitglieder-Liste im Profil */
.boskom-profile-member-list {
  padding: 4px 0;
}

.boskom-profile-member {
  min-height: 56px;
  padding: 10px 16px;
}

.boskom-profile-member .boskom-avatar {
  border-radius: 11px;
}

/* Aktionszeilen (Gruppeneinstellungen) */
.boskom-profile-action-list {
  overflow: hidden;
}

.boskom-profile-action-row {
  min-height: 48px;
  font-size: 12px;
  font-weight: 600;
}

.boskom-profile-action-row:hover {
  background: rgba(79, 156, 249, 0.08);
}

.boskom-profile-hint {
  margin: 14px auto 0;
  width: min(100%, 640px);
}

@media (max-width: 700px) {
  .boskom-profile-sheet-content {
    padding: 14px 10px 20px;
  }

  .boskom-profile-hero {
    padding: 28px 14px 18px;
  }

  .boskom-profile-hero .boskom-avatar.xl {
    width: 82px;
    height: 82px;
  }

  .boskom-profile-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .boskom-profile-row-value,
  .boskom-profile-row-value-stack {
    align-items: flex-start;
    text-align: left;
  }

  .boskom-profile-member {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .boskom-profile-member-actions {
    width: 100%;
    padding-left: 42px;
    justify-content: flex-start;
  }

  .boskom-modal-backdrop {
    padding: 10px;
  }

  .boskom-modal {
    width: 100%;
    max-height: 92vh;
  }

  .boskom-group-member-list {
    min-height: 160px;
  }
}

/* BOSKOM large workspace refinement */
.boskom-layout {
  grid-template-columns: clamp(300px, 22vw, 380px) minmax(0, 1fr);
  border-radius: 10px;
}

.boskom-sidebar {
  padding: 14px 12px;
}

.boskom-self-profile-card {
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 179, 211, 0.1);
  background: linear-gradient(135deg, rgba(24, 47, 75, 0.92), rgba(18, 36, 59, 0.92));
}

.boskom-sidebar-intro {
  padding-top: 5px;
}

.boskom-sidebar-intro h3 {
  font-size: 15px;
}

.boskom-search {
  height: 40px;
}

.boskom-chat-section {
  flex: 0 1 auto;
  max-height: 48%;
}

.boskom-contact-section {
  flex: 1 1 auto;
}

.boskom-item {
  min-height: 56px;
  margin: 3px 0;
  padding: 8px 9px;
}

.boskom-item-avatar-wrap,
.boskom-item-avatar-wrap .boskom-avatar {
  width: 38px;
  height: 38px;
}

.boskom-item-title {
  font-size: 13px;
}

.boskom-item-sub {
  font-size: 11px;
}

.boskom-main-head {
  min-height: 66px;
  padding: 10px 16px;
}

.boskom-main-head h3 {
  font-size: 16px;
}

.boskom-messages {
  padding: 22px clamp(18px, 3vw, 42px) 16px;
}

.boskom-msg-row {
  max-width: min(74%, 760px);
}

.boskom-empty-workspace {
  width: min(380px, calc(100% - 40px)) !important;
  margin: auto !important;
  padding: 30px 26px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(148, 179, 211, 0.1) !important;
  border-radius: 14px !important;
  background: rgba(15, 31, 50, 0.58) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.boskom-empty-workspace .boskom-empty-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(79, 156, 249, 0.2);
  border-radius: 14px;
  background: rgba(79, 156, 249, 0.09);
  color: #87bff8;
  font-size: 20px;
}

.boskom-empty-workspace strong {
  color: rgba(239, 247, 255, 0.92);
  font-size: 14px;
}

.boskom-empty-workspace > span:last-child {
  max-width: 280px;
  color: var(--boskom-muted);
  font-size: 11px;
  line-height: 1.45;
}

.boskom-compose {
  padding: 12px 16px 13px;
}

.boskom-compose-input {
  min-height: 42px;
}

@media (max-width: 1050px) {
  .boskom-layout {
    grid-template-columns: minmax(270px, 34%) minmax(0, 1fr);
  }
}
