:root {
  color-scheme: dark;
  --bg: #0b0d14;
  --panel: #11141d;
  --panel-raised: #151925;
  --panel-soft: #191e2b;
  --line: rgba(179, 190, 219, 0.11);
  --line-strong: rgba(179, 190, 219, 0.18);
  --text: #f3f5fb;
  --muted: #8c94a8;
  --faint: #5d667b;
  --accent: #8b7cff;
  --accent-bright: #a99eff;
  --accent-soft: rgba(139, 124, 255, 0.15);
  --green: #6be0b4;
  --danger: #ff8999;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body { min-width: 320px; min-height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(ellipse at 14% 4%, rgba(92, 74, 201, 0.12), transparent 39%),
    radial-gradient(ellipse at 89% 91%, rgba(35, 144, 127, 0.065), transparent 32%),
    var(--bg);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.ambient {
  position: fixed;
  z-index: -1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .15;
  pointer-events: none;
}
.ambient-one { top: -190px; left: 9%; background: #6957e5; }
.ambient-two { right: -210px; bottom: -220px; background: #18a88d; opacity: .1; }

/* Shared brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f5f4ff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.045em;
}
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #c1b8ff;
  background: linear-gradient(145deg, rgba(139,124,255,.24), rgba(96,82,190,.12));
  border: 1px solid rgba(169,158,255,.25);
  border-radius: 11px;
}
.brand-mark svg { width: 20px; height: 20px; }

/* Sign-in */
.auth-screen {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 20px 24px;
}
.auth-card {
  width: min(100%, 440px);
  padding: 34px 38px 28px;
  background: linear-gradient(145deg, rgba(20, 23, 34, .97), rgba(16, 19, 29, .96));
  border: 1px solid rgba(180, 187, 214, .14);
  border-radius: 22px;
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .035);
  backdrop-filter: blur(18px);
}
.auth-brand { margin-bottom: 34px; }
.auth-intro { margin-bottom: 27px; }
.eyebrow, .topbar-kicker, .sidebar-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
}
.eyebrow { display: flex; align-items: center; gap: 9px; }
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 11px rgba(107, 224, 180, .56);
}
.auth-intro h1 {
  margin: 15px 0 10px;
  font-size: clamp(32px, 7vw, 40px);
  font-weight: 650;
  line-height: 1.07;
  letter-spacing: -.055em;
}
.auth-intro h1 span { color: #a79cff; }
.auth-intro p { margin: 0; color: var(--muted); line-height: 1.65; }
.auth-intro strong { color: #c5c9d8; font-weight: 550; }
.auth-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin: 0 0 23px;
  background: rgba(5, 7, 12, .48);
  border: 1px solid var(--line);
  border-radius: 11px;
}
.auth-tab {
  min-height: 36px;
  padding: 8px 12px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}
.auth-tab:hover { color: var(--text); }
.auth-tab.is-active {
  color: var(--text);
  background: #242839;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.045), 0 2px 7px rgba(0,0,0,.18);
}
.auth-form { display: flex; flex-direction: column; }
.field-label {
  margin: 0 0 8px;
  color: #cbd0de;
  font-size: 12px;
  font-weight: 560;
}
.auth-form input, .compose-field input, .compose-field textarea {
  width: 100%;
  color: var(--text);
  background: rgba(8, 10, 16, .63);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.auth-form input {
  height: 46px;
  padding: 0 13px;
  margin-bottom: 17px;
}
.auth-form input::placeholder, .compose-field input::placeholder, .compose-field textarea::placeholder { color: #626b80; }
.auth-form input:focus, .compose-field input:focus, .compose-field textarea:focus {
  background: rgba(10, 12, 19, .85);
  border-color: rgba(169, 158, 255, .7);
  box-shadow: 0 0 0 3px rgba(139, 124, 255, .12);
}
.input-wrap { position: relative; }
.input-wrap input { padding-left: 40px; }
.input-icon {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 14px;
  display: flex;
  height: 46px;
  align-items: center;
  color: #767e94;
  font-size: 15px;
}
.field-hint { margin: -9px 0 18px; color: var(--faint); font-size: 11px; line-height: 1.5; }
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 17px;
  color: #fff;
  font-weight: 620;
  background: var(--panel-soft);
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:active:not(:disabled) { transform: translateY(0); }
.button:disabled { cursor: wait; opacity: .64; }
.button-primary {
  background: linear-gradient(135deg, #8172f2, #6759d7);
  box-shadow: 0 7px 18px rgba(92, 75, 198, .22), inset 0 1px rgba(255,255,255,.14);
}
.button-primary:hover:not(:disabled) { background: linear-gradient(135deg, #9386ff, #7567e8); box-shadow: 0 9px 24px rgba(92, 75, 198, .31); }
.button-wide { width: 100%; min-height: 46px; margin-top: 2px; }
.button-wide span { font-size: 17px; font-weight: 400; }
.form-message {
  padding: 11px 12px;
  margin: 15px 0 0;
  color: #e4dfff;
  font-size: 12px;
  line-height: 1.5;
  background: rgba(139,124,255,.1);
  border: 1px solid rgba(139,124,255,.22);
  border-radius: 9px;
}
.form-message.is-error { color: #ffb7c0; background: rgba(255, 92, 119, .08); border-color: rgba(255, 137, 153, .2); }
.auth-footnote {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: 19px;
  margin: 20px 0 0;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.5;
  border-top: 1px solid var(--line);
}
.lock-icon { color: #8980c5; font-size: 9px; }
.auth-caption { margin: 20px 0 0; color: #646b7d; font-size: 11px; letter-spacing: .02em; }

/* Workspace */
.app-shell {
  display: grid;
  width: 100%;
  min-height: 100vh;
  grid-template-columns: 246px minmax(0, 1fr);
}
.sidebar {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: 25px 16px 17px;
  background: rgba(13, 15, 23, .82);
  border-right: 1px solid var(--line);
}
.sidebar-brand { padding: 0 9px; margin-bottom: 31px; }
.compose-launch { width: 100%; min-height: 45px; margin-bottom: 31px; }
.compose-plus { font-size: 19px; font-weight: 300; line-height: 1; }
.sidebar-label { padding: 0 11px; margin-bottom: 10px; color: #626a7e; font-size: 9px; }
.folder-nav { display: grid; gap: 4px; }
.folder-button {
  display: flex;
  width: 100%;
  min-height: 41px;
  align-items: center;
  gap: 11px;
  padding: 0 11px;
  color: #969db0;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  transition: color .16s ease, background .16s ease;
}
.folder-button:hover { color: #e9e9f3; background: rgba(255,255,255,.035); }
.folder-button.is-active { color: #e6e2ff; background: rgba(139,124,255,.13); border-color: rgba(139,124,255,.1); }
.folder-icon { width: 17px; color: #a79aff; font-size: 15px; text-align: center; }
.sent-icon { font-size: 20px; }
.folder-count {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 5px;
  margin-left: auto;
  color: #c9c2ff;
  font-size: 10px;
  background: rgba(139,124,255,.18);
  border-radius: 7px;
}
.sidebar-spacer { flex: 1; min-height: 35px; }
.sidebar-status { display: flex; align-items: center; gap: 8px; padding: 0 9px 16px; color: #777f92; font-size: 10px; }
.sidebar-status .status-dot { width: 6px; height: 6px; }
.account-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 11px 9px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--line);
  border-radius: 11px;
}
.account-avatar, .sender-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #cec7ff;
  font-weight: 650;
  background: linear-gradient(145deg, rgba(139,124,255,.28), rgba(95,83,175,.23));
  border: 1px solid rgba(169,158,255,.18);
  border-radius: 50%;
}
.account-avatar { width: 33px; height: 33px; font-size: 12px; }
.account-details { min-width: 0; flex: 1; }
.account-email { overflow: hidden; color: #e1e3ec; font-size: 11px; font-weight: 570; text-overflow: ellipsis; white-space: nowrap; }
.account-caption { margin-top: 4px; color: #697185; font-size: 9px; }
.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  color: #8b93a7;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  transition: color .16s ease, background .16s ease, border-color .16s ease;
}
.icon-button:hover { color: #e4e4ef; background: rgba(255,255,255,.055); border-color: var(--line); }
.icon-button svg { width: 18px; height: 18px; }
.logout-button { width: 30px; height: 30px; }
.logout-button svg { width: 17px; height: 17px; }

.mail-main { display: flex; min-width: 0; min-height: 100vh; flex-direction: column; }
.topbar {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 31px;
  border-bottom: 1px solid var(--line);
}
.topbar-kicker { color: #7f879a; font-size: 9px; }
.topbar-heading h1 { margin: 6px 0 0; font-size: 23px; font-weight: 620; letter-spacing: -.035em; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.search-box {
  display: flex;
  width: min(31vw, 270px);
  height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: #7e879a;
  background: rgba(9, 11, 17, .45);
  border: 1px solid var(--line);
  border-radius: 9px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.search-box:focus-within { border-color: rgba(169,158,255,.5); box-shadow: 0 0 0 3px rgba(139,124,255,.08); }
.search-box svg { width: 16px; height: 16px; flex: 0 0 auto; }
.search-box input { width: 100%; min-width: 0; color: #e4e6ef; background: transparent; border: 0; outline: 0; font-size: 11px; }
.search-box input::placeholder { color: #717a8f; }
.search-shortcut { color: #697185; font-size: 17px; }
.refresh-button { border-color: var(--line); background: rgba(255,255,255,.018); }
.mail-workspace { display: grid; min-height: 0; flex: 1; grid-template-columns: minmax(290px, 370px) minmax(0, 1fr); }
.message-list-panel {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  border-right: 1px solid var(--line);
}
.list-toolbar {
  display: flex;
  min-height: 59px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}
.list-count { color: #d8dae4; font-size: 11px; font-weight: 620; }
.list-subtitle { display: block; margin-top: 4px; color: #687185; font-size: 9px; }
.sort-label { padding: 6px 0 6px 6px; color: #7c8498; font-size: 9px; background: transparent; border: 0; white-space: nowrap; }
.sort-label span { color: #aaa2dc; }
.message-list { overflow: auto; flex: 1; padding: 7px; }
.message-row {
  display: block;
  width: 100%;
  padding: 13px 12px 12px;
  margin-bottom: 3px;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: background .14s ease, border-color .14s ease;
}
.message-row:hover { background: rgba(255,255,255,.035); }
.message-row.is-selected { background: rgba(139,124,255,.1); border-color: rgba(139,124,255,.18); }
.message-row.is-unread .row-sender, .message-row.is-unread .row-subject { color: #f0effb; font-weight: 650; }
.row-top, .row-bottom { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.row-sender { overflow: hidden; color: #c6cad7; font-size: 11px; font-weight: 540; text-overflow: ellipsis; white-space: nowrap; }
.row-date { flex: 0 0 auto; color: #6c7488; font-size: 9px; }
.row-subject { overflow: hidden; margin-top: 9px; color: #aeb4c3; font-size: 11px; font-weight: 540; text-overflow: ellipsis; white-space: nowrap; }
.row-preview { overflow: hidden; margin-top: 5px; color: #737c90; font-size: 10px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.unread-dot { width: 6px; height: 6px; flex: 0 0 auto; margin-right: 5px; background: var(--accent-bright); border-radius: 50%; box-shadow: 0 0 9px rgba(169,158,255,.35); }
.list-empty { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding: 28px; color: #778095; text-align: center; }
.empty-symbol { margin-bottom: 13px; color: #8d80e4; font-size: 25px; }
.list-empty strong { margin-bottom: 6px; color: #bdc1cf; font-size: 12px; font-weight: 570; }
.list-empty span:last-child { max-width: 180px; font-size: 10px; line-height: 1.5; }

.message-reader { min-width: 0; min-height: 0; overflow: auto; background: rgba(14, 16, 24, .24); }
.reader-empty { display: flex; min-height: 450px; height: 100%; flex-direction: column; align-items: center; justify-content: center; padding: 30px; text-align: center; }
.reader-empty-icon { display: grid; width: 80px; height: 80px; place-items: center; color: #7771aa; background: radial-gradient(circle, rgba(139,124,255,.12), rgba(139,124,255,.025) 68%); border: 1px solid rgba(139,124,255,.09); border-radius: 25px; }
.reader-empty-icon svg { width: 56px; height: 56px; }
.reader-empty h2 { margin: 20px 0 7px; color: #c9ccd8; font-size: 15px; font-weight: 570; }
.reader-empty p { max-width: 240px; margin: 0; color: #737c90; font-size: 11px; line-height: 1.65; }
.reader-message { padding: 27px clamp(20px, 4vw, 48px) 40px; }
.reader-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.reader-status { display: flex; min-width: 0; align-items: center; gap: 12px; }
.reader-reply { min-height: 32px; padding: 0 12px; color: #d8d3ff; font-size: 10px; background: rgba(139,124,255,.12); border-color: rgba(139,124,255,.2); border-radius: 8px; }
.reader-reply:hover:not(:disabled) { background: rgba(139,124,255,.2); }
#reader-reply[hidden] { display: none; }
.reader-folder-tag { padding: 6px 8px; color: #b8afff; font-size: 8px; font-weight: 720; letter-spacing: .12em; background: rgba(139,124,255,.1); border: 1px solid rgba(139,124,255,.12); border-radius: 6px; }
.reader-date { color: #727b90; font-size: 10px; }
.reader-subject { margin: 22px 0 19px; color: #f0f1f7; font-size: clamp(19px, 2.2vw, 25px); font-weight: 610; line-height: 1.3; letter-spacing: -.035em; overflow-wrap: anywhere; }
.sender-line { display: flex; align-items: center; gap: 11px; }
.sender-avatar { width: 36px; height: 36px; font-size: 12px; }
.sender-meta { display: grid; gap: 4px; min-width: 0; }
.sender-meta strong { overflow: hidden; color: #d6d9e4; font-size: 11px; font-weight: 570; text-overflow: ellipsis; }
.sender-meta span { overflow: hidden; color: #747d91; font-size: 10px; text-overflow: ellipsis; }
.reader-divider { height: 1px; margin: 22px 0; background: var(--line); }
.reader-body {
  max-width: 850px;
  margin: 0;
  color: #c7cbd7;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.main-footer { display: flex; min-height: 35px; align-items: center; gap: 8px; padding: 0 24px; color: #5f687c; font-size: 9px; border-top: 1px solid var(--line); }
.main-footer .status-dot { width: 5px; height: 5px; }
.footer-separator { color: #343b4d; }

/* Compose dialog / notices */
.compose-dialog {
  width: min(620px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 28px));
  padding: 0;
  color: var(--text);
  background: #141722;
  border: 1px solid rgba(179,190,219,.18);
  border-radius: 17px;
  box-shadow: 0 36px 100px rgba(0,0,0,.58);
}
.compose-dialog::backdrop { background: rgba(2, 3, 8, .73); backdrop-filter: blur(5px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 23px 16px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { margin: 6px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.dialog-close { width: 30px; height: 30px; font-size: 21px; font-weight: 300; }
.compose-form { display: flex; flex-direction: column; }
.compose-field { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 12px; padding: 13px 23px; border-bottom: 1px solid var(--line); }
.compose-field > span { color: #929aae; font-size: 11px; }
.compose-field small { display: block; margin-top: 4px; color: #5e687c; font-size: 9px; }
.compose-field input { height: 34px; padding: 0 10px; font-size: 11px; background: rgba(7,9,14,.44); border-radius: 7px; }
.compose-body-field { align-items: start; border-bottom: 0; }
.compose-body-field > span { padding-top: 8px; }
.compose-field textarea { min-height: 210px; padding: 11px; resize: vertical; font-size: 12px; line-height: 1.65; background: rgba(7,9,14,.44); border-radius: 7px; }
.dialog-footer { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 23px; border-top: 1px solid var(--line); }
.compose-status { min-width: 0; color: #ffabb5; font-size: 10px; line-height: 1.45; }
.dialog-footer .button { min-height: 38px; font-size: 11px; }
.toast {
  position: fixed;
  z-index: 10;
  right: 22px;
  bottom: 22px;
  max-width: min(420px, calc(100vw - 36px));
  padding: 13px 16px;
  color: #e7e5ff;
  background: #24253a;
  border: 1px solid rgba(169,158,255,.28);
  border-radius: 10px;
  box-shadow: 0 14px 45px rgba(0,0,0,.38);
  font-size: 12px;
  line-height: 1.5;
  animation: toast-in .18s ease-out;
}
.toast.is-error { color: #ffc0c8; background: #311d29; border-color: rgba(255,137,153,.24); }
@keyframes toast-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

:focus-visible { outline: 2px solid rgba(169,158,255,.82); outline-offset: 2px; }

@media (max-width: 900px) {
  .app-shell { grid-template-columns: 210px minmax(0, 1fr); }
  .topbar { padding-right: 20px; padding-left: 20px; }
  .mail-workspace { grid-template-columns: minmax(265px, 330px) minmax(0, 1fr); }
  .search-box { width: 220px; }
}

@media (max-width: 680px) {
  .auth-card { padding: 28px 24px 23px; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    min-height: auto;
    flex-direction: row;
    align-items: center;
    gap: 13px;
    padding: 10px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar-brand { margin: 0 auto 0 0; padding: 0; font-size: 15px; }
  .sidebar-brand .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
  .compose-launch { width: auto; min-height: 37px; padding: 0 12px; margin: 0; font-size: 11px; }
  .compose-plus { font-size: 16px; }
  .sidebar-label, .sidebar-spacer, .sidebar-status, .account-caption { display: none; }
  .folder-nav { display: flex; gap: 3px; }
  .folder-button { width: auto; min-height: 36px; gap: 6px; padding: 0 9px; font-size: 10px; white-space: nowrap; }
  .folder-icon { width: auto; font-size: 13px; }
  .sent-icon { font-size: 17px; }
  .account-card { gap: 6px; padding: 4px; background: transparent; border: 0; }
  .account-avatar { width: 30px; height: 30px; }
  .account-details, .logout-button { display: none; }
  .mail-main { min-height: calc(100vh - 53px); }
  .topbar { min-height: 76px; gap: 8px; padding: 13px 15px; }
  .topbar-heading h1 { font-size: 19px; }
  .topbar-kicker { font-size: 8px; }
  .topbar-actions { gap: 5px; }
  .search-box { width: min(40vw, 180px); height: 35px; gap: 5px; padding: 0 7px; }
  .search-shortcut { display: none; }
  .search-box input { font-size: 10px; }
  .refresh-button { width: 34px; height: 34px; }
  .mail-workspace { display: flex; flex-direction: column; }
  .message-list-panel { min-height: 43vh; border-right: 0; border-bottom: 1px solid var(--line); }
  .list-toolbar { min-height: 48px; padding: 0 15px; }
  .message-list { max-height: 34vh; }
  .message-reader { min-height: 32vh; }
  .reader-empty { min-height: 280px; }
  .reader-message { padding: 20px 18px 30px; }
  .reader-subject { font-size: 20px; }
  .main-footer { min-height: 31px; padding: 0 15px; }
}

@media (max-width: 430px) {
  .sidebar { gap: 7px; padding: 9px 9px; }
  .sidebar-brand { gap: 6px; font-size: 13px; }
  .sidebar-brand .brand-mark { width: 27px; height: 27px; }
  .compose-launch { gap: 5px; min-height: 34px; padding: 0 8px; font-size: 10px; }
  .folder-button { gap: 4px; padding: 0 7px; font-size: 9px; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .topbar-actions { width: 100%; }
  .search-box { width: auto; flex: 1; }
  .message-list-panel { min-height: 40vh; }
  .message-list { max-height: 32vh; }
  .compose-field { grid-template-columns: 58px minmax(0,1fr); gap: 8px; padding-right: 15px; padding-left: 15px; }
  .dialog-header { padding-right: 16px; padding-left: 16px; }
  .dialog-footer { padding-right: 16px; padding-left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
