@import url('/assets/web-tools/web-tools-common.css');

.eml-viewer{gap:16px}
.eml-meta dd{line-height:1.6}
.eml-tabs{margin-top:2px}
.eml-view textarea{min-height:320px}
.eml-html-frame{display:block;width:100%;height:420px;border:1px solid var(--line);border-radius:12px;background:#fff;box-sizing:border-box}
.eml-attachments{display:grid;gap:10px;padding-top:4px}
.eml-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px}
.eml-section-title span{color:var(--muted);font-size:12px}
.eml-attachment-list{display:grid;gap:8px}
.eml-attachment{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:var(--surface-soft)}
.eml-attachment-info{min-width:0}
.eml-attachment-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.eml-attachment-info span{display:block;margin-top:3px;color:var(--muted);font-size:11px}
.eml-attachment button{min-height:34px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font-size:12px;font-weight:800;cursor:pointer}
@media(max-width:720px){
    .eml-view textarea{min-height:260px}
    .eml-html-frame{height:340px}
}
