.email-page { margin:0; background:var(--theme-page); color:var(--theme-text); font:15px/1.6 system-ui,sans-serif; letter-spacing:0; }
.email-page * { box-sizing:border-box; }
.email-page [hidden] { display:none!important; }
.email-header { min-height:56px; padding:10px 24px; display:flex; justify-content:space-between; align-items:center; gap:16px; background:var(--theme-header); }
.email-header a { display:flex; align-items:center; gap:10px; text-decoration:none; }
.email-header img { width:30px; height:30px; object-fit:contain; }
.email-page main { max-width:880px; margin:24px auto 64px; padding:0 24px; }
.email-page h1 { font-size:24px; margin:0 0 12px; }
.email-page h2 { font-size:19px; margin:0 0 16px; }
.email-page section { padding:24px 0; border-bottom:1px solid var(--theme-border); }
.email-page form { margin:16px 0; }
.email-page label { display:block; margin:8px 0 4px; }
.email-page input,.email-page select,.email-page button { font:inherit; color:var(--theme-text); background:var(--theme-input); border:1px solid var(--theme-border); border-radius:4px; min-height:40px; padding:8px 12px; max-width:100%; }
.email-page input:not([type=checkbox]),.email-page select { width:100%; }
.email-page input[type=checkbox] { width:20px; height:20px; min-height:0; accent-color:var(--theme-accent); }
.email-page input:focus-visible,.email-page select:focus-visible,.email-page button:focus-visible { outline:2px solid var(--theme-accent); outline-offset:2px; }
.email-page button { cursor:pointer; white-space:nowrap; }
.email-page button:hover { background:var(--theme-hover); }
.email-page button:disabled { opacity:.55; cursor:wait; }
.email-page button[type=submit] { margin-top:12px; }
.email-page a { color:var(--theme-text); text-decoration:underline; text-underline-offset:3px; }
.email-page p,.email-page span { overflow-wrap:anywhere; }
.email-columns { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.email-rows { padding:0; list-style:none; }
.email-row { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:10px 0; border-bottom:1px solid var(--theme-border); }
.email-row > :first-child { min-width:0; overflow-wrap:anywhere; }
.email-row select { flex:0 0 145px; }
.email-row button { flex-shrink:0; }
.email-muted { color:var(--theme-muted); font-size:14px; }
.email-public { max-width:500px; }
.email-section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.email-section-heading h2 { margin:0; }
.email-delivery-state { text-align:right; flex:0 0 145px; font-size:14px; }
#tokenRecovery { display:flex; flex-wrap:wrap; gap:12px; }
#pendingEmail { border-left:3px solid var(--theme-accent); padding:0 12px; margin:16px 0; }
#emailStatus { position:sticky; top:0; z-index:1; background:var(--theme-page); padding:8px 0; min-height:24px; }
@media(max-width:576px) { .email-page main { padding:0 16px; } .email-header { padding:10px 16px; } .email-columns { grid-template-columns:1fr; gap:0; } .email-row { gap:8px; } .email-row select { flex-basis:115px; } }
