/* NoirLux Mail Studio for Signaturen und Vorlagen, v1.5 */
.nx-resource-layout { display:grid;grid-template-columns: minmax(240px, 300px) minmax(0,1fr);gap:18px;align-items:start; }
.nx-resource-layout > .card { min-width:0; }
.nx-resource-layout .resource-row { gap:12px; }
.nx-resource-layout .resource-row strong { overflow-wrap:anywhere; }
.nx-resource-list-head { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap; }
.nx-resource-list-head h2 { margin:0; }
.nx-resource-form-card { padding:0 !important;overflow:visible; }
.nx-resource-form-heading { padding:22px 24px 0; }
.nx-resource-form-heading h2 { margin:7px 0 4px; }
.nx-resource-form-heading p { font-size:12px;margin:0; }
.nx-resource-form-card > form { padding:20px 24px 24px; }
.nx-resource-studio { border:1px solid var(--line);background:#11110e;margin:4px 0 6px;min-width:0; }
.nx-resource-studio-top { padding:12px 14px;display:flex;align-items:center;flex-wrap:wrap;gap:10px;justify-content:space-between;background:#171610;border-bottom:1px solid var(--line); }
.nx-resource-studio-top .editor-tabs { display:flex;flex-wrap:wrap; }
.nx-resource-studio-top .editor-tab { min-height:34px;padding:9px 11px;font-size:11px; }
.nx-resource-studio-top .editor-tab i { margin-right:5px; }
.nx-editor-caption { color:var(--accent);font:11px var(--mono);letter-spacing:.08em; }
.nx-editor-caption i { margin-right:8px; }
.nx-resource-studio .nx-toolbar { padding:10px 6px; }
.nx-resource-studio .editor-area { padding:28px;min-height:340px;background:#fff;color:#171717;font:15px/1.65 Arial,sans-serif;outline:0;overflow-wrap:anywhere; }
.nx-resource-studio .editor-area:empty:before { content:attr(data-placeholder);color:#929292;pointer-events:none; }
.nx-resource-studio .source-area { resize:vertical;min-height:340px;width:100%;background:#10140f;color:#d8e0bb;padding:22px;border:0;border-radius:0;font:13px/1.65 Consolas,monospace;outline:none; }
.nx-resource-studio .mail-preview { min-height:340px;width:100%;border:0;background:#fff; }
.nx-resource-studio [hidden] { display:none !important; }
.nx-resource-studio .nx-editor-status { padding:11px 14px; }
.nx-resource-studio.is-expanded { position:relative; width:min(calc(100vw - 350px), 1400px);max-width:none;margin-left:calc((100% - min(calc(100vw - 350px), 1400px))/2);z-index:5;box-shadow:0 15px 40px #0009; }
.nx-resource-studio.is-expanded .editor-area,.nx-resource-studio.is-expanded .source-area,.nx-resource-studio.is-expanded .mail-preview { min-height:66vh; }
.nx-resource-layout .resource-row .table-icon { flex-shrink:0; }
@media (max-width:1200px){ .nx-resource-layout{grid-template-columns:1fr;} .nx-resource-studio.is-expanded{width:100%;margin-left:0;} }
@media (max-width:640px){ .nx-resource-form-card > form{padding:15px;} .nx-resource-form-heading{padding:16px 15px 0;} .nx-resource-studio-top{padding:10px;} .nx-resource-studio .editor-area{padding:17px;min-height:280px;} .nx-resource-studio .source-area,.nx-resource-studio .mail-preview{min-height:280px;} }
