/* Hakenheld – Passwort-Auge und Adressvorschläge (APK und Web) */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 56px !important; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: none; border: 0; border-radius: 8px; color: #1b5e20; cursor: pointer; padding: 0; }
.pw-eye:focus-visible { outline: 2px solid #2e7d32; }
.pw-eye:active { background: #eef7ef; }
[dir=rtl] .pw-wrap input { padding-right: 12px !important; padding-left: 56px !important; }
[dir=rtl] .pw-eye { right: auto; left: 4px; }
.addr-wrap { position: relative; display: block; }
.addr-list { position: absolute; left: 0; right: 0; top: calc(100% + 2px); z-index: 80; background: #fff; border: 2px solid #2e7d32; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.18); max-height: 320px; overflow-y: auto; }
.addr-list[hidden] { display: none; }
.addr-opt { padding: 11px 12px; min-height: 48px; border-bottom: 1px solid #e3e8e5; cursor: pointer; display: flex; flex-direction: column; gap: 2px; font-size: 16px; line-height: 1.25; }
.addr-opt b { color: #1c1c1c; }
.addr-opt span { color: #555; font-size: 14px; }
.addr-opt.on, .addr-opt:hover, .addr-opt:active { background: #eef7ef; }
.addr-info { padding: 11px 12px; color: #555; font-size: 14px; }
.addr-attr { padding: 5px 12px; color: #888; font-size: 11px; text-align: right; }

/* 1.7/1.8: Kopfzeilen-Knöpfe – oben „Abmelden“ (kompakt), darunter „Android-App laden“ (grün, gut sichtbar) */
.top-actions { display: flex; flex-direction: column; gap: 5px; margin: 6px 0 4px auto; flex: 0 0 auto; align-items: stretch; }
.top-actions[hidden] { display: none; }
.top-act { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 36px; padding: 4px 10px; border-radius: 9px; border: 2px solid #2e7d32; background: #fff; color: #1b5e20; font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; line-height: 1.1; }
.top-act:focus-visible { outline: 3px solid #81c784; outline-offset: 1px; }
.top-act-ic { font-size: 16px; line-height: 1; }
.top-act.logout { align-self: flex-end; min-height: 32px; padding: 3px 9px; font-size: 13px; border-width: 1.5px; border-color: #c62828; color: #c62828; }
.top-act.logout .top-act-ic { font-size: 14px; }
.top-act.logout:hover, .top-act.logout:focus-visible { background: #fdecea; }
.top-act.apk { background: #2e7d32; border-color: #2e7d32; color: #fff; min-height: 40px; font-size: 15px; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.top-act.apk:hover, .top-act.apk:focus-visible { background: #1b5e20; border-color: #1b5e20; }
@media (max-width: 440px) { .top-act.apk { font-size: 14px; padding: 4px 9px; gap: 4px; } .top-act.apk .top-act-ic { font-size: 15px; } .top .top-title { font-size: 19px; } }
@media (max-width: 380px) { .top-act.apk { font-size: 13px; padding: 3px 7px; } .top .top-logo { width: 34px; height: 34px; flex-basis: 34px; } .top .top-title { font-size: 17px; } }
@media (max-width: 340px) { .top .top-logo { display: none; } }
@media print { .top-actions { display: none !important; } }
/* 1.7: PDF-Knöpfe (Öffnen, Drucken, Als PDF speichern, Teilen) zweispaltig statt gequetscht */
.saved-actions { flex-wrap: wrap; }
.saved-actions .btn { flex: 1 1 calc(50% - 10px); min-width: 0; }
.hist .row { flex-wrap: wrap; }
.hist .row .btn { flex: 1 1 calc(50% - 10px); min-width: 0; }
#pdfView .pv-bar #pvPdf { flex: 1; }
#pdfView .pv-bar #pvPrint { flex: 0 1 auto; }
/* 1.8: Support-Zugriff */
.support-state { padding: 10px 12px; border-radius: 10px; margin: 8px 0; font-weight: 700; }
.support-state.on { background: #e8f5e9; color: #1b5e20; }
.support-state.off { background: #f3f4f3; color: #444; }
.support-state.bad { background: #fdecea; color: #b71c1c; }
.support-actions { display: flex; flex-direction: column; gap: 8px; }
.support-log { margin-top: 10px; }
.support-log summary { cursor: pointer; font-weight: 700; padding: 8px 0; min-height: 44px; display: flex; align-items: center; }
.support-log-row { border-top: 1px solid #e3e8e5; padding: 8px 0; }
.support-log-when { font-size: 13px; color: #666; }
.support-log-what { font-size: 15px; }
