/* Keep the header focused on search, availability, calling, and the account. */
.topbar { gap: 24px; }
.topbar .breadcrumb { min-width: 0; overflow: hidden; white-space: nowrap; }
.topbar .breadcrumb > span, .topbar .breadcrumb > small { overflow: hidden; text-overflow: ellipsis; }
.topbar .account-actions { flex-shrink: 0; gap: 10px; }
.topbar .command-trigger { min-height: 38px; padding: 8px 11px; gap: 8px; border-color: transparent; background: #f5f6f9; }
.topbar .assistant-toggle { width: 38px; height: 38px; padding: 0; justify-content: center; border-color: transparent; background: transparent; color: #7d688f; }
.topbar .assistant-toggle > span { display: none; }
.topbar .assistant-toggle:hover { background: #f5effc; }
.topbar .phone-toolbar { gap: 10px; }
.topbar .availability-pill { min-height: 38px; border-color: transparent; background: transparent; padding: 8px; }
.topbar .dialer-toggle { min-height: 38px; gap: 8px; border-color: #e9def8; background: #faf7ff; padding: 8px 12px; }
.topbar .dialer-toggle.on-call { border-color: #b7e4cd; background: #ecf8f1; }
.topbar .dialer-symbol { position: relative; display: inline-flex; flex-shrink: 0; }
.topbar .dialer-symbol .status-dot { display: block; position: absolute; right: -4px; bottom: -3px; width: 8px; height: 8px; border: 2px solid #faf7ff; box-sizing: content-box; }
.topbar .dialer-symbol.needs-attention .status-dot { background: #cf941f; }
.topbar .account-menu { position: relative; border-left: 1px solid #ececf1; padding-left: 12px; }
.topbar .account-menu-trigger { display: flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: #8991a0; border-radius: 24px; cursor: pointer; }
.topbar .account-menu-trigger .avatar { position: relative; width: 36px; height: 36px; font-size: 12px; }
.account-unread-dot { position: absolute; top: 0; right: 0; width: 9px; height: 9px; border: 2px solid white; border-radius: 50%; background: #a45ce6; }
.account-menu-panel { position: absolute; z-index: 70; top: calc(100% + 13px); right: 0; width: 252px; max-width: calc(100vw - 24px); padding: 6px; border: 1px solid #e7e8ef; border-radius: 14px; background: white; box-shadow: 0 14px 45px #24314720; }
.account-menu-heading { display: flex; flex-direction: column; gap: 5px; padding: 12px 10px 15px; margin-bottom: 4px; border-bottom: 1px solid #f0f0f4; overflow-wrap: anywhere; }
.account-menu-heading strong { font-size: 13px; color: #273142; }
.account-menu-heading small { font-size: 11px; color: #7d889c; }
.account-menu-panel > a, .account-menu-panel form > button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: #566176; font: inherit; font-size: 12px; text-align: left; text-decoration: none; cursor: pointer; }
.account-menu-panel > a:hover, .account-menu-panel form > button:hover { background: #f6f3fb; color: #8053ad; }
.account-menu-panel form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid #f0f0f4; }
.account-menu-panel .account-unread-count { margin-left: auto; padding: 2px 7px; border-radius: 10px; background: #f1e8fc; color: #8b4ec2; font-size: 10px; }
.phone-dock .phone-sound-setup { display: flex; align-items: center; justify-content: center; width: 100%; gap: 8px; padding: 9px; margin: 0 0 12px; border: 1px solid #ece3f6; border-radius: 8px; background: #faf7ff; color: #8053ad; font-size: 11px; }
@media (max-width: 1100px) { .topbar .command-trigger kbd { display: none; } }
@media (max-width: 900px) { .topbar .availability-label { display: none; } .topbar .availability-pill { min-width: 34px; justify-content: center; } }
@media (max-width: 600px) {
  .topbar { padding-left: 12px; padding-right: 12px; gap: 8px; }
  .topbar .breadcrumb > span, .topbar .breadcrumb > small, .topbar .breadcrumb-divider { display: none; }
  .topbar .breadcrumb { flex-shrink: 0; }
  .topbar .account-actions, .topbar .phone-toolbar { gap: 4px; }
  .topbar .command-trigger { width: 36px; justify-content: center; padding: 8px; }
  .topbar .assistant-toggle { width: 34px; }
  .topbar .dialer-toggle { padding: 8px 10px; }
  .topbar .account-menu { padding-left: 7px; }
  .topbar .account-menu-trigger { gap: 2px; }
  .topbar .account-menu-trigger > svg { display: none; }
}

.phone-dock .phone-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
  padding-top: 12px;
  gap: 6px 8px;
}
.phone-dock .phone-footer button {
  min-width: 0;
  min-height: 40px;
  justify-content: flex-start;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.4;
  text-align: left;
}
.phone-dock .phone-footer button:not(:disabled):hover { background: #f7f5fb; }