@font-face {
  font-family: DM;
  src: url(assets/dm-400.woff2);
}
@font-face {
  font-family: DM;
  src: url(assets/dm-500.woff2);
  font-weight: 500;
}
@font-face {
  font-family: DM;
  src: url(assets/dm-600.woff2);
  font-weight: 600;
}
@font-face {
  font-family: DM;
  src: url(assets/dm-700.woff2);
  font-weight: 700;
}
@font-face {
  font-family: Instrument;
  src: url(assets/instrument-400.woff2);
}
:root {
  color-scheme: light;
  --ink: #1c2335;
  --muted: #636c7a;
  --nav: #19233b;
  --blue: #465be1;
  --line: #e4e6eb;
  --serif: Instrument, Georgia, serif;
  --sans: DM, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --side: clamp(207px, 16.9vw, 272px);
  --list: clamp(300px, 27.8vw, 455px);
  font: 16px var(--sans);
  color: var(--ink);
  background: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  background: none;
  cursor: pointer;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #7288ff;
  outline-offset: 3px;
}
button:hover:not(:disabled) {
  filter: brightness(0.97);
}
.i {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon {
  width: 35px;
  height: 35px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #596477;
}
.icon:hover {
  background: #edf0f7;
}
.icon[aria-pressed="true"] {
  color: #a46b11;
  background: #fff2cf;
}
.icon[aria-pressed="true"] .i {
  fill: #ffdf8a;
}
.shell {
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: var(--side) minmax(0, 1fr);
  grid-template-rows: 66px minmax(0, 1fr) 65px;
  overflow: hidden;
}
.sidebar {
  grid-row: 1/3;
  background: linear-gradient(155deg, #1d2845 0, #182239 56%, #182138 100%);
  color: #e5e9f4;
  display: flex;
  flex-direction: column;
  min-height: 0;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 26px 23px 24px;
}
.brand img {
  width: 36px;
  border-radius: 10px;
  box-shadow: 0 3px 7px #080f2b33;
}
.wordmark {
  font: 42px/0.83 var(--serif);
  letter-spacing: -1.6px;
  color: white;
}
.brand small {
  font-size: 10px;
  letter-spacing: 1.3px;
  font-weight: 600;
  color: #b1bbd5;
  margin-top: 8px;
  display: block;
  text-transform: uppercase;
}
.brand .wordgroup {
  display: flex;
  align-items: end;
  gap: 9px;
}
.sidebar-body {
  overflow-y: auto;
  min-height: 0;
  flex: 1;
  padding: 2px 14px 18px;
  scrollbar-width: thin;
  scrollbar-color: #56617d transparent;
}
.compose {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  height: 42px;
  background: #dce4ff;
  color: #20325e;
  border: 1px solid #e8ecff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
  width: 100%;
  margin-bottom: 29px;
  box-shadow: 0 3px 9px #0f172240;
}
.sidebar-label {
  font-size: 0.72rem;
  letter-spacing: 1.4px;
  font-weight: 600;
  color: #a6b0c9;
  text-transform: uppercase;
  margin: 0 10px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.side-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #d4d9e8;
  text-align: left;
  border-radius: 7px;
  min-height: 37px;
  padding: 7px 10px;
  font-size: 0.88rem;
  margin: 2px 0;
}
.side-row .i {
  width: 17px;
  height: 17px;
  color: #aebbd8;
}
.side-row.active {
  color: #fff;
  background: #3a496e;
  font-weight: 600;
  box-shadow: inset 2px 0 #9eafff;
}
.side-row.active .i {
  color: #d2dcff;
}
.side-row:hover {
  background: #2b3754;
}
.num {
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  margin-left: auto;
  color: #b7c1d9;
}
.active .num {
  background: #536588;
  border-radius: 5px;
  padding: 1px 5px;
  color: white;
}
.account-group {
  border-top: 1px solid #ffffff20;
  margin-top: 21px;
  padding-top: 18px;
}
.mini-add {
  display: grid;
  place-items: center;
  color: #ccd4e9;
  width: 26px;
  height: 26px;
  border-radius: 5px;
}
.mini-add:hover {
  background: #ffffff12;
}
.mini-add .i {
  width: 15px;
  height: 15px;
}
.account-row {
  gap: 10px;
  padding: 8px 9px;
}
.account-row strong,
.account-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-row strong {
  font-size: 0.85rem;
  font-weight: 500;
}
.account-row small {
  color: #adbad3;
  font-size: 0.72rem;
  margin-top: 3px;
}
.account-row > span:last-child {
  min-width: 0;
}
.account-tile {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--tile);
  color: var(--tint);
}
.account-tile .i {
  color: inherit;
  width: 15px;
  height: 15px;
}
.blue {
  --tile: #dce5fc;
  --tint: #465bb1;
  --dot: #8297ed;
}
.sage {
  --tile: #d6e8df;
  --tint: #385f50;
  --dot: #81ad99;
}
.peach {
  --tile: #f5ded1;
  --tint: #87593e;
  --dot: #d49b7b;
}
.violet {
  --tile: #e9e0f6;
  --tint: #755c92;
  --dot: #ac93cb;
}
.rose {
  --tile: #f5dfdf;
  --tint: #934f5a;
  --dot: #cf979e;
}
.gold {
  --tile: #eee5c8;
  --tint: #766427;
  --dot: #c6ab67;
}
.identity {
  margin: 0 21px;
  min-height: 66px;
  border-top: 1px solid #ffffff21;
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile {
  display: grid;
  place-items: center;
  background: #3b4a70;
  color: #f4f6ff;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid #697698;
  border-radius: 50%;
  width: 33px;
  height: 33px;
}
.identity strong,
.identity small {
  display: block;
}
.identity strong {
  font-size: 0.84rem;
  font-weight: 500;
}
.identity small {
  font-size: 0.72rem;
  color: #a9b5cf;
  margin-top: 1px;
}
.topbar {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(18px, 2.1vw, 38px);
  gap: 18px;
  background: #fff;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--muted);
  white-space: nowrap;
}
.crumb .i {
  width: 17px;
}
.crumb strong {
  font-weight: 600;
  color: #303847;
}
.slash {
  color: #b4bac4;
}
.search {
  margin-left: auto;
  max-width: 290px;
  width: 33%;
  border: 1px solid #e0e3e9;
  border-radius: 8px;
  height: 34px;
  background: #fafbfc;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
}
.search > .i {
  width: 16px;
  color: #677184;
}
.search input {
  padding: 0;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 0.81rem;
}
.search:focus-within {
  outline: 2px solid #8595ee;
  outline-offset: 1px;
}
.search kbd {
  font: 11px var(--sans);
  color: #697383;
  border: 1px solid #dfe3e9;
  border-radius: 4px;
  padding: 1px 4px;
  white-space: nowrap;
  background: #fff;
}
.demo {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d8ddf0;
  color: #5266a9;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 600;
}
.demo b {
  width: 6px;
  height: 6px;
  background: #7a8add;
  border-radius: 100%;
}
.mobile-nav,
.mobile-back,
.backdrop {
  display: none;
}
main {
  display: grid;
  grid-template-columns: var(--list) minmax(0, 1fr);
  min-height: 0;
  min-width: 0;
}
.list-pane {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: #fafbfc;
}
.list-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 20px 11px;
}
.list-title h1 {
  font: clamp(29px, 2.1vw, 38px)/1.1 var(--serif);
  letter-spacing: -0.6px;
  margin: 0;
}
.list-title .count {
  font-size: 0.75rem;
  color: #687387;
  background: #edf0f4;
  border: 1px solid #e1e4eb;
  border-radius: 7px;
  padding: 3px 7px;
  font-variant-numeric: tabular-nums;
}
#list-head {
  padding-top: 23px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.filters {
  display: flex;
  gap: 16px;
  padding: 0 21px;
  overflow: auto;
  scrollbar-width: none;
}
.filters button {
  padding: 9px 0 11px;
  font-size: 0.8rem;
  white-space: nowrap;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.filters button.active {
  border-color: var(--blue);
  color: #3c50c0;
  font-weight: 600;
}
.filters button .i {
  width: 13px;
  height: 13px;
  margin: 0 3px 2px 0;
}
.message-list {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d6dae2 transparent;
}
.date-group {
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 1.35px;
  text-transform: uppercase;
  color: #69758a;
  padding: 14px 20px 8px;
  background: #f8f9fb;
  border-bottom: 1px solid #eceef2;
}
.mail-row {
  display: block;
  width: 100%;
  text-align: left;
  padding: 13px 18px 12px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: relative;
}
.mail-row:hover {
  background: #f7f8ff;
}
.mail-row.selected {
  background: #edf1ff;
  box-shadow: inset 3px 0 #596ce3;
}
.row-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.avatar {
  flex: none;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--tile);
  color: var(--tint);
  display: inline-grid;
  place-items: center;
  font-size: 0.7rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.sender {
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.unread .sender,
.unread .row-subject {
  font-weight: 700;
}
.mail-row time {
  margin-left: auto;
  color: #677389;
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  white-space: nowrap;
}
.unread-mark {
  background: #576ce2;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}
.row-subject {
  font-weight: 600;
  font-size: 0.91rem;
  line-height: 1.4;
  display: block;
  margin: 6px 0 2px;
}
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row-preview {
  font-size: 0.81rem;
  color: #626c7d;
  display: block;
  line-height: 1.5;
}
.row-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  font-size: 0.7rem;
  color: #697489;
}
.dot {
  width: 7px;
  height: 7px;
  background: var(--dot);
  border-radius: 100%;
  display: inline-block;
  flex: none;
}
.row-foot > .i {
  width: 12px;
  height: 12px;
  color: #78859a;
}
.row-foot > .starred {
  color: #aa791b;
  fill: #f4d38b;
}
.reader {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.reader-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 54px;
  padding: 0 clamp(18px, 2.3vw, 40px);
  border-bottom: 1px solid var(--line);
}
.mailbox-chip {
  font-size: 0.74rem;
  font-weight: 550;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f6f7fa;
  border: 1px solid #e1e4ea;
  border-radius: 6px;
  padding: 4px 8px;
}
.bar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
}
.bar-actions .i {
  width: 17px;
  height: 17px;
}
.divider {
  height: 18px;
  width: 1px;
  background: var(--line);
  margin: 0 4px;
}
.reader-scroll {
  overflow: auto;
  flex: 1;
  padding: clamp(22px, 2.2vw, 40px) clamp(22px, 3vw, 58px) 25px;
  scrollbar-width: thin;
}
.letter {
  max-width: 850px;
  margin: auto;
}
.subject {
  font: 400 clamp(36px, 3.55vw, 66px)/1.04 var(--serif);
  letter-spacing: -1.3px;
  margin: 0 0 21px;
  text-wrap: balance;
  color: #20283b;
}
.byline {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 20px;
}
.byline .avatar {
  width: 39px;
  height: 39px;
  font-size: 0.87rem;
}
.address {
  min-width: 0;
}
.address strong {
  display: block;
  font-size: 0.91rem;
  font-weight: 650;
}
.address small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.byline time {
  margin-left: auto;
  align-self: flex-start;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  white-space: nowrap;
}
.letter-body {
  font-size: 1rem;
  line-height: 1.55;
  color: #394152;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.letter-body p {
  margin: 0 0 10px;
}
.attachment {
  border: 1px solid #dddfe5;
  border-radius: 10px;
  overflow: hidden;
  margin: 17px 0 19px;
  background: #fff;
}
.photo {
  display: block;
  padding: 0;
  width: 100%;
  position: relative;
  background: #b67750;
}
.photo img {
  display: block;
  width: 100%;
  aspect-ratio: 2.7/1;
  object-fit: cover;
}
.zoom {
  position: absolute;
  right: 11px;
  bottom: 11px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: white;
  border: 1px solid #ffffff70;
  border-radius: 6px;
  background: #33261970;
}
.zoom .i {
  width: 15px;
  height: 15px;
}
.file-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
}
.file-bar > .i {
  width: 18px;
  color: #69758a;
}
.file-bar strong,
.file-bar small {
  display: block;
}
.file-bar strong {
  font-size: 0.78rem;
  font-weight: 600;
}
.file-bar small {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 2px;
}
.file-bar a {
  margin-left: auto;
  text-decoration: none;
}
.letter-actions {
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 21px;
}
.btn {
  border: 1px solid #dadde5;
  border-radius: 7px;
  min-height: 36px;
  padding: 7px 13px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  background: #fff;
  font-size: 0.84rem;
  font-weight: 550;
}
.btn .i {
  width: 16px;
  height: 16px;
}
.btn.reply {
  color: #3a4da7;
  background: #eff2ff;
  border-color: #d5dcfa;
}
.btn.primary {
  background: #4658d6;
  color: white;
  border-color: #4658d6;
}
.empty {
  height: 100%;
  min-height: 175px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  color: var(--muted);
}
.empty > .i {
  width: 28px;
  height: 28px;
}
.empty strong {
  font: 28px var(--serif);
  color: var(--ink);
}
.empty p {
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}
.dock {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid #dfe2e9;
  background: #f7f8fb;
  min-width: 0;
  padding: 0 20px;
  z-index: 6;
}
.dock-label {
  font-size: 0.78rem;
  color: #627086;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 19px;
  border-right: 1px solid #d9deea;
}
.dock-label .i {
  width: 17px;
}
.dock nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: auto;
  scrollbar-width: none;
  padding: 4px 0;
}
.project {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  border: 1px solid transparent;
  min-height: 37px;
  padding: 4px 12px 4px 6px;
  border-radius: 8px;
  color: #5a6375;
  font-size: 0.83rem;
  font-weight: 500;
}
.project.active {
  color: #333f88;
  background: white;
  border-color: #cdd4f1;
  box-shadow: 0 1px 4px #333d7610;
}
.project.active:after {
  content: "";
  width: 5px;
  height: 5px;
  background: #596bdf;
  border-radius: 50%;
  margin-left: 2px;
}
.pmark {
  width: 25px;
  height: 25px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  color: white;
  line-height: 1;
  flex: none;
}
.pmark.abrova {
  background: #495ad6;
}
.pmark.web {
  background: #32765f;
}
.pmark.mono {
  background: #9e5841;
}
.pmark svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
dialog {
  border: 1px solid #dce1ec;
  border-radius: 15px;
  box-shadow: 0 24px 100px #101d4240;
  width: min(510px, calc(100% - 24px));
  padding: 0;
  color: var(--ink);
  max-height: 90dvh;
}
dialog::backdrop {
  background: #17203965;
  backdrop-filter: blur(3px);
}
.modal-head {
  padding: 17px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  margin: 0;
  font: 32px var(--serif);
}
.modal-head .icon {
  margin-left: auto;
}
.form {
  padding: 20px 22px;
  display: grid;
  gap: 14px;
}
.form label {
  display: grid;
  gap: 5px;
  font-weight: 550;
  font-size: 0.82rem;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #d6dae3;
  border-radius: 7px;
  font-size: 0.9rem;
  background: white;
}
.form textarea {
  min-height: 145px;
  resize: vertical;
  line-height: 1.5;
}
.form p,
.form-note {
  font-size: 0.82rem;
  color: #687184;
  line-height: 1.5;
  margin: 0;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.form-actions .cancel {
  margin-right: auto;
}
.preview-dialog {
  width: min(980px, calc(100% - 28px));
}
.preview-dialog img {
  display: block;
  width: 100%;
  height: auto;
}
.preview-dialog .file-bar {
  padding: 14px 22px;
}
.notice {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  padding: 10px 17px;
  border-radius: 9px;
  background: #1a253e;
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 4px 18px #131c3222;
  text-align: center;
  max-width: 90vw;
}
.notice:empty {
  display: none;
}
@media (min-width: 1650px) {
  .reader-scroll {
    padding-top: 46px;
  }
  .mail-row {
    padding: 17px 24px;
  }
  .sidebar-body {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 1120px) {
  :root {
    --side: 193px;
    --list: 285px;
  }
  .brand {
    padding-left: 19px;
  }
  .sidebar-body {
    padding-left: 10px;
    padding-right: 10px;
  }
  .reader-scroll {
    padding: 22px;
  }
  .byline {
    flex-wrap: wrap;
  }
  .subject {
    font-size: 39px;
  }
  .byline time {
    font-size: 0.7rem;
  }
  .reader-bar {
    padding: 0 16px;
  }
  .account-row small {
    font-size: 0.67rem;
  }
}
@media (max-width: 940px) {
  :root {
    --list: clamp(270px, 36vw, 340px);
  }
  .shell {
    grid-template-columns: 1fr;
    grid-template-rows: 56px minmax(0, 1fr) 59px;
  }
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 260px;
    transform: translateX(-100%);
    visibility: hidden;
    z-index: 12;
  }
  .show-nav .sidebar {
    transform: translateX(0);
    visibility: visible;
  }
  .show-nav .backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: #111b35aa;
    z-index: 11;
  }
  .mobile-nav {
    display: inline-grid;
  }
  .topbar {
    padding: 0 14px;
    gap: 12px;
  }
  .search {
    width: 36%;
  }
  .reader-scroll {
    padding: 24px;
  }
  .dock {
    padding: 0 15px;
  }
  .subject {
    font-size: 40px;
  }
}
@media (max-width: 690px) {
  .shell {
    grid-template-rows: 53px minmax(0, 1fr) 62px;
  }
  .topbar {
    gap: 7px;
    padding: 0 10px;
  }
  .crumb {
    font-size: 0.82rem;
    gap: 4px;
    min-width: 0;
  }
  .crumb > .i,
  .crumb > span {
    display: none;
  }
  .crumb strong {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .search {
    width: auto;
    min-width: 0;
    max-width: 45%;
    height: 32px;
    padding: 0 7px;
    gap: 4px;
  }
  .search input {
    font-size: 0.78rem;
  }
  .search kbd {
    display: none;
  }
  .demo {
    font-size: 0.65rem;
    padding: 3px 6px;
  }
  .demo b {
    width: 5px;
    height: 5px;
  }
  main {
    display: block;
    overflow: hidden;
  }
  .list-pane,
  .reader {
    height: 100%;
    border: 0;
  }
  .reader {
    display: none;
  }
  .reading .reader {
    display: flex;
  }
  .reading .list-pane {
    display: none;
  }
  .mobile-back {
    display: inline-grid;
  }
  .reader-bar {
    padding: 0 12px;
    min-height: 49px;
  }
  .reader-scroll {
    padding: 23px 20px;
  }
  .subject {
    font-size: 40px;
  }
  .byline time {
    font-size: 0.68rem;
  }
  .byline {
    gap: 8px;
  }
  .dock {
    padding: 0 6px env(safe-area-inset-bottom);
    gap: 0;
    justify-content: center;
  }
  .dock-label {
    display: none;
  }
  .dock nav {
    gap: 3px;
    max-width: 100%;
  }
  .project {
    min-height: 38px;
    gap: 5px;
    font-size: 0.73rem;
    padding: 4px 6px;
  }
  .pmark {
    width: 22px;
    height: 22px;
  }
  .project.active:after {
    display: none;
  }
  .list-title {
    margin: 0 18px 7px;
  }
  .list-title h1 {
    font-size: 34px;
  }
  #list-head {
    padding-top: 18px;
  }
  .mail-row {
    padding: 12px 19px;
  }
  .row-meta .avatar {
    width: 26px;
    height: 26px;
  }
  .bar-actions {
    gap: 0;
  }
  .letter-actions {
    padding-bottom: 10px;
  }
  .photo img {
    aspect-ratio: 2.2/1;
  }
  .notice {
    bottom: 72px;
    width: max-content;
  }
  .form-actions .btn {
    font-size: 0.78rem;
  }
  .sidebar {
    padding-bottom: env(safe-area-inset-bottom);
  }
}
@media (max-width: 365px) {
  .project {
    font-size: 0.66rem;
  }
  .dock nav {
    gap: 1px;
  }
  .demo {
    display: none;
  }
  .byline time {
    width: 100%;
    margin: 0 0 0 47px;
  }
  .subject {
    font-size: 35px;
  }
}
.scope-clear {
  color: #c6d1ee;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 6px 0;
  font-size: 0.73rem;
}
.scope-clear .i {
  width: 13px;
  height: 13px;
}
.row-foot .starred .i {
  width: 12px;
  height: 12px;
  fill: #f4d38b;
  stroke: #aa791b;
}
.letter-actions {
  flex: none;
  padding: 11px clamp(22px, 3vw, 58px);
  margin: 0;
  background: white;
  min-height: 58px;
}
.drawer-close,
.mobile-compose {
  display: none;
}
.add-project {
  flex: none;
  border: 1px dashed #cbd1dc;
  width: 29px;
  height: 29px;
  margin: 0 2px;
  color: #758096;
}
.add-project .i {
  width: 15px;
  height: 15px;
}
.project {
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dock nav {
  min-width: 0;
}
@media (max-width: 940px) {
  .brand .drawer-close {
    display: inline-grid;
    margin-left: auto;
    color: #d4def2;
  }
  .brand .drawer-close:hover {
    background: #334566;
  }
  .mobile-compose {
    display: inline-grid;
    color: #3e51b6;
    background: #eff2ff;
    margin-left: 3px;
  }
  .list-title .count {
    margin-left: auto;
  }
}
@media (max-width: 690px) {
  .letter-actions {
    padding: 9px 18px;
    min-height: 54px;
  }
  .dock {
    justify-content: flex-start;
  }
  .dock nav {
    margin: auto;
  }
  .project {
    max-width: 145px;
  }
  .add-project {
    width: 23px;
    height: 26px;
    margin-left: 1px;
  }
}
.address {
  position: relative;
}
.address summary {
  list-style: none;
  cursor: pointer;
}
.address summary::-webkit-details-marker {
  display: none;
}
.address summary:focus-visible {
  outline: 2px solid #7288ff;
  outline-offset: 3px;
}
.address small .i {
  width: 12px;
  height: 12px;
}
.address-card {
  z-index: 2;
  position: absolute;
  top: 100%;
  left: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 12px;
  width: max-content;
  max-width: min(330px, 65vw);
  padding: 12px 14px;
  margin: 6px 0;
  background: white;
  box-shadow: 0 6px 26px #16224b24;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.8rem;
}
.address-card dt {
  color: var(--muted);
}
.address-card dd {
  margin: 0;
  overflow-wrap: anywhere;
}
