@font-face {
  font-family: Selawik;
  src: url("../assets/fonts/selawk.woff2");
}
@font-face {
  font-family: Selawik;
  src: url("../assets/fonts/selawksb.woff2");
  font-weight: 600;
}
@font-face {
  font-family: Selawik;
  src: url("../assets/fonts/selawkb.woff2");
  font-weight: 700;
}
:root {
  font-family: Selawik, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  color: #252525;
  background: #fff;
  --blue: #0078d4;
  --deep-blue: #0067b8;
  --selection: #cce8ff;
  --border: #d8d8d8;
  --muted: #6b6b6b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1.25;
  border-radius: 0;
}
button:hover {
  background: #e5f1fb;
  border-color: #b9d7ed;
}
button:active {
  background: #cce4f7;
}
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}
input,
select,
textarea {
  border: 1px solid #b9b9b9;
  background: #fff;
  padding: 6px 8px;
  border-radius: 0;
  min-width: 0;
}
input:focus,
textarea:focus,
select:focus {
  outline: 1px solid var(--blue);
  border-color: var(--blue);
}
input[type="checkbox"] {
  accent-color: var(--blue);
  width: 15px;
  height: 15px;
  flex: none;
  cursor: pointer;
}
textarea {
  resize: vertical;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 25px;
  font-weight: 400;
}
h2 {
  font-size: 20px;
  font-weight: 400;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
p {
  line-height: 1.6;
}
svg {
  width: 100%;
  height: 100%;
}
.icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  vertical-align: middle;
}
.muted {
  color: var(--muted);
}
.primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  padding: 8px 18px;
}
.primary:hover {
  background: #0067b8;
  border-color: #005a9e;
}
.wide {
  width: 100%;
}
[hidden] {
  display: none !important;
}
#app {
  height: 100dvh;
  min-height: 580px;
  min-width: 780px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.titlebar {
  height: 40px;
  background: #0078d4;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  flex: none;
}
.quick-access {
  display: flex;
  gap: 3px;
  align-items: center;
}
.title-icon {
  width: 28px;
  height: 28px;
  color: #fff;
  font-size: 22px;
  padding: 4px;
}
.title-icon .icon {
  width: 19px;
  height: 19px;
  filter: brightness(0) invert(1);
}
.title-icon:hover {
  background: #ffffff25;
  border-color: transparent;
}
.window-title {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 390px;
}
.global-search {
  height: 28px;
  display: flex;
  align-items: center;
  background: #d9ecfb;
  color: #333;
  width: 350px;
  max-width: 34vw;
  padding: 0 10px;
  gap: 9px;
  border-radius: 3px;
  margin-left: 22px;
}
.global-search .icon {
  width: 15px;
  height: 15px;
}
.global-search input {
  border: 0;
  background: transparent;
  outline: none !important;
  padding: 4px 0;
  width: 100%;
  font-size: 12px;
}
.global-search kbd {
  font: 10px Selawik;
  white-space: nowrap;
  color: #6c7780;
}
.clear-search {
  padding: 0 3px;
}
.profile {
  margin-left: auto;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  font-size: 11px;
}
.tabbar {
  display: flex;
  height: 36px;
  align-items: stretch;
  background: #fafafa;
  flex: none;
  border-bottom: 1px solid #ddd;
}
.tabbar nav {
  display: flex;
  align-items: stretch;
  gap: 6px;
}
.tab {
  padding: 7px 16px;
  border: 0;
  font-size: 13px;
  position: relative;
}
.tab.active {
  font-weight: 600;
  color: var(--deep-blue);
}
.tab.active:after {
  position: absolute;
  content: "";
  height: 3px;
  background: var(--blue);
  bottom: 0;
  left: 14px;
  right: 14px;
}
.tab[data-value="file"] {
  padding: 7px 21px;
}
.practice-toggle {
  margin-left: auto;
  color: var(--deep-blue);
  padding: 6px 16px;
  font-size: 12px;
}
.practice-toggle .icon {
  width: 17px;
  height: 17px;
}
.practice-toggle.active {
  background: #e5f1fb;
}
.ribbon {
  height: 109px;
  display: flex;
  background: #fafafa;
  border-bottom: 1px solid #bbb;
  flex: none;
  padding: 5px 5px 3px;
  overflow-x: auto;
  overflow-y: hidden;
}
.ribbon-group {
  border-right: 1px solid #ddd;
  padding: 0 7px;
  display: flex;
  flex-direction: column;
  flex: none;
  min-width: 0;
}
.ribbon-group:last-child {
  border: 0;
}
.ribbon-commands {
  display: flex;
  align-items: stretch;
  gap: 2px;
  height: 77px;
}
.group-title {
  text-align: center;
  font-size: 11px;
  color: #666;
  line-height: 19px;
}
.ribbon-big {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 55px;
  max-width: 88px;
  padding: 5px 4px 3px;
  gap: 5px;
  font-size: 12px;
  text-align: center;
}
.ribbon-big .icon {
  width: 31px;
  height: 31px;
}
.ribbon-big span:last-child {
  max-width: 95px;
  line-height: 1.15;
}
.ribbon-small {
  justify-content: flex-start;
  font-size: 12px;
  padding: 2px 4px;
  white-space: nowrap;
  height: 25px;
  gap: 5px;
}
.ribbon-small .icon {
  width: 19px;
  height: 19px;
}
.ribbon-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ribbon button[aria-pressed="true"],
.compose-ribbon button[aria-pressed="true"] {
  background: #d5e8f7;
  border-color: #93bee0;
}
.simulation-bar {
  height: 28px;
  background: #f3f8fc;
  border-bottom: 1px solid #d8e6f0;
  padding: 0 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.8px;
  color: #44637b;
  flex: none;
}
.sim-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #398bbc;
}
.sim-explain {
  letter-spacing: 0;
  color: #778893;
  margin-left: 8px;
  font-size: 11px;
}
.sim-state {
  margin-left: auto;
  letter-spacing: 0;
  font-size: 11px;
}
.workspace {
  flex: 1;
  min-height: 0;
  display: flex;
  position: relative;
}
.sidebar {
  width: 216px;
  flex: none;
  background: #f7f7f7;
  border-right: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.side-scroll {
  flex: 1;
  overflow: auto;
  padding: 10px 0;
}
.side-heading {
  font-size: 15px;
  padding: 8px 13px;
  color: #333;
}
.account-heading {
  font-size: 13px;
  margin-top: 19px;
  padding-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}
.folder {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  padding: 7px 12px 7px calc(26px + var(--depth, 0) * 12px);
  font-size: 13px;
  text-align: left;
  min-height: 32px;
  border: 0;
  gap: 4px;
}
.folder > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.folder .folder-count {
  margin-left: auto;
  color: #0067b8;
  font-size: 12px;
  padding-left: 4px;
}
.folder.has-unread {
  font-weight: 600;
}
.folder.active {
  background: #cce8ff;
  color: #124466;
}
.folder:hover {
  background: #deedfa;
}
.folder[data-value="drafts"],
.folder[data-value="outbox"] {
  font-weight: 400;
}
.add-folder {
  font-size: 12px;
  color: #667d8d;
  margin: 13px 14px;
}
.add-folder .icon {
  width: 16px;
  height: 16px;
}
.module-nav {
  height: 52px;
  border-top: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: none;
}
.module-nav button {
  width: 43px;
  height: 43px;
  position: relative;
}
.module-nav button .icon {
  width: 24px;
  height: 24px;
  filter: grayscale(1);
}
.module-nav .active {
  background: #e5f1fb;
}
.module-nav .active:after {
  content: "";
  height: 3px;
  position: absolute;
  background: var(--blue);
  bottom: 0;
  left: 8px;
  right: 8px;
}
.module-nav .active .icon {
  filter: none;
}
.main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  overflow: hidden;
}
.mail-list {
  width: 345px;
  min-width: 260px;
  max-width: 42%;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #ccc;
  flex-shrink: 0;
}
.mail-list:only-child {
  width: 100%;
  max-width: 100%;
}
.list-top {
  height: 48px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 14px;
  border-bottom: 1px solid #ddd;
  gap: 4px;
}
.list-top > div {
  display: flex;
  align-items: center;
  gap: 5px;
}
.list-top button {
  padding: 5px 3px;
  font-size: 15px;
  color: #777;
}
.list-top button.active {
  color: #0078d4;
  font-weight: 600;
}
.list-top select {
  border: 0;
  color: #666;
  font-size: 11px;
  padding: 4px 0;
  background: transparent;
  max-width: 112px;
}
.search-info {
  padding: 8px 14px;
  background: #f2f7fb;
  font-size: 12px;
}
.search-info select {
  margin-top: 6px;
  width: 100%;
  font-size: 12px;
}
.message-scroll {
  flex: 1;
  overflow: auto;
}
.date-group {
  padding: 7px 15px 4px;
  color: #505050;
  background: #fcfcfc;
  font-size: 11px;
  border-bottom: 1px solid #ededed;
}
.message-row {
  display: flex;
  position: relative;
  border-bottom: 1px solid #ededed;
  padding: 10px 13px 9px 20px;
  min-height: 90px;
  cursor: default;
  gap: 7px;
  user-select: none;
}
.message-row.unread:before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  bottom: 13px;
  width: 3px;
  background: #0078d4;
}
.message-row:hover {
  background: #eaf4fc;
}
.message-row.selected {
  background: #cce8ff;
}
.message-summary {
  flex: 1;
  min-width: 0;
}
.message-sender {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  gap: 8px;
  align-items: center;
}
.message-sender time {
  margin-left: auto;
  font-size: 11px;
  color: #666;
  font-weight: 400;
  flex: none;
}
.message-subject {
  font-size: 13px;
  margin-top: 4px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.message-subject .icon {
  width: 13px;
  height: 13px;
  margin-right: 4px;
}
.message-preview {
  font-size: 12px;
  color: #777;
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.message-row.unread .message-sender {
  font-weight: 600;
}
.message-row.unread .message-subject {
  font-weight: 600;
  color: #005fa9;
}
.message-indicators {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: flex;
  gap: 5px;
  background: inherit;
}
.message-indicators .icon {
  width: 13px;
  height: 13px;
}
.flag-mark,
.importance {
  color: #c83332;
}
.replied {
  color: #7b3993;
}
.category-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  background: #8064a2;
  border-radius: 1px;
}
.draft-label {
  color: #c43131;
}
.message-check {
  display: none;
  position: absolute;
  left: 2px;
  top: 36px;
  margin: 0;
  width: 13px !important;
  height: 13px !important;
}
.message-row:hover .message-check,
.message-check:checked,
.message-row:focus-within .message-check {
  display: block;
}
.list-bottom {
  font-size: 10px;
  color: #8c8c8c;
  border-top: 1px solid #eee;
  padding: 5px 14px;
}
.reading-pane {
  flex: 1;
  min-width: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.reading-toolbar {
  display: flex;
  gap: 6px;
  padding: 13px 22px 8px;
  flex-wrap: wrap;
  flex: none;
}
.reading-toolbar button {
  font-size: 12px;
  border-color: #d8d8d8;
  padding: 5px 10px;
  background: #fff;
}
.reading-toolbar button:hover {
  background: #e9f3fc;
}
.reading-toolbar .icon {
  width: 16px;
  height: 16px;
}
.reading-toolbar button:last-child {
  margin-left: auto;
}
.read-scroll {
  padding: 8px 30px 35px;
  overflow: auto;
  flex: 1;
}
.read-subject {
  font-size: 23px;
  line-height: 1.3;
  margin: 5px 0 20px;
}
.sender-block {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.4;
}
.sender-block strong {
  font-size: 14px;
  font-weight: 600;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dcecf7;
  color: #27678d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex: none;
}
.sender-email {
  display: block;
  font-size: 11px;
  color: #777;
  margin-top: 2px;
}
.recipients {
  color: #777;
  font-size: 12px;
  margin-top: 7px;
  overflow-wrap: anywhere;
}
.read-date {
  font-size: 11px;
  color: #777;
  margin: 13px 0 17px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e7e7e7;
}
.message-body {
  font-family: Calibri, Selawik, Arial, sans-serif;
  font-size: calc(15px * var(--reading-zoom, 1));
  line-height: 1.6;
  overflow-wrap: anywhere;
  padding-top: 9px;
  color: #282828;
}
.message-info {
  font-size: 12px;
  color: #707070;
  background: #f7f7f7;
  padding: 7px 10px;
  margin-bottom: 8px;
}
.message-info .category-dot {
  margin-right: 5px;
}
.attachments {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.attachment {
  border-color: #d6d6d6;
  background: #f9f9f9;
  padding: 9px 12px;
  font-size: 12px;
}
.attachment .icon {
  width: 22px;
  height: 22px;
}
.draft-notice {
  padding: 12px;
  background: #fff8dc;
}
.invitation {
  background: #f3f8fc;
  border: 1px solid #d4e4f0;
  border-left: 3px solid #0078d4;
  padding: 14px;
  line-height: 1.8;
}
.invitation-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.invitation-actions {
  display: flex;
  gap: 7px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.invitation-actions button {
  background: #fff;
  border-color: #b7c9d8;
  font-size: 12px;
}
.response-status {
  color: #267640;
  margin-top: 8px;
  font-size: 12px;
}
.empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 12px;
  padding: 55px 20px;
  color: #89949b;
}
.empty-state.full {
  height: 100%;
}
.empty-state > .icon {
  width: 52px;
  height: 52px;
  opacity: 0.4;
}
.empty-state strong {
  font-size: 17px;
  color: #75818a;
  font-weight: 400;
}
.empty-state span:last-child {
  font-size: 12px;
  line-height: 1.7;
}
.statusbar {
  height: 27px;
  background: #f5f5f5;
  border-top: 1px solid #ccc;
  flex: none;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 12px;
  font-size: 11px;
  color: #666;
}
.status-sync {
  margin-left: auto;
}
.zoom-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}
.zoom-controls button {
  padding: 0 5px;
  font-size: 16px;
}
.zoom-controls > span {
  font-size: 10px;
}
/* Exercise panel */
.practice-panel {
  width: 300px;
  flex: none;
  border-left: 1px solid #cbd9e3;
  background: #fbfdff;
  display: flex;
  flex-direction: column;
}
.practice-head {
  height: 42px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dfe8ef;
  color: #36698f;
  font-size: 10px;
  letter-spacing: 1.3px;
}
.practice-head button {
  font-size: 22px;
  padding: 2px 6px;
}
.practice-scroll {
  padding: 24px 21px;
  overflow: auto;
}
.eyebrow {
  font-size: 9px;
  color: #7c95a8;
  letter-spacing: 1.4px;
}
.practice-panel h2 {
  font-size: 21px;
  margin: 9px 0 12px;
  line-height: 1.3;
}
.practice-panel p {
  color: #71818d;
  font-size: 12px;
  line-height: 1.7;
}
.progress-track {
  height: 4px;
  background: #e0e9f0;
  margin-top: 24px;
}
.progress-track span {
  display: block;
  height: 100%;
  background: #0078d4;
}
.progress-label {
  font-size: 10px;
  color: #7f909c;
  margin-top: 7px;
}
.practice-tasks {
  padding: 0;
  list-style: none;
  margin: 23px 0;
}
.practice-tasks li {
  display: flex;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.task-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border: 1px solid #cbd9e3;
  border-radius: 50%;
  flex: none;
  font-size: 11px;
  color: #55758e;
}
.practice-tasks .passed .task-number {
  background: #e2f3e8;
  color: #258647;
  border-color: #abd5b9;
}
.practice-tasks small {
  display: block;
  color: #aa7928;
  margin-top: 3px;
}
.practice-tasks .passed small {
  color: #32884c;
}
.practice-tools {
  border-top: 1px solid #e0e7ed;
  margin-top: 25px;
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.practice-tools button {
  justify-content: flex-start;
  text-align: left;
  font-size: 11px;
  padding: 5px 0;
  color: #5b788d;
}
.practice-tools .icon {
  width: 17px;
  height: 17px;
}
.practice-panel .practice-note {
  font-size: 10px;
  margin-top: 23px;
  color: #8c9ba6;
}
/* Calendar */
.main.calendar {
  display: flex;
  flex-direction: column;
}
.mini-calendar {
  padding: 10px 12px 20px;
}
.mini-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.mini-title strong {
  font-size: 12px;
  font-weight: 600;
}
.mini-title button {
  padding: 3px 6px;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.mini-grid > span {
  text-align: center;
  font-size: 10px;
  color: #777;
  padding: 3px;
}
.mini-grid button {
  font-size: 11px;
  padding: 4px 0;
  min-width: 0;
}
.mini-grid .today {
  border-color: #0078d4;
  color: #0078d4;
  font-weight: 600;
}
.mini-grid .selected {
  background: #cce8ff;
}
.mini-grid .icon {
  display: none;
}
.mini-grid .muted {
  color: #bbb;
}
.calendar-key {
  padding: 12px 23px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.calendar-key > span {
  width: 14px;
  height: 14px;
  background: #c8e5fc;
  border: 1px solid #0078d4;
}
.side-note {
  padding: 20px;
  color: #8c969c;
  font-size: 11px;
  line-height: 1.6;
}
.calendar-toolbar {
  height: 64px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 25px;
}
.calendar-toolbar h1 {
  font-size: 25px;
  margin: 0 10px;
}
.calendar-toolbar > span {
  color: #8d959b;
  margin-left: auto;
  font-size: 12px;
}
.calendar-toolbar button {
  font-size: 25px;
  padding: 0 8px;
}
.month-grid {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  height: 30px;
  flex: none;
  border-bottom: 1px solid #c9d4dd;
  border-top: 1px solid #ddd;
}
.weekdays > div {
  padding: 5px 10px;
  color: #7d7d7d;
  font-size: 12px;
}
.month-cells {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(75px, 1fr));
  flex: 1;
  overflow: auto;
}
.month-cell {
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  min-width: 0;
  overflow: auto;
  padding-bottom: 5px;
}
.month-cell.outside {
  background: #fafafa;
  color: #aaa;
}
.day-number {
  padding: 5px 9px;
  margin: 3px;
  font-size: 12px;
}
.month-cell.today {
  background: #f5faff;
}
.today > .day-number {
  background: #0078d4;
  color: white;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  padding: 0;
}
.calendar-event {
  display: block;
  width: calc(100% - 6px);
  margin: 2px 3px;
  padding: 4px 5px;
  text-align: left;
  font-size: 11px;
  background: #dceefc;
  border-left: 3px solid #438ec4;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #235879;
}
.calendar-event.tentative,
.timed-event.tentative {
  border-style: dashed;
  background: #f0f5fc;
}
.week-calendar {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.week-header,
.all-day-row {
  display: grid;
  grid-template-columns: 60px repeat(var(--days), minmax(0, 1fr));
  flex: none;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.week-header > div {
  padding: 12px 8px;
  text-align: center;
  border-left: 1px solid #ddd;
  font-size: 12px;
}
.week-header .today {
  color: #0078d4;
  background: #edf7ff;
}
.week-scroll {
  flex: 1;
  overflow: auto;
}
.all-day-row > span {
  font-size: 9px;
  padding: 8px 3px;
}
.all-day-row > div {
  border-left: 1px solid #ddd;
  min-height: 32px;
}
.week-body {
  display: grid;
  grid-template-columns: 60px repeat(var(--days), minmax(0, 1fr));
}
.hours > div {
  height: 48px;
  padding: 5px 7px;
  font-size: 10px;
  color: #777;
  border-bottom: 1px solid #ddd;
}
.week-day {
  position: relative;
  border-left: 1px solid #ddd;
}
.hour-slot {
  height: 48px;
  border-bottom: 1px solid #ddd;
  background: linear-gradient(to bottom, #fff 49%, #f3f3f3 50%, #fff 51%);
}
.hour-slot:hover {
  background: #f1f8fe;
}
.timed-event {
  position: absolute;
  left: 3px;
  right: 5px;
  background: #d7eafa;
  border-left: 3px solid #3d8ccb;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
  overflow: hidden;
  font-size: 11px;
  text-align: left;
  padding: 5px 7px;
}
.timed-event strong {
  font-weight: 600;
}
/* Contacts and tasks */
.people-main {
  padding: 27px;
  overflow: auto;
  flex: 1;
  min-width: 0;
}
.people-main h1 {
  display: flex;
  align-items: center;
  gap: 18px;
}
.people-main h1 small {
  font-size: 11px;
  color: #88959e;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 14px;
  margin-top: 25px;
}
.contact-card {
  display: flex;
  padding: 18px 14px;
  border: 1px solid #ddd;
  gap: 14px;
  text-align: left;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
}
.contact-card > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.contact-card strong {
  font-weight: 600;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-card span span {
  font-size: 11px;
  color: #777;
}
.contact-card small {
  font-size: 11px;
  color: #507b9d;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-card.selected {
  background: #e7f2fc;
  border-color: #95c5e7;
}
.group-avatar {
  background: #eee4f8;
  color: #805f9d;
}
.contact-detail {
  width: 290px;
  border-left: 1px solid #ddd;
  padding: 32px 23px;
  overflow: auto;
  flex: none;
  background: #fcfcfc;
}
.avatar.large {
  height: 64px;
  width: 64px;
  font-size: 24px;
  margin: 0 0 20px;
}
.contact-detail h2 {
  font-size: 24px;
  margin-bottom: 6px;
}
.contact-detail p {
  font-size: 12px;
  color: #888;
}
.contact-detail button {
  border-color: #ddd;
  font-size: 11px;
  margin: 5px 0;
}
.contact-detail dt {
  font-size: 11px;
  color: #888;
  margin-top: 23px;
}
.contact-detail dd {
  margin: 6px 0 0;
  font-size: 13px;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.tasks-main {
  padding: 28px;
  flex: 1;
  overflow: auto;
}
.task-table {
  margin-top: 25px;
  border: 1px solid #ddd;
}
.task-table-head,
.task-table-row {
  display: grid;
  grid-template-columns: 55px 1fr 150px 90px;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
}
.task-table-head {
  font-size: 11px;
  background: #f5f5f5;
  color: #777;
}
.task-table-row button {
  justify-content: flex-start;
  text-align: left;
}
.task-table-row > span {
  color: #888;
  font-size: 12px;
}
.task-table-row.done > button {
  text-decoration: line-through;
  color: #999;
}
.add-task {
  margin-top: 15px;
  color: #0078d4;
}
/* Native Office-style child windows */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: #10232e35;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}
.dialog {
  width: 570px;
  max-width: 100%;
  max-height: 94dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #7c9fb9;
  box-shadow: 0 12px 48px #172d4d44;
}
.dialog.wide-dialog {
  width: 880px;
}
.dialog-title {
  height: 37px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 12px;
  flex: none;
  font-size: 12px;
}
.dialog-title > span {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dialog-title .icon {
  width: 19px;
  height: 19px;
}
.dialog-title > button {
  font-size: 24px;
  font-weight: 400;
  width: 45px;
  height: 36px;
}
.dialog-title > button:hover {
  background: #e81123;
  color: #fff;
  border-color: transparent;
}
#dialog-form {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.dialog-body {
  padding: 24px;
  overflow: auto;
  min-height: 0;
}
.dialog-footer {
  display: flex;
  gap: 9px;
  justify-content: flex-end;
  padding: 14px 22px;
  background: #fafafa;
  border-top: 1px solid #ddd;
  flex: none;
}
.dialog-footer button {
  min-width: 90px;
  border-color: #b9b9b9;
}
.dialog-footer .primary {
  border-color: var(--blue);
}
.field {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
}
.field > span {
  min-width: 120px;
  flex: none;
  color: #555;
}
.field input,
.field select,
.field textarea {
  flex: 1;
  width: 100%;
}
.field.vertical {
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
}
.field.vertical > span {
  min-width: 0;
}
.form-two {
  display: flex;
  gap: 20px;
}
.form-two > .field {
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  min-width: 0;
}
.check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  margin: 10px 0 17px;
}
.form-error {
  color: #b32424;
  font-size: 12px;
  background: #fff4f2;
  padding: 10px 22px;
  flex: none;
}
.form-error:empty {
  display: none;
}
.event-banner {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 0 20px;
  color: #597d99;
}
.event-banner .icon {
  width: 32px;
  height: 32px;
}
.tracking {
  padding: 15px;
  background: #f4f8fb;
  font-size: 12px;
  line-height: 1.8;
}
.choice-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.choice-list button {
  padding: 10px;
  justify-content: flex-start;
  font-size: 13px;
}
.address-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 300px;
  overflow: auto;
}
.address-list button {
  justify-content: flex-start;
  text-align: left;
  padding: 9px 7px;
  border-bottom: 1px solid #eee;
}
.backstage {
  display: flex;
  gap: 30px;
  min-height: 360px;
}
.backstage > nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #0078d4;
  color: #fff;
  padding: 15px;
  margin: -24px 0 -24px -24px;
  min-width: 190px;
}
.backstage > nav button {
  color: #fff;
  justify-content: flex-start;
  text-align: left;
  padding: 10px;
  font-size: 12px;
}
.backstage > nav button:hover {
  background: #ffffff25;
}
.backstage > nav .icon {
  filter: brightness(0) invert(1);
}
.backstage > div {
  padding: 15px 0;
  flex: 1;
}
.backstage h1 {
  font-size: 30px;
}
.backstage h2 {
  font-size: 20px;
  margin-top: 32px;
}
.backstage p {
  font-size: 13px;
  color: #777;
}
.account-card {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #ddd;
  padding: 12px 0 24px;
}
.account-card > .icon {
  width: 42px;
  height: 42px;
}
.account-card p {
  margin: 5px 0;
}
.account-card small {
  font-size: 11px;
  color: #888;
}
.compose-dialog {
  height: 780px;
  max-height: 94dvh;
}
.compose-dialog #dialog-form {
  flex: 1;
}
.compose-dialog .dialog-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: auto;
}
.compose-tabs {
  height: 35px;
  background: #fafafa;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 20px;
  border-bottom: 1px solid #ddd;
  flex: none;
  font-size: 12px;
}
.compose-tabs > .active {
  padding: 8px;
  color: #0078d4;
  border-bottom: 2px solid #0078d4;
  font-weight: 600;
}
.compose-tabs button {
  font-size: 12px;
}
.compose-ribbon {
  height: 92px;
  display: flex;
  align-items: stretch;
  padding: 8px 15px;
  background: #fafafa;
  gap: 10px;
  border-bottom: 1px solid #ccc;
  flex: none;
}
.compose-ribbon .ribbon-big {
  font-size: 11px;
  min-width: 57px;
}
.compose-ribbon .ribbon-big .icon {
  width: 26px;
  height: 26px;
}
.format-tools {
  width: 240px;
  border-right: 1px solid #ddd;
  padding-right: 12px;
}
.format-tools select {
  font-size: 12px;
  padding: 3px;
  width: 65px;
}
.format-tools select:first-child {
  width: 147px;
}
.format-tools > div {
  display: flex;
  margin-top: 7px;
  gap: 3px;
}
.format-button {
  padding: 3px 6px;
  font-size: 12px;
}
.bold {
  font-weight: 700;
}
.italic {
  font-style: italic;
}
.underline {
  text-decoration: underline;
}
.compose-header {
  padding: 16px 23px 8px;
  display: flex;
  gap: 20px;
  flex: none;
}
.send-button {
  width: 64px;
  height: 73px;
  border: 1px solid #b6b6b6;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 3px;
  background: #f7f7f7;
  font-size: 12px;
}
.send-button .icon {
  width: 28px;
  height: 28px;
}
.compose-fields {
  flex: 1;
  min-width: 0;
}
.compose-fields .field {
  margin: 0;
  min-height: 34px;
  border-bottom: 1px solid #ddd;
  gap: 10px;
}
.compose-fields .field > span {
  min-width: 107px;
  font-size: 12px;
}
.compose-fields .field > input {
  border: 0;
  outline: 0;
  padding: 8px;
  font-size: 13px;
}
.compose-fields .field:focus-within {
  border-bottom-color: #0078d4;
}
.compose-options {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.compose-options button {
  font-size: 10px;
  color: #557993;
  padding: 2px 0;
}
.compose-options .check {
  font-size: 10px;
  margin: 0;
}
.compose-options .check input {
  width: 12px;
  height: 12px;
}
.editor {
  flex: 1;
  min-height: 180px;
  padding: 18px 28px;
  outline: 0;
  font-family: Calibri, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  overflow: auto;
}
.compose-attachments {
  padding: 0 25px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: none;
}
.compose-attachments:empty {
  display: none;
}
.compose-attachments > span {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 4px 8px;
  font-size: 11px;
}
.compose-attachments .icon {
  width: 16px;
  height: 16px;
}
.compose-attachments button {
  padding: 0 3px;
}
.compose-dialog .dialog-footer {
  padding: 5px;
  display: none;
}
#toast {
  position: fixed;
  bottom: 45px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: #263b4b;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  padding: 13px 22px;
  box-shadow: 0 4px 18px #0002;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s,
    transform 0.18s;
  max-width: 90vw;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
#print-document {
  display: none;
}
@media (min-width: 1600px) {
  .sidebar {
    width: 235px;
  }
  .mail-list {
    width: 385px;
  }
  .read-scroll {
    padding: 13px 40px 40px;
  }
  .reading-toolbar {
    padding-left: 32px;
  }
  .global-search {
    width: 410px;
    margin-left: 50px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 185px;
  }
  .folder {
    font-size: 12px;
    padding-left: 18px;
  }
  .mail-list {
    width: 300px;
    min-width: 250px;
  }
  .read-scroll {
    padding: 8px 20px 25px;
  }
  .read-subject {
    font-size: 21px;
  }
  .reading-toolbar {
    padding: 10px;
    gap: 4px;
  }
  .reading-toolbar button {
    font-size: 11px;
    padding: 4px 6px;
  }
  .practice-panel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 300px;
    box-shadow: -5px 0 18px #102f4419;
    z-index: 5;
  }
  .sim-explain {
    display: none;
  }
  .contact-detail {
    width: 245px;
  }
  .window-title {
    max-width: 300px;
  }
  .tabbar nav {
    gap: 0;
  }
  .tab {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 900px) {
  .sidebar {
    width: 165px;
  }
  .mail-list {
    width: 270px;
    min-width: 235px;
  }
  .global-search {
    margin-left: 0;
    width: 240px;
  }
  .window-title {
    max-width: 260px;
  }
  .practice-toggle {
    padding: 5px 8px;
  }
  .practice-toggle .icon {
    display: none;
  }
  .read-scroll {
    padding: 8px 14px;
  }
  .reading-toolbar button .icon {
    display: none;
  }
  .read-subject {
    font-size: 19px;
  }
  .statusbar {
    gap: 10px;
  }
  .statusbar > span:nth-child(3) {
    display: none;
  }
  .contact-detail {
    width: 210px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .ribbon {
    height: 105px;
  }
  .sim-state {
    font-size: 10px;
  }
}
@media print {
  body > * {
    display: none !important;
  }
  #print-document {
    display: block !important;
    font: 12pt Arial;
    line-height: 1.5;
    color: #000;
  }
  #print-document h1 {
    font-size: 19pt;
  }
  @page {
    size: A4;
    margin: 20mm;
  }
}
button:disabled {
  opacity: 0.42;
  cursor: default;
  pointer-events: none;
}
.compose-ribbon {
  gap: 6px;
}
.compose-ribbon .format-tools {
  flex-shrink: 0;
  width: 220px;
}
.compose-ribbon .format-tools select:first-child {
  width: 132px;
}
/* Outlook 2021, second iteration: desktop interaction surfaces. */
.popup-menu {
  position: fixed;
  z-index: 95;
  min-width: 210px;
  max-width: min(340px, 95vw);
  max-height: calc(100vh - 10px);
  overflow: auto;
  background: #fff;
  border: 1px solid #b5b5b5;
  box-shadow: 2px 3px 8px #0003;
  padding: 3px;
  font-size: 12px;
}
.popup-caption {
  color: #777;
  font-size: 10px;
  padding: 6px 10px;
  border-bottom: 1px solid #eee;
  margin-bottom: 3px;
}
.popup-menu button {
  display: flex;
  justify-content: flex-start;
  text-align: left;
  width: 100%;
  gap: 10px;
  padding: 7px 10px;
  border: 0;
}
.popup-menu .icon {
  width: 18px;
  height: 18px;
}
.popup-menu button:focus {
  background: #ddecf8;
  outline: none;
}
.pane-divider {
  width: 5px;
  flex: none;
  cursor: col-resize;
  background: #f5f5f5;
  border-right: 1px solid #dedede;
  touch-action: none;
}
.pane-divider:hover,
.pane-divider:focus {
  background: #acd4f3;
}
.mail-list {
  max-width: 60%;
}
.main.reading-bottom.mail {
  flex-direction: column;
}
.reading-bottom .mail-list {
  width: 100% !important;
  max-width: 100%;
  height: 43%;
  min-height: 150px;
  flex-shrink: 0;
  border-bottom: 1px solid #ccc;
}
.reading-bottom .pane-divider {
  height: 4px;
  width: 100%;
  cursor: default;
}
.reading-bottom .message-row {
  min-height: 38px;
  padding-top: 5px;
  padding-bottom: 5px;
}
.reading-bottom .message-summary {
  display: flex;
  align-items: center;
  gap: 20px;
}
.reading-bottom .message-sender {
  width: 30%;
  font-size: 12px;
}
.reading-bottom .message-subject {
  flex: 1;
  margin: 0;
  font-size: 12px;
}
.reading-bottom .message-preview {
  display: none;
}
.reading-bottom .message-indicators {
  bottom: 10px;
}
.reading-bottom .reading-pane {
  min-height: 0;
}
.reading-bottom .read-subject {
  font-size: 19px;
  margin: 0 0 12px;
}
.read-dialog {
  height: 720px;
}
.read-dialog .dialog-body {
  padding: 10px 0;
  display: flex;
  flex-direction: column;
}
.read-dialog .read-scroll {
  overflow: auto;
}
.dialog-title {
  cursor: move;
  user-select: none;
  touch-action: none;
}
.dialog.maximized {
  position: fixed !important;
  inset: 8px !important;
  width: calc(100vw - 16px) !important;
  height: calc(100dvh - 16px) !important;
  max-height: none !important;
  max-width: none !important;
}
.dialog-commandbar {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}
.dialog-commandbar button {
  border-color: #ccc;
}
.office-dialog-tabs {
  border-bottom: 1px solid #ccc;
  margin: -7px 0 20px;
  display: flex;
}
.office-dialog-tabs span {
  padding: 8px 13px;
  border: 1px solid #ccc;
  border-bottom-color: #fff;
  margin-bottom: -1px;
}
.small-text {
  font-size: 11px;
  line-height: 1.6;
}
.rules-list {
  border: 1px solid #ccc;
  max-height: 350px;
  overflow: auto;
  margin-bottom: 15px;
}
.rule-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-bottom: 1px solid #ddd;
}
.rule-row > button:first-of-type {
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.rule-row small {
  color: #777;
  font-size: 11px;
  margin-top: 5px;
}
.rule-row > button:last-child {
  font-size: 11px;
}
.rule-row .icon {
  width: 16px;
  height: 16px;
}
fieldset {
  border: 1px solid #ccc;
  padding: 15px;
  margin: 15px 0;
}
legend {
  padding: 0 6px;
  color: #555;
  font-size: 12px;
}
.blocked-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}
.notes-main {
  padding: 28px;
  overflow: auto;
  width: 100%;
}
.notes-main h1 small {
  font-size: 11px;
  color: #777;
  margin-left: 12px;
}
.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 23px;
}
.note-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  text-align: left;
  height: 210px;
  position: relative;
  background: #fff5ad;
  border: 1px solid #e1d68b;
  padding: 20px 16px;
  box-shadow: 2px 3px 3px #0001;
}
.note-card.blue {
  background: #deeffb;
  border-color: #bed8e9;
}
.note-card.green {
  background: #e4efcd;
  border-color: #c6d6a8;
}
.note-card.pink {
  background: #f7dfe9;
  border-color: #dfbdcc;
}
.note-card strong {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.note-card > span:not(.note-fold) {
  white-space: pre-wrap;
  line-height: 1.6;
  font-size: 12px;
  overflow: hidden;
  flex: 1;
  margin-top: 7px;
}
.note-card small {
  font-size: 10px;
  color: #7e795d;
  margin-top: 10px;
}
.note-fold {
  position: absolute;
  right: 0;
  top: 0;
  border-top: 16px solid #fff;
  border-left: 16px solid #0001;
}
.note-dialog textarea {
  background: #fffce5;
}
.module-nav button {
  width: 35px;
}
.module-nav button .icon {
  width: 22px;
}
.simulation-bar {
  height: 23px;
  font-size: 9px;
}
.sim-explain {
  font-size: 10px;
}
.sim-state {
  font-size: 10px;
}
.read-subject {
  font-size: 22px;
}
.message-row {
  min-height: 82px;
}
.message-check {
  top: 32px;
}
.search-info > button {
  font-size: 10px;
  margin-left: 4px;
}
.timed-event {
  min-width: 0;
}
.timed-event span,
.timed-event strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* File Backstage replaces the workspace, it is not a dialog. */
.backstage-title {
  height: 40px;
  flex: none;
  gap: 50px;
}
.backstage-title > span:first-child {
  font-size: 12px;
  width: 138px;
}
.backstage-screen {
  display: flex;
  flex: 1;
  min-height: 0;
  background: white;
}
.backstage-nav {
  width: 176px;
  flex: none;
  background: #0078d4;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.backstage-nav > button:not(.bs-back),
.backstage-nav-bottom > button {
  justify-content: flex-start;
  padding: 13px 25px;
  color: #fff;
  border: 0;
  min-height: 43px;
  font-size: 13px;
  flex: none;
  text-align: left;
  line-height: 1.4;
}
.backstage-nav > button:hover,
.backstage-nav-bottom > button:hover {
  background: #ffffff20;
}
.backstage-nav > button.active,
.backstage-nav-bottom > button.active {
  background: #005a9e;
}
.bs-back {
  align-self: flex-start;
  width: 53px;
  height: 53px;
  margin: 15px 14px 20px;
  border: 0;
}
.bs-back > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 28px;
  line-height: 1;
  border: 1px solid #fff;
  border-radius: 50%;
  padding-bottom: 4px;
}
.backstage-nav-bottom {
  margin-top: auto;
  padding: 25px 0 16px;
  display: flex;
  flex-direction: column;
}
.backstage-content {
  padding: 36px 45px;
  overflow: auto;
  flex: 1;
  min-width: 0;
}
.backstage-content > h1 {
  font-size: 32px;
  margin-bottom: 33px;
}
.backstage-content h2 {
  font-size: 20px;
  margin: 27px 0 16px;
}
.bs-account {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 20px;
}
.bs-outlook-icon > .icon {
  width: 50px;
  height: 50px;
}
.bs-account > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.bs-account strong {
  font-weight: 400;
  font-size: 21px;
}
.bs-account > div > span {
  color: #777;
  font-size: 12px;
}
.bs-account-tools {
  border-bottom: 1px solid #ddd;
  padding-bottom: 25px;
  max-width: 800px;
}
.bs-account-tools button {
  border: 1px solid #bbb;
  padding: 10px 15px;
}
.backstage-command {
  display: flex;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid #e2e2e2;
  padding: 18px 0;
  max-width: 800px;
}
.backstage-command p {
  color: #555;
  line-height: 1.7;
  font-size: 13px;
  max-width: 440px;
  margin: 0;
}
.backstage-tile {
  width: 162px;
  min-height: 93px;
  flex: none;
  border: 1px solid #b8b8b8;
  background: #f6f6f6;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 10px;
  font-size: 13px;
}
.backstage-tile .icon {
  height: 32px;
  width: 32px;
}
.bs-local-notice {
  font-size: 11px;
  color: #888;
  margin-top: 27px;
  max-width: 750px;
  line-height: 1.6;
}
.bs-product {
  display: flex;
  gap: 25px;
  max-width: 650px;
  align-items: center;
}
.bs-product > .icon {
  width: 80px;
  height: 80px;
}
.bs-product p {
  font-size: 12px;
}
.print-layout {
  display: flex;
  padding: 0;
  overflow: hidden;
}
.bs-print-options {
  width: 310px;
  flex: none;
  padding: 35px 30px;
  overflow: auto;
}
.bs-print-options h1 {
  font-size: 32px;
  margin-bottom: 28px;
}
.print-big {
  background: #eee;
  border-color: #bbb;
  display: flex;
  flex-direction: column;
  width: 112px;
  height: 95px;
  gap: 13px;
}
.print-big .icon {
  height: 33px;
  width: 33px;
}
.printer-choice {
  border: 1px solid #bbb;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
  font-size: 12px;
}
.printer-choice small {
  display: block;
  color: #777;
  font-size: 10px;
  margin-top: 5px;
}
.print-style {
  padding: 12px;
  border: 1px solid #bbb;
  background: #fafafa;
}
.bs-print-preview {
  background: #e7e7e7;
  padding: 35px;
  flex: 1;
  min-width: 0;
  overflow: auto;
  text-align: center;
}
.paper-preview {
  background: #fff;
  box-shadow: 0 2px 7px #0002;
  width: min(100%, 650px);
  min-height: 810px;
  text-align: left;
  padding: 45px 42px;
  margin: 0 auto;
  font:
    13px/1.6 Arial,
    sans-serif;
  overflow-wrap: anywhere;
}
.paper-preview h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 22px;
}
.paper-preview .print-fields {
  font-size: 11px;
  line-height: 1.8;
}
.paper-preview hr {
  border: 0;
  border-top: 1px solid #aaa;
  margin: 20px 0;
}
.print-preview-caption {
  display: block;
  margin-top: 22px;
  font-size: 11px;
  color: #777;
}
.mailbox-table {
  border: 1px solid #ccc;
  margin-bottom: 20px;
}
.mailbox-table > div {
  display: flex;
  justify-content: space-between;
  padding: 8px;
  border-bottom: 1px solid #ddd;
}
@media (max-width: 1100px) {
  .backstage-content {
    padding: 30px;
  }
  .backstage-content.print-layout {
    padding: 0;
  }
  .bs-print-options {
    width: 260px;
    padding: 30px 20px;
  }
  .bs-print-preview {
    padding: 25px;
  }
  .paper-preview {
    padding: 30px 24px;
  }
  .backstage-command {
    gap: 20px;
  }
  .backstage-tile {
    width: 145px;
  }
  .backstage-nav {
    width: 165px;
  }
}
.pdf-ready {
  display: block;
  font-size: 11px;
  color: #666;
  margin-top: 10px;
}
.pdf-preview-frame {
  width: 100%;
  height: calc(100% - 32px);
  min-height: 400px;
  border: 0;
  background: #e7e7e7;
}
.bs-print-preview:has(.pdf-preview-frame) {
  padding: 15px;
  display: flex;
  flex-direction: column;
}
.bs-print-preview:has(.pdf-preview-frame) .print-preview-caption {
  margin: 8px 0;
}
.bs-print-options .field {
  margin-top: 20px;
  font-size: 12px;
}
.bs-print-options > [data-action="print-native"] {
  text-align: left;
  font-size: 11px;
  padding: 8px 0;
  color: #0078d4;
}
.compose-tool-group {
  display: flex;
  align-items: stretch;
  gap: 3px;
}
.compose-tool-group:not(:last-child) {
  border-right: 1px solid #ddd;
  padding-right: 6px;
}
.compose-tracking {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.compose-tracking .check {
  margin: 3px 0;
  font-size: 11px;
}
.compose-ribbon {
  overflow-x: auto;
  overflow-y: hidden;
  min-height: 92px;
}
.compose-ribbon > div {
  flex-shrink: 0;
}
.compose-tabs button {
  height: 34px;
}
.compose-tabs button.active {
  color: #0078d4;
  border-bottom: 2px solid #0078d4;
  font-weight: 600;
}
.color-picker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  justify-content: center;
}
.color-picker input {
  padding: 0;
  width: 32px;
  height: 24px;
}
.deferred-delivery {
  padding: 10px 25px;
  border-bottom: 1px solid #ddd;
  background: #f5f8fc;
  flex: none;
}
.deferred-delivery .field {
  margin: 0;
  font-size: 11px;
}
.deferred-delivery input {
  max-width: 210px;
}
.compose-fields label > span > button {
  width: 105px;
  font-size: 12px;
  border-color: #c7c7c7;
  background: #fafafa;
  height: 27px;
}
.compose-options .icon {
  height: 13px;
  width: 13px;
}
#draft-status {
  margin-left: auto;
  color: #71818e;
  font-size: 10px;
}
.recipient-suggestions {
  position: fixed;
  z-index: 105;
  background: #fff;
  box-shadow: 0 4px 12px #0003;
  border: 1px solid #bbb;
  max-width: calc(100vw - 30px);
}
.recipient-suggestions button {
  width: 100%;
  justify-content: flex-start;
  padding: 11px;
  font-size: 12px;
  border: 0;
  text-align: left;
}
.recipient-suggestions button.active {
  background: #e2f0fb;
}
.composer-flyout {
  position: absolute;
  z-index: 70;
  inset: 70px 10% auto;
  max-height: calc(100% - 100px);
  overflow: auto;
  background: #fff;
  border: 1px solid #aaa;
  box-shadow: 0 5px 30px #0004;
  min-width: 320px;
}
.compose-dialog {
  position: relative;
}
.flyout-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 15px;
  border-bottom: 1px solid #ddd;
  font-size: 13px;
}
.flyout-title button {
  font-size: 20px;
}
.flyout-body {
  padding: 20px;
}
.flyout-footer {
  padding: 12px 20px;
  background: #fafafa;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: flex-end;
}
.picker-contacts {
  border: 1px solid #ccc;
  max-height: 240px;
  overflow: auto;
}
.picker-contacts > label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}
.picker-contacts > label:hover {
  background: #eaf4fc;
}
.picker-contacts small {
  display: block;
  color: #888;
  font-size: 11px;
  margin-top: 3px;
}
.picker-contacts strong {
  font-size: 13px;
  font-weight: 600;
}
.editor table,
.message-body table {
  border-collapse: collapse;
}
.editor td,
.message-body td {
  min-width: 90px;
  padding: 5px 10px;
  border: 1px solid #aaa;
}
.task-filterbar {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}
.task-filterbar .active {
  background: #e3f1fc;
  color: #0078d4;
}
.task-table-row > button {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.task-table-row > button strong {
  font-weight: 400;
}
.task-table-row > button small {
  font-size: 10px;
  color: #888;
}
.task-table-row > span.overdue {
  color: #b32626;
}
.pdf-preview-pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}
.pdf-rendered-page {
  width: 100%;
  flex: none;
  box-shadow: 0 2px 7px #0003;
  background: #fff;
}
.pdf-rendered-page > svg {
  display: block;
  width: 100%;
  height: auto;
}
.bs-print-preview:has(.pdf-preview-pages) {
  padding: 30px;
  display: block;
  overflow: auto;
}
