.h2-gewicht-overlay[hidden] { display: none !important; }
.h2-gewicht-overlay { position: fixed; z-index: 100000; inset: 0; background: rgba(0,0,0,.56); display: flex; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; }
.h2-gewicht-dialog { width: min(100%, 540px); max-height: calc(100vh - 40px); overflow: auto; box-sizing: border-box; position: relative; padding: 30px; background: #fff; color: #222; border-radius: 8px; box-shadow: 0 18px 55px rgba(0,0,0,.25); }
.h2-gewicht-dialog h2 { margin: 0 24px 15px 0; font-size: 1.4rem; line-height: 1.3; color: inherit; }
.h2-gewicht-dialog p { margin: 0 0 14px; line-height: 1.5; }
.h2-gewicht-dialog ul { margin: 0 0 18px 20px; padding: 0; list-style: disc; }
.h2-gewicht-dialog li { margin-bottom: 4px; }
.h2-gewicht-close { position: absolute; top: 12px; right: 15px; border: 0; background: none; font-size: 28px; line-height: 1; color: inherit; cursor: pointer; }
.h2-gewicht-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.h2-gewicht-actions button { flex: 1 1 210px; min-height: 43px; cursor: pointer; white-space: normal; }
#h2-gewicht-error { color: #a30000; font-weight: 600; }
body.h2-gewicht-modal-open { overflow: hidden; }
@media (max-width: 500px) { .h2-gewicht-dialog { padding: 22px; } .h2-gewicht-actions { flex-direction: column; } }
