:root {
  --ink: #102638;
  --paper: #f4f1ea;
  --white: #fffdf9;
  --line: #d7d1c6;
  --orange: #fb7444;
  --green: #36a877;
  --muted: #60707b;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; background: linear-gradient(122deg, #e8ece4 0%, var(--paper) 48%, #ece6db 100%); }
.shell { width: min(1130px, calc(100% - 48px)); min-height: calc(100vh - 72px); margin: 0 auto; padding: 56px 0 42px; display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(48px, 9vw, 140px); align-items: center; }
.intro { min-height: 590px; display: flex; flex-direction: column; justify-content: space-between; }
.brand { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: -1px; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; background: var(--ink); color: var(--white); font-family: Georgia, serif; font-size: 17px; font-style: italic; border-radius: 8px 8px 2px 8px; }
.muted { color: var(--muted); }
.intro-copy { margin-top: auto; margin-bottom: auto; }
.eyebrow { margin: 0 0 15px; color: var(--orange); font: 12px/1.1 "DM Mono", monospace; text-transform: uppercase; letter-spacing: .12em; }
h1, h2 { margin: 0; letter-spacing: -.065em; }
h1 { font-size: clamp(48px, 5.5vw, 74px); line-height: .98; font-weight: 800; }
h1 em { color: var(--orange); font-family: Georgia, serif; font-weight: 400; }
.lede { max-width: 375px; margin: 27px 0 0; font-size: 16px; line-height: 1.7; color: var(--muted); }
.route-card { width: fit-content; display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; padding: 14px 17px; background: rgb(255 253 249 / .55); border: 1px solid rgb(16 38 56 / .10); border-radius: 10px; }
.route-status { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 5px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgb(54 168 119 / .12); }
.route-card strong, .route-card small { display: block; }
.route-card strong { font-size: 13px; }
.route-card small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.fine-print { max-width: 350px; margin: 0; color: #738087; font-size: 11px; line-height: 1.55; }
.composer { padding: clamp(28px, 4vw, 48px); background: var(--white); border: 1px solid #ded8cd; border-radius: 18px; box-shadow: 0 20px 50px rgb(43 44 39 / .10); }
.composer-heading { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 27px; border-bottom: 1px solid var(--line); }
.composer-heading .eyebrow { margin-bottom: 8px; }
h2 { font-size: 31px; line-height: 1.1; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; color: #428966; background: #eaf6ef; border-radius: 20px; font: 10px "DM Mono", monospace; text-transform: uppercase; }
.live-dot i { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.notice { margin: 22px 0 2px; padding: 13px 15px; border-radius: 8px; font-size: 12px; line-height: 1.5; }
.notice strong { margin-right: 4px; }
.notice ul { margin: 5px 0 0 16px; padding: 0; }
.setup-notice { color: #77572d; background: #fff4da; border: 1px solid #f5d99f; }
.error-notice { color: #852e2b; background: #fff0ed; border: 1px solid #f5c3ba; }
.success-notice { color: #226b4a; background: #ebf8ef; border: 1px solid #bee7ca; }
.success-notice span { font-family: "DM Mono", monospace; font-size: 10px; }
form { margin-top: 29px; }
.field { margin-top: 23px; }
.field:first-child { margin-top: 0; }
label { display: flex; justify-content: space-between; margin-bottom: 9px; font-size: 13px; font-weight: 700; }
label span { color: #839098; font-size: 11px; font-weight: 500; }
textarea { width: 100%; resize: vertical; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; outline: none; color: var(--ink); background: #fffefa; font: 13px/1.5 "DM Mono", monospace; transition: border-color .2s, box-shadow .2s; }
textarea::placeholder { color: #a6afa8; }
textarea:focus { border-color: #e58561; box-shadow: 0 0 0 3px rgb(251 116 68 / .12); }
.field-help { margin: 7px 0 0; color: #859198; font-size: 10px; line-height: 1.45; }
.message-field textarea { min-height: 150px; }
.consent { justify-content: flex-start; align-items: flex-start; gap: 9px; margin-top: 21px; color: #65737b; font-size: 10px; line-height: 1.5; font-weight: 500; cursor: pointer; }
.consent input { width: 14px; height: 14px; margin: 1px 0 0; accent-color: var(--orange); }
.consent span { color: inherit; font-size: inherit; }
.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.sender { color: #839098; font: 10px "DM Mono", monospace; }
.sender strong { display: block; max-width: 150px; margin-top: 5px; overflow: hidden; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
button { display: inline-flex; align-items: center; gap: 18px; min-height: 46px; padding: 0 9px 0 18px; cursor: pointer; color: white; background: var(--ink); border: 0; border-radius: 8px; font: 700 12px Manrope, sans-serif; transition: transform .15s, background .15s; }
button:hover { background: #1d4057; transform: translateY(-1px); }
button b { display: grid; width: 28px; height: 28px; place-items: center; color: var(--ink); background: var(--orange); border-radius: 5px; font-size: 17px; }
.status-panel { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.status-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.status-heading .eyebrow { margin-bottom: 7px; }
h3 { margin: 0; font-size: 19px; letter-spacing: -.045em; }
.message-id { max-width: 180px; overflow: hidden; color: #748289; font: 9px/1.4 "DM Mono", monospace; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.status-copy { margin: 15px 0 0; color: #748289; font-size: 11px; line-height: 1.6; }
.status-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.status-summary div { padding: 11px 8px; background: #f5f5ee; border-radius: 7px; text-align: center; }
.status-summary strong, .status-summary span { display: block; }
.status-summary strong { font: 700 20px "DM Mono", monospace; }
.status-summary span { margin-top: 2px; color: #7b898e; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.recipient-reports { max-height: 175px; margin-top: 12px; overflow-y: auto; border: 1px solid #e5e0d7; border-radius: 7px; }
.recipient-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 11px; border-bottom: 1px solid #eee9df; font: 10px "DM Mono", monospace; }
.recipient-row:last-child { border-bottom: 0; }
.recipient-row span { overflow: hidden; color: #54656e; text-overflow: ellipsis; white-space: nowrap; }
.recipient-row b { flex: 0 0 auto; font-size: 9px; text-transform: uppercase; }
.status-delivered { color: #2c9670; }.status-pending { color: #af7d32; }.status-failed { color: #c74a42; }
.status-form { margin-top: 16px; }
.status-form label { margin-bottom: 7px; color: #7d8a90; font-size: 10px; font-weight: 600; }
.status-form > div { display: flex; gap: 8px; }
.status-form input { min-width: 0; flex: 1; padding: 10px 11px; border: 1px solid var(--line); border-radius: 7px; outline: none; color: var(--ink); background: #fffefa; font: 10px "DM Mono", monospace; }
.status-form input:focus { border-color: #e58561; box-shadow: 0 0 0 3px rgb(251 116 68 / .12); }
.status-form button { min-height: 36px; padding: 0 13px; border-radius: 7px; font-size: 10px; }
footer { width: min(1130px, calc(100% - 48px)); margin: 0 auto 26px; color: #899398; font: 9px "DM Mono", monospace; letter-spacing: .12em; }
footer span { padding: 0 8px; color: var(--orange); }
@media (max-width: 800px) { .shell { grid-template-columns: 1fr; gap: 42px; padding-top: 32px; } .intro { min-height: auto; gap: 45px; } .intro-copy { margin: 0; } .route-card { margin: 0; } }
@media (max-width: 480px) { .shell, footer { width: min(100% - 28px, 1130px); } .shell { padding-bottom: 28px; } .composer { padding: 24px 18px; } h2 { font-size: 27px; } .form-footer { align-items: flex-end; } }
