
.ehd-wm{margin:14px 0 6px;border:1px solid rgba(107,29,58,.16);border-radius:16px;
  background:linear-gradient(180deg,#fffdfa 0%,#fdf7f1 100%);padding:14px 14px 12px;
  box-shadow:0 1px 2px rgba(24,10,16,.04),0 8px 24px -16px rgba(24,10,16,.28)}
.ehd-wm[hidden]{display:none}
.ehd-wm-head{display:flex;align-items:center;gap:7px;margin:0 0 4px}
.ehd-wm-title{font-size:13.5px;font-weight:800;letter-spacing:.01em;color:#6B1D3A;line-height:1.25}
.ehd-wm-sub{margin:0 0 10px;font-size:12.5px;color:#6f6259;line-height:1.45}
.ehd-wm-stage{position:relative;border-radius:12px;overflow:hidden;background:#F8F4EC;line-height:0;
  aspect-ratio:1024/482}
.ehd-wm-stage img{display:block;width:100%;height:100%;object-fit:contain}
.ehd-wm-dot{position:absolute;width:9%;padding-bottom:9%;transform:translate(-50%,-50%);
  border:0;margin:0;border-radius:50%;background:transparent;cursor:pointer;
  box-shadow:0 0 0 0 rgba(180,136,77,0);transition:box-shadow .3s ease;outline:0;
  -webkit-tap-highlight-color:transparent}
.ehd-wm-dot:hover{box-shadow:0 0 0 4px rgba(180,136,77,.45)}
.ehd-wm-dot.is-on{box-shadow:0 0 0 4px #B4884D,0 0 20px 4px rgba(180,136,77,.35)}
.ehd-wm-dot.is-ok{box-shadow:0 0 0 4px #2E7D5B}
.ehd-wm-dot:focus-visible{box-shadow:0 0 0 4px #6B1D3A}
.ehd-wm-list{display:flex;flex-direction:column;gap:6px;margin:12px 0 0}
.ehd-wm-row{display:flex;align-items:flex-start;gap:9px;padding:7px 8px;border-radius:11px;
  background:rgba(107,29,58,.035);border:1px solid transparent;cursor:pointer;
  transition:background .2s ease,border-color .2s ease}
.ehd-wm-row:hover{background:rgba(107,29,58,.07)}
.ehd-wm-row.is-on{border-color:rgba(180,136,77,.55);background:rgba(180,136,77,.10)}
.ehd-wm-nr{flex:0 0 auto;width:21px;height:21px;border-radius:50%;background:#B4884D;color:#fff;
  font-size:12px;font-weight:800;line-height:21px;text-align:center;margin-top:1px;
  transition:background .2s ease}
.ehd-wm-row.is-ok .ehd-wm-nr{background:#2E7D5B}
.ehd-wm-body{flex:1 1 auto;min-width:0}
.ehd-wm-name{display:block;font-size:13.5px;font-weight:800;color:#6B1D3A;line-height:1.3}
.ehd-wm-txt{display:block;font-size:12px;color:#6f6259;line-height:1.4;margin-top:2px}
.ehd-wm-val{flex:0 0 auto;font-size:13px;font-weight:800;color:#9a8d84;white-space:nowrap;
  margin-top:1px}
.ehd-wm-row.is-ok .ehd-wm-val{color:#2E7D5B}
.ehd-wm-row.is-warn .ehd-wm-val{color:#B4884D}
.ehd-wm-hint{margin:10px 2px 0;font-size:11.5px;color:#9a8d84;line-height:1.45}
.ehd-wm-hint b{color:#6B1D3A;font-weight:800}
/* Nummer vor dem jeweiligen Feld-Label — verbindet Karte und Eingabefeld sichtbar. */
.ehd-wm-tag{display:inline-block;width:19px;height:19px;border-radius:50%;background:#B4884D;
  color:#fff;font-size:11px;font-weight:800;line-height:19px;text-align:center;margin-right:6px;
  vertical-align:1px}
/* Dunkelmodus — der Umschalter setzt html[data-theme="dark"]. */
html[data-theme="dark"] .ehd-wm{background:linear-gradient(180deg,#241016 0%,#1c0c12 100%);
  border-color:rgba(255,255,255,.14);box-shadow:0 8px 24px -16px rgba(0,0,0,.7)}
html[data-theme="dark"] .ehd-wm-title,
html[data-theme="dark"] .ehd-wm-name,
html[data-theme="dark"] .ehd-wm-hint b{color:#fff}
html[data-theme="dark"] .ehd-wm-sub,
html[data-theme="dark"] .ehd-wm-txt{color:#cfc3bb}
html[data-theme="dark"] .ehd-wm-hint{color:#a8998f}
html[data-theme="dark"] .ehd-wm-row{background:rgba(255,255,255,.05)}
html[data-theme="dark"] .ehd-wm-row:hover{background:rgba(255,255,255,.09)}
html[data-theme="dark"] .ehd-wm-row.is-on{background:rgba(180,136,77,.18)}
html[data-theme="dark"] .ehd-wm-val{color:#a8998f}
html[data-theme="dark"] .ehd-wm-row.is-ok .ehd-wm-val{color:#7FD1A8}
html[data-theme="dark"] .ehd-wm-row.is-ok .ehd-wm-nr{background:#2E7D5B}
@media (max-width:480px){
  .ehd-wm{padding:12px 11px 10px;border-radius:14px}
  .ehd-wm-txt{font-size:11.5px}
  .ehd-wm-dot{width:12%;padding-bottom:12%}
}
@media (prefers-reduced-motion:reduce){
  .ehd-wm-dot,.ehd-wm-row,.ehd-wm-nr{transition:none}
}

