/* Keep review-only layout changes isolated to this candidate. */
.workspace .sidebar { min-inline-size: 0; }
.workspace .sidebar-header { padding-block-start: 16px; }
.workspace .sidebar-intro { margin-block: 13px 10px; }
.workspace .rp-sidebar-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .15rem .3rem;
  margin-block-start: .5rem;
}
.workspace .rp-sidebar-links button {
  min-block-size: 40px;
  padding: .3rem .45rem;
  text-align: start;
  line-height: 1.2;
  white-space: normal;
  border-radius: .45rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.workspace .rp-sidebar-links button:hover { background: var(--raised); text-decoration: underline; }
.workspace .sidebar :is(button, select, input):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.workspace .rooms .chat-list-row { grid-template-columns: minmax(0, 1fr) 44px; }
.workspace .rooms .chat-list-options { inline-size: 44px; }
@media (max-width: 720px) {
  .workspace .sidebar-header { padding: 11px 12px 8px; }
  .workspace .sidebar-intro { margin-block: 8px 7px; }
  .workspace .rp-sidebar-links {
    grid-auto-columns: max-content;
    grid-template-columns: none;
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    margin-inline: -2px;
    padding-inline: 2px;
    scrollbar-width: thin;
  }
  .workspace .rp-sidebar-links button { min-block-size: 44px; padding-inline: .65rem; white-space: nowrap; }
  .workspace .room-heading { min-inline-size: 0; }
  .workspace .room-heading :is(h2,small) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .workspace .mobile-back { inline-size: 44px; min-inline-size: 44px; block-size: 44px; }
}

.chat-search-glyph {
  position: relative;
  inline-size: .7rem;
  block-size: .7rem;
  border: 1.7px solid currentColor;
  border-radius: 50%;
}
.chat-search-glyph::after {
  content: "";
  position: absolute;
  inset: auto -.32rem -.14rem auto;
  inline-size: .36rem;
  block-size: 1.7px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(48deg);
}
.call-actions,
.history-search-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.history-search-actions #history-search-submit { margin-top: 0; }
.history-search-actions { margin-top: .35rem; }
@media (max-width: 720px) {
  .workspace .chat-head { gap: 7px; }
  .workspace .head-actions #find-messages,
  .workspace #close-search {
    inline-size: 44px;
    min-inline-size: 44px;
    block-size: 44px;
  }
  .workspace #open-members,
  .workspace #open-history-search,
  .history-search :is(#history-search-submit, #history-search-loaded, #history-search-close) {
    min-block-size: 44px;
  }
  .workspace #open-members { padding-inline: 7px; }
  .workspace #open-history-search { padding-inline: 9px; }
  .workspace .call-controls output {
    flex: 1 1 8rem;
    min-inline-size: 0;
    margin-inline-end: 0;
    font-size: .78rem;
    line-height: 1.3;
  }
  .workspace .call-actions button {
    padding: 6px 8px;
    min-block-size: 44px;
    min-inline-size: 44px;
    font-size: .75rem;
  }
  .workspace .compose-controls { gap: 6px; }
  .workspace #message-text { font-size: 1rem; }
  .workspace .composer #send { padding-inline: 9px; }
  .workspace .send-glyph { display: none; }
  .workspace #draft-conflict {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-block-end: 6px;
  }
  .workspace #draft-conflict span { inline-size: 100%; }
  .workspace #draft-conflict button {
    max-inline-size: 100%;
    min-block-size: 44px;
    white-space: normal;
  }
}
