/* Existing Meridian tokens and components remain the visual authority. */
.em-actions { justify-content:flex-end; margin-bottom:18px; }
.restore-root { display:grid; gap:22px; }
.em-detail { margin:auto; padding:28px; width:min(900px,calc(100% - 32px)); max-height:90vh; overflow:auto; overscroll-behavior:contain; border:1px solid var(--line); border-radius:20px; color:var(--ink); background:var(--paper,#f6faf8); box-shadow:0 20px 80px #12423c33; }
.em-detail::backdrop { background:#123c3659; }
.em-dialog-head { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.em-dialog-head h2 { font-size:20px; }
.em-open { border:0; background:none; padding:6px 0; color:var(--deep); font:inherit; text-align:left; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.em-open:focus-visible { outline:2px solid var(--deep); outline-offset:4px; }
.em-detail-grid { display:grid; grid-template-columns:1fr 1.2fr; gap:28px; margin-top:20px; }
.em-preview { width:100%; max-width:460px; margin:18px 0; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:white; white-space:normal; }
.em-brand { padding:24px; background:var(--ink); color:white; font-size:19px; font-weight:700; letter-spacing:2px; }
.em-brand span { display:block; font-size:10px; letter-spacing:3px; margin-top:6px; }
.em-message { padding:24px; }
.em-message h3 { font-size:20px; line-height:1.3; margin:18px 0; text-wrap:balance; }
.em-message p { line-height:1.65; overflow-wrap:anywhere; }
.em-preview footer { padding:20px 24px; border-top:1px solid var(--line); font-size:12px; line-height:1.8; color:var(--muted); }
.em-how { padding-left:20px; line-height:1.7; }
.em-how li { margin-bottom:12px; }
.em-detail .tracking-stepper { padding-left:24px; white-space:normal; }
.em-detail .sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
@media(max-width:700px) { .em-detail { padding:18px; } .em-detail-grid { grid-template-columns:1fr; } .em-preview { min-width:0; } .em-message,.em-brand { padding:18px; } }
