@charset "UTF-8";
:root {
  color-scheme: light;
  --ink:#3b3939;
  --muted:#625e58;
  --line:#e7e1da;
  --surface:#faf5ef;
  --accent:#20765b;
  --tint:#d4e8e2;
  --action: #fd8231;
  --on-action: #2b2a2a;
  --sidebar:220px;
  font:
    15px/1.45 Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--surface);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
button,
summary {
  cursor: pointer;
}
button {
  background: none;
  border: 0;
}
summary {
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
.attach-button:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
p {
  margin: 0;
}
.icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 9px;
  color: var(--muted);
  flex: none;
}
.icon-button:hover,
summary:hover {
  background: #efe9e2;
}
.topbar {
  min-height: 76px;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 700px) 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 24px 0 16px;
}
.brand-area,
.brand,
.account-controls,
.search,
.page-tools,
.reader-tools,
.reply-actions,
.attachments,
.compose-head,
.compose-footer,
.address-line,
.peer,
.sender-line,
.quick-moves,
.text-action {
  display: flex;
  align-items: center;
}
.brand-area {
  padding-left: 8px;
}
.brand {
  font-size: 22px;
  letter-spacing: -1px;
  font-weight: 680;
  gap: 5px;
}
.brand > svg {
  width: 34px;
  height: 34px;
  margin-right: 6px;
}
.brand span {
  font-weight: 400;
  color: #68625d;
}
.account-controls {
  justify-content: flex-end;
  gap: 13px;
}
.search {
  height: 44px;
  gap: 6px;
  padding: 0 10px;
  background: #eee8e1;
  border-radius: 16px;
}
.search:focus-within {
  background: white;
  box-shadow: 0 0 0 2px #52b797;
}
.search input {
  min-width: 0;
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 8px 0;
}
.search input:focus-visible {
  outline: none;
}
.search .icon-button {
  width: 30px;
}
.account,
.actions,
.compose-options {
  position: relative;
}
.avatar {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #e1eeeb;
  color: #345e55;
  width: 30px;
  height: 30px;
  flex: none;
  font-size: 12px;
  font-weight: 650;
}
.user-avatar {
  width: 36px;
  height: 36px;
  background: #d4e8e2;
  color: #175c46;
  font-size: 15px;
}
.account > summary {
  border-radius: 50%;
}
.popup {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 6;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  min-width: 210px;
  box-shadow: 0 8px 30px #342b2220;
}
.popup strong,
.popup > a,
.popup form > button,
.popup > button {
  display: block;
  width: 100%;
  text-align: left;
  border-radius: 6px;
  padding: 8px;
  font-size: 14px;
}
.popup strong {
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--line);
  margin-bottom: 5px;
}
.popup a:hover,
.popup button:hover {
  background: var(--surface);
}
.nav-toggle {
  display: none;
}
.shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  gap: 16px;
  padding: 0 16px 16px;
}
.shell > aside {
  padding: 4px 0;
}
.write-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  background: var(--action);
  color: var(--on-action);
  font-weight: 610;
  border-radius: 15px;
  min-height: 49px;
  padding: 0 22px;
  margin: 0 0 21px 5px;
}
.write-button:hover,
.send-button:hover {
  background: #ffad65;
}
.folders {
  display: grid;
  gap: 3px;
}
.folders a {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 14px;
  min-height: 38px;
  overflow-wrap: anywhere;
}
.folders a:hover {
  background: #f2ece4;
}
.folders a[aria-current] {
  background: var(--tint);
  color: #175c46;
  font-weight: 650;
}
.folders .icon {
  width: 18px;
  height: 18px;
}
.count {
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.custom-folders {
  position: relative;
  border-top: 1px solid var(--line);
  margin: 17px 0 0;
  padding-top: 14px;
}
.custom-folders h2 {
  font-size: 13px;
  color: var(--muted);
  padding: 5px 14px 9px;
  font-weight: 600;
}
.create-folder > summary {
  position: absolute;
  top: 10px;
  right: 4px;
  width: 30px;
  height: 30px;
}
.folder-form {
  display: grid;
  gap: 6px;
  font-size: 13px;
  padding: 8px;
}
.folder-form input,
.compose-options input {
  width: 100%;
  border: 1px solid #cdc8c0;
  border-radius: 6px;
  padding: 7px;
}
.small-button {
  background: var(--tint);
  color: var(--accent);
  padding: 7px 12px;
  border-radius: 7px;
}
.mail-panel {
  min-height: calc(100dvh - 92px);
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
.panel-head,
.reader-tools {
  padding: 17px 24px;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.panel-head h1,
.reader h1 {
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -.8px;
  line-height: 1.25;
  font-weight: 650;
}
.panel-head small,
.page-tools,
.reader time {
  font-size: 12px;
  color: var(--muted);
}
.page-tools {
  gap: 10px;
  font-variant-numeric: tabular-nums;
}
.row-grid {
  display: grid;
  grid-template-columns: minmax(120px, 29%) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 0 24px 0 52px;
}
.column-head {
  border-block: 1px solid var(--line);
  background: #fcfaf7;
  color: var(--muted);
  min-height: 33px;
  font-size: 12px;
}
.message-list,
.thread ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.message-row {
  min-height: 53px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.message-row:hover {
  background: #f8f6f0;
}
.peer {
  gap: 10px;
  min-width: 0;
}
.peer > span:last-child,
.subject {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.subject small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
.message-row time {
  font-size: 12px;
  color: var(--muted);
}
.unread .subject,
.unread .peer > span:last-child,
.unread time {
  font-weight: 650;
  color: var(--ink);
}
.mail-item {
  position: relative;
}
.flag-form {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}
.star-button {
  color: #78716b;
  width: 32px;
  height: 32px;
}
.star-button .icon {
  width: 16px;
  height: 16px;
}
.star-button[aria-pressed=true] {
  color: #a46a00;
}
.star-button[aria-pressed=true] svg {
  fill: #ffd952;
}
.paper {
  background: #d4e8e2;
  color: var(--accent);
}
.paper .icon {
  width: 15px;
}
.empty {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 70px 15px;
  color: var(--muted);
  text-align: center;
}
.empty > .icon {
  width: 44px;
  height: 44px;
  stroke-width: 1.2;
  color: #789288;
}
.owner {
  color: var(--muted);
  padding: 12px 24px 0;
}
.reader-tools {
  justify-content: initial;
  min-height: 60px;
  border-bottom: 1px solid var(--line);
  padding-block: 10px;
}
.text-action {
  gap: 10px;
  font-size: 14px;
  margin-right: auto;
}
.text-action:hover,
.thread a:hover {
  text-decoration: underline;
}
.quick-moves {
  gap: 2px;
}
.reader {
  padding: 28px clamp(18px, 4vw, 55px);
  overflow-wrap: anywhere;
}
.reader h1 {
  margin-bottom: 24px;
}
.sender-line {
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
}
.sender-line time {
  margin-left: auto;
  white-space: nowrap;
}
.sender-line .avatar {
  width: 36px;
  height: 36px;
}
.addresses summary {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: 12px;
  border-radius: 4px;
}
.addresses .icon {
  width: 14px;
  height: 14px;
}
.addresses div {
  font-size: 13px;
  margin-top: 6px;
}
.letter-body {
  max-width: 78ch;
  overflow-wrap: anywhere;
  overflow-x: auto;
  line-height: 1.62;
  margin: 25px 0 30px;
}
.letter-body p, .letter-body ul, .letter-body ol { margin: 0 0 .85em; }
.letter-body p:last-child { margin-bottom: 0; }
.letter-body h1, .letter-body h2, .letter-body h3 { line-height: 1.25; margin: .85em 0 .35em; }
.letter-body h1 { font-size: 1.45em; }
.letter-body h2 { font-size: 1.25em; }
.letter-body a { color: var(--green, #17634c); text-decoration: underline; text-underline-offset: .16em; }
.letter-body a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.letter-body blockquote { margin: .7em 0; padding-inline-start: 1em; border-inline-start: 3px solid var(--line); }
.letter-body .plain-lines, .letter-body pre { white-space: pre-wrap; }
.letter-body table { border-collapse: collapse; max-width: 100%; }
.letter-body td, .letter-body th { vertical-align: top; padding-inline-end: .45em; }

.attachments,
.reply-actions {
  flex-wrap: wrap;
  gap: 8px;
}
.attachments a,
.reply-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
}
.attachments a:hover,
.reply-actions a:hover {
  background: var(--surface);
}
.reply-actions {
  margin-top: 26px;
}
.delivery,
.thread {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}
.thread {
  padding: 14px 24px;
  border-top: 1px solid var(--line);
}
.thread h2 {
  font-size: 16px;
}
.thread a {
  display: block;
  padding: 4px 0;
}
.composer {
  position: fixed;
  bottom: 0;
  right: 30px;
  z-index: 8;
  width: min(550px, calc(100vw - 32px));
  max-height: calc(100dvh - 20px);
  display: flex;
  flex-direction: column;
  border: 1px solid #d5cec4;
  border-radius: 15px 15px 0 0;
  background: white;
  box-shadow: 0 12px 52px #33291c2e, 0 3px 12px #33291c15;
}
.compose-head {
  background: #e5f1eb;
  justify-content: space-between;
  padding: 5px 12px 5px 19px;
  min-height: 44px;
  border-radius: inherit;
}
.compose-head h2 {
  font-size: 15px;
  font-weight: 650;
}
.compose-head .icon-button {
  width: 30px;
  height: 30px;
}
.compose-head .icon {
  width: 17px;
}
.composer form#compose {
  display: flex;
  min-height: 0;
  flex-direction: column;
}
.compose-fields {
  padding: 0 20px;
  overflow: auto;
  min-height: 0;
}
.address-line,
.subject-line {
  min-height: 42px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.address-line {
  gap: 9px;
}
.address-line > label {
  color: var(--muted);
  white-space: nowrap;
}
.address-line input,
.subject-line input,
.compose-fields textarea {
  min-width: 0;
  background: none;
  border: 0;
  border-radius: 0;
  outline: none;
}
.address-line input,
.subject-line input {
  height: 41px;
  padding: 7px 0;
}
.address-line input {
  flex: 1;
  width: 1px;
}
.subject-line input {
  width: 100%;
}
.subject-line:focus-within,
.address-line:focus-within {
  border-bottom-color: var(--accent);
}
.field-toggle {
  padding: 3px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.compose-fields textarea {
  display: block;
  width: 100%;
  height: clamp(130px, 27vh, 280px);
  min-height: 80px;
  resize: vertical;
  padding: 16px 0;
  font-size: 15px;
  line-height: 1.5;
}
.compose-fields textarea:focus-visible {
  outline: none;
}
.compose-fields textarea::placeholder,
.subject-line input::placeholder {
  color: var(--muted);
}
.stored-files > div,
.forward-file {
  background: #f7f4ee;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 5px;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.stored-files label {
  color: var(--muted);
  white-space: nowrap;
}
.stored-files a {
  text-decoration: underline;
}
.forward-file {
  display: flex;
  gap: 6px;
}
.compose-footer {
  flex: none;
  min-height: 66px;
  gap: 6px;
  padding: 10px 52px 12px 18px;
}
.send-button {
  background: var(--action);
  color: var(--on-action);
  font-weight: 600;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  font-size: 14px;
}
.send-button .icon {
  width: 15px;
  height: 15px;
}
.attach-button {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.attach-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}
.compose-options .popup {
  top: auto;
  bottom: calc(100% + 6px);
  right: auto;
  left: -100px;
  max-width: calc(100vw - 24px);
  width: 245px;
}
.compose-options label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 5px;
}
.compose-options button {
  margin-top: 4px;
}
.compose-footer small {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
#discard {
  position: absolute;
  bottom: 15px;
  right: 10px;
}
.attach-button:hover {
  background: var(--surface);
}
@media (max-width: 850px) {
  :root {
    --sidebar:172px;
  }
  .topbar,
  .shell {
    gap: 10px;
  }
  .row-grid {
    gap: 10px;
    grid-template-columns: minmax(110px, 35%) minmax(0, 1fr) auto;
  }
  .peer .avatar {
    display: none;
  }
  .brand {
    font-size: 20px;
  }
  .compose-footer {
    gap: 3px;
  }
}
@media (max-width: 640px) {
  .topbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
  }
  .brand-area {
    padding: 0;
    gap: 8px;
  }
  .brand {
    font-size: 19px;
  }
  .brand > svg {
    width: 28px;
    height: 28px;
    margin-right: 3px;
  }
  .account-controls {
    margin-left: auto;
    gap: 4px;
  }
  .search {
    order: 3;
    width: 100%;
    height: 38px;
  }
  .shell {
    display: block;
    padding: 4px 8px 8px;
  }
  .shell > aside {
    padding: 8px;
  }
  .js .nav-toggle {
    display: inline-grid;
  }
  .js .shell > aside:not(.expanded) {
    display: none;
  }
  .js .shell > aside.expanded {
    position: absolute;
    top: 53px;
    left: 8px;
    width: min(270px, calc(100vw - 16px));
    max-height: calc(100dvh - 65px);
    overflow: auto;
    z-index: 7;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 10px 28px #2e241726;
    background: var(--surface);
  }
  .write-button {
    margin-bottom: 9px;
  }
  .mail-panel {
    min-height: calc(100dvh - 110px);
    border-radius: 13px;
  }
  .panel-head {
    min-height: 62px;
    padding: 10px 14px;
  }
  .column-head {
    display: none;
  }
  .message-row {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 2px 8px;
    padding: 9px 14px 9px 42px;
    min-height: 59px;
  }
  .message-row .peer {
    grid-column: 1;
    grid-row: 1;
  }
  .message-row .subject {
    grid-row: 2;
    grid-column: 1/-1;
  }
  .message-row time {
    grid-column: 2;
    grid-row: 1;
  }
  .flag-form {
    left: 4px;
    z-index: 1;
  }
  .composer {
    inset: 0;
    width: 100%;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }
  .composer form#compose {
    flex: 1;
  }
  .compose-fields {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .compose-fields textarea {
    flex: 1;
    resize: none;
  }
  .compose-head {
    min-height: 48px;
  }
  .reader {
    padding: 20px 15px;
  }
  .reader-tools {
    padding: 9px 12px;
    gap: 3px;
  }
  .sender-line {
    flex-wrap: wrap;
  }
  .sender-line time {
    font-size: 11px;
  }
  .reply-actions a {
    font-size: 12px;
  }
  .user-avatar {
    width: 31px;
    height: 31px;
  }
  .compose-footer {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
}
.mobile-write {
  display: none;
}
@media (max-width: 640px) {
  .mobile-write {
    display: inline-grid;
    background: var(--action);
    color: var(--on-action);
  }
}

/* Public entry points use the same brand, colors and controls as the mailbox. */
.sign-in {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px clamp(15px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
}
.switch-login {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
.switch-login:hover {text-decoration: underline}
.login-main {
  flex: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(24px, 6vh, 72px) 16px;
}
.login-card {
  width: min(100%, 428px);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 34px #43382b0a;
}
.login-art {
  height: 82px;
  background: #d4e8e2;
  overflow: hidden;
  position: relative;
  display: grid;
  align-content: center;
  gap: 18px;
}
.console-art {background: #20765b}
.rod {
  position: relative;
  height: 2px;
  background: #20765b44;
  transform: rotate(-10deg) scaleX(1.12);
  display: flex;
  align-items: center;
  gap: 3px;
  padding-left: 20%;
}
.console-art .rod {background: #d4e8e28a}
.rod i {
  width: 14px;
  height: 19px;
  border-radius: 8px;
  background: #20765b;
}
.console-art .rod i {background: #d4e8e2}
.rod:nth-child(2) {padding-left: 66%}
.rod:nth-child(2) i {background: var(--action)}
.rod:nth-child(3) {padding-left: 42%}
.login-content {padding: clamp(24px, 5vw, 38px)}
.login-content h1 {
  font-size: clamp(25px, 4vw, 31px);
  letter-spacing: -.035em;
  margin-bottom: 24px;
  line-height: 1.18;
}
.login-content form {display: grid; gap: 7px}
.login-content label {font-weight: 600; font-size: 14px}
.login-content input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #bab6ae;
  border-radius: 8px;
  background: white;
  min-height: 44px;
  margin-bottom: 10px;
  font-size: 16px;
}
.login-content button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 46px;
  border-radius: 10px;
  background: var(--action);
  color: var(--on-action);
  font-weight: 650;
  padding: 8px 17px;
}
.login-content button:hover {background: #ffad65}
.login-content button span {font-size: 20px}
.login-error {color: #842d22; background: #fff0ea; padding: 10px 12px; border-radius: 8px; margin-bottom: 8px}
@media(max-width: 400px) {
  .login-header {align-items: flex-start}
  .switch-login {max-width: 10rem; text-align: right}
}

.sender-rules { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem; margin-block:.75rem; }
.important-mark { display:inline-flex; vertical-align:middle; color:#996109; margin-inline-end:.35rem; }
.important-mark .icon { width:1em; height:1em; fill:currentColor; }

.bulk-tools,.selection-actions,.page-select,.folder-entry,dialog header,dialog footer {display:flex;align-items:center;gap:.5rem}
.bulk-tools {padding:.5rem 1rem;flex-wrap:wrap;border-bottom:1px solid var(--line);font-size:.85rem}
.bulk-tools button,.folder-commands button {background:transparent;color:var(--ink);border:1px solid var(--line);border-radius:7px;padding:.35rem .6rem;cursor:pointer}
.selection-actions {flex-wrap:wrap}
.bulk-tools button:hover,.folder-commands button:hover {background:#e2efe9}
.empty-folder {margin-inline-start:auto}
.select-mail {position:absolute;left:12px;top:50%;transform:translateY(-50%);margin:0}
.select-mail,.page-select input {width:16px;height:16px;accent-color:#137253;cursor:pointer}
.mail-item:has(.select-mail) .flag-form {left:33px}
.mail-item:has(.select-mail) .message-row {padding-inline-start:76px}
.mail-item:has(.select-mail:checked) {background:#e5f2ec}
.folder-entry>a {flex:1;min-width:0}
.folder-options {width:32px;height:32px;flex:none}
dialog {width:min(26rem,90vw);background:var(--surface,#fff);color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:1.2rem}
dialog::backdrop {background:#26282055}
dialog header,dialog footer {justify-content:space-between}
dialog h2 {font-size:1.15rem;margin:0}
dialog footer {justify-content:flex-end;margin-top:1rem}
.folder-commands {display:grid;gap:.4rem;margin-top:.8rem}
.folder-commands button {text-align:start}
dialog input,dialog select {display:block;width:100%;padding:.5rem;margin-top:.3rem}
.selection-actions[hidden],.bulk-tools [hidden],dialog label[hidden] {display:none}
#sidebar [data-drop-folder].drop-active {background:#d6ede2;outline:2px solid #137253;outline-offset:-2px}
#destination-field {display:grid;gap:.4rem}
#destination-field [hidden],#destination-field[hidden] {display:none}
#destination-field select {padding:.25rem}
#destination-field option {padding:.35rem .5rem}
#mail-action button:disabled {opacity:.55;cursor:default}
.reader-tools {flex-wrap:wrap}

#toggle-folders {padding:0;color:inherit;font-weight:inherit}
#folder-search {width:100%;padding:.45rem .7rem;margin-bottom:.4rem;border:1px solid var(--line);border-radius:8px;background:white}
#folder-tree {padding-inline:.25rem}
.folder-children {margin-inline-start:.65rem;border-inline-start:1px solid var(--line)}
.branch-toggle {padding:0;width:1.5rem;flex:none;color:var(--muted)}
.branch-toggle[aria-expanded=false],#toggle-folders[aria-expanded=false] span {display:inline-block;transform:rotate(-90deg)}
.folder-parent {color:var(--muted);padding-block:.35rem}
.folder-name {min-width:0;overflow:hidden;text-overflow:ellipsis}
.folder-node .folder-entry {gap:.15rem}
.size-picker {display:flex;align-items:center;gap:.35rem;color:var(--muted);font-size:.8rem}
.size-picker select {font:inherit;color:var(--ink);border:1px solid var(--line);background:white;border-radius:6px;padding:.25rem}
.settings-page {max-width:48rem;margin:1.25rem auto;padding:0 1rem 3rem}
.settings-page section {border:1px solid var(--line);border-radius:14px;background:white;margin:1rem 0;padding:clamp(.9rem,3vw,1.5rem)}
.settings-page h2 {font-size:1.1rem;margin:0 0 .85rem}
.settings-page form,.settings-page label {display:grid;gap:.35rem}
.settings-page form {gap:.8rem}
.settings-page input,.settings-page textarea {border:1px solid var(--line);border-radius:7px;padding:.55rem;width:100%}
.settings-page button {justify-self:start}
.settings-page .sender-setting {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;overflow-wrap:anywhere}
.contact-list {list-style:none;max-height:22rem;overflow:auto;padding:0}
.contact-list li {padding:.5rem .15rem;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
@media(max-width:640px) {.size-picker span {display:none}.panel-head .page-tools {gap:.2rem}.panel-head h1 {overflow-wrap:anywhere}.select-mail {width:21px;height:21px}}
@media print {
 :root,body,.mail-panel {background:white;color:black}
 .topbar,#sidebar,.owner,.reader-tools,.reply-actions,.sender-rules,.thread,.composer,.attachments a svg,.reader details summary {display:none!important}
 .shell,.mail-panel {display:block!important;margin:0;padding:0;border:0;box-shadow:none;min-height:0;height:auto;overflow:visible}
 .reader {padding:0;width:100%;max-width:none}
}
@media(pointer:coarse) {
 a[data-drag-item] {touch-action:pan-y pinch-zoom;-webkit-touch-callout:none;user-select:none}
 .swipe-left {box-shadow:inset -5px 0 #ae4c35;background:#fceee9}
 .swipe-right {box-shadow:inset 5px 0 var(--accent);background:var(--tint)}
}
.message-row:focus-visible {outline:2px solid var(--accent);outline-offset:-2px}
