/* SanalMail — "posta ayrıştırma rafı": her adres, renkli sekmesi olan bir göz. */

:root {
  --paper: #edf0f4;
  --surface: #ffffff;
  --surface-2: #f6f7fa;
  --ink: #141b26;
  --muted: #5b6576;
  --faint: #8a93a3;
  --line: #d8dee7;
  --accent: #2433c7;
  --accent-ink: #ffffff;
  --accent-soft: #e6e9fb;
  --post: #f5c518;
  --post-soft: #fff4c7;
  --danger: #c62f2f;
  --danger-soft: #fdeaea;
  --shadow: 0 1px 2px rgb(20 27 38 / 0.06), 0 8px 24px rgb(20 27 38 / 0.08);

  --tag-blue: #3b6fe0;
  --tag-teal: #129a9a;
  --tag-green: #2f9e55;
  --tag-amber: #d99a0b;
  --tag-orange: #e06a1b;
  --tag-red: #d93a3a;
  --tag-pink: #d6458f;
  --tag-violet: #7a4fd6;
  --tag-slate: #66758a;

  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --radius: 10px;
  --radius-sm: 6px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #0f131a;
    --surface: #161b24;
    --surface-2: #1b212c;
    --ink: #e7eaf0;
    --muted: #9aa3b2;
    --faint: #6d7686;
    --line: #29303d;
    --accent: #8d9bff;
    --accent-ink: #0f131a;
    --accent-soft: #232a4a;
    --post: #e9b824;
    --post-soft: #2e2810;
    --danger: #ff7b7b;
    --danger-soft: #3a1c1f;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.35);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --paper: #0f131a;
  --surface: #161b24;
  --surface-2: #1b212c;
  --ink: #e7eaf0;
  --muted: #9aa3b2;
  --faint: #6d7686;
  --line: #29303d;
  --accent: #8d9bff;
  --accent-ink: #0f131a;
  --accent-soft: #232a4a;
  --post: #e9b824;
  --post-soft: #2e2810;
  --danger: #ff7b7b;
  --danger-soft: #3a1c1f;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.45 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.mono {
  font-family: var(--font-mono);
}

/* ---------- Marka ---------- */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 9px);
  gap: 2px;
  padding: 5px;
  border-radius: 7px;
  background: var(--accent);
}
.brand-mark i {
  height: 8px;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.5);
}
.brand-mark i:first-child {
  background: var(--post);
}
.brand-name {
  font: 700 19px/1 var(--font-display);
  letter-spacing: -0.02em;
}
.brand-lg .brand-mark {
  grid-template-columns: repeat(2, 13px);
  gap: 3px;
  padding: 7px;
  border-radius: 10px;
}
.brand-lg .brand-mark i {
  height: 11px;
}
.brand-lg .brand-name {
  font-size: 28px;
}

/* ---------- Butonlar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: none;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.btn-sm {
  height: 30px;
  padding: 0 10px;
  font-size: 13px;
}
.btn-block {
  width: 100%;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  filter: brightness(1.08);
}
.btn-quiet {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.btn-quiet:hover {
  background: var(--surface-2);
}
.btn-danger {
  background: var(--danger);
  color: #fff;
}
.btn-danger-quiet {
  color: var(--danger);
  padding-left: 0;
}
.btn-danger-quiet:hover {
  text-decoration: underline;
}
.btn:disabled {
  opacity: 0.55;
  cursor: progress;
}

.btn-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--muted);
  cursor: pointer;
}
.btn-icon:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.btn-icon.danger:hover {
  background: var(--danger-soft);
  color: var(--danger);
}
.btn-icon[aria-pressed='true'] {
  color: var(--tag-amber);
}
.btn-icon[aria-pressed='true'] svg {
  fill: currentColor;
}

.spacer {
  flex: 1;
}

/* ---------- Giriş ---------- */

.login {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    repeating-linear-gradient(90deg, transparent 0 63px, var(--line) 63px 64px);
}
.login-card {
  width: min(380px, 100%);
  padding: 32px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.login-lead {
  margin: 14px 0 24px;
  color: var(--muted);
}

/* ---------- Form alanları ---------- */

.field {
  display: grid;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.field > span,
.field > legend {
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.field em {
  font-style: normal;
  font-weight: 400;
  color: var(--faint);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.field textarea {
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-error {
  margin: 0 0 14px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 14px;
}
.hint {
  margin: -6px 0 16px;
  color: var(--faint);
  font-size: 13px;
}

.address-input {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}
.address-input:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field .address-input input,
.field .address-input select {
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--font-mono);
  font-size: 14px;
}
.field .address-input input {
  flex: 1 1 50%;
}
.field .address-input select {
  flex: 0 1 auto;
  width: auto;
  max-width: 55%;
  background: var(--surface-2);
}
.address-input .at {
  display: grid;
  place-items: center;
  padding: 0 4px;
  background: var(--surface-2);
  color: var(--muted);
  font-family: var(--font-mono);
}
#random-btn {
  margin: -6px 0 18px;
}

.colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.colors label {
  position: relative;
  cursor: pointer;
}
.colors input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.colors span {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.25);
}
.colors input:checked + span {
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--c);
}
.colors input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-weight: 600;
  cursor: pointer;
}
.switch input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

/* ---------- Uygulama yerleşimi ---------- */

.app {
  display: grid;
  grid-template-columns: 280px minmax(320px, 420px) 1fr;
  height: 100%;
}

/* ---------- Kenar çubuğu: adres rafı ---------- */

.sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid var(--line);
  background: var(--paper);
}
.sidebar-head {
  display: grid;
  gap: 18px;
  padding: 18px 16px 14px;
}
.boxes {
  display: grid;
  gap: 2px;
  padding: 0 10px 12px;
  border-bottom: 1px solid var(--line);
}
.box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  text-align: left;
  font-weight: 500;
  cursor: pointer;
}
.box:hover {
  background: var(--surface-2);
}
.box[aria-current='true'] {
  background: var(--surface);
  box-shadow: var(--shadow);
}
.box-name {
  flex: 1;
}
.count {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 20px;
  background: var(--post);
  color: #141b26;
  font: 600 12px/18px var(--font-mono);
  text-align: center;
}
.count:empty {
  display: none;
}

.rack-head {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rack-total {
  font-family: var(--font-mono);
  letter-spacing: 0;
}
.rack-filter {
  margin: 0 12px 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 13px;
}

.rack {
  flex: 1;
  margin: 0;
  padding: 0 10px 12px;
  list-style: none;
  overflow-y: auto;
}

/* Bir "göz": solda adresin rengiyle bir sekme, içinde etiket ve adres. */
.slot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 4px;
  padding: 8px 10px 8px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: none;
  text-align: left;
  cursor: pointer;
}
.slot::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 2px;
  background: var(--c);
}
.slot:hover {
  background: var(--surface-2);
}
.slot[aria-current='true'] {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.slot.is-off {
  opacity: 0.55;
}
.slot-text {
  display: grid;
  flex: 1;
  min-width: 0;
}
.slot-label {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.slot-addr {
  overflow: hidden;
  color: var(--muted);
  font: 12px/1.4 var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.slot-off {
  color: var(--faint);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.rack-empty {
  margin: 4px 10px;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
}

.sidebar-foot {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
}

/* ---------- Mail listesi ---------- */

.list-pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid var(--line);
  background: var(--surface);
}
.list-head {
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--line);
}
.list-title-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.list-title-wrap {
  flex: 1;
  min-width: 0;
}
.list-head h1 {
  margin: 0;
  overflow: hidden;
  font: 700 24px/1.15 var(--font-display);
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.list-subtitle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.list-subtitle:empty {
  display: none;
}
.copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font: 13px/1.4 var(--font-mono);
  cursor: pointer;
}
.copy-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.copy-chip svg {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.copy-chip:hover {
  border-color: var(--accent);
}
.list-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.search {
  flex: 1 1 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.search:focus {
  border-color: var(--accent);
  outline: none;
  background: var(--surface);
}
.segmented {
  display: inline-flex;
  padding: 2px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.segmented button {
  height: 26px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.segmented button[aria-pressed='true'] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgb(20 27 38 / 0.12);
}
#read-all-btn {
  margin-left: auto;
}

.messages {
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
}
.msg {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  width: 100%;
  padding: 12px 18px 12px 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
  cursor: pointer;
}
.msg:hover {
  background: var(--surface-2);
}
.msg[aria-current='true'] {
  background: var(--post-soft);
}
.msg[aria-current='true']::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--post);
}
.msg-unread-dot {
  position: absolute;
  left: 9px;
  top: 19px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.msg-from {
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.msg.is-unread .msg-from,
.msg.is-unread .msg-subject {
  font-weight: 700;
}
.msg-time {
  color: var(--muted);
  font: 12px/1.6 var(--font-mono);
  white-space: nowrap;
}
.msg-subject {
  grid-column: 1 / -1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.msg-snippet {
  grid-column: 1 / -1;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.msg-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--faint);
}
.msg-foot svg {
  width: 14px;
  height: 14px;
}
.msg-foot .star {
  color: var(--tag-amber);
}
.msg-foot .star svg {
  fill: currentColor;
}

/* Adres etiketi: birleşik kutuda hangi adrese geldiğini gösterir. */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
  padding: 1px 8px 1px 0;
  border-radius: 4px;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  color: var(--ink);
  font: 12px/18px var(--font-mono);
  overflow: hidden;
}
.tag::before {
  content: '';
  flex: none;
  align-self: stretch;
  width: 4px;
  background: var(--c);
}
.tag span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty {
  flex: 1;
  padding: 48px 28px;
  text-align: center;
  color: var(--muted);
}
.empty h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font: 700 18px/1.3 var(--font-display);
}
.empty p {
  margin: 0 auto 18px;
  max-width: 300px;
}
.load-more {
  margin: 14px auto;
}

/* ---------- Okuma alanı ---------- */

.reader-pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: var(--paper);
}
.reader-empty {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  height: 100%;
  color: var(--muted);
}
.slots {
  display: grid;
  grid-template-columns: repeat(3, 44px);
  gap: 6px;
}
.slots i {
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}
.slots i:nth-child(2) {
  border-color: var(--post);
  background: var(--post-soft);
}

.reader {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.reader-head {
  padding: 12px 28px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.reader-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 -8px 8px;
}
.reader-subject {
  margin: 0 0 14px;
  font: 700 26px/1.2 var(--font-display);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.reader-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
}
.from {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  min-width: 0;
}
.from-name {
  font-weight: 600;
}
.from-addr {
  color: var(--muted);
  font: 13px var(--font-mono);
  overflow-wrap: anywhere;
}
.reader-date {
  color: var(--muted);
  font: 13px var(--font-mono);
}
.reader-to {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.to-label {
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 8px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--post-soft);
  font-size: 13px;
}

.reader-body {
  flex: 1;
  min-height: 0;
  padding: 16px;
}
#reader-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0 16px 16px;
  list-style: none;
}
.attachment {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 280px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
}
a.attachment:hover {
  border-color: var(--accent);
}
.attachment-name {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attachment-size {
  color: var(--muted);
  font-family: var(--font-mono);
  white-space: nowrap;
}

/* ---------- Diyaloglar ---------- */

.dialog {
  width: min(460px, calc(100% - 32px));
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.dialog-sm {
  width: min(400px, calc(100% - 32px));
}
.dialog::backdrop {
  background: rgb(15 19 26 / 0.45);
}
.dialog h2 {
  margin: 0 0 6px;
  font: 700 22px/1.2 var(--font-display);
  letter-spacing: -0.02em;
}
.dialog-lead {
  margin: 0 0 20px;
  color: var(--muted);
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}
.edit-address {
  margin: 0 0 18px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* "Adresin hazır": adres, rafa takılan bir etiket gibi büyük gösterilir. */
.created-address {
  position: relative;
  margin: 0 0 20px;
  padding: 18px 18px 18px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  font: 500 clamp(16px, 4.6vw, 21px) / 1.3 var(--font-mono);
  overflow-wrap: anywhere;
}
.created-address::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 14px;
  bottom: 14px;
  width: 5px;
  border-radius: 3px;
  background: var(--c, var(--accent));
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s, transform 0.18s;
}
.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

.only-mobile {
  display: none;
}

/* ---------- Dar ekranlar ---------- */

@media (max-width: 1100px) {
  .app {
    grid-template-columns: 250px minmax(300px, 360px) 1fr;
  }
}

@media (max-width: 860px) {
  .app {
    display: block;
    position: relative;
    overflow: hidden;
  }
  .sidebar,
  .list-pane,
  .reader-pane {
    position: absolute;
    inset: 0;
    border: 0;
  }
  .app[data-pane='nav'] .list-pane,
  .app[data-pane='nav'] .reader-pane,
  .app[data-pane='list'] .sidebar,
  .app[data-pane='list'] .reader-pane,
  .app[data-pane='read'] .sidebar,
  .app[data-pane='read'] .list-pane {
    display: none;
  }
  .only-mobile {
    display: inline-grid;
  }
  .list-head {
    padding: 12px 16px;
  }
  .msg {
    padding-left: 22px;
    padding-right: 16px;
  }
  .reader-head {
    padding: 8px 16px 14px;
  }
  .reader-subject {
    font-size: 21px;
  }
  .banner {
    padding: 8px 16px;
  }
  .reader-body {
    padding: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .toast {
    transition: none;
  }
}
