:root {
  color-scheme: light;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef3fb;
  --hover: #f2f6fc;
  --active: #d3e3fd;
  --active-red: #fce8e6;
  --border: #dfe3eb;
  --border-2: #edf0f5;
  --text: #1f1f1f;
  --muted: #5f6368;
  --faint: #8a94a6;
  --blue: #1a73e8;
  --blue-2: #0b57d0;
  --green: #137333;
  --red: #b3261e;
  --amber: #9a6700;
  --google-yellow: #fbbc04;
  --google-blue: #4285f4;
  --google-red: #ea4335;
  --google-green: #34a853;
  --shadow: 0 8px 22px rgba(60, 64, 67, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.45 Arial, Helvetica, sans-serif;
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: #f8fbff;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.splash-screen.hide {
  opacity: 0;
  visibility: hidden;
}

.splash-content {
  width: min(260px, calc(100vw - 48px));
  display: grid;
  justify-items: center;
  gap: 14px;
}

.splash-content img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  animation: splashFloat 1400ms ease-in-out infinite;
}

.splash-content strong {
  font-size: 22px;
  font-weight: 500;
  color: #3c4043;
}

.splash-bar {
  width: 180px;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: #dfe6f1;
}

.splash-bar span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4285f4, #34a853, #fbbc04, #ea4335);
  animation: splashLoad 1200ms ease-in-out infinite;
}

@keyframes splashLoad {
  0% {
    transform: translateX(-105%);
  }
  100% {
    transform: translateX(245%);
  }
}

@keyframes splashFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

button,
input,
textarea {
  font: inherit;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr) 52px;
  grid-template-rows: 64px minmax(0, calc(100vh - 64px));
  min-height: 100vh;
}

.topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
}

.round-button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #4b5565;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.round-button .material-symbols-outlined {
  font-size: 21px;
}

.round-button:hover,
.toolbar-icon:hover,
.folder:hover {
  background: var(--hover);
}

.brand {
  width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 18px;
  font-weight: 500;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
}

.search {
  flex: 1;
  max-width: 820px;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 24px;
  background: #eaf1fb;
  padding: 0 18px;
  transition: background 120ms ease, box-shadow 120ms ease;
}

.search:focus-within {
  background: var(--surface);
  box-shadow: var(--shadow);
}

.search svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #5f6368;
  stroke-width: 2;
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
}

.search kbd {
  min-width: 24px;
  height: 22px;
  border: 1px solid #c8d0dc;
  border-radius: 6px;
  color: #6b7280;
  display: grid;
  place-items: center;
  font: 12px Arial, sans-serif;
}

.top-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.text-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 18px;
  padding: 0 14px;
  color: var(--blue-2);
  text-decoration: none;
  font-weight: 600;
}

.text-button:hover {
  background: var(--hover);
}

.language-picker {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 17px;
  padding: 0 8px;
  color: #5f6368;
}

.language-picker:hover {
  background: var(--hover);
}

.language-picker .material-symbols-outlined {
  font-size: 19px;
}

.language-picker select {
  max-width: 118px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #3c4043;
  cursor: pointer;
}

.avatar {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #fff;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #dfe3eb;
  cursor: pointer;
}

.avatar img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.account-popover {
  position: absolute;
  top: 48px;
  right: 0;
  z-index: 40;
  width: min(330px, calc(100vw - 20px));
  min-height: 244px;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 24px 26px 32px;
  border: 1px solid #d7dee9;
  border-radius: 28px;
  background: #eaf1fb;
  box-shadow: 0 6px 18px rgba(60, 64, 67, 0.22);
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.account-popover.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.account-link {
  max-width: 100%;
  color: #1f1f1f;
  text-decoration: none;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-link:hover {
  text-decoration: underline;
}

.account-photo-ring {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(
      var(--google-blue) 0 25%,
      var(--google-red) 25% 47%,
      var(--google-yellow) 47% 70%,
      var(--google-green) 70% 100%
    );
  padding: 4px;
}

.account-photo-ring img {
  width: 74px;
  height: 74px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}

.account-popover strong {
  color: #202124;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.sidebar {
  min-width: 0;
  padding: 10px 12px 18px 0;
  overflow: auto;
}

.compose {
  height: 54px;
  margin-left: 8px;
  border: 0;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px 0 18px;
  background: #c2e7ff;
  color: #001d35;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3);
  cursor: pointer;
  font-weight: 600;
}

.compose .material-symbols-outlined {
  font-size: 22px;
}

.compose:hover {
  box-shadow: var(--shadow);
}

.folders {
  margin-top: 16px;
  display: grid;
  gap: 1px;
}

.side-section {
  margin: 12px 8px 0 18px;
}

.side-section summary {
  height: 30px;
  display: flex;
  align-items: center;
  color: #3c4043;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}

.side-links {
  display: grid;
  gap: 1px;
}

.side-links button {
  width: 100%;
  min-height: 28px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #3c4043;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  cursor: pointer;
  text-align: left;
}

.side-links button:hover,
.side-links button.active {
  background: var(--hover);
}

.side-links button.active {
  color: var(--blue-2);
  font-weight: 700;
}

.side-links span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.side-links b {
  color: var(--muted);
  font-size: 11px;
}

.folder {
  width: 100%;
  height: 32px;
  border: 0;
  border-radius: 0 16px 16px 0;
  background: transparent;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 18px;
  color: #202124;
  text-align: left;
  cursor: pointer;
}

.folder.active {
  background: var(--active-red);
  color: #c5221f;
  font-weight: 700;
}

.folder .material-symbols-outlined {
  color: #5f6368;
  font-size: 19px;
}

.folder.active .material-symbols-outlined {
  color: #c5221f;
}

.folder-label {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.folder-count {
  color: var(--muted);
  font-size: 12px;
}

.source-card {
  margin: 22px 12px 0 20px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.source-card span,
.source-card strong,
.source-card p {
  display: block;
}

.source-card span {
  color: var(--muted);
  font-size: 12px;
}

.source-card strong {
  margin-top: 2px;
}

.source-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.mail-area {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: 48px minmax(0, 1fr);
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  margin-right: 8px;
}

.toolbar {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border-2);
}

.select-all {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.select-all input {
  width: 16px;
  height: 16px;
}

.toolbar-icon {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5f6368;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.toolbar-icon .material-symbols-outlined {
  font-size: 19px;
}

#archiveButton:hover .material-symbols-outlined {
  color: var(--google-blue);
}

#reportButton:hover .material-symbols-outlined,
#deleteButton:hover .material-symbols-outlined {
  color: var(--google-red);
}

#unreadButton:hover .material-symbols-outlined {
  color: var(--google-green);
}

.toolbar-icon:disabled {
  opacity: 0.35;
  cursor: default;
}

.toolbar-chip {
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: transparent;
  color: #3c4043;
  padding: 0 12px;
  cursor: pointer;
}

.toolbar-chip:hover {
  background: var(--hover);
}

.toolbar-spacer {
  flex: 1;
}

.range-text {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.content-grid {
  min-height: 0;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 44px minmax(0, 1fr);
}

.ai-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 10px 14px 6px;
  padding: 12px 14px;
  border: 1px solid #d7e3f7;
  border-radius: 12px;
  background: #f7fbff;
}

.ai-overview.collapsed {
  display: none;
}

.ai-overview strong,
.ai-overview span {
  display: block;
}

.ai-overview strong {
  color: #174ea6;
  margin-bottom: 2px;
}

.ai-overview span {
  color: #3c4043;
  font-size: 13px;
}

.ai-overview button {
  border: 0;
  border-radius: 14px;
  background: #e8f0fe;
  color: var(--blue-2);
  height: 28px;
  padding: 0 12px;
  cursor: pointer;
}

.mail-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--border-2);
}

.mail-tab {
  height: 44px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: #fff;
  color: #5f6368;
  cursor: pointer;
  font-weight: 700;
}

.mail-tab:hover {
  background: var(--hover);
}

.mail-tab.active {
  color: var(--blue-2);
  border-bottom-color: var(--blue);
}

.message-list {
  min-height: 0;
  overflow: auto;
}

.message-row {
  height: 40px;
  display: grid;
  grid-template-columns: 24px 24px minmax(0, 1fr) 116px;
  gap: 8px;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--border-2);
  background: #fff;
  cursor: pointer;
}

.message-row:hover {
  position: relative;
  z-index: 1;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.2);
}

.message-row.active {
  background: #f2f6fc;
  box-shadow: none;
}

.message-row.unread .message-sender,
.message-row.unread .message-subject strong,
.message-row.unread .message-meta {
  color: #202124;
  font-weight: 800;
}

.message-row input {
  width: 15px;
  height: 15px;
}

.star-button {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #9aa0a6;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.star-button:hover {
  color: #f9ab00;
}

.star-button .material-symbols-outlined {
  font-size: 18px;
}

.star-button.starred .material-symbols-outlined {
  color: var(--google-yellow);
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 20;
}

.message-main {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(120px, 220px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.message-sender,
.message-subject {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.message-sender {
  font-weight: 700;
  color: #202124;
}

.message-subject {
  color: #202124;
}

.message-subject strong {
  font-weight: 700;
}

.message-subject span,
.message-snippet {
  color: var(--muted);
  font-size: 13px;
}

.message-subject span::before {
  content: " - ";
  color: #777;
}

.message-meta {
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-items: end;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.pill {
  display: inline-flex;
  justify-content: center;
  min-width: 54px;
  border-radius: 999px;
  padding: 2px 8px;
  background: #eef3fb;
  color: #354052;
  font-size: 11px;
  font-weight: 700;
}

.pill.video,
.pill.image {
  background: #e6f4ea;
  color: var(--green);
}

.pill.document {
  background: #fce8e6;
  color: var(--red);
}

.pill.source {
  background: #fff4df;
  color: var(--amber);
}

.pill.local {
  background: #e8f0fe;
  color: var(--blue-2);
}

.message-meta .pill:not(.local) {
  display: none;
}

.right-rail {
  grid-column: 3;
  grid-row: 2;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 14px;
  padding-top: 18px;
}

.right-rail button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5f6368;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.right-rail .material-symbols-outlined {
  font-size: 20px;
}

.right-rail button:nth-child(1) .material-symbols-outlined {
  color: var(--google-blue);
}

.right-rail button:nth-child(2) .material-symbols-outlined {
  color: var(--google-yellow);
}

.right-rail button:nth-child(3) .material-symbols-outlined {
  color: var(--google-green);
}

.right-rail button:nth-child(4) .material-symbols-outlined {
  color: var(--google-red);
}

.right-rail button:hover {
  background: var(--hover);
}

.reader {
  min-width: 0;
  overflow: auto;
  padding: 26px 32px 36px;
  background: #fff;
}

.reader-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.reader-drawer.open {
  display: block;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 33, 36, 0.22);
}

.reader-drawer .reader {
  position: absolute;
  inset: 22px 28px 22px 292px;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(32, 33, 36, 0.28);
}

.close-reader {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5f6368;
  cursor: pointer;
  margin: -10px 0 8px -10px;
  display: grid;
  place-items: center;
}

.close-reader .material-symbols-outlined {
  font-size: 20px;
}

.close-reader:hover {
  background: var(--hover);
}

.reader-empty {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.reader-header {
  border-bottom: 1px solid var(--border-2);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.reader-header h1 {
  margin: 0 0 14px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.22;
  font-weight: 400;
  letter-spacing: 0;
}

.reader-meta {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 13px;
}

.reader-meta strong {
  color: var(--text);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.summary-box {
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fbfcff;
}

.summary-box span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.summary-box strong {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
}

.reader p {
  max-width: 880px;
  color: #2b2f36;
}

.asset-preview {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #111827;
}

.asset-preview iframe,
.asset-preview video,
.asset-preview img {
  display: block;
  width: 100%;
  min-height: 560px;
  border: 0;
}

.asset-preview video {
  min-height: auto;
  max-height: 620px;
  background: #000;
}

.asset-preview img {
  min-height: auto;
  max-height: 680px;
  object-fit: contain;
}

.preview-empty {
  margin-top: 20px;
  border: 1px dashed #b7c0cf;
  border-radius: 8px;
  padding: 16px;
  background: #fbfcff;
}

.preview-empty p {
  margin: 8px 0 0;
  color: var(--muted);
}

.preview-empty code {
  color: #24324a;
  background: #eef3fb;
  border-radius: 4px;
  padding: 2px 5px;
}

.attachments {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.attachment {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
}

.attachment a,
.source-links a {
  color: var(--blue-2);
  text-decoration: none;
  font-weight: 700;
}

.attachment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.source-links {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-links a {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
}

.compose-dialog {
  width: min(620px, calc(100vw - 28px));
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

.compose-dialog form {
  display: grid;
}

.compose-dialog header,
.compose-dialog footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #f2f6fc;
}

.compose-dialog header button {
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.compose-dialog input,
.compose-dialog textarea {
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 12px 14px;
  outline: 0;
}

.compose-dialog textarea {
  min-height: 180px;
  resize: vertical;
}

.primary-button {
  border: 0;
  border-radius: 18px;
  min-height: 36px;
  padding: 0 18px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  transform: translateX(-50%) translateY(16px);
  min-width: 220px;
  max-width: min(520px, calc(100vw - 32px));
  border-radius: 8px;
  background: #202124;
  color: #fff;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1080px) {
  .app-shell {
    grid-template-columns: 76px minmax(0, 1fr) 48px;
  }

  .brand {
    width: auto;
  }

  .brand-copy,
  .compose span:not(.compose-plus),
  .folder-label,
  .folder-count,
  .source-card {
    display: none;
  }

  .sidebar {
    padding-right: 8px;
  }

  .compose {
    width: 56px;
    padding: 0;
    justify-content: center;
  }

  .folder {
    grid-template-columns: 1fr;
    justify-items: center;
    border-radius: 0 16px 16px 0;
    padding: 0;
  }
}

@media (max-width: 820px) {
  .message-main {
    grid-template-columns: minmax(90px, 150px) minmax(0, 1fr);
  }

  .top-actions .text-button {
    display: none;
  }
  .reader-drawer .reader {
    inset: 12px;
  }
}

@media (max-width: 640px) {
  .app-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto minmax(0, 1fr);
  }

  .topbar {
    flex-wrap: wrap;
    padding: 8px;
  }

  .search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }

  .sidebar {
    grid-row: 2;
    display: flex;
    overflow-x: auto;
    padding: 6px 8px;
    border-bottom: 1px solid var(--border);
  }

  .compose {
    display: none;
  }

  .folders {
    margin: 0;
    display: flex;
  }

  .folder {
    width: 48px;
    border-radius: 18px;
  }

  .mail-area {
    border-radius: 0;
    margin-right: 0;
  }

  .right-rail {
    display: none;
  }

  .message-row {
    height: auto;
    min-height: 58px;
    grid-template-columns: 22px 22px minmax(0, 1fr);
  }

  .message-main {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .message-meta {
    grid-column: 3;
    justify-content: flex-start;
  }

  .message-subject span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
