:root {
  --ink: #172039;
  --muted: #747c91;
  --line: #e8ebf2;
  --blue: #293fe8;
  --blue-light: #eef0ff;
  --bg: #f6f7fb;
  --white: #fff;
  --radius: 12px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
a {
  color: var(--blue);
}
[hidden] {
  display: none !important;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #91a0ff;
  outline-offset: 3px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #adb7ff;
  border-color: var(--blue);
}
.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.workspace {
  display: flex;
  min-height: 100dvh;
}
.sidebar {
  width: 248px;
  flex: 0 0 248px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 30px 20px 16px;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  position: sticky;
  top: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-size: 23px;
  letter-spacing: -0.8px;
  font-weight: 700;
  padding: 0 8px 30px;
}
.brand small {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 4px;
}
.brand-mark {
  width: 60px;
  height: 60px;
  border-radius: 17px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -5px;
  position: relative;
}
.brand-mark span {
  font-size: 20px;
  position: absolute;
  right: 7px;
  top: 3px;
}
.brand-mark.small {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  font-size: 25px;
}
.brand-mark.small span {
  font-size: 14px;
  right: 6px;
  top: 2px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 43px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 3px 7px #293fe818;
}
.primary:hover {
  background: #2134ca;
}
.secondary-button {
  background: #fff;
  border-color: #dfe3ed;
}
.secondary-button:hover {
  background: #f4f5fa;
}
.compose-trigger {
  justify-content: flex-start;
  padding-left: 19px;
  margin-bottom: 25px;
}
.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  border: 0;
  background: none;
  padding: 12px 13px;
  border-radius: 8px;
  font-size: 14px;
  color: #637089;
  margin: 2px 0;
}
.nav-item:hover {
  background: #f5f6fb;
}
.nav-item.selected {
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 600;
}
.count {
  margin-left: auto;
  background: #dfe4ff;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 12px;
}
.count:empty {
  display: none;
}
.sidebar-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px 10px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 1.4px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 7px;
  border-radius: 7px;
  color: #7c8499;
  min-width: 34px;
  min-height: 34px;
}
.icon-button:hover {
  color: var(--blue);
  background: var(--blue-light);
}
.address-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  text-align: left;
  font-size: 14px;
  color: #64708a;
  border-radius: 7px;
  overflow: hidden;
}
.address-item span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.address-item:hover {
  background: #f6f7fb;
}
.address-item.active {
  color: var(--ink);
  background: #f4f5f9;
  font-weight: 600;
}
.address-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: #8191ff;
  flex-shrink: 0;
}
.address-dot.color-1 {
  background: #a37df0;
}
.address-dot.color-2 {
  background: #47b49c;
}
.address-dot.color-3 {
  background: #e8ab55;
}
.address-dot.all {
  border-radius: 50%;
  background: #54617d;
}
.address-list {
  overflow: auto;
  max-height: 29dvh;
}
.sidebar-manage {
  background: none;
  border: 0;
  color: #838ba0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
  font-size: 13px;
  margin-top: 4px;
}
.sidebar-manage .icon {
  width: 16px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 23px 10px 0;
}
.plan-line {
  font-size: 13px;
  font-weight: 650;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.connection-dot {
  width: 7px;
  height: 7px;
  background: #b7bece;
  border-radius: 50%;
}
.connection-dot.connected {
  background: #389f73;
}
.quota-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #677189;
}
.quota-line.secondary {
  margin-top: 9px;
}
progress {
  appearance: none;
  width: 100%;
  height: 5px;
  border: 0;
  margin-top: 8px;
  border-radius: 10px;
  background: #eaecf5;
}
progress::-webkit-progress-bar {
  background: #eaecf5;
  border-radius: 10px;
}
progress::-webkit-progress-value {
  background: #7989f7;
  border-radius: 10px;
}
.text-button {
  border: 0;
  background: none;
  padding: 9px 0;
  color: var(--blue);
  font-size: 13px;
  text-align: left;
}
.sidebar-bottom .text-button {
  color: #82899c;
  margin-top: 5px;
  font-size: 12px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  text-align: left;
  padding: 19px 0 0;
  margin-top: 17px;
  font-size: 13px;
}
.profile small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.profile > .icon {
  margin-left: auto;
  width: 17px;
}
.avatar {
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #eeeefe;
  color: #5c64bd;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 650;
}
.main {
  min-width: 0;
  flex: 1;
}
.topbar {
  height: 72px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  background: #ffffffa0;
}
.breadcrumb {
  font-size: 13px;
  color: #8b92a3;
}
.breadcrumb span {
  margin: 0 13px;
  color: #b4bbca;
}
.breadcrumb strong {
  font-weight: 500;
  color: #4b5670;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.pill {
  display: inline-flex;
  align-items: center;
  background: #f0f2f8;
  border: 1px solid #e2e6ef;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 12px;
  color: #68748b;
  font-weight: 550;
}
.mail-heading {
  padding: 35px 38px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.eyebrow {
  color: #7d879d;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  margin-bottom: 9px;
}
h1 {
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 0;
  font-weight: 650;
}
.title-count {
  display: inline-flex;
  font-size: 13px;
  background: #e8ebf6;
  color: #73809e;
  min-width: 26px;
  height: 25px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  vertical-align: middle;
  margin-left: 12px;
  letter-spacing: 0;
}
p {
  font-size: 14px;
  line-height: 1.6;
}
.mail-heading p {
  color: var(--muted);
  margin: 9px 0 0;
  font-size: 13px;
}
.mail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 38px 22px;
  gap: 16px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(430px, 65%);
  background: #fff;
  border: 1px solid #e0e5ef;
  border-radius: 8px;
  padding: 0 12px;
  color: #98a0b4;
}
.search input {
  background: transparent;
  border: 0;
  height: 41px;
  width: 100%;
  font-size: 14px;
  padding: 0;
  min-width: 0;
  outline: 0;
}
.unread-control {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #747f94;
  white-space: nowrap;
}
.unread-control input {
  accent-color: var(--blue);
}
.mail-split {
  display: grid;
  grid-template-columns: minmax(300px, 38%) minmax(0, 1fr);
  margin: 0 38px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  min-height: calc(100dvh - 286px);
}
.message-list-panel {
  border-right: 1px solid var(--line);
  min-width: 0;
  max-height: calc(100dvh - 286px);
  overflow: auto;
}
.list-caption {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 21px;
  font-size: 12px;
  letter-spacing: 1.2px;
  color: #939bac;
  border-bottom: 1px solid var(--line);
  background: #fdfdff;
}
.message-row {
  width: 100%;
  background: #fff;
  text-align: left;
  padding: 21px;
  border: 0;
  border-bottom: 1px solid #edf0f6;
  position: relative;
  display: block;
}
.message-row:hover {
  background: #fafbff;
}
.message-row.selected {
  background: #f1f3ff;
}
.message-row.selected:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--blue);
}
.row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}
.sender {
  font-size: 13px;
  color: #7b8499;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.unread .sender {
  color: #37405b;
  font-weight: 650;
}
.row-date {
  font-size: 12px;
  color: #9aa2b3;
  white-space: nowrap;
}
.row-subject {
  font-size: 14px;
  color: #414b64;
  font-weight: 500;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.unread .row-subject {
  font-weight: 650;
  color: #192342;
}
.row-preview {
  color: #929aab;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}
.address-chip {
  font-size: 12px;
  color: #7d85a2;
  background: #f0f2f8;
  padding: 4px 6px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 85%;
}
.selected .address-chip {
  background: #e4e8fc;
}
.unread-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  margin-left: auto;
}
.row-bottom > .icon {
  width: 13px;
  height: 13px;
  color: #b7a66b;
  margin-left: auto;
}
.reader {
  padding: 0 30px 30px;
  min-width: 0;
  max-height: calc(100dvh - 286px);
  overflow: auto;
}
.reader-toolbar {
  height: 60px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 29px;
}
.reader-tools {
  display: flex;
  gap: 6px;
}
.reader-toolbar .pill {
  font-size: 12px;
}
.reader h2 {
  font-size: 23px;
  line-height: 1.4;
  letter-spacing: -0.5px;
  font-weight: 600;
  margin: 0 0 23px;
  overflow-wrap: anywhere;
}
.sender-details {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 29px;
}
.sender-details .avatar {
  background: #eff2fb;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  font-size: 12px;
}
.sender-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.sender-name small {
  font-size: 12px;
  font-weight: 400;
  color: #9098aa;
  margin-left: 5px;
}
.recipient-line {
  font-size: 12px;
  color: #949caf;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.reader-date {
  margin-left: auto;
  font-size: 12px;
  color: #949caf;
  white-space: nowrap;
  padding-top: 4px;
}
.email-body {
  font:
    15px/1.8 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #46516a;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  min-height: 190px;
}
.email-html {
  width: 100%;
  height: 390px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.reader-footer {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 28px;
  display: flex;
  gap: 10px;
}
.reader-footer .button {
  font-size: 13px;
  min-height: 39px;
}
.reader-empty,
.list-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 360px;
  color: #9099ac;
  padding: 30px;
}
.reader-empty .empty-symbol {
  color: #9aa8e9;
  background: #f1f3ff;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 17px;
}
.empty-symbol .icon {
  width: 32px;
  height: 32px;
}
.reader-empty h2,
.list-empty h3 {
  font-size: 17px;
  color: #55617c;
  margin: 0 0 7px;
  font-weight: 500;
  letter-spacing: 0;
}
.reader-empty p,
.list-empty p {
  font-size: 13px;
  max-width: 245px;
  margin: 0;
}
.banner {
  margin: 20px 38px -8px;
  background: #edf0ff;
  border: 1px solid #dce2ff;
  border-radius: 8px;
  padding: 11px 15px;
  font-size: 13px;
  color: #5969a3;
  line-height: 1.6;
}
.banner button {
  border: 0;
  background: none;
  color: var(--blue);
  text-decoration: underline;
  font: inherit;
  padding: 0;
}
.banner.warning {
  background: #fff6e7;
  border-color: #f8e6c7;
  color: #8a6b37;
}
.load-more {
  margin: 18px;
}
.login-screen {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 70% 20%, #e4e8ff, transparent 50%), #f6f7fb;
  padding: 24px;
}
.login-card {
  width: 420px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 45px;
  box-shadow: 0 20px 80px #24367f08;
}
.login-card .brand-mark {
  margin-bottom: 30px;
}
.login-card h1 {
  font-size: 35px;
}
.login-card p {
  color: var(--muted);
}
.login-card .primary {
  width: 100%;
  margin-top: 20px;
  justify-content: space-between;
}
label:not(.search):not(.unread-control):not(.attachment-picker) {
  display: block;
  font-size: 13px;
  font-weight: 550;
  margin: 17px 0 8px;
}
input:not([type="checkbox"]):not([type="file"]),
select,
textarea {
  border: 1px solid #dde2ed;
  border-radius: 7px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  width: 100%;
  min-width: 0;
}
textarea {
  resize: vertical;
  line-height: 1.7;
  margin-top: 18px;
  min-height: 140px;
}
.search input {
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.optional {
  font-size: 12px;
  font-weight: 400;
  color: #9199ac;
  margin-left: 5px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 28px;
  width: min(480px, calc(100vw - 32px));
  box-shadow: 0 25px 100px #1326542e;
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #17203955;
  backdrop-filter: blur(3px);
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin: 0;
}
.dialog-header .eyebrow {
  font-size: 12px;
}
.domain-input {
  display: flex;
  align-items: center;
  border: 1px solid #dde2ed;
  border-radius: 7px;
  overflow: hidden;
}
.domain-input input {
  border: 0 !important;
  flex: 1;
}
.domain-input span {
  font-size: 12px;
  white-space: nowrap;
  color: var(--muted);
  padding: 0 12px 0 0;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}
.form-note {
  font-size: 12px;
  line-height: 1.7;
  color: #8c94a7;
}
.error {
  font-size: 13px;
  color: #b54a4a !important;
  white-space: pre-wrap;
}
.error:empty {
  display: none;
}
.compose-dialog {
  width: min(650px, calc(100vw - 32px));
}
.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dialog-actions .form-note {
  margin-right: auto;
  max-width: 230px;
}
.attachment-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #717d95;
  margin-top: 14px;
  cursor: pointer;
  position: relative;
  width: fit-content;
}
.attachment-picker input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.attachment-file {
  font-size: 12px;
  padding: 7px 10px;
  background: #f5f6fb;
  border-radius: 5px;
  margin-top: 7px;
  overflow-wrap: anywhere;
}
.wide-dialog {
  width: min(650px, calc(100vw - 32px));
}
.manage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.manage-row strong {
  display: block;
  font-size: 14px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.manage-row small {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 6px;
}
.manage-row .actions {
  display: flex;
  flex-shrink: 0;
}
.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.settings-row span {
  color: var(--muted);
}
.settings-row strong {
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
}
.settings-row strong.good {
  color: #268f68;
}
.settings-row strong.pending {
  color: #ac8139;
}
.settings-text {
  font-size: 13px;
  line-height: 1.8;
  color: #7d879d;
}
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  background: #202b49;
  color: #fff;
  padding: 13px 20px;
  border-radius: 9px;
  box-shadow: 0 10px 35px #14213d26;
  font-size: 13px;
  z-index: 100;
  max-width: 90vw;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
  padding: 13px 16px;
  background: #f0f3ff;
  border: 1px solid #e0e6ff;
  border-radius: 8px;
}
.code-box code {
  font-size: 22px;
  letter-spacing: 4px;
  color: #3b4fc5;
}
.code-box small {
  display: block;
  color: #7f8ab2;
  font-size: 12px;
  margin-bottom: 6px;
}
.attachment-link {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  padding: 11px 13px;
  border-radius: 7px;
  text-decoration: none;
  font-size: 13px;
  margin-top: 9px;
  overflow-wrap: anywhere;
}
.attachment-link small {
  color: var(--muted);
  margin-left: auto;
  flex-shrink: 0;
}
.active-star {
  color: #c99838;
}
.message-status {
  font-size: 12px;
  color: #929aac;
  margin: 12px 0;
}
.message-status.failed {
  color: #bc5353;
}
.reader-back {
  display: none;
}
.view-toggle {
  margin: 4px 0 16px;
}
.snippet-links a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  margin: 8px 0;
}
@media (min-width: 1550px) {
  .mail-split {
    grid-template-columns: 390px minmax(0, 1fr);
  }
  .reader {
    padding: 0 42px 35px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 215px;
    flex-basis: 215px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .mail-heading {
    padding: 28px 24px 22px;
  }
  .topbar {
    padding: 0 24px;
  }
  .mail-toolbar {
    margin: 0 24px 20px;
  }
  .mail-split {
    margin: 0 24px 24px;
    grid-template-columns: minmax(240px, 42%) minmax(0, 1fr);
  }
  .reader {
    padding: 0 20px 25px;
  }
  .message-row {
    padding: 19px 16px;
  }
  .sender-name small {
    display: block;
    margin: 0;
  }
  .reader-date {
    display: none;
  }
  .banner {
    margin: 16px 24px 0;
  }
}
@media (max-width: 820px) {
  .mail-split {
    display: block;
    min-height: 60dvh;
  }
  .message-list-panel {
    max-height: none;
    border-right: 0;
  }
  .reader {
    display: none;
    max-height: none;
    min-height: 60dvh;
  }
  .mail-split.has-selection .reader {
    display: block;
  }
  .mail-split.has-selection .message-list-panel {
    display: none;
  }
  .reader-back {
    display: inline-flex;
  }
  .mail-heading p {
    display: none;
  }
  .mail-heading {
    align-items: flex-end;
  }
  .mail-heading .button {
    font-size: 12px;
    padding: 10px;
  }
  .unread-control {
    font-size: 12px;
  }
  .mail-toolbar {
    gap: 8px;
  }
}
@media (max-width: 580px) {
  .workspace {
    display: block;
  }
  .sidebar {
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    height: auto;
    padding: 17px 18px 9px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    padding: 0;
    font-size: 20px;
    flex: 1;
  }
  .brand small {
    font-size: 8px;
  }
  .brand-mark.small {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }
  .compose-trigger {
    margin: 0;
    padding: 9px 13px;
    min-height: 36px;
    font-size: 12px;
  }
  .sidebar nav {
    display: flex;
    width: 100%;
    margin-top: 4px;
  }
  .nav-item {
    padding: 10px 8px;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
  }
  .nav-item .icon {
    width: 16px;
    height: 16px;
  }
  .sidebar-label,
  .address-list,
  .sidebar-manage,
  .sidebar-bottom,
  #all-addresses {
    display: none;
  }
  .topbar {
    height: 49px;
    padding: 0 19px;
  }
  .topbar-right {
    gap: 5px;
  }
  .breadcrumb {
    font-size: 12px;
  }
  .mail-heading {
    padding: 23px 19px 20px;
  }
  h1 {
    font-size: 27px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .mail-toolbar {
    margin: 0 19px 17px;
  }
  .search {
    width: 65%;
  }
  .search input {
    font-size: 13px;
  }
  .mail-split {
    margin: 0 14px 22px;
  }
  .list-caption {
    font-size: 9px;
  }
  .message-row {
    padding: 18px;
  }
  .reader {
    padding: 0 20px 25px;
  }
  .reader h2 {
    font-size: 22px;
  }
  .banner {
    margin: 15px 19px 0;
    font-size: 12px;
  }
  .login-card {
    padding: 30px;
  }
  .domain-input {
    flex-wrap: wrap;
  }
  .domain-input span {
    padding: 0 12px 10px;
  }
  .two-fields {
    grid-template-columns: 1fr;
  }
  .dialog-actions .form-note {
    display: none;
  }
  dialog {
    padding: 22px;
  }
  .manage-row .actions {
    flex-direction: column;
  }
  .mail-heading .button .icon {
    width: 15px;
  }
  .recipient-line {
    font-size: 12px;
  }
  .row-date,
  .row-preview {
    font-size: 12px;
  }
  .sender {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button {
    transition:
      background 0.15s,
      color 0.15s;
  }
  .toast {
    animation: appear 0.2s ease-out;
  }
  @keyframes appear {
    from {
      opacity: 0;
      transform: translate(-50%, 7px);
    }
    to {
      opacity: 1;
      transform: translate(-50%, 0);
    }
  }
}
.mobile-address-filter {
  display: none;
}
@media (max-width: 580px) {
  .mobile-address-filter {
    display: block;
    margin: 0 19px 15px;
  }
  .mobile-address-filter select {
    font-size: 13px;
    padding: 9px;
  }
}
