/* Three presence spaces, with meeting membership independent of connectivity. */
.team-board {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 22px;
  align-items: start;
}
.presence-space {
  min-width: 0;
}
.space-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
}
.space-heading h2 {
  font-size: 17px;
  margin: 0;
  letter-spacing: -0.35px;
}
.space-heading .count {
  margin-left: auto;
  font-size: 12px;
  padding: 3px 8px;
}
.space-icon {
  width: 35px;
  height: 35px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.offline-space .space-icon {
  background: #e9ece8;
  color: #687568;
}
.online-space .space-icon {
  background: #e5eddc;
  color: #48653c;
}
.meeting-space .space-icon {
  background: #f1e4d4;
  color: #886443;
}
.space-description {
  font-size: 12px;
  line-height: 1.6;
  color: #6c786a;
  min-height: 39px;
  margin-bottom: 18px;
}
.space-cards {
  display: grid;
  gap: 14px;
}
.team-board .person-card {
  padding: 17px 15px 14px;
}
.team-board .person-identity h3 {
  font-size: 14px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.team-board .person-top {
  gap: 9px;
}
.offline-space .person-card {
  background: #f0f2ed;
  border-color: #e0e5dd;
}
.offline-space .avatar {
  background: #e1e5de;
  color: #626e5d;
}
.offline-space .person-status {
  margin: 13px 0;
}
.team-board .person-bottom {
  flex-wrap: wrap;
  gap: 10px;
}
.team-board .person-bottom > span,
.team-board .chat-button {
  font-size: 11px;
}
.team-board .chat-button {
  min-height: 28px;
}
.team-board .person-status {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.team-board .person-status > p {
  flex-basis: 100%;
}
.team-board .status-chip {
  line-height: 1.35;
}
.team-board .status-chip.available {
  color: #44623b;
}
.team-board .status-chip.focusing {
  color: #635b80;
}
.team-board .status-chip.busy {
  color: #855038;
}
.team-board .status-chip.on_break {
  color: #76642b;
}
.team-board .status-chip.in_meeting {
  color: #625b8a;
}
.person-card.meeting-person {
  border-color: #d5d4e3;
}
.person-meeting-mark {
  position: absolute;
  bottom: -5px;
  right: -6px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 2px solid white;
  border-radius: 7px;
  color: #635b86;
  background: #e8e5f3;
}
.person-meeting-mark svg {
  width: 12px;
  height: 12px;
}
.chosen-label {
  font-size: 10px;
  color: #6c786a;
  margin-right: 4px;
}
.team-board .room-reference {
  color: #625b83;
  font-size: 11px;
  line-height: 1.5;
}
.team-board .room-reference svg {
  flex-shrink: 0;
}
.meeting-room {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #e1dccd;
  background: #faf7ee;
  box-shadow: 0 3px 0 #e6e1d455;
}
.meeting-room.my-meeting {
  background: #f1f5ec;
  border-color: #cbd9bd;
  box-shadow: 0 3px 0 #cbd9bd55;
}
.meeting-room.room-external {
  background: #fff6ec;
  border-color: #ead6bb;
  box-shadow: 0 3px 0 #ead6bb55;
}
.meeting-room.room-private {
  background: #f1f1f4;
  border-color: #dcdce5;
  box-shadow: none;
}
.meeting-room .meeting-top {
  margin-bottom: 14px;
  gap: 10px;
}
.meeting-room .meeting-icon {
  width: 33px;
  height: 33px;
  color: #80694d;
  background: #ede5d3;
}
.meeting-kind {
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  padding: 6px 9px;
  color: #656953;
  background: #eaece0;
  text-align: center;
}
.meeting-kind.internal {
  color: #4c653b;
  background: #e4ebd8;
}
.meeting-kind.external {
  color: #87532f;
  background: #f5e2cc;
}
.meeting-kind.private {
  color: #656078;
  background: #e5e3ed;
}
.meeting-room h3 {
  font-size: 17px;
  line-height: 1.4;
  color: #344d40;
  overflow-wrap: anywhere;
}
.meeting-room .meeting-meta {
  font-size: 11px;
  line-height: 1.6;
  margin-bottom: 17px;
}
.your-room {
  color: #486d3f;
  font-weight: 600;
}
.room-roster {
  list-style: none;
  margin: 0 0 15px;
  padding: 13px;
  display: grid;
  gap: 14px;
  border: 1px solid #dedbce;
  border-radius: 13px;
  background: #fffdf6;
}
.my-meeting .room-roster {
  border-color: #d7e0cd;
  background: #fcfff8;
}
.room-external .room-roster {
  border-color: #eadcc8;
  background: #fffcf8;
}
.room-participant {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.participant-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ebdfca;
  color: #756042;
  font-size: 12px;
  font-weight: 650;
}
.participant-avatar.tone-1 {
  color: #4e6a48;
  background: #dfe8d4;
}
.participant-avatar.tone-2 {
  color: #6c6082;
  background: #e8e1ef;
}
.meeting-avatar-mark {
  position: absolute;
  bottom: -3px;
  right: -3px;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 2px solid #fffdf6;
  border-radius: 6px;
  background: #e4dfee;
  color: #6c5987;
}
.meeting-avatar-mark svg {
  width: 11px;
  height: 11px;
}
.participant-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.participant-details strong {
  font-size: 12px;
  color: #3c5043;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.participant-status {
  font-size: 11px;
  color: #6c5c88;
}
.participant-device {
  font-size: 10px;
  color: #727668;
}
.room-no-people {
  font-size: 12px;
  color: #6c786a;
}
.room-attendance-note {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.65;
  color: #70684f;
}
.room-evidence {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: #6d7563;
  margin-bottom: 15px;
}
.room-evidence .small-dot {
  background: #a9ad94;
  width: 5px;
  height: 5px;
}
.meeting-room .meeting-bottom {
  flex-wrap: wrap;
  gap: 10px;
}
.meeting-room .small-button {
  font-size: 11px;
  min-height: 36px;
}
.meeting-room .meeting-link {
  font-size: 11px;
  color: #596b4e;
}
.meeting-room .private-note {
  min-height: 78px;
  line-height: 1.8;
  color: #6a6678;
}
.board-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 11px;
  line-height: 1.7;
  color: #6d7c62;
  margin: 23px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}
.board-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.board-heading {
  font-size: 12px;
  color: #68755f;
}
@media (max-width: 1240px) {
  .team-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .meeting-space {
    grid-column: 1 / -1;
  }
  .meeting-space .space-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .meeting-space .space-description {
    min-height: 0;
  }
}
@media (max-width: 600px) {
  .team-board {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .meeting-space {
    grid-column: auto;
  }
  .meeting-space .space-cards {
    grid-template-columns: 1fr;
  }
  .space-description {
    min-height: 0;
    margin-bottom: 14px;
  }
  .dashboard-toolbar {
    gap: 12px;
    flex-wrap: wrap;
  }
  .dashboard-toolbar .search-box {
    flex: 1;
  }
  .dashboard-toolbar .search-box input {
    width: 100%;
    min-width: 120px;
  }
  .space-heading h2 {
    font-size: 18px;
  }
  .meeting-room .small-button,
  .team-board .chat-button {
    min-height: 40px;
  }
}
