.dmh-ev .dmh-ev-card{background:#fff;border:1px solid #dcdcde;border-radius:4px;padding:12px 16px;margin:12px 0;max-width:1100px}
.dmh-ev fieldset.dmh-ev-card legend{font-weight:600;padding:0 4px}
.dmh-ev-radio{display:inline-block;margin:4px 16px 4px 0}
.dmh-ev-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.dmh-ev-tile{border:2px solid #dcdcde;border-radius:4px;padding:6px;cursor:pointer;display:flex;flex-direction:column;gap:4px;background:#fff}
.dmh-ev-tile img,.dmh-ev-noimg{width:100%;aspect-ratio:210/297;object-fit:cover;background:#f0f0f1;display:flex;align-items:center;justify-content:center;color:#646970}
.dmh-ev-tile[aria-selected=true]{border-color:#2271b1;box-shadow:0 0 0 2px #2271b1}
.dmh-ev-tile:focus{outline:2px solid #2271b1;outline-offset:2px}
.dmh-ev input:not([type=checkbox]):not([type=radio]):not([type=file]),.dmh-ev textarea{max-width:100%}
.dmh-ev #dmh-ev-ref,.dmh-ev #dmh-ev-sender{width:28em}
.dmh-ev #dmh-ev-msg{width:40em}
.dmh-ev-preview{width:100%;max-width:640px;height:80vh;border:1px solid #dcdcde}
.dmh-ev progress{width:min(480px,70vw);height:20px;vertical-align:middle}
.dmh-ev-scroll{overflow-x:auto}
.dmh-ev-narrow{max-width:560px}
.dmh-ev-inline{display:inline-block;margin:2px 0}
.dmh-ev-actions{min-width:280px}
.dmh-ev-thumb{width:70px;height:auto;border:1px solid #dcdcde}
.dmh-ev-tag{font-size:12px;font-weight:400;background:#f0f0f1;padding:2px 6px;border-radius:3px}
.dmh-ev-editor{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap}
.dmh-ev-canvas-wrap{border:1px solid #dcdcde;overflow:auto;max-width:100%;max-height:85vh}
.dmh-ev-field label{display:block;font-size:12px}
.dmh-ev-field input,.dmh-ev-field select{width:100%}
.dmh-ev-files li{margin:2px 0}
@media (max-width:782px){.dmh-ev #dmh-ev-ref,.dmh-ev #dmh-ev-sender,.dmh-ev #dmh-ev-msg{width:100%}}
.dmh-ev-locked{opacity:.6;pointer-events:none}
.dmh-ev-quick{margin:0 0 8px}
.dmh-ev-quick a{margin-right:8px}
/* Kundenansicht (Globus, VID): WordPress-Elemente ausblenden */
.dmh-ev-client #wpfooter,.dmh-ev-client #screen-meta-links,.dmh-ev-client #contextual-help-link-wrap,.dmh-ev-client .update-nag,.dmh-ev-client #wp-admin-bar-wp-logo{display:none!important}
.dmh-ev-preflight tr.dmh-ev-fail td:nth-child(2){color:#b32d2e}
.dmh-ev-preflight tr.dmh-ev-warn td:nth-child(2){color:#996800}
.dmh-ev-preflight tr.dmh-ev-ok td:nth-child(2){color:#007017}
/* Auftragsansicht und Korrekturen */
.dmh-ev-search{margin:8px 0}
.dmh-ev-outputs .button{margin:0 8px 6px 0}
.dmh-ev-facts th{width:160px}
#dmh-ev-correction input[type=text],#dmh-ev-correction textarea{width:100%;max-width:520px}
.dmh-ev-vouchers .check-column{width:2.2em}
.dmh-ev-fonts .dmh-ev-group th{background:#f0f0f1;font-weight:600;padding-top:.6em}
.dmh-ev-results{margin:.25em 0 .5em 1.5em;list-style:disc}
/* Sujets, Master-Layouts und Layouteditor (CR-003) */
.dmh-ev-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px 16px;margin:8px 0}
.dmh-ev-grid label{display:flex;flex-direction:column;gap:2px}
.dmh-ev-card h2{margin:0 0 8px;font-size:1.2em}
.dmh-ev-card h3{margin:12px 0 4px;font-size:1em}
.dmh-ev-badge{font-size:12px;font-weight:600;padding:2px 8px;border-radius:10px;vertical-align:middle}
.dmh-ev-badge.is-active{background:#edfaef;color:#007017}
.dmh-ev-badge.is-inactive{background:#f0f0f1;color:#50575e}
.dmh-ev-sujet-body{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,3fr) minmax(0,3fr);gap:12px 24px;align-items:start}
.dmh-ev-sujet-main{display:flex;gap:16px;align-items:flex-start}
.dmh-ev-sujet-thumb .dmh-ev-thumb{width:120px}
.dmh-ev-sujet-info{flex:1;min-width:0}
.dmh-ev-sujet-col h3{margin-top:0}
.dmh-ev-sujet-col .dmh-ev-actions{min-width:0}
.dmh-ev-sujet-col input[type=file]{max-width:100%}
@media (max-width:1100px){.dmh-ev-sujet-body{grid-template-columns:minmax(0,1fr)}}
.dmh-ev-sujet-info p{margin:4px 0}
.dmh-ev-next{background:#f0f6fc;border-left:4px solid #2271b1;padding:6px 10px}
.dmh-ev-next.is-error{background:#fcf0f1;border-color:#d63638}
.dmh-ev-versions{margin-top:12px}
.dmh-ev-versions summary{cursor:pointer;font-weight:600}
.dmh-ev-crumbs{margin:4px 0 12px}
.dmh-ev-side{flex:1;min-width:320px;max-width:520px;max-height:90vh;overflow:auto}
.dmh-ev-panel{border:1px solid #dcdcde;background:#fff;padding:8px 10px;margin:0 0 10px}
.dmh-ev-panel h3{margin:0 0 6px;font-size:1em}
.dmh-ev-elements{display:flex;flex-wrap:wrap;gap:4px;margin:0}
.dmh-ev-elements li{margin:0}
.dmh-ev-element{display:flex;align-items:center;gap:6px;border:1px solid #c3c4c7;background:#f6f7f7;border-radius:3px;padding:4px 8px;cursor:pointer}
.dmh-ev-element[aria-pressed=true]{background:#2271b1;border-color:#2271b1;color:#fff}
.dmh-ev-swatch{width:10px;height:10px;border-radius:2px;display:inline-block;border:1px solid #fff}
.dmh-ev-problems{margin-top:8px;color:#b32d2e}
.dmh-ev-problems p{margin:2px 0}
.dmh-ev-props h3{margin:0 0 6px}
.dmh-ev-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;margin:0 0 10px}
.dmh-ev-group h4{grid-column:1/-1;margin:4px 0 0;font-size:12px;text-transform:uppercase;color:#50575e}
.dmh-ev-field.is-wide{grid-column:1/-1}
.dmh-ev-field small{display:block;color:#646970}
.dmh-ev-refs{display:grid;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:6px}
.dmh-ev-ref{display:flex;flex-direction:column;gap:2px;border:2px solid #dcdcde;background:#fff;padding:3px;cursor:pointer;font-size:11px;text-align:left}
.dmh-ev-ref img,.dmh-ev-ref .dmh-ev-noimg{width:100%;aspect-ratio:210/297;object-fit:cover}
.dmh-ev-ref[aria-pressed=true]{border-color:#2271b1;box-shadow:0 0 0 1px #2271b1}
.dmh-ev-preview-form{margin:0 8px 8px 0}
.dmh-ev-toolbar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;position:sticky;top:0;z-index:2}
/* Review 0.4.0 und Live-Vorschau (0.4.1) */
.dmh-ev-manage{margin-top:10px}
.dmh-ev-manage summary,.dmh-ev-refpanel summary,.dmh-ev-samples summary{cursor:pointer}
.dmh-ev-manage form{margin:6px 8px 6px 0}
.dmh-ev .button.dmh-ev-delete{color:#b32d2e;border-color:#b32d2e}
.dmh-ev .button.dmh-ev-delete:hover{background:#fcf0f1}
.dmh-ev-usage{margin:2px 0 6px 1.5em;list-style:disc}
.dmh-ev-view{display:flex;flex-wrap:wrap;gap:4px 14px}
.dmh-ev-view legend{font-weight:600;padding:0 4px}
.dmh-ev-samples textarea{width:100%}
.dmh-ev-refpanel[open] summary{margin-bottom:6px}
.dmh-ev-nowrap{white-space:nowrap}
.dmh-ev-trash{display:inline-block;margin:0 0 0 .75em}
.dmh-ev-trash-order{margin:-.5em 0 1em}
.dmh-ev-trash-order .dmh-ev-trash,.notice .dmh-ev-trash{margin:0 0 .5em}
.dmh-ev-trash .button-link-delete{color:#b32d2e}
.dmh-ev-cleanup{max-width:40em;margin:1em 0}
.dmh-ev-cleanup summary{cursor:pointer;font-weight:600}
