@charset "UTF-8";
:root {
  --bg: #f7f8fa;
  --ink: #26312d;
  --muted: #929b96;
  --border: #e8ede8;
  --teal: #28705f;
  --teal-dark: #1d584a;
  --teal-soft: #edf5f1;
  --coral: #da8d76;
  --red: #bd5050;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  display: block;
  width: 20px;
  height: 20px;
  stroke-width: 1.65;
  flex-shrink: 0;
}
button svg {
  width: 18px;
  height: 18px;
}
button span[data-icon] {
  display: inline-flex;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #72b29c;
  outline-offset: 3px;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #82aa9b;
  box-shadow: 0 0 0 3px #28705f0c;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -70px;
  background: var(--teal);
  color: white;
  padding: 12px;
  z-index: 200;
}
.skip-link:focus {
  top: 10px;
}
.boot {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--muted);
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 760;
  letter-spacing: -1.2px;
}
.brand-symbol {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  background: var(--teal);
  color: #fff;
  border-radius: 10px;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -3px;
  padding-right: 3px;
}
.brand-dot {
  color: var(--coral);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 10px 16px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  background: #f8faf8;
}
.button:active {
  transform: translateY(1px);
}
.button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}
.button.primary:hover {
  background: var(--teal-dark);
}
.button.dark {
  background: #283a37;
  border-color: #283a37;
  color: white;
}
.button.danger {
  color: var(--red);
  background: #fff8f8;
  border-color: #f1dada;
}
.button.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}
.button.sm {
  min-height: 33px;
  padding: 7px 12px;
  font-size: 12px;
}
.icon-button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 7px;
  color: #7c8580;
}
.icon-button:hover {
  background: #f1f4f1;
  color: var(--ink);
}
.muted {
  color: var(--muted);
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #61a58d;
  flex-shrink: 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 2px;
}
.login-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: #fff;
}
.login-story {
  background: #eef3ef;
  padding: 44px 60px;
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.login-story-copy {
  margin: auto 0;
  padding: 70px 0 20px;
}
.login-story-copy .eyebrow {
  color: var(--teal);
}
.login-story h1 {
  font-size: 46px;
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: -2px;
  margin: 20px 0;
}
.login-story-copy p {
  color: #7c8981;
  line-height: 2;
  font-size: 15px;
}
.login-foot {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #76877c;
  display: flex;
  justify-content: space-between;
}
.login-foot span {
  letter-spacing: 0;
}
.login-illustration {
  width: 280px;
  height: 230px;
  position: relative;
  margin: 35px auto 15px;
}
.letter {
  position: absolute;
  left: 54px;
  top: 5px;
  width: 169px;
  height: 160px;
  background: #fff;
  border-radius: 7px;
  padding: 23px;
  transform: rotate(-8deg);
  box-shadow: 0 10px 30px #34583f08;
}
.letter span {
  display: block;
  width: 27px;
  height: 8px;
  background: #82ad9c;
  border-radius: 2px;
  margin-bottom: 20px;
}
.letter i {
  display: block;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 10px;
  background: #dfe8e1;
}
.letter i:nth-of-type(2) {
  width: 70%;
}
.letter b {
  display: block;
  color: #719486;
  font: italic 14px Georgia;
  margin-top: 19px;
}
.envelope {
  position: absolute;
  left: 31px;
  bottom: 0;
  width: 220px;
  height: 134px;
  background: #8eb7a5;
  border-radius: 7px;
  clip-path: polygon(0 0, 50% 45%, 100% 0, 100% 100%, 0 100%);
}
.envelope:after {
  position: absolute;
  content: "";
  inset: 0;
  background: #abc9b9;
  clip-path: polygon(0 100%, 50% 39%, 100% 100%);
}
.decor-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--coral);
}
.dot-one {
  width: 12px;
  height: 12px;
  right: 0;
  top: 43px;
}
.dot-two {
  width: 7px;
  height: 7px;
  left: 3px;
  bottom: 29px;
  background: #639080;
}
.orbit {
  position: absolute;
  width: 29px;
  height: 29px;
  border: 1px solid #a4bcae;
  border-radius: 50%;
  left: 0;
  top: 24px;
}
.login-form-side {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  padding: 50px;
}
.login-box {
  width: 360px;
  max-width: 100%;
}
.login-label {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 1px;
}
.login-box h2 {
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 15px 0 12px;
}
.login-box > .muted {
  margin-bottom: 38px;
  font-size: 13px;
}
.login-box label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  width: 100%;
  height: 46px;
  padding: 12px 44px 12px 14px;
  border: 1px solid #dfe4e1;
  border-radius: 7px;
}
.password-wrap button {
  position: absolute;
  right: 5px;
  top: 6px;
}
.login-submit {
  margin-top: 23px;
  width: 100%;
  height: 45px;
  justify-content: space-between;
}
.login-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #99a29d;
  margin-top: 24px;
}
.login-copyright {
  position: absolute;
  bottom: 40px;
  color: #a1a7a5;
  font-size: 10px;
}
.form-error {
  font-size: 12px;
  color: var(--red);
  line-height: 1.8;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 238px;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 28px 19px 18px;
  display: flex;
  flex-direction: column;
  z-index: 30;
  overflow-y: auto;
}
.sidebar > .wordmark {
  padding: 0 9px;
}
.workspace-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 10px;
  margin: 32px 0 22px;
}
.workspace-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 29px;
  height: 29px;
  border-radius: 7px;
  background: #f3f2ee;
  color: #85836e;
  font-weight: 600;
  font-size: 12px;
}
.workspace-badge strong {
  font-weight: 550;
  font-size: 11px;
  display: block;
}
.workspace-badge small {
  font-size: 7px;
  letter-spacing: 0.9px;
  color: #999f9b;
  display: block;
  margin-top: 5px;
}
.tiny-lock {
  margin-left: auto;
  color: #9ea8a2;
}
.tiny-lock svg {
  width: 13px;
  height: 13px;
}
.compose-nav {
  width: 100%;
  justify-content: flex-start;
  min-height: 41px;
}
.shortcut {
  margin-left: auto;
  font-size: 10px;
  line-height: 19px;
  min-width: 20px;
  text-align: center;
  border: 1px solid #ffffff30;
  border-radius: 3px;
  color: #b4d6c8;
}
.nav-label {
  color: #a1a6a2;
  font-size: 10px;
  padding: 26px 12px 10px;
  letter-spacing: 0.6px;
}
.sidebar nav > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  color: #76807a;
  border-radius: 7px;
  font-size: 12px;
  margin: 3px 0;
  min-height: 43px;
}
.sidebar nav > a:hover {
  background: #f6f8f6;
}
.sidebar nav > a.active {
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 600;
}
.sidebar nav > a svg {
  width: 18px;
  height: 18px;
}
.nav-count {
  margin-left: auto;
  border-radius: 4px;
  background: #e0eee6;
  padding: 2px 6px;
  font-size: 10px;
  color: #4e816c;
}
.mini-tag {
  font-size: 8px;
  color: #9ba9a0;
  border: 1px solid #e8eeea;
  padding: 2px 4px;
  border-radius: 3px;
  margin-left: auto;
}
.nav-divider {
  height: 1px;
  background: var(--border);
  margin: 22px 11px 0;
}
.nav-divider + .nav-label {
  padding-top: 19px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 50px;
}
.sender-mini {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 8px;
  border-top: 1px solid var(--border);
}
.sender-avatar,
.top-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0ece3;
  color: #93866e;
  font-weight: 650;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 11px;
  flex-shrink: 0;
}
.sender-mini div {
  min-width: 0;
}
.sender-mini strong {
  font-size: 10px;
  font-weight: 550;
  display: block;
  margin-bottom: 5px;
}
.sender-mini small {
  font-size: 9px;
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  max-width: 146px;
  color: #9ca29d;
}
.logout-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  font-size: 11px;
  color: #9ba3a0;
  padding: 9px;
}
.logout-button svg {
  width: 14px;
  height: 14px;
}
.sidebar-caption {
  font-size: 8px;
  color: #c0c4c2;
  letter-spacing: 0.3px;
  padding: 16px 8px 0;
}
.app-main {
  margin-left: 238px;
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 76px;
  background: #ffffffeb;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
}
.breadcrumb-home {
  color: #9a9e9b;
}
.breadcrumb-slash {
  color: #ccd1ce;
}
.connection-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #909993;
}
.topbar-divider {
  height: 17px;
  width: 1px;
  background: #e5e8e6;
  margin: 0 3px;
}
.top-avatar {
  width: 29px;
  height: 29px;
  font-size: 10px;
}
.mobile-menu {
  display: none;
}
main {
  padding: 35px 40px 25px;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  flex: 1;
}
main:focus {
  outline: none;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #b0b7b3;
  padding: 18px 40px 24px;
}
.app-footer > span:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.app-footer .status-dot {
  width: 4px;
  height: 4px;
}
.footer-dot {
  margin: 0 6px;
  color: #ccd0cd;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.page-heading h1 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.65px;
  margin: 0 0 9px;
}
.page-heading p {
  font-size: 11px;
  margin: 0;
  color: #939a95;
  line-height: 1.6;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.date-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 11px;
  font-size: 10px;
  color: #7c8581;
}
.date-chip svg {
  width: 14px;
  height: 14px;
}
.overview-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 218px;
  background: #253e37;
  border: 1px solid #253e37;
  border-radius: 12px;
  padding: 30px 34px;
  color: #fff;
  overflow: hidden;
  margin-bottom: 24px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-copy .eyebrow {
  font-size: 8px;
  color: #a8c4b3;
  letter-spacing: 2px;
  gap: 7px;
}
.hero-copy .eyebrow:before {
  content: "";
  display: block;
  height: 5px;
  width: 5px;
  background: #b5c9a5;
  border-radius: 50%;
}
.hero-copy h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.2px;
  margin: 14px 0 10px;
}
.hero-copy p {
  font-size: 11px;
  color: #aebeb6;
  margin: 0 0 23px;
  line-height: 1.8;
}
.hero-copy .button {
  background: #fff;
  border-color: #fff;
  color: #34473c;
  font-size: 11px;
  min-height: 34px;
  padding: 8px 13px;
}
.hero-copy .button svg {
  margin-left: 14px;
  width: 13px;
  height: 13px;
}
.hero-art {
  position: absolute;
  width: 330px;
  height: 260px;
  right: 10px;
  top: 0;
  pointer-events: none;
}
.hero-ring {
  position: absolute;
  border: 1px solid #ffffff09;
  border-radius: 50%;
  width: 270px;
  height: 270px;
  top: -24px;
  left: 50px;
}
.hero-ring.second {
  width: 390px;
  height: 390px;
  top: -82px;
  left: -10px;
}
.hero-mail {
  position: absolute;
  right: 63px;
  top: 70px;
  width: 153px;
  height: 103px;
  background: #99b49a;
  transform: rotate(-12deg);
  border-radius: 8px;
  box-shadow: 0 15px 24px #12271e22;
}
.hero-mail:before {
  content: "";
  position: absolute;
  inset: 0;
  background: #b9c9ad;
  clip-path: polygon(0 0, 50% 56%, 100% 0);
  border-radius: 8px;
}
.hero-mail:after {
  content: "";
  position: absolute;
  inset: 0;
  background: #a6bda0;
  clip-path: polygon(0 100%, 40% 48%, 50% 56%, 61% 47%, 100% 100%);
  border-radius: 8px;
}
.hero-send {
  position: absolute;
  right: 32px;
  top: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d89578;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 6px 15px #12271e22;
}
.hero-send svg {
  width: 19px;
  height: 19px;
}
.hero-star {
  position: absolute;
  right: 217px;
  top: 56px;
  color: #c7bb8f;
  font-size: 24px;
}
.hero-tiny-dot {
  position: absolute;
  right: 59px;
  top: 39px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #739782;
}
.hero-dash {
  position: absolute;
  width: 36px;
  height: 1px;
  background: #668d7b;
  right: 234px;
  top: 164px;
  transform: rotate(-15deg);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}
.stat-card {
  padding: 21px 22px 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #87918c;
  font-size: 11px;
}
.stat-icon {
  width: 29px;
  height: 29px;
  background: #f0f6f2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #6e9b83;
}
.stat-icon svg {
  width: 15px;
  height: 15px;
}
.stat-card:nth-child(2) .stat-icon {
  background: #f3f4f9;
  color: #9b9cbc;
}
.stat-card:nth-child(3) .stat-icon {
  background: #faf1ed;
  color: #ca9a86;
}
.stat-card:nth-child(4) .stat-icon {
  background: #f5f4ee;
  color: #a8a077;
}
.stat-number {
  display: block;
  font-size: 31px;
  font-weight: 550;
  letter-spacing: -1px;
  margin-top: 8px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.stat-foot {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #a4aaa7;
  margin-top: 8px;
}
.stat-foot svg {
  width: 11px;
  height: 11px;
}
.overview-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 284px;
  gap: 22px;
  align-items: start;
}
.panel {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.panel-head {
  padding: 21px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #f0f2ef;
}
.panel-head h2 {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}
.panel-subtitle {
  font-size: 10px;
  color: #a2a9a5;
  margin: 7px 0 0;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0;
  color: #929c96;
  font-size: 10px;
  cursor: pointer;
}
.text-link:hover {
  color: var(--teal);
}
.text-link svg {
  width: 12px;
  height: 12px;
}
.recent-list {
  padding: 0 23px;
}
.recent-item {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #f1f3f0;
  background: #fff;
  padding: 17px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.recent-item:last-child {
  border-bottom: 0;
}
.recent-item:hover .recent-subject {
  color: var(--teal);
}
.mail-avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #f1f5f3;
  color: #86a291;
  border-radius: 8px;
}
.mail-avatar svg {
  width: 16px;
  height: 16px;
}
.recent-copy {
  min-width: 0;
  flex: 1;
}
.recent-subject {
  font-size: 11px;
  font-weight: 550;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 6px;
}
.recent-meta {
  font-size: 9px;
  color: #a0a8a4;
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.recent-end {
  text-align: right;
  flex-shrink: 0;
}
.recent-end time {
  display: block;
  color: #a6ada9;
  font-size: 9px;
  margin-top: 6px;
}
.status-badge {
  font-size: 9px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 4px;
  white-space: nowrap;
  background: #f3f4f6;
  color: #8b939d;
}
.status-badge:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.status-submitted {
  background: #edf5f0;
  color: #5a9475;
}
.status-queued,
.status-sending {
  background: #f1f2fa;
  color: #828abd;
}
.status-failed {
  background: #fcf0ee;
  color: #cc8981;
}
.status-uncertain,
.status-partial {
  background: #faf5e9;
  color: #aa9466;
}
.template-short-list {
  padding: 8px 20px;
}
.template-short {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 11px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #f0f2f0;
  text-align: left;
  padding: 16px 0;
}
.template-short:last-child {
  border: 0;
}
.template-short:hover strong {
  color: var(--teal);
}
.template-mini-icon {
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 35px;
  border: 1px solid #e9eee9;
  border-radius: 6px;
  color: #8ea392;
  background: #fafbf9;
  flex-shrink: 0;
}
.template-short:nth-child(2) .template-mini-icon {
  background: #fbf5f0;
  color: #b8997a;
  border-color: #f1e6db;
}
.template-short:nth-child(3) .template-mini-icon {
  background: #f4f3f9;
  color: #9690b2;
  border-color: #e9e6f0;
}
.template-short strong {
  font-size: 11px;
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
}
.template-short small {
  font-size: 9px;
  color: #a4aba5;
  display: block;
}
.template-short > svg {
  width: 12px;
  height: 12px;
  color: #a7b1a9;
  margin-left: auto;
}
.provider-note {
  margin-top: 16px;
  border: 1px solid #e5ebe7;
  border-radius: 9px;
  background: #f0f4f1;
  padding: 15px 17px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.provider-note > svg {
  width: 15px;
  height: 15px;
  color: #89a393;
  flex-shrink: 0;
  margin-top: 1px;
}
.provider-note strong {
  display: block;
  font-size: 10px;
  color: #617d6d;
  font-weight: 500;
}
.provider-note p {
  font-size: 9px;
  color: #91a196;
  line-height: 1.9;
  margin: 5px 0 0;
}
.empty-state {
  text-align: center;
  padding: 44px 20px;
}
.empty-illustration {
  height: 62px;
  width: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f8f5;
  border-radius: 20px;
  margin: 0 auto 18px;
  transform: rotate(-5deg);
}
.empty-illustration svg {
  height: 28px;
  width: 28px;
  color: #9db7a6;
  transform: rotate(5deg);
}
.empty-state h3 {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 9px;
}
.empty-state p {
  font-size: 10px;
  color: #a2aaa5;
  line-height: 1.9;
  margin: 0 0 19px;
}
.empty-state .button {
  font-size: 10px;
  min-height: 33px;
}
.error-state {
  border: 1px solid #f0dfdc;
  border-radius: 10px;
  background: #fff;
  padding: 40px 20px;
  text-align: center;
}
.error-state p {
  color: #a27873;
  font-size: 12px;
  line-height: 1.8;
}
.loading-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 90px 15px;
  color: #a0aaa4;
  font-size: 12px;
}
.spinner {
  width: 17px;
  height: 17px;
  border: 2px solid #e0e9e2;
  border-top-color: #629b7f;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.compose-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 252px;
  gap: 22px;
  align-items: start;
}
.compose-panel {
  overflow: visible;
}
.composer-top {
  padding: 15px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.composer-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #617b6b;
}
.composer-title svg {
  width: 15px;
  height: 15px;
}
.autosave-status {
  font-size: 10px;
  color: #9aa89e;
  display: flex;
  align-items: center;
  gap: 5px;
}
.autosave-status.error {
  color: var(--red);
}
.compose-fields {
  padding: 0 23px;
}
.field-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #edf0ed;
  min-height: 57px;
  gap: 12px;
}
.field-row label {
  width: 54px;
  flex-shrink: 0;
  font-size: 11px;
  color: #909a93;
}
.field-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 3px;
  padding: 13px 5px;
  background: transparent;
  font-size: 12px;
  color: #3d4941;
}
.field-row input:focus {
  box-shadow: none;
}
.field-row input::placeholder {
  color: #bcc4bd;
  font-size: 11px;
}
.sender-field {
  font-size: 11px;
  color: #7c8980;
  min-width: 0;
  word-break: break-all;
  line-height: 1.8;
}
.sender-field span {
  color: #aab2ad;
}
.recipient-extras {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.recipient-extras button {
  background: none;
  border: 0;
  color: #879b8d;
  font-size: 10px;
  padding: 7px 2px;
}
.recipient-extras button.active {
  color: var(--teal);
  font-weight: 600;
}
.subject-field input {
  font-weight: 550;
  color: #3d4941;
}
.editor-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 23px 11px;
  gap: 10px;
}
.segmented {
  display: inline-flex;
  background: #f4f6f4;
  padding: 3px;
  border-radius: 6px;
  gap: 2px;
}
.segmented button {
  border: 0;
  background: transparent;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 10px;
  color: #96a097;
}
.segmented button.active {
  background: white;
  box-shadow: 0 1px 4px #132e1910;
  color: #4b6955;
}
.editor-toolbar > .text-link {
  color: #8a9c90;
}
.message-editor {
  display: block;
  border: 0;
  width: 100%;
  resize: vertical;
  min-height: 310px;
  padding: 10px 26px 22px;
  font-size: 12px;
  line-height: 2;
  color: #4d5b51;
  background: transparent;
  border-radius: 0;
}
.message-editor::placeholder {
  color: #b4bfb5;
}
.message-editor:focus {
  box-shadow: none;
  border: 0;
}
.message-editor.code {
  font:
    12px/1.8 Consolas,
    "SFMono-Regular",
    monospace;
  color: #596a60;
}
.editor-meta {
  display: flex;
  justify-content: space-between;
  padding: 0 24px 13px;
  font-size: 9px;
  color: #a3afa6;
}
.attachment-area {
  margin: 0 23px 20px;
}
.drop-zone {
  border: 1px dashed #d7e2d9;
  background: #fafcfb;
  border-radius: 7px;
  padding: 13px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 10px;
  color: #a1b0a4;
  transition: background 0.15s;
}
.drop-zone.dragging {
  background: #e6f3e9;
  border-color: #5e9370;
}
.drop-zone svg {
  width: 15px;
  height: 15px;
}
.drop-zone button {
  background: transparent;
  border: 0;
  padding: 0;
  color: #698d72;
  font-size: 10px;
}
.attachment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}
.attachment-chip {
  display: flex;
  gap: 7px;
  align-items: center;
  border: 1px solid #e4eae4;
  border-radius: 5px;
  padding: 6px 7px;
  background: #fff;
  max-width: 100%;
  font-size: 10px;
  color: #758d7b;
}
.attachment-chip > svg {
  width: 12px;
  height: 12px;
}
.attachment-chip .filename {
  max-width: 170px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.attachment-chip small {
  font-size: 9px;
  color: #a2aea5;
}
.attachment-chip button {
  width: 20px;
  height: 20px;
  min-width: 20px;
  padding: 0;
}
.attachment-chip button svg {
  width: 12px;
  height: 12px;
}
.composer-bottom {
  padding: 18px 23px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.composer-bottom .button {
  font-size: 11px;
  min-height: 36px;
  padding: 8px 13px;
}
.composer-bottom-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.compose-side-card {
  padding: 20px;
  margin-bottom: 17px;
}
.compose-side-card h2 {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 19px;
}
.compose-side-card h2 svg {
  width: 14px;
  height: 14px;
  color: #819c87;
}
.compose-side-label {
  font-size: 9px;
  color: #a7b0a7;
  display: block;
  margin-bottom: 6px;
}
.compose-side-value {
  display: block;
  word-break: break-all;
  font-size: 11px;
  color: #68806e;
  margin-bottom: 16px;
  line-height: 1.8;
}
.compose-side-card .status-badge {
  font-size: 8px;
}
.compose-tip {
  padding: 18px 20px;
  border-radius: 9px;
  background: #f1f4f0;
  border: 1px solid #e5ebe2;
}
.compose-tip h3 {
  font-size: 10px;
  font-weight: 600;
  color: #829278;
  margin: 0 0 9px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.compose-tip h3 svg {
  width: 13px;
  height: 13px;
}
.compose-tip p {
  font-size: 10px;
  line-height: 2;
  color: #a0ad99;
  margin: 0;
}
.template-pick {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-top: 1px solid #eff2ed;
  background: none;
  padding: 12px 0;
  color: #7b917e;
  font-size: 10px;
}
.template-pick svg {
  width: 12px;
  height: 12px;
}
.field-help {
  font-size: 9px;
  color: #a2b0a4;
  padding: 9px 0 0;
  line-height: 1.7;
}
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 21px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.filter-tabs {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
}
.filter-tabs button {
  border: 0;
  background: transparent;
  padding: 7px 10px;
  font-size: 11px;
  color: #95a097;
  border-radius: 5px;
}
.filter-tabs button.active {
  background: #edf4ef;
  color: #598064;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e7ece8;
  border-radius: 6px;
  padding: 8px 10px;
  background: #fff;
}
.search-box svg {
  width: 14px;
  height: 14px;
  color: #a5afa8;
}
.search-box input {
  width: 174px;
  border: 0;
  background: transparent;
  font-size: 10px;
  outline: none;
  padding: 0;
  color: #6d8172;
  box-shadow: none;
}
.search-box input::placeholder {
  color: #b0b9b2;
}
.table-wrap {
  overflow: auto;
}
.message-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 590px;
  text-align: left;
}
.message-table th {
  padding: 14px 20px;
  background: #fcfdfc;
  font-size: 9px;
  color: #a3ada5;
  font-weight: 500;
  border-bottom: 1px solid #edf0ed;
}
.message-table td {
  padding: 19px 20px;
  border-bottom: 1px solid #eef1ed;
  font-size: 11px;
  color: #829184;
  white-space: nowrap;
}
.message-table tbody tr:last-child td {
  border-bottom: 0;
}
.message-table tbody tr:hover {
  background: #fbfdfb;
}
.message-table .subject-cell {
  min-width: 190px;
  max-width: 280px;
}
.subject-button {
  display: block;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0;
  width: 100%;
  color: #526c59;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.subject-button:hover {
  color: var(--teal);
}
.table-recipient {
  display: block;
  font-size: 9px;
  color: #a5afa6;
  margin-top: 6px;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 230px;
}
.table-time {
  font-size: 10px !important;
  color: #a0aca3 !important;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 21px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  color: #9dac9f;
  gap: 12px;
}
.pagination-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}
.pagination .icon-button {
  border: 1px solid #e6ece6;
  width: 29px;
  height: 29px;
}
.pagination .icon-button svg {
  width: 12px;
  height: 12px;
}
.pagination .icon-button:disabled {
  opacity: 0.3;
  cursor: default;
}
.draft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.draft-card {
  padding: 23px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 10px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.draft-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 19px;
}
.draft-card .mail-avatar {
  width: 33px;
  height: 36px;
}
.draft-card h2 {
  font-size: 13px;
  font-weight: 550;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0 0 8px;
}
.draft-card p {
  font-size: 11px;
  line-height: 1.9;
  color: #a0aba3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  min-height: 62px;
  word-break: break-word;
}
.draft-card-footer {
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid #eff2ed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.draft-card-footer time {
  font-size: 9px;
  color: #abb5ac;
}
.draft-card .button {
  font-size: 10px;
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.template-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.template-art {
  height: 150px;
  background: #edf3ed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.template-art.tone-sand {
  background: #f4f0e9;
}
.template-art.tone-purple {
  background: #f0eef6;
}
.template-art.tone-blue {
  background: #edf2f6;
}
.paper-preview {
  width: 122px;
  height: 138px;
  background: #ffffffef;
  border-radius: 5px;
  position: relative;
  top: 20px;
  box-shadow: 0 5px 20px #35493708;
  padding: 19px 17px;
  transform: rotate(-5deg);
}
.paper-preview-icon {
  width: 23px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef4ee;
  color: #93ac95;
  border-radius: 5px;
  margin-bottom: 14px;
}
.paper-preview-icon svg {
  width: 12px;
  height: 12px;
}
.paper-preview i {
  display: block;
  width: 100%;
  height: 3px;
  background: #e5ebe5;
  margin-bottom: 7px;
  border-radius: 2px;
}
.paper-preview i:nth-of-type(1) {
  width: 70%;
  background: #c8d9c8;
  height: 4px;
  margin-bottom: 11px;
}
.paper-preview i:nth-of-type(4) {
  width: 60%;
}
.template-art-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c3d8c4;
  top: 31px;
  right: 24%;
}
.tone-sand .template-art-dot {
  background: #e2c5a7;
}
.tone-purple .template-art-dot {
  background: #d0c5e1;
}
.template-card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.template-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.template-card h2 {
  font-size: 13px;
  font-weight: 550;
  margin: 0;
  min-width: 0;
  word-break: break-word;
}
.template-label {
  font-size: 8px;
  color: #9daa9d;
  border: 1px solid #e5ece5;
  border-radius: 4px;
  padding: 3px 5px;
  white-space: nowrap;
}
.template-card p {
  font-size: 10px;
  color: #a2ada3;
  line-height: 1.9;
  margin: 10px 0 20px;
  flex: 1;
}
.template-card-actions {
  display: flex;
  gap: 8px;
}
.template-card-actions .button {
  flex: 1;
  font-size: 10px;
  min-height: 33px;
}
.template-storage-note {
  font-size: 11px;
  color: #a2ada4;
  line-height: 1.8;
  margin: 20px 0 0;
}
.settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 22px;
  align-items: start;
}
.settings-section {
  padding: 0 26px 6px;
}
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 21px 0;
  border-bottom: 1px solid #eef1ed;
}
.setting-row:last-child {
  border: 0;
}
.setting-row > span {
  font-size: 11px;
  color: #99a69b;
  flex-shrink: 0;
}
.setting-row > strong {
  font-size: 11px;
  font-weight: 500;
  color: #647d69;
  text-align: right;
  word-break: break-all;
}
.setting-row code {
  font-size: 11px;
  color: #6b7e70;
  background: #f7f9f6;
  border: 1px solid #eaf0e7;
  padding: 4px 7px;
  border-radius: 4px;
}
.settings-description {
  padding: 19px 26px;
  background: #fafcf9;
  border-top: 1px solid #edf1eb;
  font-size: 10px;
  color: #9cac9c;
  line-height: 1.9;
}
.settings-guide {
  padding: 22px;
}
.settings-guide h3 {
  font-size: 12px;
  font-weight: 550;
  margin: 0 0 18px;
}
.settings-guide p {
  font-size: 10px;
  color: #9aa79d;
  line-height: 2;
  margin: 0 0 16px;
}
.status-guide {
  display: grid;
  gap: 15px;
}
.status-guide > div {
  display: flex;
  gap: 9px;
  align-items: center;
}
.status-guide small {
  font-size: 9px;
  color: #9faa9f;
  line-height: 1.7;
}
.content-notice {
  font-size: 11px;
  color: #a99470;
  line-height: 1.9;
  background: #fcf9f0;
  border: 1px solid #eee7d6;
  padding: 12px 16px;
  border-radius: 7px;
  margin-bottom: 20px;
}
.card-empty {
  grid-column: 1/-1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.toast-region {
  position: fixed;
  bottom: 26px;
  left: calc(50% + 119px);
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: max-content;
  max-width: calc(100vw - 32px);
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 17px;
  border-radius: 8px;
  background: #2f493e;
  color: #f6faf6;
  font-size: 12px;
  box-shadow: 0 10px 30px #102e3026;
  animation: toast-in 0.2s ease-out;
}
.toast svg {
  width: 16px;
  height: 16px;
  color: #b7d1be;
}
.toast.error {
  background: #86564c;
}
.toast.error svg {
  color: #f1c4b6;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
dialog {
  border: 1px solid #e3eae2;
  border-radius: 13px;
  padding: 0;
  width: 500px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 48px);
  box-shadow: 0 30px 90px #132f2826;
  color: var(--ink);
  overflow: auto;
}
dialog::backdrop {
  background: #1b302c65;
  backdrop-filter: blur(3px);
}
dialog.wide {
  width: 850px;
}
dialog.detail-modal {
  width: 750px;
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 26px 18px;
  border-bottom: 1px solid #edf1eb;
}
.modal-heading h2 {
  font-size: 18px;
  font-weight: 550;
  line-height: 1.6;
  margin: 0;
  word-break: break-word;
}
.modal-heading p {
  font-size: 11px;
  color: #a3afa4;
  line-height: 1.9;
  margin: 6px 0 0;
}
.modal-heading > .icon-button {
  margin-top: -5px;
  margin-right: -7px;
}
.modal-body {
  padding: 22px 26px;
}
.confirm-note {
  font-size: 11px;
  color: #92a496;
  line-height: 1.9;
  margin: 0 0 20px;
}
.confirm-data {
  margin: 0;
  background: #f8faf7;
  border: 1px solid #e9efe6;
  border-radius: 7px;
  padding: 4px 16px;
}
.confirm-data > div {
  padding: 12px 0;
  border-bottom: 1px solid #eaf0e6;
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr);
  gap: 10px;
}
.confirm-data > div:last-child {
  border: 0;
}
.confirm-data dt {
  font-size: 10px;
  color: #a5b1a7;
}
.confirm-data dd {
  margin: 0;
  font-size: 11px;
  color: #688270;
  line-height: 1.8;
  word-break: break-word;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  padding: 18px 26px;
  border-top: 1px solid #edf1eb;
}
.modal-actions .button {
  font-size: 11px;
}
.preview-frame {
  display: block;
  border: 0;
  width: 100%;
  height: 470px;
  background: #fff;
}
.preview-notice {
  font-size: 10px;
  color: #a0aea2;
  background: #f6f9f4;
  padding: 12px 25px;
}
.modal-form {
  display: grid;
  gap: 18px;
}
.modal-form label {
  display: block;
  font-size: 11px;
  color: #829b88;
  margin-bottom: 7px;
}
.modal-form input,
.modal-form textarea,
.modal-form select {
  display: block;
  width: 100%;
  border: 1px solid #e1e9de;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12px;
  color: #657e6c;
  background: #fff;
}
.modal-form textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.9;
}
.form-hint {
  font-size: 10px;
  color: #a4afa4;
  margin-top: 7px;
  line-height: 1.8;
}
.detail-header-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 10px;
  color: #a0afa3;
}
.detail-recipients {
  display: grid;
  gap: 10px;
  font-size: 11px;
  margin-bottom: 22px;
}
.detail-recipients > div {
  display: flex;
  gap: 12px;
  line-height: 1.9;
  word-break: break-all;
}
.detail-recipients label {
  width: 53px;
  color: #a2afa5;
  flex-shrink: 0;
}
.detail-recipients span {
  color: #688270;
}
.detail-body {
  border-top: 1px solid #edf2e9;
  padding-top: 20px;
}
.detail-plain {
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 2;
  color: #68816e;
  overflow-wrap: anywhere;
  font-family: inherit;
  margin: 0;
  max-height: 440px;
  overflow: auto;
}
.detail-body iframe {
  height: 340px;
  border: 1px solid #ecf1e9;
  border-radius: 5px;
}
.detail-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.detail-attachments a {
  border: 1px solid #e3ebdf;
  padding: 9px 11px;
  border-radius: 5px;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #73967d;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.detail-attachments a svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.detail-error {
  background: #fcf2ef;
  border: 1px solid #f0ded7;
  padding: 12px 15px;
  border-radius: 6px;
  color: #a87563;
  font-size: 11px;
  line-height: 1.9;
  margin-bottom: 19px;
  word-break: break-word;
}
.mobile-only {
  display: none;
}
@media (min-width: 1600px) {
  main {
    padding-left: 55px;
    padding-right: 55px;
  }
  .overview-hero {
    min-height: 238px;
  }
  .hero-art {
    right: 60px;
  }
  .hero-copy h2 {
    font-size: 27px;
  }
  .stats-grid {
    gap: 21px;
  }
  .overview-bottom {
    grid-template-columns: minmax(0, 1fr) 325px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 210px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .app-main {
    margin-left: 210px;
  }
  .topbar {
    padding: 0 28px;
  }
  main {
    padding: 30px 28px 22px;
  }
  .app-footer {
    padding-left: 28px;
    padding-right: 28px;
  }
  .overview-bottom {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 17px;
  }
  .stat-card {
    padding: 18px 17px;
  }
  .stats-grid {
    gap: 12px;
  }
  .compose-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 16px;
  }
  .compose-side-card {
    padding: 17px;
  }
  .toast-region {
    left: calc(50% + 105px);
  }
  .template-grid,
  .draft-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workspace-badge {
    padding-left: 8px;
    padding-right: 8px;
    gap: 7px;
  }
  .workspace-badge strong {
    font-size: 10px;
  }
  .workspace-badge small {
    font-size: 6px;
  }
  .tiny-lock {
    display: none;
  }
  .sender-mini small {
    max-width: 122px;
  }
  .settings-layout {
    grid-template-columns: minmax(0, 1fr) 235px;
  }
  .hero-art {
    right: -35px;
  }
  .hero-copy h2 {
    font-size: 22px;
  }
  .hero-copy p {
    max-width: 300px;
  }
  .hero-copy {
    max-width: 65%;
  }
  .login-story {
    padding: 40px;
  }
  .login-story h1 {
    font-size: 39px;
  }
}
@media (max-width: 1020px) {
  .overview-bottom {
    grid-template-columns: 1fr;
  }
  .overview-aside {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 16px;
    align-items: start;
  }
  .provider-note {
    margin-top: 0;
    min-height: 135px;
  }
  .template-short-list {
    display: flex;
    gap: 14px;
    padding: 5px 17px;
  }
  .template-short {
    border: 0;
    gap: 8px;
  }
  .template-short > svg,
  .template-short small {
    display: none;
  }
  .template-short strong {
    font-size: 10px;
  }
  .template-mini-icon {
    width: 25px;
    height: 30px;
  }
  .overview-aside .panel-head {
    padding: 15px 18px;
  }
  .compose-layout {
    grid-template-columns: 1fr;
  }
  .compose-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .compose-side-card {
    margin: 0;
  }
  .compose-tip {
    grid-column: 1/-1;
  }
  .hero-art {
    right: -60px;
    opacity: 0.9;
  }
  .hero-copy h2 {
    font-size: 21px;
  }
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .settings-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
  }
  .settings-guide h3 {
    grid-column: 1/-1;
  }
  .stat-number {
    font-size: 28px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat-card {
    padding: 16px 13px;
  }
  .stat-icon {
    width: 25px;
    height: 25px;
  }
  .stat-foot {
    font-size: 8px;
  }
  .login-story {
    padding: 35px;
  }
  .login-story h1 {
    font-size: 35px;
  }
}
@media (max-width: 800px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 238px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: #243b3250;
    z-index: 29;
    backdrop-filter: blur(2px);
  }
  .app-main {
    margin-left: 0;
  }
  .mobile-menu {
    display: inline-flex;
    margin-left: -5px;
  }
  .topbar {
    height: 66px;
  }
  .topbar-left {
    gap: 11px;
  }
  .toast-region {
    left: 50%;
  }
  .sender-mini small {
    max-width: 146px;
  }
  .workspace-badge strong {
    font-size: 11px;
  }
  .workspace-badge small {
    font-size: 7px;
  }
  .tiny-lock {
    display: block;
  }
  .login-story {
    padding: 33px;
    min-height: 680px;
  }
  .login-story h1 {
    font-size: 30px;
  }
  .login-story-copy .eyebrow {
    font-size: 8px;
  }
  .login-form-side {
    padding: 32px;
  }
  .login-foot span {
    display: none;
  }
  .login-box h2 {
    font-size: 27px;
  }
  .login-box > .muted {
    font-size: 11px;
  }
  .login-note {
    font-size: 9px;
  }
  .login-illustration {
    transform: scale(0.8);
    transform-origin: center;
    margin-left: -10px;
  }
  .login-copyright {
    font-size: 8px;
  }
  .hero-art {
    right: 0;
  }
  .hero-copy h2 {
    font-size: 23px;
  }
  .stat-card {
    padding: 18px 17px;
  }
  .stat-number {
    font-size: 31px;
  }
}
@media (max-width: 570px) {
  main {
    padding: 25px 18px 16px;
  }
  .topbar {
    padding: 0 19px;
  }
  .topbar-right {
    gap: 9px;
  }
  .topbar-divider,
  .breadcrumb-home,
  .breadcrumb-slash {
    display: none;
  }
  .connection-label {
    font-size: 9px;
  }
  .topbar-left {
    font-size: 10px;
    gap: 9px;
  }
  .page-heading {
    margin-bottom: 20px;
    align-items: flex-start;
    gap: 10px;
  }
  .page-heading h1 {
    font-size: 23px;
    margin-bottom: 8px;
  }
  .page-heading p {
    font-size: 10px;
    max-width: 250px;
  }
  .heading-actions {
    gap: 5px;
  }
  .heading-actions .button {
    font-size: 10px;
    min-height: 34px;
    padding: 8px 10px;
  }
  .heading-actions .button svg {
    width: 13px;
    height: 13px;
  }
  .date-chip {
    padding: 7px 8px;
    font-size: 8px;
    gap: 5px;
    margin-top: 3px;
  }
  .date-chip svg {
    width: 11px;
    height: 11px;
  }
  .overview-hero {
    padding: 25px 23px;
    min-height: 222px;
    margin-bottom: 18px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-copy h2 {
    font-size: 21px;
    margin: 14px 0 11px;
  }
  .hero-copy p {
    font-size: 10px;
    max-width: 210px;
    margin-bottom: 21px;
  }
  .hero-copy .eyebrow {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
  .hero-art {
    width: 200px;
    height: 210px;
    right: -56px;
    top: 43px;
    opacity: 0.38;
  }
  .hero-mail {
    width: 110px;
    height: 77px;
    right: 38px;
    top: 71px;
  }
  .hero-send {
    right: 15px;
    top: 121px;
    width: 29px;
    height: 29px;
  }
  .hero-send svg {
    width: 13px;
    height: 13px;
  }
  .hero-ring {
    left: 0;
    width: 200px;
    height: 200px;
    top: 7px;
  }
  .hero-ring.second {
    width: 280px;
    height: 280px;
    left: -40px;
    top: -34px;
  }
  .hero-star {
    right: 160px;
    top: 50px;
    font-size: 18px;
  }
  .hero-tiny-dot {
    right: 40px;
    top: 40px;
  }
  .hero-dash {
    right: 156px;
    top: 154px;
    width: 26px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
  }
  .stat-card {
    padding: 16px 17px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat-number {
    font-size: 30px;
    margin-top: 6px;
  }
  .stat-foot {
    font-size: 8px;
    margin-top: 5px;
  }
  .stat-icon {
    width: 25px;
    height: 25px;
  }
  .overview-aside {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .overview-bottom {
    gap: 17px;
  }
  .provider-note {
    min-height: 0;
  }
  .template-short-list {
    gap: 13px;
  }
  .template-short {
    gap: 7px;
  }
  .template-short strong {
    font-size: 9px;
  }
  .template-mini-icon {
    width: 24px;
    height: 29px;
    font-size: 12px;
  }
  .panel-head {
    padding: 18px;
  }
  .panel-head h2 {
    font-size: 12px;
  }
  .recent-list {
    padding: 0 18px;
  }
  .recent-item {
    gap: 10px;
  }
  .recent-subject {
    font-size: 10px;
  }
  .recent-meta {
    font-size: 8px;
    max-width: 145px;
  }
  .recent-end time {
    font-size: 8px;
  }
  .recent-end .status-badge {
    font-size: 8px;
    padding: 4px 5px;
  }
  .mail-avatar {
    width: 30px;
    height: 32px;
  }
  .app-footer {
    padding: 20px 19px;
    font-size: 8px;
  }
  .app-footer > span:last-child {
    font-size: 7px;
  }
  .compose-fields {
    padding: 0 17px;
  }
  .field-row {
    gap: 8px;
    min-height: 53px;
  }
  .field-row label {
    width: 43px;
    font-size: 10px;
  }
  .field-row input {
    font-size: 11px;
    padding: 12px 0;
  }
  .field-row input::placeholder {
    font-size: 10px;
  }
  .sender-field {
    font-size: 10px;
  }
  .recipient-extras {
    gap: 7px;
  }
  .recipient-extras button {
    font-size: 9px;
  }
  .composer-top {
    padding: 14px 17px;
  }
  .composer-title {
    font-size: 11px;
  }
  .autosave-status {
    font-size: 8px;
  }
  .message-editor {
    padding: 9px 18px 20px;
    min-height: 280px;
    font-size: 12px;
  }
  .editor-toolbar {
    padding: 12px 17px 9px;
  }
  .attachment-area {
    margin: 0 17px 16px;
  }
  .drop-zone {
    font-size: 9px;
    padding: 14px 7px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .drop-zone button {
    font-size: 9px;
  }
  .composer-bottom {
    padding: 16px 17px;
  }
  .composer-bottom .button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .composer-bottom-left {
    gap: 3px;
  }
  .composer-bottom .button svg {
    width: 14px;
    height: 14px;
  }
  .compose-aside {
    grid-template-columns: 1fr;
  }
  .compose-side-card {
    display: none;
  }
  .compose-tip {
    padding: 15px 17px;
  }
  .compose-tip p {
    font-size: 9px;
  }
  .editor-meta {
    padding: 0 18px 12px;
    font-size: 8px;
  }
  .field-help {
    font-size: 8px;
  }
  .attachment-chip .filename {
    max-width: 140px;
  }
  .filter-bar {
    padding: 13px 15px;
    gap: 14px;
  }
  .filter-tabs {
    gap: 1px;
    row-gap: 8px;
  }
  .filter-tabs button {
    font-size: 10px;
    padding: 6px 8px;
  }
  .search-box {
    width: 100%;
  }
  .search-box input {
    width: 100%;
    font-size: 11px;
    padding: 2px;
  }
  .message-table {
    min-width: 510px;
  }
  .message-table th {
    padding: 13px 15px;
  }
  .message-table td {
    padding: 17px 15px;
  }
  .pagination {
    padding: 14px 15px;
    font-size: 9px;
  }
  .draft-grid,
  .template-grid {
    grid-template-columns: 1fr;
  }
  .draft-card {
    padding: 21px;
  }
  .template-grid {
    gap: 17px;
  }
  .template-art {
    height: 142px;
  }
  .template-card-content {
    padding: 20px;
  }
  .template-card h2 {
    font-size: 14px;
  }
  .template-card p {
    font-size: 11px;
  }
  .template-card-actions .button {
    font-size: 11px;
    min-height: 36px;
  }
  .template-storage-note {
    font-size: 10px;
  }
  .settings-section {
    padding: 0 19px 4px;
  }
  .setting-row {
    padding: 19px 0;
  }
  .setting-row > strong,
  .setting-row > span {
    font-size: 10px;
  }
  .settings-description {
    padding: 17px 19px;
    font-size: 9px;
  }
  .settings-guide {
    padding: 20px;
    display: block;
  }
  .settings-guide p,
  .status-guide small {
    font-size: 10px;
  }
  .modal-heading {
    padding: 20px 20px 15px;
  }
  .modal-heading h2 {
    font-size: 17px;
  }
  .modal-heading p {
    font-size: 10px;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-actions {
    padding: 16px 20px;
  }
  .confirm-data {
    padding: 3px 13px;
  }
  .confirm-data > div {
    grid-template-columns: 47px minmax(0, 1fr);
    gap: 9px;
  }
  .confirm-data dd,
  .confirm-note {
    font-size: 10px;
  }
  .preview-frame {
    height: 390px;
  }
  .preview-notice {
    padding: 11px 20px;
    font-size: 9px;
  }
  .detail-recipients {
    font-size: 10px;
  }
  .detail-plain {
    font-size: 11px;
  }
  .detail-error {
    font-size: 10px;
  }
  .login-screen {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
  }
  .login-story {
    min-height: 0;
    padding: 27px 28px 35px;
  }
  .login-story > .wordmark {
    font-size: 24px;
  }
  .login-story-copy {
    padding: 32px 0 0;
    margin: 0;
  }
  .login-story-copy .eyebrow {
    font-size: 7px;
    letter-spacing: 1.8px;
  }
  .login-story h1 {
    font-size: 29px;
    line-height: 1.5;
    margin: 15px 0 10px;
    position: relative;
    z-index: 1;
  }
  .login-story-copy p {
    font-size: 11px;
    line-height: 1.9;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
  }
  .login-illustration {
    position: absolute;
    right: -51px;
    bottom: 2px;
    transform: scale(0.52);
    transform-origin: right bottom;
    margin: 0;
    opacity: 0.9;
  }
  .login-foot {
    display: none;
  }
  .login-form-side {
    padding: 39px 28px 65px;
    flex: 1;
    align-items: flex-start;
  }
  .login-box {
    width: 100%;
  }
  .login-label {
    font-size: 10px;
  }
  .login-box h2 {
    font-size: 25px;
    margin: 11px 0 10px;
  }
  .login-box > .muted {
    font-size: 11px;
    margin-bottom: 25px;
  }
  .login-box label {
    font-size: 11px;
  }
  .login-note {
    font-size: 9px;
    margin-top: 19px;
  }
  .login-copyright {
    bottom: 20px;
    font-size: 8px;
  }
  .login-submit {
    height: 44px;
    margin-top: 20px;
  }
  .mobile-only {
    display: initial;
  }
  .desktop-only {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Comfortable type sizes and contrast at application, tablet and phone widths. */
:root {
  --muted: #6f7e74;
}
.sidebar nav > a {
  font-size: 13px;
}
.workspace-badge strong,
.sender-mini strong {
  font-size: 12px;
}
.workspace-badge small {
  font-size: 8px;
}
.sidebar-caption {
  font-size: 9px;
  color: #7c8b80;
}
.sender-mini small {
  font-size: 10px;
  color: #6e8073;
}
.nav-label {
  font-size: 11px;
  color: #7d8b81;
}
.logout-button {
  font-size: 12px;
  color: #6f7f75;
}
.mini-tag {
  font-size: 9px;
  color: #6f8276;
}
.topbar-left {
  font-size: 12px;
}
.breadcrumb-home,
.connection-label {
  color: #6e7d74;
}
.connection-label {
  font-size: 11px;
}
.page-heading h1 {
  font-size: 28px;
}
.page-heading p {
  font-size: 13px;
  color: #7a887f;
}
.date-chip {
  font-size: 11px;
  color: #6c7d70;
}
.hero-copy .eyebrow {
  font-size: 10px;
}
.hero-copy h2 {
  font-size: 27px;
}
.hero-copy p {
  font-size: 13px;
  color: #bed0c4;
}
.hero-copy .button {
  font-size: 12px;
  min-height: 36px;
}
.stat-top {
  font-size: 12px;
  color: #6d7f73;
}
.stat-foot {
  font-size: 11px;
  color: #7f8e83;
}
.stat-number {
  font-size: 34px;
}
.panel-head h2 {
  font-size: 14px;
}
.panel-subtitle {
  font-size: 12px;
  color: #839286;
}
.text-link {
  font-size: 12px;
  color: #6e8475;
}
.recent-subject {
  font-size: 13px;
}
.recent-meta,
.recent-end time {
  font-size: 11px;
  color: #7f9084;
}
.status-badge {
  font-size: 11px;
}
.template-short strong {
  font-size: 12px;
}
.template-short small {
  font-size: 11px;
  color: #839487;
}
.provider-note strong {
  font-size: 12px;
}
.provider-note p {
  font-size: 11px;
  color: #768c7b;
}
.empty-state h3 {
  font-size: 15px;
}
.empty-state p {
  font-size: 12px;
  color: #7f9184;
}
.empty-state .button {
  font-size: 12px;
}
.app-footer {
  font-size: 10px;
  color: #839387;
}
.composer-title {
  font-size: 13px;
}
.autosave-status {
  font-size: 11px;
  color: #718c78;
}
.field-row label {
  font-size: 12px;
  color: #718777;
}
.field-row input {
  font-size: 14px;
}
.field-row input::placeholder {
  font-size: 12px;
  color: #929f95;
}
.sender-field {
  font-size: 12px;
  color: #718777;
}
.sender-field span {
  color: #88978b;
}
.recipient-extras button {
  font-size: 11px;
  color: #6f8977;
}
.field-help {
  font-size: 11px;
  color: #7f9587;
}
.segmented button {
  font-size: 12px;
  color: #788e7c;
}
.message-editor {
  font-size: 14px;
}
.message-editor.code {
  font-size: 13px;
}
.message-editor::placeholder {
  color: #93a398;
}
.editor-meta {
  font-size: 11px;
  color: #7e9586;
}
.drop-zone,
.drop-zone button {
  font-size: 11px;
  color: #718d79;
}
.attachment-chip {
  font-size: 12px;
}
.attachment-chip small {
  font-size: 10px;
  color: #7b9482;
}
.composer-bottom .button {
  font-size: 12px;
}
.compose-side-card h2 {
  font-size: 13px;
}
.compose-side-label {
  font-size: 11px;
  color: #7b9181;
}
.compose-side-value {
  font-size: 12px;
}
.compose-side-card .status-badge {
  font-size: 11px;
}
.template-pick {
  font-size: 12px;
}
.compose-tip h3 {
  font-size: 12px;
  color: #6f866b;
}
.compose-tip p {
  font-size: 12px;
  color: #7a9075;
}
.filter-tabs button {
  font-size: 12px;
  color: #738a7a;
}
.search-box input {
  font-size: 12px;
}
.search-box input::placeholder {
  color: #8a9d90;
}
.message-table th {
  font-size: 11px;
  color: #7d9383;
}
.message-table td {
  font-size: 12px;
}
.subject-button {
  font-size: 13px;
}
.table-recipient {
  font-size: 11px;
  color: #7e9587;
}
.table-time {
  font-size: 12px !important;
  color: #799382 !important;
}
.pagination {
  font-size: 12px;
  color: #75907d;
}
.draft-card h2 {
  font-size: 15px;
}
.draft-card p {
  font-size: 13px;
  color: #7b9282;
}
.draft-card-footer time {
  font-size: 11px;
  color: #7e9687;
}
.draft-card .button {
  font-size: 12px;
}
.template-card h2 {
  font-size: 15px;
}
.template-label {
  font-size: 10px;
  color: #7b9280;
}
.template-card p {
  font-size: 12px;
  color: #7e9586;
}
.template-card-actions .button {
  font-size: 12px;
  min-height: 36px;
}
.template-storage-note {
  font-size: 12px;
  color: #7f9485;
}
.setting-row > span,
.setting-row > strong {
  font-size: 13px;
}
.setting-row > span {
  color: #7c9283;
}
.setting-row code {
  font-size: 12px;
}
.settings-description {
  font-size: 12px;
  color: #7d9482;
}
.settings-guide h3 {
  font-size: 14px;
}
.settings-guide p {
  font-size: 12px;
  color: #7e9485;
}
.status-guide small {
  font-size: 11px;
  color: #7b9282;
}
.modal-heading p {
  font-size: 12px;
  color: #7e9485;
}
.confirm-note {
  font-size: 12px;
  color: #7b9182;
}
.confirm-data dt {
  font-size: 12px;
  color: #7f9788;
}
.confirm-data dd {
  font-size: 13px;
}
.modal-actions .button {
  font-size: 12px;
}
.preview-notice {
  font-size: 12px;
  color: #7c9282;
}
.modal-form label {
  font-size: 12px;
}
.modal-form input,
.modal-form textarea,
.modal-form select {
  font-size: 14px;
}
.form-hint {
  font-size: 12px;
  color: #7b9582;
}
.detail-header-meta {
  font-size: 12px;
  color: #7c9484;
}
.detail-recipients {
  font-size: 12px;
}
.detail-recipients label {
  color: #7b9483;
}
.detail-plain {
  font-size: 14px;
}
.detail-error {
  font-size: 12px;
}
.detail-attachments a {
  font-size: 12px;
}
.content-notice {
  font-size: 12px;
  color: #8b784f;
}
.login-note {
  font-size: 12px;
  color: #798d7e;
}
.login-label {
  font-size: 13px;
}
.login-box > .muted {
  font-size: 14px;
}
.login-box label {
  font-size: 13px;
}
.login-copyright {
  font-size: 11px;
  color: #829287;
}
.login-foot {
  font-size: 11px;
}
.login-submit {
  font-size: 14px;
}
.form-error {
  font-size: 13px;
}
@media (max-width: 1200px) {
  .workspace-badge strong {
    font-size: 11px;
  }
  .workspace-badge small {
    font-size: 7px;
  }
  .hero-copy h2 {
    font-size: 24px;
  }
  .hero-copy p {
    max-width: 295px;
  }
  .hero-copy {
    max-width: 68%;
  }
  .overview-bottom {
    grid-template-columns: minmax(0, 1fr) 263px;
  }
  .stat-card {
    padding: 18px 15px;
  }
  .stat-foot {
    font-size: 10px;
  }
  .template-short {
    gap: 9px;
  }
  .template-short strong {
    font-size: 11px;
  }
}
@media (max-width: 1020px) {
  .overview-bottom {
    grid-template-columns: 1fr;
  }
  .overview-aside {
    grid-template-columns: 1fr;
  }
  .template-short small {
    display: block;
  }
  .provider-note {
    min-height: 0;
  }
  .hero-copy {
    max-width: 74%;
  }
  .hero-copy h2 {
    font-size: 23px;
  }
  .stat-top {
    font-size: 11px;
  }
  .stat-icon {
    width: 22px;
    height: 22px;
  }
  .stat-foot {
    font-size: 10px;
  }
  .stat-card {
    padding: 15px 12px;
  }
  .stat-number {
    font-size: 31px;
  }
  .compose-aside {
    grid-template-columns: 1fr 1fr;
  }
  .template-short strong {
    font-size: 12px;
  }
}
@media (max-width: 800px) {
  .workspace-badge strong {
    font-size: 12px;
  }
  .workspace-badge small {
    font-size: 8px;
  }
  .hero-copy h2 {
    font-size: 26px;
  }
  .hero-copy {
    max-width: 72%;
  }
  .stat-top {
    font-size: 12px;
  }
  .stat-foot {
    font-size: 11px;
  }
  .stat-card {
    padding: 17px 15px;
  }
}
@media (max-width: 570px) {
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading p {
    font-size: 12px;
    max-width: 260px;
  }
  .heading-actions .button {
    font-size: 12px;
    padding: 8px 10px;
  }
  .topbar-left {
    font-size: 13px;
  }
  .connection-label {
    font-size: 10px;
  }
  .date-chip {
    font-size: 10px;
    padding: 8px;
    gap: 5px;
    white-space: nowrap;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-copy h2 {
    font-size: 23px;
  }
  .hero-copy p {
    font-size: 12px;
    max-width: 230px;
  }
  .hero-copy .eyebrow {
    font-size: 9px;
  }
  .stat-number {
    font-size: 32px;
  }
  .stat-top,
  .stat-foot {
    font-size: 12px;
  }
  .stat-card {
    padding: 17px 15px;
  }
  .stat-icon {
    width: 24px;
    height: 24px;
  }
  .stat-foot {
    line-height: 1.7;
    font-size: 11px;
  }
  .panel-head h2 {
    font-size: 14px;
  }
  .panel-subtitle {
    font-size: 11px;
  }
  .text-link {
    font-size: 12px;
  }
  .recent-subject {
    font-size: 12px;
  }
  .recent-meta {
    font-size: 11px;
    max-width: 132px;
  }
  .recent-end .status-badge {
    font-size: 10px;
  }
  .recent-end time {
    font-size: 10px;
  }
  .template-short-list {
    display: block;
    padding: 4px 18px;
  }
  .template-short {
    border-bottom: 1px solid #edf2eb;
    padding: 15px 0;
    gap: 12px;
  }
  .template-short strong {
    font-size: 13px;
    margin-bottom: 4px;
  }
  .template-short small {
    display: block;
    font-size: 11px;
  }
  .template-short > svg {
    display: block;
  }
  .template-mini-icon {
    width: 31px;
    height: 35px;
  }
  .provider-note p {
    font-size: 12px;
  }
  .app-footer {
    font-size: 9px;
    padding: 20px 18px;
  }
  .app-footer > span:last-child {
    font-size: 9px;
  }
  .composer-title {
    font-size: 13px;
  }
  .autosave-status {
    font-size: 10px;
  }
  .field-row label {
    font-size: 12px;
    width: 44px;
  }
  .field-row input {
    font-size: 16px;
  }
  .field-row input::placeholder {
    font-size: 12px;
  }
  .sender-field {
    font-size: 11px;
  }
  .recipient-extras button {
    font-size: 11px;
  }
  .field-help {
    font-size: 10px;
    line-height: 1.9;
  }
  .segmented button {
    font-size: 12px;
  }
  .message-editor,
  .message-editor.code {
    font-size: 16px;
  }
  .editor-meta {
    font-size: 10px;
    gap: 8px;
  }
  .drop-zone,
  .drop-zone button {
    font-size: 12px;
    line-height: 1.9;
  }
  .drop-zone > span:last-child {
    font-size: 10px;
  }
  .composer-bottom .button {
    font-size: 12px;
    gap: 6px;
  }
  .compose-tip p {
    font-size: 12px;
  }
  .attachment-chip {
    font-size: 12px;
  }
  .filter-tabs button {
    font-size: 12px;
    padding: 7px 8px;
  }
  .search-box input {
    font-size: 16px;
    padding: 2px;
  }
  .search-box input::placeholder {
    font-size: 13px;
  }
  .message-table th {
    font-size: 12px;
  }
  .subject-button {
    font-size: 13px;
  }
  .table-recipient {
    font-size: 12px;
  }
  .pagination {
    font-size: 12px;
  }
  .template-card p {
    font-size: 13px;
  }
  .template-card-actions .button {
    font-size: 13px;
  }
  .template-label {
    font-size: 11px;
  }
  .template-storage-note {
    font-size: 12px;
  }
  .setting-row > strong,
  .setting-row > span {
    font-size: 12px;
  }
  .setting-row {
    gap: 12px;
  }
  .settings-description {
    font-size: 12px;
  }
  .settings-guide p,
  .status-guide small {
    font-size: 12px;
  }
  .modal-heading p {
    font-size: 12px;
  }
  .confirm-data dt {
    font-size: 12px;
  }
  .confirm-data dd {
    font-size: 13px;
  }
  .confirm-data > div {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px;
  }
  .confirm-note {
    font-size: 12px;
  }
  .preview-notice {
    font-size: 11px;
  }
  .detail-recipients {
    font-size: 12px;
  }
  .detail-plain {
    font-size: 14px;
  }
  .detail-error {
    font-size: 12px;
  }
  .login-story-copy .eyebrow {
    font-size: 9px;
  }
  .login-story-copy p {
    font-size: 12px;
  }
  .login-label {
    font-size: 12px;
  }
  .login-box > .muted {
    font-size: 13px;
  }
  .login-box label {
    font-size: 13px;
  }
  .password-wrap input {
    font-size: 16px;
  }
  .login-note {
    font-size: 10px;
  }
  .login-copyright {
    font-size: 10px;
  }
  .modal-form input,
  .modal-form textarea,
  .modal-form select {
    font-size: 16px;
  }
  .login-story {
    padding-bottom: 30px;
  }
}
