/* JP Studio – Bereich „E-Mails“ auf der Startseite (studio-email.js). Präfix em- */
.em-thumb{position:relative;background:#eef2f8;display:flex;align-items:center;justify-content:center}
.em-ph{display:flex;flex-direction:column;align-items:stretch;width:62%;height:84%;background:#fff;border-radius:6px;box-shadow:0 4px 14px #11192d1f;overflow:hidden}
.em-phhead{height:16%;background:#22335e}
.em-ph img{display:block;width:100%;height:38%;object-fit:cover}
.em-phic{display:flex;align-items:center;justify-content:center;height:38%;color:#b07f3c}
.em-phic .i{width:30px;height:30px}
.em-phlines{display:flex;flex-direction:column;gap:6px;padding:10px 12%}
.em-phlines i{display:block;height:5px;border-radius:3px;background:#dfe4ee}
.em-phlines i:nth-child(2){width:86%}
.em-phlines i:nth-child(3){width:60%}
.em-note{color:var(--muted);font-size:.84rem;max-width:560px}
.em-gap{margin:12px auto 0}
.em-status{min-height:1.3em;font-size:.86rem;color:#18223a;margin:4px 0}
.em-tplwrap{max-height:min(52vh,520px);overflow:auto;margin:10px -4px 12px;padding:0 4px}
.em-grp{margin:12px 0 6px;font-size:.8rem;color:#1b2d5b}
.em-tpls{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin:0 0 6px}
.em-tplprev{display:block;width:100%;height:150px;overflow:hidden;border-radius:8px;background:#eef1f6;margin-bottom:6px}
.em-wide{max-width:min(900px,96vw)!important;width:min(900px,96vw)!important}
.em-kit{max-width:280px}
.em-tpl{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:8px;border:2px solid var(--line,#dfe5ee);border-radius:14px;background:#fff;cursor:pointer;text-align:left;font:inherit;color:#18223a}
.em-tpl .i{width:24px;height:24px;color:#b07f3c}
.em-tpl small{color:var(--muted);font-size:.8rem;line-height:1.35}
.em-tpl:hover{border-color:#c9b48f}
.em-tpl.on{border-color:#1b2d5b;background:#f5f7fb}
@media (max-width:520px){.em-tpls{grid-template-columns:1fr 1fr}.em-tplprev{height:120px}}
.em-tplbar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.em-tplbar .em-kit{margin:0}
.em-adjust{margin-left:auto;padding:8px 12px}
.em-adjust.on{background:#1b2d5b;color:#fff;border-color:#1b2d5b}
.em-adjusthint{margin:8px 0 0;font-size:.82rem;color:#6b4a18;background:#fbf6ee;border-radius:8px;padding:8px 10px}
.em-tplcell{display:flex;flex-direction:column;gap:6px}
.em-tpl{position:relative;width:100%}
.em-tpl.off{opacity:.5}
.em-eye{position:absolute;top:12px;right:12px;font-size:.68rem;font-weight:700;padding:2px 7px;border-radius:10px;background:#e7f5ec;color:#1d6b3a}
.em-tpl.off .em-eye{background:#f3e5e5;color:#9b2c2c}
.em-tplwrap:not(.adjust) .em-tpl:not(.off) .em-eye{display:none}
.em-tplwrap.adjust .em-tpl{border-style:dashed}
.em-ownact{display:flex;gap:6px}
.em-ownact .ed-ghost{flex:1;padding:5px 6px}
