:root {
  --yellow: #ffc400;
  --yellow-soft: #fff4bd;
  --yellow-dark: #c99800;
  --ink: #111214;
  --muted: #626b76;
  --line: #e0e4e9;
  --soft: #f5f7fa;
  --paper: #ffffff;
  --danger: #b42318;
  --green: #16764a;
  --sidebar: #f1f3f6;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font-family: Inter, Arial, Helvetica, sans-serif; color: var(--ink); background: var(--soft); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
.eyebrow { margin: 0 0 8px; color: #856400; font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
h1, h2, h3, p { margin-top: 0; }
.login-screen { min-height: 100vh; background: linear-gradient(135deg, rgba(255,196,0,.28), rgba(255,255,255,1) 42%, #f6f7f9 100%); }
.login-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 84px; padding: 14px clamp(18px, 5vw, 64px); border-bottom: 1px solid rgba(17,18,20,.08); background: rgba(255,255,255,.88); backdrop-filter: blur(14px); }
.login-brand img { width: 170px; }
.login-header span { padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-weight: 800; }
.login-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .64fr); gap: clamp(28px, 5vw, 72px); align-items: center; min-height: calc(100vh - 84px); padding: clamp(32px, 6vw, 72px); }
.login-copy h1 { max-width: 780px; margin-bottom: 18px; font-size: clamp(3rem, 7vw, 6.2rem); line-height: .92; letter-spacing: 0; }
.login-copy p { max-width: 680px; color: #3e454f; font-size: 1.1rem; line-height: 1.65; }
.login-card { display: grid; gap: 16px; padding: clamp(22px, 4vw, 32px); border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.96); box-shadow: 0 24px 60px rgba(17,18,20,.12); }
.login-card h2 { margin-bottom: 0; font-size: 1.8rem; }
.login-card p { color: var(--muted); line-height: 1.5; }
label { display: grid; gap: 8px; color: #25282d; font-size: .9rem; font-weight: 850; }
input, textarea, select { width: 100%; border: 1px solid #d2d8df; border-radius: 6px; padding: 12px 13px; background: #fff; color: var(--ink); }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(255,196,0,.32); border-color: var(--yellow-dark); }
.login-card button, .create-form button, .compose-actions button { min-height: 46px; border: 0; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 900; }
.owner-note { display: grid; gap: 4px; padding: 12px; border-radius: 6px; background: #fff8db; color: #5a4500; font-size: .9rem; }
.form-message { min-height: 20px; margin: 0; color: var(--danger); font-weight: 850; }
.form-message.success { color: var(--green); }
.mail-app { display: grid; grid-template-columns: 270px minmax(0, 1fr); min-height: 100vh; }
.sidebar { display: grid; grid-template-rows: auto auto auto auto 1fr auto; gap: 18px; min-height: 100vh; padding: 18px; border-right: 1px solid var(--line); background: var(--sidebar); }
.sidebar-brand { display: block; padding: 8px 4px 2px; }
.sidebar-brand img { width: 184px; }
.compose-main { width: 100%; min-height: 58px; border: 0; border-radius: 8px; background: var(--yellow); color: var(--ink); box-shadow: 0 14px 26px rgba(255,196,0,.32); font-size: 1.05rem; font-weight: 950; }
.compose-main:hover { filter: brightness(1.02); transform: translateY(-1px); }
.mail-nav { display: grid; gap: 4px; padding: 8px; border: 1px solid #d8dee7; border-radius: 8px; background: #fff; box-shadow: 0 14px 32px rgba(17,18,20,.05); }
.nav-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 46px; border: 1px solid transparent; border-radius: 7px; padding: 0 10px 0 14px; background: transparent; color: #343b46; font-weight: 900; text-align: left; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.nav-item::before { content: ''; position: absolute; left: 6px; top: 11px; bottom: 11px; width: 3px; border-radius: 999px; background: transparent; }
.nav-item:hover { background: #f7f9fb; border-color: #e0e5ec; }
.nav-item.active { background: #fff8db; border-color: #f0d66b; box-shadow: 0 10px 22px rgba(255,196,0,.12); }
.nav-item.active::before { background: var(--yellow); }
.nav-item span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left: 4px; }
.nav-item strong { display: grid; place-items: center; min-width: 30px; height: 26px; border: 1px solid #dce2ea; border-radius: 999px; background: #f5f7fa; color: #444c58; font-size: .78rem; font-weight: 950; }
.nav-item.active strong { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.sidebar-tools { display: grid; gap: 8px; margin-top: 2px; padding-top: 16px; border-top: 1px solid #d6dbe3; }
.side-tool { display: flex; align-items: center; justify-content: flex-start; min-height: 44px; border: 1px solid #d8dee7; border-radius: 7px; padding: 0 14px; background: #fff; color: var(--ink); font-weight: 900; text-align: left; box-shadow: 0 10px 22px rgba(17,18,20,.04); }
.side-tool.primary-tool { border-color: var(--yellow); background: var(--yellow); box-shadow: 0 10px 20px rgba(255,196,0,.22); }
.side-tool.active { background: #fff; box-shadow: 0 10px 24px rgba(17,18,20,.08); border-color: #ccd3dc; }
.side-tool.primary-tool.active { background: var(--yellow); border-color: var(--yellow); }
#openSettings { margin-top: -8px; }
.account-box { align-self: end; display: grid; gap: 5px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.account-box strong, .account-box span { overflow-wrap: anywhere; }
.account-box span { color: var(--muted); font-size: .9rem; }
.signout-button, .tool-button, .icon-button { min-height: 40px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font-weight: 850; }
.signout-button { width: 100%; }
.mail-main { display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); gap: 14px; min-width: 0; padding: 22px; }
.topbar { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.topbar h1 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; letter-spacing: 0; }
.tool-button { padding: 0 14px; }
.primary-tool { border-color: var(--yellow); background: var(--yellow); box-shadow: 0 10px 20px rgba(255,196,0,.22); }
.owner-panel { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 18px; box-shadow: 0 18px 40px rgba(17,18,20,.08); }
.panel-heading, .account-summary, .mail-toolbar, .compose-head, .compose-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.panel-heading h2 { margin-bottom: 0; }
.create-form { display: grid; grid-template-columns: 1.15fr 1fr .85fr 1fr auto; gap: 12px; align-items: end; margin-top: 16px; }
.helper-text { color: var(--muted); line-height: 1.5; }
.account-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 16px 0 14px; }
.stat-card { min-height: 92px; display: grid; align-content: space-between; border: 1px solid var(--line); border-radius: 8px; padding: 13px; background: #fff; color: var(--ink); text-align: left; box-shadow: 0 10px 22px rgba(17,18,20,.05); }
.stat-card:hover { border-color: #b9c1cc; transform: translateY(-1px); }
.stat-card.active { border-color: var(--yellow); background: #fff8db; box-shadow: 0 12px 24px rgba(255,196,0,.18); }
.account-stats span { color: var(--muted); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.account-stats strong { font-size: 2rem; line-height: 1; }
.account-controls { display: grid; grid-template-columns: minmax(240px, 1fr) 190px 190px; gap: 12px; align-items: end; margin-bottom: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.account-controls label { display: grid; gap: 7px; color: var(--muted); font-weight: 850; }
.account-controls input, .account-controls select { min-height: 42px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; background: #fff; color: var(--ink); }
.accounts-list { display: grid; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.account-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); background: #fff; }
.account-row:last-child { border-bottom: 0; }
.account-row:hover { background: #fbfcfd; }
.account-main { min-width: 0; display: grid; gap: 7px; }
.account-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.account-row h3 { margin: 0; font-size: 1.02rem; }
.role-chip { display: inline-flex; align-items: center; min-height: 24px; border-radius: 999px; padding: 0 9px; background: #fff8db; color: #5a4500; font-size: .75rem; font-weight: 950; }
.account-row p { margin: 0; color: #39414d; overflow-wrap: anywhere; }
.account-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .84rem; font-weight: 750; }
.account-meta span { display: inline-flex; min-height: 26px; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 0 9px; background: var(--soft); }
.account-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.account-actions button { min-height: 36px; border: 1px solid var(--line); border-radius: 6px; padding: 0 10px; background: #fff; color: var(--ink); font-size: .86rem; font-weight: 850; }
.account-actions button:hover:not(:disabled) { border-color: #b9c1cc; background: #f7f9fb; }
.account-actions button:disabled { cursor: not-allowed; opacity: .48; }
.account-actions .danger { border-color: var(--danger); background: var(--danger); color: #fff; }
.status { display: inline-flex; width: fit-content; padding: 5px 8px; border-radius: 999px; background: #e8f6ee; color: var(--green); font-size: .78rem; font-weight: 900; }
.status.inactive { background: #fbe7e5; color: var(--danger); }
.empty-card { display: grid; gap: 6px; padding: 24px; background: #fff; text-align: left; }
.empty-card h3, .empty-card p { margin: 0; }
.empty-card p { color: var(--muted); }
.mail-layout { display: grid; grid-template-columns: minmax(320px, .88fr) minmax(360px, 1.12fr); gap: 14px; min-height: 0; }
.message-column, .reading-pane { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 18px 40px rgba(17,18,20,.06); }
.message-column { display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
.mail-toolbar { padding: 14px; border-bottom: 1px solid var(--line); }
.mail-toolbar input { min-height: 42px; }
.message-list { overflow: auto; max-height: calc(100vh - 178px); }
.message-item { display: grid; gap: 7px; width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 15px 16px; background: #fff; color: var(--ink); text-align: left; }
.message-item:hover, .message-item.active { background: #fff9df; }
.message-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.message-name { font-weight: 950; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.message-date { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.message-subject { font-weight: 850; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.message-preview { margin: 0; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.empty-list { padding: 28px 18px; color: var(--muted); text-align: center; }
.reading-pane { overflow: auto; padding: clamp(22px, 3vw, 34px); }
.empty-state { display: grid; place-content: center; min-height: 420px; text-align: center; color: var(--muted); }
.empty-state h2 { color: var(--ink); }
.read-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; color: var(--muted); font-weight: 800; }
.reading-pane h2 { font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.05; letter-spacing: 0; }
.read-body { white-space: pre-wrap; color: #303741; line-height: 1.72; font-size: 1.02rem; }
.read-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.read-actions button { min-height: 40px; border: 1px solid var(--line); border-radius: 6px; padding: 0 14px; background: #fff; font-weight: 850; }
.reset-modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: end center; padding: 22px; background: rgba(17,18,20,.18); }
.reset-card { width: min(760px, 100%); display: grid; gap: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 18px; box-shadow: 0 28px 70px rgba(17,18,20,.24); }
.compose-form-page, .settings-form { display: grid; gap: 14px; }
.compose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.compose-panel textarea, .settings-panel textarea { min-height: 260px; }
.compose-head h2 { margin-bottom: 0; }
.reset-account-box { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.reset-account-box strong, .reset-account-box span { overflow-wrap: anywhere; }
.reset-account-box span { color: var(--muted); }
.compose-actions { justify-content: flex-start; }
.compose-actions button { padding: 0 18px; }
.draft-button { border: 1px solid var(--line) !important; background: #fff !important; color: var(--ink) !important; }
@media (max-width: 1040px) { .mail-app { grid-template-columns: 220px minmax(0, 1fr); } .mail-layout { grid-template-columns: 1fr; } .reading-pane { min-height: 360px; } .create-form { grid-template-columns: 1fr 1fr; } .account-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .account-controls { grid-template-columns: 1fr 1fr; } .account-controls label:first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .compose-grid { grid-template-columns: 1fr; }  .login-grid { grid-template-columns: 1fr; padding: 24px 18px; } .login-header { align-items: flex-start; flex-direction: column; } .login-header span { width: 100%; overflow-wrap: anywhere; } .mail-app { grid-template-columns: 1fr; } .sidebar { position: static; min-height: auto; grid-template-rows: auto; } .mail-main { padding: 16px; } .topbar, .panel-heading, .mail-toolbar { align-items: flex-start; flex-direction: column; } .mail-toolbar input, .tool-button { width: 100%; } .create-form, .account-controls, .account-stats { grid-template-columns: 1fr; } .account-controls label:first-child { grid-column: auto; } .account-row { grid-template-columns: 1fr; } .account-actions { justify-content: flex-start; } .message-list { max-height: none; } .login-copy h1 { font-size: 3rem; } }

.star-button { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: #a5adb7; font-size: 1.18rem; line-height: 1; }
.star-button.starred { color: var(--yellow-dark); background: #fff4bd; border-color: #f0d66b; }
.message-title-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: center; }
.message-title-row .message-subject { min-width: 0; }
.read-title-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
.read-title-row h2 { margin-bottom: 0; }
.read-actions .danger-action { border-color: var(--danger); background: var(--danger); color: #fff; }

/* Professional reading pane */
.reading-pane {
  padding: 0;
  background: linear-gradient(180deg, #f8fafc, #eef2f6);
  border: 1px solid #dce2e8;
  overflow: hidden;
}
.email-card {
  display: grid;
  min-height: 100%;
  grid-template-rows: auto auto minmax(220px, 1fr) auto;
  background: #fff;
}
.email-card-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}
.sender-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 950;
}
.email-meta-block { min-width: 0; }
.email-parties {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.email-parties strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
}
.email-parties span,
.email-route {
  color: var(--muted);
  font-size: .88rem;
}
.email-route {
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.email-head-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.more-button {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 950;
  line-height: 1;
}
.menu-wrap { position: relative; }
.message-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  width: 210px;
  padding: 8px;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 52px rgba(17,18,20,.18);
}
.message-menu button {
  display: block;
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 850;
}
.message-menu button:hover { background: #fff4bd; }
.email-subject-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 24px 22px 18px;
  border-bottom: 1px solid var(--line);
}
.email-subject-row h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.folder-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff4bd;
  color: #5f4700;
  font-weight: 900;
  font-size: .82rem;
}
.email-body-card {
  margin: 0 22px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.email-body-card .read-body {
  padding: clamp(18px, 3vw, 28px);
  font-size: 1.03rem;
  line-height: 1.75;
  color: #242a31;
}
.email-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
}
.email-footer button,
.read-actions button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}
.email-footer .danger-action,
.read-actions .danger-action {
  border-color: var(--danger);
  background: var(--danger);
  color: #fff;
}
.quiet-action { background: #fff; }
@media (max-width: 760px) {
  .email-card-head { grid-template-columns: 42px minmax(0, 1fr); }
  .email-head-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .email-subject-row { grid-template-columns: 1fr; }
}


/* Gmail-style composer */
.rich-compose {
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.format-toolbar,
.compose-bottom-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 7px 10px;
  background: #f7f9fc;
}
.format-toolbar {
  border-bottom: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  flex-wrap: wrap;
}
.compose-bottom-bar {
  position: relative;
  border-top: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  flex-wrap: wrap;
}
.format-toolbar.hidden { display: none; }
.tool-icon,
.tool-chip,
.send-menu-button {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 9px;
  background: transparent;
  color: #3f4752;
  font-weight: 900;
}
.tool-icon:hover,
.tool-chip:hover,
.send-menu-button:hover {
  border-color: #d6dce5;
  background: #fff;
}
.tool-chip.active { background: #e8f0fe; color: #1d4ed8; }
.danger-icon { margin-left: auto; color: var(--danger); }
.toolbar-divider { width: 1px; height: 26px; margin: 0 4px; background: #d8dee7; }
.format-toolbar select {
  width: auto;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 26px 0 9px;
  background: transparent;
  color: #2d3440;
  font-weight: 800;
}
.format-toolbar select:hover { border-color: #d6dce5; background: #fff; }
.color-tool {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #3f4752;
  font-size: 1rem;
  font-weight: 950;
}
.color-tool:hover { border-color: #d6dce5; background: #fff; }
.color-tool input {
  position: absolute;
  inset: 0;
  opacity: 0;
  padding: 0;
  cursor: pointer;
}
.compose-editor {
  min-height: 300px;
  padding: 18px;
  color: #20242a;
  font-size: 1rem;
  line-height: 1.65;
  outline: none;
  overflow-wrap: anywhere;
}
.compose-editor:empty::before {
  content: attr(data-placeholder);
  color: #8a929d;
  font-weight: 800;
}
.compose-editor a { color: #1d4ed8; text-decoration: underline; }
.compose-editor img,
.read-body img { max-width: 100%; border-radius: 6px; border: 1px solid var(--line); }
.compose-signature { color: #4b5563; }
.attachment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
}
.attachment-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid #d6dce5;
  border-radius: 999px;
  padding: 0 10px;
  background: #fff;
  color: #2d3440;
  font-size: .86rem;
  font-weight: 850;
}
.attachment-pill button {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #eef1f5;
  color: #515a66;
  font-weight: 950;
}
.send-split { position: relative; display: inline-flex; align-items: center; }
.send-primary,
.send-menu-button {
  min-height: 38px;
  border: 0;
  background: #0b57d0;
  color: #fff;
  font-weight: 950;
}
.send-primary { border-radius: 999px 0 0 999px; padding: 0 18px; }
.send-menu-button { min-width: 38px; border-left: 1px solid rgba(255,255,255,.35); border-radius: 0 999px 999px 0; }
.send-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 20;
  width: 170px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(17,18,20,.16);
}
.send-menu button {
  width: 100%;
  min-height: 40px;
  border: 0;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  font-weight: 850;
}
.send-menu button:hover { background: #f5f7fa; }
.secondary-actions { margin-top: -4px; }
.secondary-actions .draft-button { min-height: 40px; }
.confidential-banner {
  margin: 0 12px 12px;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  padding: 10px 12px;
  background: #eef5ff;
  color: #174ea6;
  font-weight: 850;
}
.read-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 clamp(18px, 3vw, 28px) 22px;
}
@media (max-width: 760px) {
  .format-toolbar,
  .compose-bottom-bar { gap: 4px; padding: 7px; }
  .danger-icon { margin-left: 0; }
  .compose-editor { min-height: 240px; padding: 14px; }
}
