.outbound-mail-panel {
  width: min(1120px, calc(100% - 32px));
  margin: 24px auto 64px;
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.92);
  color: #e5eefb;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.34);
  box-sizing: border-box;
}
.outbound-mail-panel[hidden] { display: none !important; }
.outbound-mail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.outbound-mail-heading h2 { margin: 3px 0 7px; color: #f8fafc; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; }
.outbound-mail-heading p { margin: 0; color: #94a3b8; line-height: 1.6; }
.outbound-mail-heading .outbound-mail-eyebrow { color: #38bdf8; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.outbound-mail-domain { padding: 8px 12px; border: 1px solid rgba(56, 189, 248, .35); border-radius: 999px; color: #7dd3fc; background: rgba(14, 165, 233, .1); font: 600 13px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.outbound-mail-form { display: grid; gap: 18px; }
.outbound-mail-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.outbound-mail-form label { display: grid; gap: 8px; color: #cbd5e1; font-size: 14px; font-weight: 700; }
.outbound-mail-form input,
.outbound-mail-form textarea { width: 100%; border: 1px solid rgba(148, 163, 184, .3); border-radius: 12px; outline: none; background: rgba(2, 6, 23, .72); color: #f8fafc; font: 500 15px/1.5 ui-sans-serif, system-ui, sans-serif; box-sizing: border-box; transition: border-color .15s ease, box-shadow .15s ease; }
.outbound-mail-form input { height: 48px; padding: 0 14px; }
.outbound-mail-form textarea { min-height: 220px; resize: vertical; padding: 14px; }
.outbound-mail-form input:focus,
.outbound-mail-form textarea:focus { border-color: #38bdf8; box-shadow: 0 0 0 3px rgba(56, 189, 248, .14); }
.outbound-mail-form input::placeholder,
.outbound-mail-form textarea::placeholder { color: #64748b; }
.outbound-mail-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.outbound-mail-actions button { min-width: 140px; height: 48px; border: 0; border-radius: 12px; padding: 0 22px; background: linear-gradient(135deg, #0ea5e9, #2563eb); color: white; font: 800 15px/1 ui-sans-serif, system-ui, sans-serif; cursor: pointer; box-shadow: 0 10px 28px rgba(37, 99, 235, .28); }
.outbound-mail-actions button:hover { filter: brightness(1.08); }
.outbound-mail-actions button:disabled { cursor: wait; opacity: .6; }
.outbound-mail-status { margin: 0; color: #94a3b8; font-size: 14px; }
.outbound-mail-status.is-success { color: #4ade80; }
.outbound-mail-status.is-error { color: #fb7185; }
@media (max-width: 720px) {
  .outbound-mail-panel { width: min(100% - 20px, 1120px); padding: 20px; border-radius: 18px; }
  .outbound-mail-heading { display: grid; }
  .outbound-mail-row { grid-template-columns: 1fr; }
  .outbound-mail-actions { align-items: stretch; flex-direction: column; }
  .outbound-mail-actions button { width: 100%; }
}
