/* High-fidelity, fully DOM-based Outlook and Teams desktop previews. */

.office-demo--outlook-pro,
.office-demo--teams-pro {
  position: relative;
  width: 1319px;
  height: 624px;
  display: grid;
  box-sizing: border-box;
  overflow: hidden;
  color: #242424;
  border: 1px solid #9aa5ad;
  border-radius: 4px 4px 0 0;
  background: #f5f5f5;
  box-shadow: 0 24px 52px rgba(24, 38, 49, .22), inset 0 1px rgba(255, 255, 255, .6);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.32;
  transform-origin: top left;
  user-select: none;
}

.office-demo--outlook-pro {
  --ot-scale: 1;
  grid-template-rows: 40px 34px 92px minmax(0, 1fr) 23px;
  transform: scale(var(--ot-scale));
}

.office-demo--teams-pro {
  --tm-scale: 1;
  grid-template-rows: 47px minmax(0, 1fr) 23px;
  transform: scale(var(--tm-scale));
}

.office-demo--outlook-pro *,
.office-demo--teams-pro * {
  box-sizing: border-box;
}

.office-demo--outlook-pro button,
.office-demo--outlook-pro input,
.office-demo--outlook-pro textarea,
.office-demo--teams-pro button,
.office-demo--teams-pro input,
.office-demo--teams-pro textarea {
  font: inherit;
}

.office-demo--outlook-pro button,
.office-demo--teams-pro button {
  cursor: pointer;
}

.office-demo--outlook-pro [hidden],
.office-demo--teams-pro [hidden] {
  display: none !important;
}

.office-demo--outlook-pro button:focus-visible,
.office-demo--outlook-pro input:focus-visible,
.office-demo--outlook-pro textarea:focus-visible {
  outline: 2px solid #0f6cbd;
  outline-offset: -2px;
}

.office-demo--teams-pro button:focus-visible,
.office-demo--teams-pro input:focus-visible,
.office-demo--teams-pro textarea:focus-visible {
  outline: 2px solid #5b5fc7;
  outline-offset: -2px;
}

/* Outlook title bar */
.ot-titlebar {
  min-width: 0;
  display: grid;
  grid-template-columns: 470px minmax(310px, 1fr) 510px;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(420px 90px at 67% -25%, rgba(255, 255, 255, .14), transparent 70%),
    linear-gradient(90deg, #075a9c, #0f6cbd 54%, #106ebe);
}

.ot-titlebar button {
  height: 28px;
  min-width: 28px;
  padding: 0 7px;
  color: inherit;
  border: 0;
  background: transparent;
}

.ot-titlebar button:hover {
  background: rgba(255, 255, 255, .13);
}

.ot-title-left,
.ot-title-right {
  height: 100%;
  display: flex;
  align-items: center;
}

.ot-title-left {
  gap: 4px;
  padding-left: 8px;
}

.ot-app-mark {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  color: #0f6cbd;
  border-radius: 2px;
  background: #fff;
  box-shadow: 5px 0 rgba(255, 255, 255, .42);
  font-size: 14px;
  font-weight: 700;
}

.ot-autosave-label {
  margin-left: 10px;
  color: rgba(255, 255, 255, .86);
  font-size: 10px;
}

.ot-save-switch {
  position: relative;
  width: 32px;
  min-width: 32px !important;
  height: 17px !important;
  margin-right: 5px;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, .65) !important;
  border-radius: 10px !important;
}

.ot-save-switch i {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  transition: left .15s ease;
}

.ot-save-switch.is-on {
  background: rgba(255, 255, 255, .21) !important;
}

.ot-save-switch.is-on i {
  left: 16px;
}

.ot-search-wrap {
  width: min(100%, 500px);
  height: 28px;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  color: #1b4062;
  border-radius: 3px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

.ot-search-wrap > span {
  font-size: 14px;
}

.ot-search-wrap input {
  min-width: 0;
  flex: 1;
  height: 24px;
  padding: 0;
  color: #17324a;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 11px;
}

.ot-search-wrap input::placeholder {
  color: #526c82;
}

.ot-search-wrap kbd {
  color: #5d7081;
  font-family: inherit;
  font-size: 8px;
  font-weight: 400;
}

.ot-title-right {
  justify-content: flex-end;
  gap: 1px;
}

.ot-title-right .window {
  width: 41px;
  height: 40px;
  border-radius: 0;
}

.ot-title-right .close:hover {
  background: #c42b1c;
}

.ot-account {
  position: relative;
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  margin: 0 6px;
  color: #0f6cbd;
  border-radius: 50%;
  background: #fff;
  font-size: 8px;
  font-weight: 700;
}

.ot-account i {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 7px;
  height: 7px;
  border: 1px solid #0f6cbd;
  border-radius: 50%;
  background: #6ccb5f;
}

/* Outlook ribbon */
.ot-tabs {
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0 8px;
  overflow: hidden;
  border-bottom: 1px solid #c9c9c9;
  background: #fff;
}

.ot-tabs > button {
  height: 34px;
  flex: 0 0 auto;
  padding: 0 12px;
  color: #252525;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: 10px;
}

.ot-tabs > button:hover {
  color: #0f6cbd;
  background: #f4f7fa;
}

.ot-tabs > button.is-active {
  color: #0f6cbd;
  border-bottom-color: #0f6cbd;
  font-weight: 600;
}

.ot-tabs > button.file {
  margin-left: -8px;
  padding-right: 17px;
  padding-left: 17px;
  color: #fff;
  background: #0f6cbd;
}

.ot-tabs > span {
  min-width: 8px;
  flex: 1;
}

.ot-tabs .ot-simplify {
  color: #505050;
  font-size: 9px;
}

.ot-tabs .ot-simplify i {
  margin-left: 5px;
  color: #0f6cbd;
  font-style: normal;
}

.ot-ribbon {
  overflow: hidden;
  border-bottom: 1px solid #c8c8c8;
  background: linear-gradient(#fafafa, #f5f5f5);
}

.ot-ribbon-panel {
  height: 91px;
  display: flex;
  align-items: stretch;
}

.ot-ribbon-group {
  position: relative;
  min-width: 82px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px 18px;
  border-right: 1px solid #d2d2d2;
}

.ot-ribbon-group.grow {
  flex: 1;
}

.ot-ribbon-group > em {
  position: absolute;
  right: 6px;
  bottom: 2px;
  left: 6px;
  overflow: hidden;
  color: #686868;
  font-size: 8px;
  font-style: normal;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ot-ribbon-group button {
  color: #242424;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
}

.ot-ribbon-group button:hover {
  border-color: #a7c9e5;
  background: #eaf3fa;
}

.ot-big-command {
  position: relative;
  min-width: 54px;
  height: 67px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 2px 6px;
  font-size: 9px;
  text-align: center;
  line-height: 1.08;
}

.ot-big-command > b {
  color: #0f6cbd;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.ot-big-command > i {
  position: absolute;
  right: 2px;
  bottom: 2px;
  color: #666;
  font-size: 8px;
  font-style: normal;
}

.ot-big-command.compact {
  min-width: 49px;
}

.ot-big-command.compact > b {
  font-size: 21px;
}

.ot-stack {
  min-width: 81px;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: center;
  gap: 0;
}

.ot-stack.wide {
  min-width: 106px;
}

.ot-stack button {
  height: 22px;
  padding: 1px 5px;
  font-size: 9px;
  text-align: left;
  white-space: nowrap;
}

.ot-tag-grid {
  width: 108px;
  display: grid;
  gap: 1px;
}

.ot-tag-grid button {
  height: 21px;
  padding: 0 5px;
  font-size: 8px;
  text-align: left;
}

.ot-color-dots {
  width: 12px;
  height: 12px;
  display: inline-block;
  vertical-align: middle;
  background: conic-gradient(#d83b01 0 25%, #107c10 0 50%, #5b5fc7 0 75%, #f2c811 0);
}

/* Outlook workspace */
.ot-body {
  min-height: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
}

.ot-app-rail {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 3px 0;
  border-right: 1px solid #d9d9d9;
  background: #f2f2f2;
}

.ot-app-rail button {
  position: relative;
  height: 51px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 0;
  color: #444;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
}

.ot-app-rail button:hover {
  background: #e8e8e8;
}

.ot-app-rail button.is-active {
  color: #0f6cbd;
  border-left-color: #0f6cbd;
  background: #e2f0fa;
}

.ot-app-rail button span {
  height: 21px;
  font-size: 17px;
  line-height: 20px;
}

.ot-app-rail button small {
  font-size: 7px;
}

.ot-view-host,
.ot-mail-view,
.ot-calendar-view {
  min-width: 0;
  min-height: 0;
}

.ot-view-host {
  overflow: hidden;
}

.ot-mail-view {
  height: 100%;
  display: grid;
  grid-template-columns: 211px 365px minmax(0, 1fr);
}

.ot-folder-pane {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid #d6d6d6;
  background: #f7f7f7;
}

.ot-folder-pane > header {
  height: 38px;
  display: grid;
  grid-template-columns: 30px 1fr 28px;
  align-items: center;
  padding: 0 7px;
  border-bottom: 1px solid #e1e1e1;
}

.ot-folder-pane > header strong {
  padding-left: 4px;
  font-size: 13px;
  font-weight: 600;
}

.ot-folder-pane > header button,
.ot-folder-heading,
.ot-folder,
.ot-groups-link {
  color: #343434;
  border: 0;
  background: transparent;
}

.ot-folder-pane > header button {
  width: 26px;
  height: 26px;
  padding: 0;
}

.ot-folder-scroll {
  height: calc(100% - 38px);
  overflow: hidden auto;
  padding: 5px 0 14px;
  scrollbar-width: thin;
  scrollbar-color: #b9b9b9 transparent;
}

.ot-folder-group {
  padding-bottom: 7px;
  border-bottom: 1px solid #e5e5e5;
}

.ot-folder-heading {
  width: 100%;
  height: 28px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  font-size: 10px;
  text-align: left;
}

.ot-folder-heading strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ot-account-tree {
  padding-top: 4px;
}

.ot-folder {
  width: 100%;
  height: 28px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  padding: 0 11px 0 22px;
  font-size: 10px;
  text-align: left;
}

.ot-folder.nested {
  padding-left: 34px;
}

.ot-folder > span {
  color: #5a5a5a;
  font-size: 13px;
}

.ot-folder > b {
  overflow: hidden;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ot-folder > i {
  color: #0f6cbd;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.ot-folder:hover,
.ot-groups-link:hover {
  background: #ececec;
}

.ot-folder.is-active {
  color: #0f6cbd;
  background: #dfeef8;
}

.ot-folder.is-active > b {
  font-weight: 600;
}

.ot-groups-link {
  width: 100%;
  height: 27px;
  padding-left: 12px;
  font-size: 10px;
  font-weight: 600;
  text-align: left;
}

.ot-mail-list {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: 63px 26px minmax(0, 1fr);
  overflow: hidden;
  border-right: 1px solid #cfcfcf;
  background: #fff;
}

.ot-mail-list > header {
  padding: 8px 12px 5px;
  border-bottom: 1px solid #e2e2e2;
}

.ot-mail-list > header > div:first-child,
.ot-mail-list > header > div:last-child {
  display: flex;
  align-items: center;
}

.ot-mail-list > header h1 {
  margin: 0;
  color: #242424;
  font-size: 16px;
  font-weight: 600;
}

.ot-mail-list > header button {
  height: 22px;
  padding: 0 7px;
  color: #555;
  border: 0;
  background: transparent;
  font-size: 9px;
}

.ot-mail-list > header > div:last-child {
  margin-top: 3px;
}

.ot-mail-list > header > div:last-child button.active {
  color: #0f6cbd;
  font-weight: 600;
}

.ot-mail-list .ot-list-menu {
  margin-left: auto;
}

.ot-focus-tabs {
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: #6b6b6b;
  border-bottom: 1px solid #e3e3e3;
  background: #fafafa;
}

.ot-focus-tabs button {
  height: 25px;
  padding: 0 5px;
  color: #555;
  border: 0;
  background: transparent;
  font-size: 8px;
}

.ot-focus-tabs button.active {
  color: #0f6cbd;
  font-weight: 600;
}

.ot-focus-tabs span {
  margin-left: auto;
  font-size: 8px;
}

.ot-mail-scroll {
  min-height: 0;
  overflow: hidden auto;
  scrollbar-width: thin;
  scrollbar-color: #b8b8b8 #f7f7f7;
}

.ot-mail-row {
  position: relative;
  width: 100%;
  min-height: 67px;
  display: grid;
  grid-template-columns: 7px 31px minmax(0, 1fr) 16px;
  gap: 7px;
  align-items: start;
  padding: 7px 8px 6px 6px;
  color: #333;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
  text-align: left;
}

.ot-mail-row:hover {
  background: #f1f6fa;
}

.ot-mail-row.is-active {
  background: #ddecf7;
  box-shadow: inset 3px 0 #0f6cbd;
}

.ot-mail-row.is-unread {
  background: #f1f7fc;
}

.ot-mail-row.is-unread .ot-mail-line strong,
.ot-mail-row.is-unread .ot-mail-subject {
  color: #0b5b9d;
  font-weight: 700;
}

.ot-mail-state {
  width: 7px;
  height: 100%;
  display: grid;
  place-items: center;
}

.ot-mail-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0f6cbd;
}

.ot-avatar {
  width: 29px;
  height: 29px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--avatar, #0f6cbd);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.ot-avatar.large {
  width: 34px;
  height: 34px;
  font-size: 9px;
}

.ot-mail-copy {
  min-width: 0;
  display: block;
}

.ot-mail-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ot-mail-line strong {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ot-mail-line time {
  flex: 0 0 auto;
  color: #626262;
  font-size: 8px;
}

.ot-mail-subject,
.ot-mail-preview {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ot-mail-subject {
  margin-top: 2px;
  font-size: 9px;
}

.ot-mail-preview {
  margin-top: 2px;
  color: #6a6a6a;
  font-size: 8px;
}

.ot-mail-marks {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 17px;
  color: #777;
  font-size: 9px;
}

.ot-mail-marks b {
  font-weight: 400;
}

.ot-mail-marks .flag {
  color: #d83b01;
}

.ot-mail-empty,
.ot-reading-empty {
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  color: #707070;
  text-align: center;
}

.ot-mail-empty span,
.ot-reading-empty span {
  color: #92a8bb;
  font-size: 28px;
}

.ot-mail-empty small,
.ot-reading-empty small {
  font-size: 9px;
}

.ot-reading-pane {
  min-width: 0;
  min-height: 0;
  overflow: hidden auto;
  padding: 0 22px 24px;
  background: #fff;
  scrollbar-width: thin;
  scrollbar-color: #bababa transparent;
  user-select: text;
}

.ot-reading-head {
  min-height: 70px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0 9px;
  border-bottom: 1px solid #eeeeee;
}

.ot-reading-head > div:first-child {
  min-width: 0;
  flex: 1;
}

.ot-reading-head h2 {
  margin: 0 0 6px;
  color: #1f1f1f;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.ot-category {
  display: inline-block;
  padding: 2px 6px;
  color: #fff;
  border-radius: 2px;
  background: #5b5fc7;
  font-size: 8px;
}

.ot-reading-actions {
  display: flex;
  gap: 1px;
}

.ot-reading-actions button,
.ot-sender button,
.ot-inline-actions button {
  color: #404040;
  border: 1px solid transparent;
  background: transparent;
}

.ot-reading-actions button {
  width: 28px;
  height: 27px;
  padding: 0;
}

.ot-reading-actions button:hover,
.ot-inline-actions button:hover {
  border-color: #c9ddec;
  background: #eef5fa;
}

.ot-sender {
  min-height: 53px;
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 9px 0 5px;
}

.ot-sender > div {
  min-width: 0;
}

.ot-sender strong,
.ot-sender span {
  display: block;
}

.ot-sender strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ot-sender strong small {
  color: #6a6a6a;
  font-weight: 400;
}

.ot-sender span,
.ot-sender time {
  color: #676767;
  font-size: 8px;
}

.ot-sender button {
  padding: 0 3px;
}

.ot-inline-actions {
  display: flex;
  gap: 4px;
  padding: 2px 0 9px 45px;
  border-bottom: 1px solid #eeeeee;
}

.ot-inline-actions button {
  height: 25px;
  padding: 0 7px;
  border-color: #d4d4d4;
  border-radius: 2px;
  font-size: 9px;
}

.ot-letter {
  max-width: 670px;
  padding: 15px 7px 20px 45px;
  color: #303030;
  font-size: 10px;
  line-height: 1.48;
}

.ot-letter p {
  margin: 0 0 11px;
}

.ot-attachment {
  width: 244px;
  height: 47px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 18px;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  margin-top: 17px;
  padding: 4px 7px;
  color: #333;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  background: #fafafa;
  text-align: left;
}

.ot-attachment:hover {
  border-color: #7fb1d7;
  background: #f0f7fb;
}

.ot-attachment > span {
  grid-row: 1 / 3;
  color: #107c10;
  font-size: 22px;
}

.ot-attachment > b,
.ot-attachment > small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ot-attachment > b {
  align-self: end;
  font-size: 9px;
}

.ot-attachment > small {
  align-self: start;
  color: #717171;
  font-size: 8px;
}

.ot-attachment > i {
  grid-column: 3;
  grid-row: 1 / 3;
  font-style: normal;
}

/* Outlook calendar */
.ot-calendar-view {
  height: 100%;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
}

.ot-calendar-side {
  min-height: 0;
  overflow: hidden;
  padding: 12px 12px 10px;
  border-right: 1px solid #d4d4d4;
  background: #f8f8f8;
}

.ot-calendar-new {
  width: 100%;
  height: 31px;
  color: #fff;
  border: 1px solid #075a9c;
  border-radius: 2px;
  background: #0f6cbd;
  font-size: 10px;
}

.ot-mini-cal {
  margin-top: 12px;
}

.ot-mini-cal > header {
  height: 28px;
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
}

.ot-mini-cal > header strong {
  text-align: center;
}

.ot-mini-cal > header button,
.ot-mini-days button {
  padding: 0;
  color: #333;
  border: 0;
  background: transparent;
}

.ot-mini-week,
.ot-mini-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.ot-mini-week b {
  padding: 3px 0;
  color: #666;
  font-size: 7px;
  font-weight: 500;
}

.ot-mini-days button {
  height: 23px;
  font-size: 8px;
}

.ot-mini-days button:hover {
  background: #e6f1f8;
}

.ot-mini-days button.selected {
  color: #fff;
  border-radius: 50%;
  background: #0f6cbd;
}

.ot-mini-days button.muted {
  color: #a0a0a0;
}

.ot-calendars {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid #dedede;
}

.ot-calendars > strong {
  margin-bottom: 2px;
  font-size: 10px;
}

.ot-calendars label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
}

.ot-calendars label i {
  width: 9px;
  height: 9px;
  background: #0f6cbd;
}

.ot-calendars label i.green {
  background: #107c10;
}

.ot-calendars label i.purple {
  background: #5b5fc7;
}

.ot-calendar-main {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: 46px 39px 24px minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
}

.ot-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  border-bottom: 1px solid #e0e0e0;
}

.ot-calendar-toolbar > div {
  display: flex;
  align-items: center;
}

.ot-calendar-toolbar button {
  height: 26px;
  padding: 0 8px;
  color: #333;
  border: 1px solid #d2d2d2;
  background: #fff;
  font-size: 9px;
}

.ot-calendar-toolbar button + button {
  margin-left: -1px;
}

.ot-calendar-toolbar button.active {
  color: #0f6cbd;
  background: #e9f3fa;
}

.ot-calendar-toolbar h2 {
  margin: 0 0 0 12px;
  font-size: 14px;
  font-weight: 600;
}

.ot-week-head,
.ot-all-day {
  display: grid;
  grid-template-columns: 50px repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid #d9d9d9;
}

.ot-week-head button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #454545;
  border: 0;
  border-left: 1px solid #e2e2e2;
  background: #fff;
}

.ot-week-head b {
  color: #6a6a6a;
  font-size: 8px;
}

.ot-week-head strong {
  font-size: 14px;
}

.ot-week-head button.today strong {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #0f6cbd;
}

.ot-all-day {
  color: #707070;
  font-size: 7px;
}

.ot-all-day > * {
  min-width: 0;
  border-left: 1px solid #ededed;
}

.ot-all-day > span {
  display: grid;
  place-items: center;
  border-left: 0;
}

.ot-all-day > button {
  overflow: hidden;
  padding: 0 5px;
  color: #084d86;
  border: 0;
  border-left: 3px solid #0f6cbd;
  background: #dcecf8;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ot-schedule {
  min-height: 0;
  display: grid;
  grid-template-columns: 50px repeat(5, minmax(0, 1fr));
  overflow: hidden auto;
  scrollbar-width: thin;
}

.ot-hours {
  display: grid;
  grid-template-rows: repeat(9, 41px);
  color: #727272;
  border-right: 1px solid #dedede;
  font-size: 7px;
  text-align: right;
}

.ot-hours span {
  padding: 2px 5px 0 0;
  transform: translateY(-7px);
}

.ot-day-column {
  position: relative;
  min-height: 369px;
  border-right: 1px solid #e2e2e2;
  background: repeating-linear-gradient(to bottom, #fff 0, #fff 40px, #e7e7e7 40px, #e7e7e7 41px);
}

.ot-day-column.today {
  background: repeating-linear-gradient(to bottom, #f9fcfe 0, #f9fcfe 40px, #dbe9f2 40px, #dbe9f2 41px);
}

.ot-event {
  position: absolute;
  top: var(--top);
  right: 4px;
  left: 4px;
  height: var(--height);
  overflow: hidden;
  padding: 4px 5px;
  color: #123f65;
  border: 0;
  border-left: 3px solid #0f6cbd;
  border-radius: 2px;
  background: #dfeef8;
  font-size: 8px;
  text-align: left;
}

.ot-event b,
.ot-event small {
  display: block;
  font-size: 7px;
}

.ot-event small {
  margin-top: 2px;
  opacity: .75;
}

.ot-event.green {
  color: #185215;
  border-left-color: #107c10;
  background: #e2f2df;
}

.ot-event.purple {
  color: #49337a;
  border-left-color: #7355aa;
  background: #eee8f8;
}

.ot-event.orange {
  color: #7b3316;
  border-left-color: #d83b01;
  background: #f8e8df;
}

/* Outlook status, toast, compose and backstage */
.ot-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 8px;
  color: #4f4f4f;
  border-top: 1px solid #d0d0d0;
  background: #f2f2f2;
  font-size: 8px;
}

.ot-statusbar > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ot-statusbar > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ot-statusbar button {
  padding: 0 4px;
  color: #555;
  border: 0;
  background: transparent;
}

.ot-statusbar input {
  width: 76px;
  height: 12px;
  accent-color: #0f6cbd;
}

.ot-compose {
  position: absolute;
  z-index: 20;
  top: 55px;
  left: 240px;
  width: 840px;
  height: 505px;
  display: grid;
  grid-template-rows: 36px 31px 62px 34px 34px minmax(0, 1fr) 30px;
  overflow: hidden;
  border: 1px solid #7e8b94;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17, 43, 61, .34);
  user-select: text;
}

.ot-compose > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: #0f6cbd;
}

.ot-compose > header > div {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 9px;
}

.ot-compose > header > div:last-child {
  padding-left: 0;
}

.ot-compose > header button {
  width: 37px;
  height: 36px;
  padding: 0;
  color: #fff;
  border: 0;
  background: transparent;
}

.ot-compose > header button:hover {
  background: rgba(255, 255, 255, .14);
}

.ot-compose > header strong {
  font-size: 10px;
  font-weight: 500;
}

.ot-compose > nav {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0 8px;
  border-bottom: 1px solid #d2d2d2;
}

.ot-compose > nav button {
  padding: 0 11px;
  color: #333;
  border: 0;
  border-bottom: 2px solid transparent;
  background: #fff;
  font-size: 9px;
}

.ot-compose > nav button.active {
  color: #0f6cbd;
  border-bottom-color: #0f6cbd;
}

.ot-compose-tools {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 8px 12px;
  border-bottom: 1px solid #d9d9d9;
  background: #f7f7f7;
}

.ot-compose-tools button {
  min-width: 31px;
  height: 39px;
  padding: 2px 6px;
  color: #333;
  border: 1px solid transparent;
  background: transparent;
}

.ot-compose-tools button:hover {
  border-color: #b8cee0;
  background: #eaf3fa;
}

.ot-compose-tools button span {
  display: block;
  margin-top: 2px;
  font-size: 7px;
}

.ot-compose-tools button.send {
  min-width: 61px;
  color: #fff;
  background: #0f6cbd;
}

.ot-compose-tools > i {
  width: 1px;
  height: 34px;
  margin: 0 3px;
  background: #d1d1d1;
}

.ot-address-row {
  display: grid;
  grid-template-columns: 65px minmax(0, 1fr) 65px;
  align-items: center;
  padding: 2px 8px;
  border-bottom: 1px solid #dedede;
}

.ot-address-row.subject {
  grid-template-columns: 65px minmax(0, 1fr);
}

.ot-address-row > button,
.ot-address-row > span {
  padding: 0 7px;
  color: #0f6cbd;
  border: 0;
  background: transparent;
  font-size: 9px;
  text-align: left;
}

.ot-address-row > span {
  color: #555;
}

.ot-address-row input {
  width: 100%;
  height: 27px;
  padding: 0 4px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 10px;
}

.ot-compose > textarea {
  width: 100%;
  min-height: 0;
  resize: none;
  padding: 17px 22px;
  color: #292929;
  border: 0;
  outline: 0;
  font-family: Calibri, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.ot-compose > footer {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border-top: 1px solid #d8d8d8;
  background: #f5f5f5;
}

.ot-compose > footer span {
  flex: 1;
  color: #626262;
  font-size: 8px;
}

.ot-compose > footer button {
  height: 23px;
  padding: 0 10px;
  color: #444;
  border: 1px solid #c8c8c8;
  background: #fff;
  font-size: 8px;
}

.ot-compose > footer button.primary {
  color: #fff;
  border-color: #0f6cbd;
  background: #0f6cbd;
}

.ot-file-backstage {
  position: absolute;
  z-index: 18;
  inset: 40px 0 23px;
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  color: #303030;
  background: #fff;
}

.ot-file-backstage > aside {
  display: flex;
  flex-direction: column;
  padding: 12px 10px;
  color: #fff;
  background: #0f6cbd;
}

.ot-file-backstage > aside > strong {
  margin: 13px 12px 20px;
  font-size: 17px;
}

.ot-file-backstage > aside button {
  height: 38px;
  padding: 0 14px;
  color: #fff;
  border: 0;
  background: transparent;
  font-size: 10px;
  text-align: left;
}

.ot-file-backstage > aside button:first-child {
  width: 36px;
  padding: 0;
  font-size: 20px;
  text-align: center;
}

.ot-file-backstage > aside button.active,
.ot-file-backstage > aside button:hover {
  background: rgba(255, 255, 255, .14);
}

.ot-file-backstage > main {
  padding: 30px 38px;
  background: linear-gradient(90deg, #f7f7f7, #fff 30%);
}

.ot-file-backstage h2 {
  margin: 0 0 28px;
  font-size: 22px;
  font-weight: 300;
}

.ot-account-card {
  width: 710px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 15px;
  border: 1px solid #d6d6d6;
  background: #fff;
}

.ot-account.big {
  width: 46px;
  height: 46px;
  margin: 0;
  font-size: 12px;
}

.ot-account-card > div span,
.ot-account-card > div small {
  display: block;
  color: #626262;
  font-size: 9px;
}

.ot-account-card > button,
.ot-storage button {
  height: 31px;
  padding: 0 12px;
  color: #333;
  border: 1px solid #c8c8c8;
  background: #f7f7f7;
}

.ot-file-backstage h3 {
  margin: 28px 0 10px;
  font-size: 13px;
}

.ot-storage {
  width: 710px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid #d6d6d6;
}

.ot-storage > div {
  width: 430px;
}

.ot-storage > div span {
  height: 8px;
  display: block;
  margin: 7px 0 4px;
  background: #e0e0e0;
}

.ot-storage > div span i {
  width: 23%;
  height: 100%;
  display: block;
  background: #0f6cbd;
}

.ot-storage small {
  color: #676767;
}

.ot-toast,
.tm-toast {
  position: absolute;
  z-index: 50;
  right: 18px;
  bottom: 34px;
  max-width: 390px;
  padding: 8px 13px;
  color: #fff;
  border-radius: 3px;
  background: rgba(31, 31, 31, .94);
  box-shadow: 0 7px 20px rgba(0, 0, 0, .25);
  font-size: 9px;
  pointer-events: none;
  animation: office-pro-toast-in .16s ease-out;
}

@keyframes office-pro-toast-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Teams top bar */
.tm-topbar {
  position: relative;
  z-index: 10;
  min-width: 0;
  display: grid;
  grid-template-columns: 420px minmax(320px, 1fr) 355px;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(420px 80px at 63% -20%, rgba(255, 255, 255, .15), transparent 70%),
    linear-gradient(90deg, #4f52b2, #5b5fc7 56%, #5558ba);
}

.tm-top-left,
.tm-top-right {
  height: 100%;
  display: flex;
  align-items: center;
}

.tm-top-left {
  gap: 5px;
  padding-left: 9px;
}

.tm-top-left > button,
.tm-top-right > button {
  height: 31px;
  min-width: 31px;
  padding: 0 8px;
  color: inherit;
  border: 0;
  background: transparent;
}

.tm-top-left > button:hover,
.tm-top-right > button:hover {
  background: rgba(255, 255, 255, .12);
}

.tm-logo {
  position: relative;
  width: 25px;
  height: 24px;
  display: inline-block;
  margin: 0 5px 0 2px;
}

.tm-logo i {
  position: absolute;
  z-index: 2;
  inset: 2px 7px 2px 0;
  display: grid;
  place-items: center;
  color: #5b5fc7;
  border-radius: 2px;
  background: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.tm-logo b,
.tm-logo::after {
  position: absolute;
  right: 0;
  display: block;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
}

.tm-logo b {
  top: 1px;
  width: 8px;
  height: 8px;
}

.tm-logo::after {
  bottom: 2px;
  width: 10px;
  height: 12px;
  border-radius: 4px;
}

.tm-top-left > strong {
  margin-right: 13px;
  font-size: 11px;
  font-weight: 600;
}

.tm-global-search {
  width: min(100%, 545px);
  height: 30px;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  color: #414275;
  border-radius: 5px;
  background: #f1f0f7;
  box-shadow: 0 0 0 1px rgba(20, 20, 60, .16);
}

.tm-global-search > span {
  font-size: 14px;
}

.tm-global-search input {
  min-width: 0;
  flex: 1;
  height: 26px;
  padding: 0;
  color: #292958;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 10px;
}

.tm-global-search input::placeholder {
  color: #56567a;
}

.tm-global-search kbd {
  color: #737391;
  font-family: inherit;
  font-size: 7px;
  font-weight: 400;
}

.tm-top-right {
  justify-content: flex-end;
  gap: 2px;
}

.tm-top-right > button:nth-last-of-type(-n+3) {
  width: 38px;
  height: 47px;
  border-radius: 0;
}

.tm-profile {
  position: relative;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  margin: 0 7px;
  color: #5b5fc7;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: #e5e5f7;
  font-size: 8px;
  font-weight: 700;
}

.tm-profile i {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 8px;
  height: 8px;
  border: 2px solid #5b5fc7;
  border-radius: 50%;
  background: #6bb700;
}

.tm-search-results {
  position: absolute;
  z-index: 30;
  top: 39px;
  left: 50%;
  width: 535px;
  max-height: 350px;
  overflow: hidden auto;
  color: #242424;
  border: 1px solid #d0d0d0;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(34, 35, 70, .28);
  transform: translateX(-50%);
}

.tm-search-results > header {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  border-bottom: 1px solid #ebebeb;
}

.tm-search-results > header small {
  color: #6b6b6b;
}

.tm-search-results > button {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 6px 13px;
  color: #333;
  border: 0;
  border-bottom: 1px solid #ededed;
  background: #fff;
  text-align: left;
}

.tm-search-results > button:hover {
  background: #f2f2f7;
}

.tm-search-results > button > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #5b5fc7;
  border-radius: 4px;
  background: #e8e8f7;
  font-size: 14px;
}

.tm-search-results > button > span.person {
  border-radius: 50%;
}

.tm-search-results > button div {
  min-width: 0;
}

.tm-search-results > button strong,
.tm-search-results > button small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tm-search-results > button strong {
  font-size: 10px;
}

.tm-search-results > button small,
.tm-search-results > button > i {
  color: #6c6c6c;
  font-size: 8px;
  font-style: normal;
}

.tm-search-results .empty {
  padding: 28px;
  color: #6a6a6a;
  text-align: center;
}

/* Teams application frame */
.tm-shell {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 68px 260px minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
}

.tm-app-rail {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 5px 0 3px;
  border-right: 1px solid #d8d8df;
  background: #f0f0f5;
}

.tm-app-rail > button {
  position: relative;
  height: 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0;
  color: #51515b;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
}

.tm-app-rail > button:hover {
  color: #40418a;
  background: #e6e6ef;
}

.tm-app-rail > button.is-active {
  color: #5b5fc7;
  border-left-color: #5b5fc7;
  background: #e5e5f2;
}

.tm-app-rail > button > span {
  height: 23px;
  font-size: 18px;
  line-height: 22px;
}

.tm-app-rail > button > small {
  font-size: 7px;
}

.tm-app-rail > button > b {
  position: absolute;
  top: 4px;
  right: 11px;
  min-width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  padding: 0 3px;
  color: #fff;
  border: 2px solid #f0f0f5;
  border-radius: 8px;
  background: #c4314b;
  font-size: 7px;
}

.tm-app-rail > span {
  min-height: 2px;
  flex: 1;
}

.tm-sidebar {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid #d9d9df;
  background: #f7f7fa;
}

.tm-sidebar > section {
  height: 100%;
  overflow: hidden auto;
  scrollbar-width: thin;
  scrollbar-color: #bbbcc8 transparent;
}

.tm-sidebar > section > header {
  height: 51px;
  display: flex;
  align-items: center;
  padding: 0 11px 0 15px;
}

.tm-sidebar > section > header h2 {
  flex: 1;
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.tm-sidebar > section > header button {
  width: 29px;
  height: 29px;
  padding: 0;
  color: #444;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-size: 14px;
}

.tm-sidebar > section > header button:hover {
  background: #e7e7ed;
}

.tm-side-filter {
  height: 29px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 10px 7px;
  padding: 0 8px;
  color: #666;
  border: 1px solid #d4d4da;
  border-radius: 4px;
  background: #fff;
}

.tm-side-filter input {
  min-width: 0;
  flex: 1;
  height: 25px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 9px;
}

.tm-team-list {
  padding-bottom: 15px;
}

.tm-section-row,
.tm-team-row,
.tm-channel-row,
.tm-chat-row,
.tm-activity-side,
.tm-contact-row,
.tm-side-file {
  width: 100%;
  color: #34343b;
  border: 0;
  background: transparent;
  text-align: left;
}

.tm-section-row {
  height: 29px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  color: #54545d;
  font-size: 9px;
}

.tm-team-row {
  height: 38px;
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) 16px;
  gap: 7px;
  align-items: center;
  padding: 0 10px;
  font-size: 10px;
}

.tm-team-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 700;
}

.tm-team-icon.purple {
  background: linear-gradient(135deg, #5b5fc7, #8b62b5);
}

.tm-team-icon.teal {
  background: linear-gradient(135deg, #038387, #2d9ca1);
}

.tm-team-row > i {
  color: #74747d;
  font-style: normal;
}

.tm-channel-tree {
  padding-left: 24px;
}

.tm-channel-row {
  min-height: 35px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 5px;
  align-items: center;
  padding: 3px 11px 3px 14px;
  border-left: 3px solid transparent;
}

.tm-channel-row > span {
  color: #676773;
  font-size: 14px;
}

.tm-channel-row > div {
  min-width: 0;
}

.tm-channel-row strong,
.tm-channel-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tm-channel-row strong {
  font-size: 9px;
  font-weight: 500;
}

.tm-channel-row small {
  color: #73737c;
  font-size: 7px;
}

.tm-channel-row > i {
  min-width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  padding: 0 3px;
  color: #fff;
  border-radius: 8px;
  background: #c4314b;
  font-size: 7px;
  font-style: normal;
}

.tm-channel-row:hover,
.tm-team-row:hover,
.tm-chat-row:hover,
.tm-contact-row:hover,
.tm-side-file:hover {
  background: #ebebf0;
}

.tm-channel-row.is-active {
  border-left-color: #5b5fc7;
  background: #e5e5f0;
}

.tm-channel-row.is-active strong {
  color: #37377c;
  font-weight: 600;
}

.tm-join {
  width: calc(100% - 20px);
  height: 31px;
  margin: 8px 10px 0;
  color: #4f51a1;
  border: 1px solid #c8c8d8;
  border-radius: 4px;
  background: #fff;
  font-size: 8px;
}

.tm-chat-list {
  padding-top: 3px;
}

.tm-chat-row {
  height: 49px;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 4px 10px;
  border-left: 3px solid transparent;
}

.tm-chat-row.active {
  border-left-color: #5b5fc7;
  background: #e6e6f0;
}

.tm-avatar {
  position: relative;
  width: 31px;
  height: 31px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--avatar, #5b5fc7);
  font-size: 8px;
  font-weight: 700;
}

.tm-avatar i {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 8px;
  height: 8px;
  border: 2px solid #f7f7fa;
  border-radius: 50%;
  background: #6bb700;
}

.tm-avatar.group {
  border-radius: 7px;
}

.tm-avatar.self {
  background: #5b5fc7;
}

.tm-chat-row > div {
  min-width: 0;
}

.tm-chat-row strong,
.tm-chat-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tm-chat-row strong {
  font-size: 9px;
}

.tm-chat-row small,
.tm-chat-row time {
  color: #6d6d77;
  font-size: 7px;
}

.tm-activity-filter {
  display: flex;
  padding: 0 10px 8px;
}

.tm-activity-filter button {
  flex: 1;
  height: 26px;
  color: #5d5d68;
  border: 1px solid #d6d6dc;
  background: #fff;
  font-size: 8px;
}

.tm-activity-filter button.active {
  color: #4f51a1;
  background: #e8e8f4;
}

.tm-side-caption {
  display: block;
  padding: 8px 13px 5px;
  color: #696973;
}

.tm-activity-side,
.tm-contact-row {
  height: 45px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  padding: 4px 12px;
}

.tm-activity-side.active {
  background: #e6e6f0;
}

.tm-activity-side > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #5b5fc7;
  border-radius: 50%;
  background: #e0e0f4;
  font-size: 14px;
}

.tm-activity-side strong,
.tm-activity-side small,
.tm-contact-row strong,
.tm-contact-row small {
  display: block;
}

.tm-activity-side strong,
.tm-contact-row strong {
  font-size: 9px;
}

.tm-activity-side small,
.tm-contact-row small {
  color: #71717a;
  font-size: 7px;
}

.tm-new-event {
  width: calc(100% - 22px);
  height: 31px;
  margin: 0 11px 11px;
  color: #fff;
  border: 1px solid #4f52b2;
  border-radius: 4px;
  background: #5b5fc7;
  font-size: 9px;
}

.tm-mini-cal {
  margin: 0 11px 12px;
}

.tm-mini-cal > header {
  height: 29px;
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
}

.tm-mini-cal > header strong {
  text-align: center;
}

.tm-mini-cal > header button,
.tm-mini-cal > div button {
  padding: 0;
  color: #42424a;
  border: 0;
  background: transparent;
}

.tm-mini-cal > div {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.tm-mini-cal > div > * {
  height: 23px;
  display: grid;
  place-items: center;
  font-size: 8px;
}

.tm-mini-cal > div > b {
  color: #74747d;
  font-size: 7px;
}

.tm-mini-cal > div > span {
  color: #aaa;
}

.tm-mini-cal > div button.today {
  color: #fff;
  border-radius: 50%;
  background: #5b5fc7;
}

.tm-calendar-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 11px;
  padding-top: 11px;
  border-top: 1px solid #dedee4;
}

.tm-calendar-list label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
}

.tm-calendar-list label i {
  width: 9px;
  height: 9px;
  background: #0f6cbd;
}

.tm-calendar-list label i.purple {
  background: #5b5fc7;
}

.tm-contact-row {
  grid-template-columns: 34px minmax(0, 1fr) 20px;
}

.tm-contact-row > b {
  color: #5b5fc7;
  font-weight: 400;
}

.tm-side-file {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border-left: 3px solid transparent;
  font-size: 9px;
}

.tm-side-file > span {
  color: #5b5fc7;
  font-size: 14px;
}

.tm-side-file.active {
  border-left-color: #5b5fc7;
  background: #e6e6f0;
  font-weight: 600;
}

.tm-main {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}

.tm-channel-view,
.tm-chat-view,
.tm-activity-view,
.tm-calendar-view,
.tm-calls-view,
.tm-drive-view {
  height: 100%;
  min-width: 0;
  min-height: 0;
}

/* Teams channel */
.tm-channel-view {
  display: grid;
  grid-template-rows: 58px 35px minmax(0, 1fr);
}

.tm-channel-head {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border-bottom: 1px solid #dddddf;
  background: #fff;
}

.tm-channel-badge {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 5px;
  background: linear-gradient(135deg, #5b5fc7, #8a64b4);
  font-size: 10px;
  font-weight: 700;
}

.tm-channel-head > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.tm-channel-head > div:nth-child(2) > span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tm-channel-head > div:nth-child(2) strong {
  font-size: 14px;
}

.tm-channel-head > div:nth-child(2) i {
  color: #84848c;
  font-style: normal;
}

.tm-channel-head > div:nth-child(2) b {
  color: #666671;
  font-size: 9px;
  font-weight: 500;
}

.tm-channel-head > div:nth-child(2) small {
  display: block;
  margin-top: 2px;
  color: #6d6d75;
  font-size: 8px;
}

.tm-channel-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tm-channel-actions > button {
  height: 30px;
  padding: 0 9px;
  color: #3e3e46;
  border: 1px solid #d0d0d5;
  border-radius: 4px;
  background: #fff;
  font-size: 9px;
}

.tm-channel-actions > button:first-of-type {
  color: #fff;
  border-color: #5255b8;
  background: #5b5fc7;
}

.tm-channel-actions > button b {
  margin-right: 4px;
}

.tm-channel-actions > button i {
  margin-left: 5px;
  font-style: normal;
}

.tm-member-stack {
  display: flex;
  flex-direction: row-reverse;
}

.tm-member-stack i {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  margin-left: -5px;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #5b5fc7;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}

.tm-member-stack i:nth-child(2) {
  background: #0f6cbd;
}

.tm-member-stack i:nth-child(3) {
  color: #555;
  background: #e2e2e8;
}

.tm-channel-tabs {
  display: flex;
  align-items: stretch;
  padding: 0 12px;
  border-bottom: 1px solid #d9d9dd;
  background: #fafafa;
}

.tm-channel-tabs button {
  height: 35px;
  padding: 0 12px;
  color: #53535b;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: 9px;
}

.tm-channel-tabs button:hover {
  background: #efeff4;
}

.tm-channel-tabs button.is-active {
  color: #4d4fa3;
  border-bottom-color: #5b5fc7;
  font-weight: 600;
}

.tm-channel-content {
  min-height: 0;
  overflow: hidden;
  background: #f5f5f8;
}

.tm-tab-panel {
  height: 100%;
}

.tm-posts-panel {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 8px 20px 9px;
}

.tm-feed {
  min-height: 0;
  overflow: hidden auto;
  padding: 0 3px 8px;
  scrollbar-width: thin;
  scrollbar-color: #bbbcc5 transparent;
}

.tm-post {
  max-width: 790px;
  display: grid;
  grid-template-columns: 33px minmax(0, 1fr);
  gap: 8px;
  margin: 0 auto 8px;
  padding: 10px 12px 7px;
  border: 1px solid #dedee4;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(40, 40, 70, .05);
  user-select: text;
}

.tm-post-main {
  min-width: 0;
}

.tm-post-main > header {
  height: 18px;
  display: flex;
  align-items: center;
}

.tm-post-main > header strong {
  font-size: 9px;
}

.tm-post-main > header time {
  margin-left: 7px;
  color: #73737c;
  font-size: 7px;
}

.tm-post-main > header button {
  width: 25px;
  height: 21px;
  margin-left: auto;
  padding: 0;
  color: #6b6b73;
  border: 0;
  background: transparent;
}

.tm-post-body {
  color: #2f2f34;
  font-size: 9px;
  line-height: 1.42;
}

.tm-post-file {
  width: 330px;
  height: 48px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
  padding: 4px 8px;
  color: #34343b;
  border: 1px solid #dadade;
  border-radius: 4px;
  background: #fafafa;
  text-align: left;
}

.tm-post-file:hover {
  border-color: #aaaadd;
  background: #f2f2fa;
}

.tm-post-file > span {
  color: #d24726;
  font-size: 21px;
}

.tm-post-file strong,
.tm-post-file small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tm-post-file strong {
  font-size: 8px;
}

.tm-post-file small {
  color: #74747d;
  font-size: 7px;
}

.tm-post-file > i {
  color: #6a6a72;
  font-style: normal;
}

.tm-post-main > footer {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 7px;
  padding-top: 5px;
  border-top: 1px solid #eeeeef;
}

.tm-post-main > footer button {
  height: 22px;
  padding: 0 5px;
  color: #65656e;
  border: 0;
  border-radius: 3px;
  background: transparent;
  font-size: 8px;
}

.tm-post-main > footer button:hover,
.tm-post-main > footer button.active {
  color: #4f51a3;
  background: #e9e9f5;
}

.tm-post-main > footer span {
  margin-right: auto;
  color: #65656e;
  font-size: 7px;
  white-space: pre;
}

.tm-compose {
  width: min(790px, 100%);
  min-height: 65px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #cfcfd7;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(42, 42, 75, .08);
}

.tm-compose.is-expanded {
  min-height: 91px;
}

.tm-compose.is-expanded::before {
  height: 26px;
  display: block;
  padding: 6px 12px 0;
  color: #5b5fc7;
  border-bottom: 1px solid #e2e2e7;
  content: "Новая публикация  ·  Публикация  Объявление  Вопрос";
  font-size: 8px;
}

.tm-compose-input {
  min-height: 37px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 6px 8px 2px;
}

.tm-compose-input .tm-avatar {
  width: 27px;
  height: 27px;
}

.tm-compose-input textarea {
  width: 100%;
  min-height: 28px;
  max-height: 72px;
  resize: none;
  padding: 6px 3px 3px;
  color: #333;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 9px;
  line-height: 1.25;
}

.tm-compose-tools {
  height: 27px;
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 0 8px 3px 41px;
}

.tm-compose-tools button {
  min-width: 25px;
  height: 23px;
  padding: 0 5px;
  color: #5d5d67;
  border: 0;
  border-radius: 3px;
  background: transparent;
  font-size: 9px;
}

.tm-compose-tools button:hover {
  background: #ececf4;
}

.tm-compose-tools > span {
  flex: 1;
}

.tm-compose-tools .tm-send {
  color: #5b5fc7;
  font-size: 15px;
}

/* Teams files and notes tabs */
.tm-files-panel {
  padding: 12px 16px;
  background: #fff;
}

.tm-files-panel > header {
  height: 34px;
  display: flex;
  align-items: start;
  gap: 5px;
}

.tm-files-panel > header button {
  height: 27px;
  padding: 0 9px;
  color: #444;
  border: 1px solid #d0d0d5;
  border-radius: 3px;
  background: #fff;
  font-size: 8px;
}

.tm-files-panel > header button.primary {
  color: #fff;
  border-color: #5b5fc7;
  background: #5b5fc7;
}

.tm-files-panel > header span {
  flex: 1;
}

.tm-file-table {
  border-top: 1px solid #dcdce0;
}

.tm-file-table .head,
.tm-file-table > button {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 150px 160px 90px;
  align-items: center;
  text-align: left;
}

.tm-file-table .head {
  height: 30px;
  padding: 0 10px;
  color: #65656d;
  border-bottom: 1px solid #e0e0e3;
  font-size: 8px;
}

.tm-file-table > button {
  height: 43px;
  padding: 0 10px;
  color: #3c3c42;
  border: 0;
  border-bottom: 1px solid #e8e8ea;
  background: #fff;
  font-size: 8px;
}

.tm-file-table > button:hover,
.tm-file-table > button.is-selected {
  background: #f0f0f7;
}

.tm-file-table > button > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tm-file-table i,
.tm-drive-cards > button > i,
.tm-recent-files i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 2px;
  font-style: normal;
  font-weight: 700;
}

.tm-file-table i.folder {
  color: #d59a00;
  background: transparent;
  font-size: 19px;
}

.tm-file-table i.excel,
.tm-drive-cards i.excel,
.tm-recent-files i.excel {
  background: #107c41;
}

.tm-file-table i.ppt,
.tm-drive-cards i.ppt {
  background: #d24726;
}

.tm-file-table i.word,
.tm-drive-cards i.word {
  background: #185abd;
}

.tm-file-table i.pdf,
.tm-drive-cards i.pdf,
.tm-recent-files i.pdf {
  background: #c42b1c;
}

.tm-notes-panel {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  background: #fff;
}

.tm-notes-panel > aside {
  padding: 9px;
  border-right: 1px solid #dedee2;
  background: #f7f7f9;
}

.tm-notes-panel > aside header {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
}

.tm-notes-panel > aside header button {
  width: 25px;
  height: 25px;
  color: #5b5fc7;
  border: 0;
  background: transparent;
}

.tm-notes-panel > aside > button {
  width: 100%;
  min-height: 43px;
  display: block;
  padding: 6px 8px;
  color: #3c3c43;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
  text-align: left;
}

.tm-notes-panel > aside > button.active {
  border-left-color: #5b5fc7;
  background: #e7e7f0;
}

.tm-notes-panel > aside > button strong,
.tm-notes-panel > aside > button small {
  display: block;
}

.tm-notes-panel > aside > button small {
  margin-top: 2px;
  color: #73737b;
  font-size: 7px;
}

.tm-notes-panel > article {
  overflow: hidden auto;
  padding: 24px 34px;
  outline: 0;
  user-select: text;
}

.tm-notes-panel > article > span {
  color: #777;
  font-size: 8px;
}

.tm-notes-panel > article h2 {
  margin: 6px 0 17px;
  color: #4d4fa4;
  font-size: 20px;
  font-weight: 500;
}

.tm-notes-panel > article h3 {
  margin: 14px 0 6px;
  font-size: 11px;
}

.tm-notes-panel > article label {
  display: block;
  margin: 7px 0;
  font-size: 9px;
}

.tm-notes-panel > article input {
  accent-color: #5b5fc7;
}

.tm-notes-panel > article p {
  max-width: 660px;
  font-size: 9px;
  line-height: 1.5;
}

/* Teams chat */
.tm-chat-view {
  display: grid;
  grid-template-rows: 59px minmax(0, 1fr) 88px;
  background: #fff;
}

.tm-chat-view > header {
  display: grid;
  grid-template-columns: 36px auto auto 1fr 32px 32px 32px;
  gap: 6px;
  align-items: center;
  padding: 0 13px;
  border-bottom: 1px solid #dedee2;
}

.tm-chat-view > header > div strong,
.tm-chat-view > header > div small {
  display: block;
}

.tm-chat-view > header > div strong {
  font-size: 11px;
}

.tm-chat-view > header > div small {
  color: #6bb700;
  font-size: 7px;
}

.tm-chat-view > header nav {
  height: 59px;
  display: flex;
  align-items: stretch;
  margin-left: 13px;
}

.tm-chat-view > header nav button {
  padding: 0 9px;
  color: #56565f;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: 8px;
}

.tm-chat-view > header nav button.active {
  color: #5b5fc7;
  border-bottom-color: #5b5fc7;
}

.tm-chat-view > header > button {
  width: 29px;
  height: 29px;
  padding: 0;
  color: #4f51a1;
  border: 1px solid #d2d2d8;
  border-radius: 4px;
  background: #fff;
}

.tm-chat-stream {
  min-height: 0;
  overflow: hidden auto;
  padding: 14px 28px;
  scrollbar-width: thin;
  user-select: text;
}

.tm-day-divider {
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tm-day-divider::before,
.tm-day-divider::after {
  height: 1px;
  flex: 1;
  background: #e4e4e7;
  content: "";
}

.tm-day-divider span {
  padding: 0 9px;
  color: #72727a;
  font-size: 7px;
}

.tm-chat-stream > article {
  display: flex;
  gap: 7px;
  margin: 8px 0;
}

.tm-chat-stream > article.mine {
  justify-content: flex-end;
}

.tm-chat-stream > article > div {
  max-width: 650px;
}

.tm-chat-stream article header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
}

.tm-chat-stream article header strong {
  font-size: 8px;
}

.tm-chat-stream article header time {
  color: #777;
  font-size: 7px;
}

.tm-chat-stream article p {
  margin: 0;
  padding: 7px 10px;
  border-radius: 4px 4px 4px 1px;
  background: #f0f0f3;
  font-size: 9px;
}

.tm-chat-stream article.mine p {
  border-radius: 4px 4px 1px 4px;
  background: #e7e7f7;
}

.tm-chat-compose {
  margin: 0 18px 10px;
  border: 1px solid #cfcfd7;
  border-radius: 5px;
  background: #fff;
}

.tm-chat-compose textarea {
  width: 100%;
  height: 48px;
  resize: none;
  padding: 10px 12px;
  color: #333;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 9px;
}

.tm-chat-compose footer {
  height: 27px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 6px;
}

.tm-chat-compose footer button {
  min-width: 25px;
  height: 23px;
  padding: 0 4px;
  color: #5c5c67;
  border: 0;
  background: transparent;
}

.tm-chat-compose footer span {
  flex: 1;
}

.tm-chat-compose footer button:last-child {
  color: #5b5fc7;
  font-size: 14px;
}

/* Teams activity */
.tm-activity-view {
  display: grid;
  grid-template-rows: 63px minmax(0, 1fr);
}

.tm-activity-view > header,
.tm-calls-view > header,
.tm-drive-view > header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border-bottom: 1px solid #dedee2;
}

.tm-activity-view > header > div,
.tm-calls-view > header > div,
.tm-drive-view > header > div {
  flex: 1;
}

.tm-activity-view > header h2,
.tm-calls-view > header h2,
.tm-drive-view > header h2 {
  margin: 0;
  font-size: 17px;
}

.tm-activity-view > header span,
.tm-calls-view > header span,
.tm-drive-view > header span {
  color: #71717a;
  font-size: 8px;
}

.tm-activity-view > header button,
.tm-calls-view > header button,
.tm-drive-view > header button {
  height: 29px;
  padding: 0 10px;
  color: #50505a;
  border: 1px solid #cfcfd5;
  border-radius: 4px;
  background: #fff;
  font-size: 8px;
}

.tm-activity-view > header button.primary,
.tm-calls-view > header button.primary,
.tm-drive-view > header button.primary {
  color: #fff;
  border-color: #5b5fc7;
  background: #5b5fc7;
}

.tm-activity-stream {
  overflow: hidden auto;
  padding: 12px 20px;
  scrollbar-width: thin;
}

.tm-activity-stream article {
  min-height: 65px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 8px 11px;
  border-bottom: 1px solid #e6e6e8;
  background: #fff;
}

.tm-activity-stream article.unread {
  border-left: 3px solid #5b5fc7;
  background: #f4f4fa;
}

.tm-activity-stream article > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #5b5fc7;
  border-radius: 50%;
  background: #e6e6f6;
  font-size: 14px;
}

.tm-activity-stream article > span.reply {
  color: #0f6cbd;
  background: #e2f0fa;
}

.tm-activity-stream article > span.heart {
  color: #c4314b;
  background: #f8e6eb;
}

.tm-activity-stream article > span.meeting {
  color: #107c10;
  background: #e1f0de;
}

.tm-activity-stream article strong,
.tm-activity-stream article small {
  display: block;
}

.tm-activity-stream article strong {
  font-size: 9px;
}

.tm-activity-stream article small {
  color: #6f6f78;
  font-size: 7px;
}

.tm-activity-stream article p {
  margin: 4px 0 0;
  font-size: 8px;
}

.tm-activity-stream article > button {
  height: 27px;
  padding: 0 9px;
  color: #5b5fc7;
  border: 1px solid #d0d0d6;
  border-radius: 4px;
  background: #fff;
  font-size: 8px;
}

.tm-activity-stream article > button.join {
  color: #fff;
  border-color: #5b5fc7;
  background: #5b5fc7;
}

/* Teams calendar */
.tm-calendar-view {
  display: grid;
  grid-template-rows: 55px 42px minmax(0, 1fr);
  background: #fff;
}

.tm-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 0 14px;
  border-bottom: 1px solid #dedee2;
}

.tm-calendar-head > div {
  display: flex;
  align-items: center;
}

.tm-calendar-head button {
  height: 28px;
  padding: 0 9px;
  color: #45454e;
  border: 1px solid #d0d0d5;
  background: #fff;
  font-size: 8px;
}

.tm-calendar-head button + button {
  margin-left: -1px;
}

.tm-calendar-head button.primary {
  margin-left: 7px;
  color: #fff;
  border-color: #5b5fc7;
  border-radius: 4px;
  background: #5b5fc7;
}

.tm-calendar-head h2 {
  margin: 0 0 0 13px;
  font-size: 14px;
}

.tm-cal-days {
  display: grid;
  grid-template-columns: 52px repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid #dcdce0;
}

.tm-cal-days button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #484851;
  border: 0;
  border-left: 1px solid #e2e2e4;
  background: #fff;
}

.tm-cal-days button b {
  color: #72727a;
  font-size: 7px;
}

.tm-cal-days button strong {
  font-size: 14px;
}

.tm-cal-days button.today strong {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #5b5fc7;
}

.tm-cal-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: 52px repeat(5, minmax(0, 1fr));
  overflow: hidden auto;
  scrollbar-width: thin;
}

.tm-cal-hours {
  display: grid;
  grid-template-rows: repeat(9, 45px);
  color: #74747b;
  border-right: 1px solid #dddde1;
  font-size: 7px;
  text-align: right;
}

.tm-cal-hours span {
  padding: 2px 5px 0 0;
  transform: translateY(-7px);
}

.tm-cal-column {
  position: relative;
  min-height: 405px;
  border-right: 1px solid #e2e2e4;
  background: repeating-linear-gradient(to bottom, #fff 0, #fff 44px, #e8e8eb 44px, #e8e8eb 45px);
}

.tm-cal-column.today {
  background: repeating-linear-gradient(to bottom, #fafaff 0, #fafaff 44px, #dcdced 44px, #dcdced 45px);
}

.tm-cal-event {
  position: absolute;
  top: var(--top);
  right: 4px;
  left: 4px;
  height: var(--height);
  overflow: hidden;
  padding: 4px 6px;
  color: #39386e;
  border: 0;
  border-left: 3px solid #5b5fc7;
  border-radius: 3px;
  background: #e8e7f8;
  text-align: left;
}

.tm-cal-event b,
.tm-cal-event strong,
.tm-cal-event small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tm-cal-event b,
.tm-cal-event small {
  font-size: 7px;
}

.tm-cal-event strong {
  margin: 2px 0;
  font-size: 8px;
}

.tm-cal-event.blue {
  color: #194f78;
  border-left-color: #0f6cbd;
  background: #e0eff9;
}

.tm-cal-event.green {
  color: #20591e;
  border-left-color: #107c10;
  background: #e4f2e1;
}

.tm-cal-event.orange {
  color: #743719;
  border-left-color: #d83b01;
  background: #f7e8df;
}

/* Teams calls and OneDrive */
.tm-calls-view {
  display: grid;
  grid-template-rows: 63px minmax(0, 1fr);
}

.tm-calls-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  padding: 17px 20px;
  background: #f7f7f9;
}

.tm-calls-grid section,
.tm-calls-grid aside {
  padding: 13px;
  border: 1px solid #dedee2;
  border-radius: 5px;
  background: #fff;
}

.tm-calls-grid h3 {
  margin: 0 0 10px;
  font-size: 11px;
}

.tm-call-table > div {
  min-height: 55px;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 105px 27px;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid #e8e8ea;
}

.tm-call-table strong,
.tm-call-table small {
  display: block;
}

.tm-call-table strong {
  font-size: 9px;
}

.tm-call-table small,
.tm-call-table time {
  color: #73737b;
  font-size: 7px;
}

.tm-call-table button {
  width: 26px;
  height: 26px;
  padding: 0;
  color: #5b5fc7;
  border: 0;
  border-radius: 50%;
  background: #eeeefa;
}

.tm-calls-grid aside > input {
  width: 100%;
  height: 30px;
  padding: 0 8px;
  border: 1px solid #d2d2d8;
  border-radius: 4px;
  outline: 0;
  font-size: 8px;
}

.tm-keypad {
  width: 150px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 10px auto;
}

.tm-keypad button {
  height: 35px;
  color: #36363e;
  border: 1px solid #dddde2;
  border-radius: 50%;
  background: #f7f7f9;
  font-size: 11px;
}

.tm-keypad button small {
  display: block;
  color: #777780;
  font-size: 5px;
}

.tm-calls-grid aside > button.call {
  width: 150px;
  height: 30px;
  display: block;
  margin: 0 auto;
  color: #fff;
  border: 0;
  border-radius: 4px;
  background: #107c10;
}

.tm-drive-view {
  overflow: hidden auto;
  padding-bottom: 20px;
  background: #f7f7f9;
}

.tm-drive-view > header {
  height: 63px;
  background: #fff;
}

.tm-drive-view > h3 {
  margin: 15px 18px 9px;
  font-size: 11px;
}

.tm-drive-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 18px;
}

.tm-drive-cards > button {
  min-height: 89px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 12px;
  color: #34343c;
  border: 1px solid #dddde2;
  border-radius: 5px;
  background: #fff;
  text-align: left;
}

.tm-drive-cards > button:hover,
.tm-drive-cards > button.is-selected {
  border-color: #a8a8d0;
  background: #f1f1f8;
}

.tm-drive-cards strong,
.tm-drive-cards span,
.tm-drive-cards small {
  display: block;
}

.tm-drive-cards strong {
  font-size: 9px;
}

.tm-drive-cards span,
.tm-drive-cards small {
  margin-top: 4px;
  color: #6f6f78;
  font-size: 7px;
}

.tm-recent-files {
  margin: 0 18px;
  border-top: 1px solid #dcdce0;
  background: #fff;
}

.tm-recent-files > button {
  width: 100%;
  height: 43px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 170px 130px 30px;
  align-items: center;
  padding: 0 10px;
  color: #3d3d44;
  border: 0;
  border-bottom: 1px solid #e7e7ea;
  background: #fff;
  font-size: 8px;
  text-align: left;
}

.tm-recent-files > button:hover,
.tm-recent-files > button.is-selected {
  background: #f0f0f7;
}

.tm-recent-files > button > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Teams meeting */
.tm-meeting {
  position: absolute;
  z-index: 40;
  inset: 47px 0 23px;
  color: #fff;
  background: #202124;
}

.tm-meeting > header {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: #28292d;
}

.tm-meeting > header > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tm-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d13438;
  box-shadow: 0 0 0 3px rgba(209, 52, 56, .18);
}

.tm-meeting > header small {
  color: #aaaab1;
  font-size: 8px;
}

.tm-meeting > header button {
  height: 28px;
  padding: 0 8px;
  color: #eee;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-size: 8px;
}

.tm-meeting > header button:hover {
  background: #414247;
}

.tm-meeting > header button i {
  min-width: 14px;
  height: 14px;
  display: inline-grid;
  place-items: center;
  margin-left: 4px;
  color: #232428;
  border-radius: 7px;
  background: #ddd;
  font-size: 7px;
  font-style: normal;
}

.tm-meeting-body {
  height: calc(100% - 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.tm-meeting.chat-open .tm-meeting-body {
  grid-template-columns: minmax(0, 1fr) 280px;
}

.tm-meeting-body > main {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 12px 15px 63px;
}

.tm-participants {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.tm-participants article {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 5px;
  background:
    radial-gradient(circle at 50% 120%, rgba(255, 255, 255, .08), transparent 45%),
    #34363a;
}

.tm-participants article.speaker {
  border-color: #7f85f5;
}

.tm-video-person {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b5fc7, #8f67bd);
  box-shadow: 0 9px 24px rgba(0, 0, 0, .22);
  font-size: 18px;
  font-weight: 600;
}

.tm-video-person.blue {
  background: linear-gradient(135deg, #0f6cbd, #4898d4);
}

.tm-video-person.green {
  background: linear-gradient(135deg, #107c10, #43a743);
}

.tm-video-person.orange {
  background: linear-gradient(135deg, #d83b01, #e57950);
}

.tm-participants article footer {
  position: absolute;
  right: 8px;
  bottom: 7px;
  left: 8px;
  display: flex;
  justify-content: space-between;
  color: #e3e3e3;
  font-size: 8px;
}

.tm-participants article footer i {
  font-style: normal;
}

.tm-meeting-controls {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.tm-meeting-controls button {
  min-width: 55px;
  height: 47px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #fff;
  border: 1px solid #505156;
  border-radius: 6px;
  background: #333438;
}

.tm-meeting-controls button:hover {
  background: #45464b;
}

.tm-meeting-controls button > span {
  font-size: 15px;
}

.tm-meeting-controls button > small {
  font-size: 6px;
}

.tm-meeting-controls button.is-off {
  color: #f4c0c0;
  background: #742929;
}

.tm-meeting-controls button.hangup {
  border-color: #c4314b;
  background: #c4314b;
}

.tm-meeting-body > aside {
  position: relative;
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: 42px minmax(0, 1fr) 46px;
  overflow: hidden;
  color: #29292f;
  border-left: 1px solid #d6d6dc;
  background: #fff;
}

.tm-meeting-body > aside > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
  border-bottom: 1px solid #e1e1e5;
}

.tm-meeting-body > aside > header button {
  width: 27px;
  height: 27px;
  color: #555;
  border: 0;
  background: transparent;
}

.tm-meeting-body > aside article {
  grid-row: auto;
  padding: 10px 12px 0;
  font-size: 8px;
}

.tm-meeting-body > aside article + article {
  padding-top: 3px;
}

.tm-meeting-body > aside article b {
  display: block;
  font-size: 8px;
}

.tm-meeting-body > aside article time {
  color: #777;
  font-size: 6px;
}

.tm-meeting-body > aside article p {
  margin: 3px 0;
  padding: 7px;
  border-radius: 4px;
  background: #f0f0f4;
}

.tm-meeting-body > aside form {
  position: absolute;
  right: 8px;
  bottom: 7px;
  left: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  border: 1px solid #d0d0d6;
  border-radius: 4px;
}

.tm-meeting-body > aside form input {
  min-width: 0;
  height: 31px;
  padding: 0 8px;
  border: 0;
  outline: 0;
}

.tm-meeting-body > aside form button {
  color: #5b5fc7;
  border: 0;
  background: transparent;
}

/* Teams status bar */
.tm-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 9px;
  color: #575760;
  border-top: 1px solid #d2d2d7;
  background: #f2f2f5;
  font-size: 8px;
}

.tm-status > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tm-status > div {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tm-status button {
  padding: 0 3px;
  color: #585861;
  border: 0;
  background: transparent;
}

.tm-presence {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6bb700;
}

.tm-toast {
  bottom: 31px;
}
