.hpz-locations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.hpz-locations-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.hpz-locations-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.hpz-location-card,.hpz-location-detail{background:#fff;border:1px solid rgba(0,0,0,.08);box-shadow:0 8px 24px rgba(0,0,0,.06);border-radius:0;overflow:hidden}.hpz-location-card{display:flex;flex-direction:column}.hpz-location-image img{width:100%;height:170px;object-fit:cover;display:block}.hpz-location-body{padding:22px}.hpz-location-body h3{margin:0 0 10px}.hpz-location-body p{margin:6px 0;color:#555}.hpz-location-detail{display:grid;grid-template-columns:1.4fr .8fr;gap:0}.hpz-location-detail-main{padding:32px}.hpz-location-detail h2{margin:0 0 10px}.hpz-location-address{font-size:1.1em;color:#555}.hpz-location-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.hpz-location-facts div{border-left:6px solid #afca0a;background:#f6f8f4;padding:12px}.hpz-location-facts span{display:block;font-size:12px;text-transform:uppercase;color:#777;letter-spacing:.04em}.hpz-location-facts strong{display:block;margin-top:4px}.hpz-location-detail-image img{width:100%;height:100%;object-fit:cover;display:block}.hpz-location-maplink a{font-weight:700}.hpz-location-empty{padding:18px;background:#fff;border-left:6px solid #afca0a}.hpz-location-detail.is-compact{display:block}.hpz-location-detail.is-compact .hpz-location-detail-main{padding:22px}.hpz-location-detail.is-compact .hpz-location-facts{grid-template-columns:1fr;margin-bottom:0}@media(max-width:900px){.hpz-locations,.hpz-locations-cols-2,.hpz-locations-cols-4{grid-template-columns:1fr}.hpz-location-detail{grid-template-columns:1fr}.hpz-location-facts{grid-template-columns:1fr}}

.hpz-osm-map{width:100%;min-height:220px;border:1px solid rgba(0,0,0,.1);background:#eef2ea;margin:20px 0 10px}.hpz-osm-map .leaflet-popup-content{font-size:14px;line-height:1.4}.hpz-location-card .hpz-osm-map{height:180px;margin:0;border-left:0;border-right:0}.hpz-geocode-status{display:inline-block;margin-left:10px;color:#555}

.hpz-location-subgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0}.hpz-location-subcard{background:#fff;border:1px solid rgba(0,0,0,.08);box-shadow:0 6px 18px rgba(0,0,0,.05);padding:18px}.hpz-location-subcard h3{margin:0 0 10px}.hpz-location-subcard p{margin:6px 0;color:#555}.hpz-room-list{overflow:auto;margin:22px 0}.hpz-room-list table{width:100%;border-collapse:collapse;background:#fff}.hpz-room-list th,.hpz-room-list td{padding:12px 14px;border-bottom:1px solid rgba(0,0,0,.08);text-align:left;vertical-align:top}.hpz-room-list th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;background:#f6f8f4;color:#555}@media(max-width:900px){.hpz-location-subgrid{grid-template-columns:1fr}.hpz-room-list table{min-width:760px}}

.hpz-standorte-map-wrap{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}.hpz-standorte-map-list{max-height:480px;overflow:auto;background:#fff;border:1px solid rgba(0,0,0,.08)}.hpz-standorte-map-item{display:block;width:100%;padding:13px 16px;border:0;border-bottom:1px solid rgba(0,0,0,.08);background:#fff;text-align:left;cursor:pointer}.hpz-standorte-map-item:hover,.hpz-standorte-map-item:focus,.hpz-standorte-map-item.is-active{background:#f6f8f4}.hpz-standorte-map-item strong{display:block}.hpz-standorte-map-item span{display:block;margin-top:3px;color:#555;font-size:13px}@media(max-width:900px){.hpz-standorte-map-wrap{grid-template-columns:1fr}.hpz-standorte-map-list{max-height:260px}}


.hpz-phonebook{margin:28px 0;background:#fff;border:1px solid rgba(0,0,0,.08);box-shadow:0 8px 24px rgba(0,0,0,.05)}.hpz-phonebook-head{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:18px 20px;border-bottom:1px solid rgba(0,0,0,.08);background:#f6f8f4}.hpz-phonebook-head h2{margin:0}.hpz-phonebook-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.hpz-phonebook-tools select,.hpz-phonebook-search input{padding:10px 12px;border:1px solid rgba(0,0,0,.18);background:#fff}.hpz-phonebook-search{min-width:min(420px,100%);margin:0}.hpz-phonebook-search input{width:100%}.hpz-phonebook-table-wrap{overflow:auto}.hpz-phonebook-table{width:100%;border-collapse:collapse}.hpz-phonebook-table th,.hpz-phonebook-table td{padding:12px 14px;border-bottom:1px solid rgba(0,0,0,.08);text-align:left;vertical-align:top}.hpz-phonebook-table th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#555;background:#fff}.hpz-phonebook-table td span{display:block;margin-top:3px;color:#666;font-size:13px}.hpz-phonebook-table a{font-weight:700}.hpz-phonebook-empty{padding:18px 20px;color:#555}@media(max-width:900px){.hpz-phonebook-head{display:block}.hpz-phonebook-tools{display:block;margin-top:14px}.hpz-phonebook-tools label,.hpz-phonebook-tools select,.hpz-phonebook-search{display:block;width:100%;margin-top:10px}.hpz-phonebook-table{min-width:980px}}
.hpz-phonebook-table th button{appearance:none;border:0;background:transparent;padding:0;margin:0;font:inherit;font-weight:700;text-transform:inherit;letter-spacing:inherit;color:inherit;cursor:pointer;text-align:left}.hpz-phonebook-table th button:hover,.hpz-phonebook-table th button:focus{color:#111;text-decoration:underline}.hpz-phonebook-table th button.is-active::after{content:' \2195';font-size:11px;opacity:.7}

.hpz-phonebook-table-wrap.is-org-filter-active{display:none}.hpz-phonebook-org{padding:20px}.hpz-phonebook-org-leads{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-bottom:22px}.hpz-phonebook-lead-card{background:#f6f8f4;border:1px solid rgba(0,0,0,.08);border-left:6px solid #afca0a;padding:18px;box-shadow:0 6px 18px rgba(0,0,0,.04)}.hpz-phonebook-lead-card h3{margin:6px 0 4px}.hpz-phonebook-lead-card p{margin:0 0 12px;color:#555}.hpz-phonebook-lead-badge{display:inline-block;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#4d5d00;background:#eaf3bf;padding:4px 8px}.hpz-phonebook-lead-contact{font-size:14px}.hpz-phonebook-lead-contact a{font-weight:700}.hpz-phonebook-department{margin:20px 0 0}.hpz-phonebook-department h3{margin:0;padding:12px 14px;background:#f6f8f4;border:1px solid rgba(0,0,0,.08);border-bottom:0}.hpz-phonebook-department-table{overflow:auto}.hpz-phonebook-department table{width:100%;border-collapse:collapse;background:#fff}.hpz-phonebook-department th,.hpz-phonebook-department td{padding:11px 14px;border:1px solid rgba(0,0,0,.08);text-align:left;vertical-align:top}.hpz-phonebook-department th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#555}@media(max-width:900px){.hpz-phonebook-org{padding:14px}.hpz-phonebook-department table{min-width:760px}}

/* Telefonliste 1.3.1: kompaktere, klarere Darstellung */
.hpz-phonebook-title{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.hpz-phonebook-title h2{line-height:1.15}.hpz-phonebook-title span{font-size:13px;font-weight:700;color:#667000;background:#eef5cf;padding:4px 8px}.hpz-phonebook-tools{display:grid;grid-template-columns:minmax(180px,230px) minmax(180px,230px) minmax(300px,420px);gap:8px}.hpz-phonebook-tools label{margin:0}.hpz-phonebook-tools select,.hpz-phonebook-search input{height:40px;width:100%;box-sizing:border-box}.hpz-phonebook-org{padding:16px 20px 22px}.hpz-phonebook-org-leads{grid-template-columns:repeat(auto-fit,minmax(280px,420px));gap:10px;margin-bottom:14px}.hpz-phonebook-lead-card{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:start;padding:13px 15px;border-left-width:4px;box-shadow:none}.hpz-phonebook-lead-badge{grid-column:1/-1;width:max-content;font-size:10px;padding:3px 6px}.hpz-phonebook-lead-card h3{margin:5px 0 1px;font-size:19px}.hpz-phonebook-lead-card p{margin:4px 0 0;font-size:13px}.hpz-phonebook-lead-contact{grid-column:1/-1;margin-top:7px;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.hpz-phonebook-department{margin-top:12px}.hpz-phonebook-department h3{padding:10px 12px;font-size:20px}.hpz-phonebook-department th,.hpz-phonebook-department td{padding:9px 12px}.hpz-phonebook-department tbody tr:hover,.hpz-phonebook-table tbody tr:hover{background:#fafcf4}
@media(max-width:1150px){.hpz-phonebook-head{align-items:flex-start}.hpz-phonebook-tools{grid-template-columns:repeat(2,minmax(180px,1fr))}.hpz-phonebook-search{grid-column:1/-1;min-width:0}}
@media(max-width:700px){.hpz-phonebook-tools{grid-template-columns:1fr}.hpz-phonebook-search{grid-column:auto}.hpz-phonebook-org-leads{grid-template-columns:1fr}}

/* Standortdetails 1.3.2 */
.hpz-standorte-map-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;border-bottom:1px solid rgba(0,0,0,.08)}
.hpz-standorte-map-list-row .hpz-standorte-map-item{border-bottom:0}
.hpz-location-details-trigger{align-self:stretch;border:0;border-left:1px solid rgba(0,0,0,.08);background:#fff;padding:0 12px;font-size:12px;font-weight:700;color:#657400;cursor:pointer}
.hpz-location-details-trigger:hover,.hpz-location-details-trigger:focus{background:#eef5cf;color:#334000}
.hpz-map-popup-details{border:0;background:transparent;color:#0073aa;font-weight:700;padding:3px 0;cursor:pointer;text-decoration:underline}
html.hpz-location-modal-open{overflow:hidden}
.hpz-location-modal[hidden]{display:none!important}
.hpz-location-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:24px}
.hpz-location-modal-backdrop{position:absolute;inset:0;background:rgba(20,30,10,.7)}
.hpz-location-modal-panel{position:relative;width:min(960px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#fff;box-shadow:0 22px 70px rgba(0,0,0,.35)}
.hpz-location-modal-close{position:absolute;right:0;top:0;z-index:2;width:48px;height:48px;border:0;background:#afca0a;color:#fff;font-size:30px;line-height:1;cursor:pointer}
.hpz-location-modal-close:hover,.hpz-location-modal-close:focus{background:#8ea500}
.hpz-location-modal-layout{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr)}
.hpz-location-modal-image{min-height:360px;background:#eef2ea}
.hpz-location-modal-image img{width:100%;height:100%;min-height:360px;object-fit:cover;display:block}
.hpz-location-modal-content{padding:42px}
.hpz-location-modal-kicker{display:inline-block;background:#eaf3bf;color:#4d5d00;padding:4px 8px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.hpz-location-modal-content h2{margin:12px 0 6px;font-size:32px;line-height:1.15}
.hpz-location-modal-address{margin:0 0 22px;color:#555;font-size:16px}
.hpz-location-modal-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0}
.hpz-location-modal-facts>div{border-left:4px solid #afca0a;background:#f6f8f4;padding:11px 13px}
.hpz-location-modal-facts span{display:block;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#687000}
.hpz-location-modal-facts strong{display:block;margin-top:3px;overflow-wrap:anywhere}
.hpz-location-modal-text{margin-top:20px;color:#444;line-height:1.65}
.hpz-location-modal-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:26px}
.hpz-location-modal-actions a{font-weight:700}
.hpz-location-modal-actions .hpz-location-modal-primary{display:inline-block;background:#afca0a;color:#fff;padding:11px 16px;text-decoration:none}
.hpz-location-modal-actions .hpz-location-modal-primary:hover,.hpz-location-modal-actions .hpz-location-modal-primary:focus{background:#8ea500;color:#fff}
@media(max-width:760px){.hpz-location-modal{padding:10px}.hpz-location-modal-panel{max-height:calc(100vh - 20px)}.hpz-location-modal-layout{grid-template-columns:1fr}.hpz-location-modal-image,.hpz-location-modal-image img{min-height:200px;max-height:240px}.hpz-location-modal-content{padding:28px 22px}.hpz-location-modal-content h2{font-size:26px}.hpz-location-modal-facts{grid-template-columns:1fr}}

/* Bewohnerverwaltung 1.5 */
.hpz-residents-app{--hpz-green:#afca0b;--hpz-dark:#17212b;--hpz-line:#dfe4e8;background:#f4f6f7;border:1px solid var(--hpz-line);font-family:inherit}
.hpz-residents-header{display:flex;justify-content:space-between;gap:24px;align-items:center;background:var(--hpz-dark);color:#fff;padding:28px 32px}
.hpz-residents-header h2,.hpz-resident-form-panel h3{margin:3px 0 6px}.hpz-residents-header p{margin:0;color:#c9d0d6}.hpz-residents-eyebrow{text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:700;color:var(--hpz-green)}
.hpz-residents-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border:1px solid #bcc5cb;background:#fff;color:#1d252c;text-decoration:none;cursor:pointer;border-radius:0;font:inherit}.hpz-residents-button-primary{background:var(--hpz-green);border-color:var(--hpz-green);color:#17212b;font-weight:700}.hpz-residents-button.is-danger{color:#a12622;border-color:#e3b9b6}
.hpz-residents-notice{margin:20px 24px 0;padding:13px 16px;border-left:4px solid var(--hpz-green);background:#fff}.hpz-residents-notice.hpz-residents-error{border-left-color:#c8322b}
.hpz-residents-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:22px 24px 8px}.hpz-residents-toolbar input[type=search]{width:min(480px,100%);min-height:44px;border:1px solid #c9d0d5;padding:0 14px;border-radius:0;background:#fff}
.hpz-residents-groups{padding:16px 24px 30px}.hpz-residents-group{background:#fff;border:1px solid var(--hpz-line);margin-bottom:20px}.hpz-residents-group-head{display:flex;justify-content:space-between;align-items:end;padding:17px 20px;border-bottom:1px solid var(--hpz-line)}.hpz-residents-group-head span{font-size:12px;color:#69757e}.hpz-residents-group-head h3{margin:2px 0 0}.hpz-residents-group-head strong{font-size:12px;background:#edf4ce;padding:5px 9px}
.hpz-residents-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px}.hpz-resident-card{display:grid;grid-template-columns:54px 1fr auto;gap:14px;border:1px solid var(--hpz-line);padding:16px;background:#fff;align-items:start}.hpz-resident-card.is-archived{opacity:.62}.hpz-resident-avatar{width:52px;height:52px;background:var(--hpz-dark);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:17px}.hpz-resident-title{display:flex;justify-content:space-between;gap:10px}.hpz-resident-title h4{margin:0;font-size:17px}.hpz-resident-status{font-size:11px;padding:4px 7px;background:#e6eaed}.hpz-resident-status.is-active{background:#e6f0bd;color:#435000}.hpz-resident-main dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:13px 0}.hpz-resident-main dl div{display:flex;justify-content:space-between;border-bottom:1px solid #edf0f2;padding-bottom:4px}.hpz-resident-main dt{color:#6a747c}.hpz-resident-main dd{margin:0;font-weight:600}.hpz-resident-audit{font-size:11px;color:#78838b}.hpz-resident-actions{display:flex;flex-direction:column;gap:7px}.hpz-resident-actions form{margin:0}.hpz-resident-actions button{width:100%}
.hpz-residents-empty{padding:24px;color:#6c7780}.hpz-resident-form-panel{background:#fff;border-top:5px solid var(--hpz-green);padding:26px 28px}.hpz-resident-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}.hpz-resident-form label{display:flex;flex-direction:column;gap:6px}.hpz-resident-form label>span{font-weight:700}.hpz-resident-form input,.hpz-resident-form select{min-height:43px;border:1px solid #bcc5cb;padding:0 11px;border-radius:0;background:#fff}.hpz-resident-form small{color:#6b767e}.hpz-resident-form .is-wide{grid-column:1/-1}.hpz-resident-form-actions{display:flex;gap:10px}
@media(max-width:900px){.hpz-residents-grid{grid-template-columns:1fr}.hpz-resident-card{grid-template-columns:48px 1fr}.hpz-resident-actions{grid-column:1/-1;flex-direction:row}.hpz-residents-header{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.hpz-residents-header,.hpz-residents-groups,.hpz-resident-form-panel{padding-left:16px;padding-right:16px}.hpz-residents-toolbar{align-items:flex-start;flex-direction:column;padding-left:16px;padding-right:16px}.hpz-resident-form{grid-template-columns:1fr}.hpz-resident-form .is-wide{grid-column:auto}.hpz-resident-main dl{grid-template-columns:1fr}.hpz-resident-card{grid-template-columns:1fr}.hpz-resident-avatar{width:44px;height:44px}}

/* Bewohner-Ernährungsprofile */
.hpz-resident-nutrition-state{margin-top:10px;padding:8px 10px;background:#f3f6ef;border-left:4px solid #afca0a;font-size:13px;font-weight:600}
.hpz-resident-nutrition-panel{margin-top:24px}
.hpz-resident-nutrition-panel>div:first-child p{margin:4px 0 0;color:#667085}
.hpz-resident-nutrition-form{margin-top:20px}
.hpz-nutrition-section{margin-bottom:26px}
.hpz-nutrition-section h4{margin:0 0 12px;font-size:17px}
.hpz-nutrition-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}
.hpz-nutrition-card{position:relative;display:grid;grid-template-columns:42px 1fr;align-items:start;gap:2px 10px;min-height:88px;padding:14px;border:1px solid #dfe3e8;background:#fff;cursor:pointer;transition:.15s ease}
.hpz-nutrition-card:hover{border-color:#afca0a;box-shadow:0 3px 12px rgba(0,0,0,.07)}
.hpz-nutrition-card input{position:absolute;top:10px;right:10px;width:18px;height:18px}
.hpz-nutrition-card:has(input:checked){border-color:#8faa00;background:#f7faea;box-shadow:inset 4px 0 0 #afca0a}
.hpz-nutrition-code,.hpz-nutrition-icon{grid-row:1/3;display:flex;align-items:center;justify-content:center;width:38px;height:38px;background:#232b35;color:#fff;font-weight:800;font-size:16px}
.hpz-nutrition-icon{font-size:22px;background:#eef3df;color:#26310a}
.hpz-nutrition-card strong{padding-right:25px;font-size:14px;line-height:1.3}
.hpz-nutrition-card small{color:#667085;line-height:1.35}
.hpz-nutrition-texts{margin-bottom:18px}
@media(max-width:700px){.hpz-nutrition-cards{grid-template-columns:1fr}.hpz-nutrition-card{min-height:78px}}

/* 1.6.0 – Telefon-/Adressbuch: Fotos, kompakte Personendarstellung und VCF */
.hpz-phonebook-tools{grid-template-columns:auto minmax(170px,220px) minmax(170px,220px) minmax(280px,420px)}
.hpz-phonebook-vcf{height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;background:#19364d;color:#fff!important;text-decoration:none!important;font-weight:800;font-size:12px;white-space:nowrap}
.hpz-phonebook-vcf:hover{background:#234a68;color:#fff!important}
.hpz-phonebook-person{display:flex;align-items:center;gap:10px;min-width:220px}
.hpz-phonebook-person>img,.hpz-phonebook-avatar,.hpz-phonebook-card-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:0 0 42px}
.hpz-phonebook-avatar,.hpz-phonebook-card-avatar--fallback{display:grid;place-items:center;background:#eef5d4;color:#667700;font-weight:900;font-size:12px}
.hpz-phonebook-person>span:last-child{min-width:0}.hpz-phonebook-person strong{display:block;color:#19364d}.hpz-phonebook-person small{display:block;margin-top:2px;color:#75838b;font-size:11px;font-weight:600}
.hpz-phonebook-table td{vertical-align:middle}.hpz-phonebook-table td:empty::after{content:'–';color:#a0a9ae}
.hpz-phonebook-lead-card{grid-template-columns:54px minmax(0,1fr);align-items:center}.hpz-phonebook-lead-card .hpz-phonebook-card-avatar{width:54px;height:54px;flex-basis:54px}
.hpz-phonebook-lead-main{min-width:0}.hpz-phonebook-lead-main h3{margin:5px 0 0}.hpz-phonebook-lead-main p{margin:2px 0 0;color:#71808b;font-size:12px}
.hpz-phonebook-lead-contact{grid-column:auto;margin-top:7px}
.hpz-phonebook-person-mini{display:flex;align-items:center;gap:9px;min-width:230px}.hpz-phonebook-person-mini .hpz-phonebook-card-avatar{width:38px;height:38px;flex-basis:38px}.hpz-phonebook-person-mini strong,.hpz-phonebook-person-mini small{display:block}.hpz-phonebook-person-mini small{color:#74828b;font-size:11px;margin-top:2px}
.hpz-phonebook-department table{min-width:640px}.hpz-phonebook-department th:first-child{width:42%}
@media(max-width:1150px){.hpz-phonebook-tools{grid-template-columns:repeat(2,minmax(180px,1fr))}.hpz-phonebook-vcf{grid-column:1/-1;justify-self:start}.hpz-phonebook-search{grid-column:1/-1}}
@media(max-width:700px){.hpz-phonebook-vcf{width:100%}.hpz-phonebook-table{min-width:820px}}

/* Ansprechpartner im Standortbereich */
.hpz-location-contacts{display:grid;gap:12px;margin:16px 0}
.hpz-location-contact-group__label{display:block;margin-bottom:6px;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#71808b}
.hpz-location-contact-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:9px}
.hpz-location-contact-card{display:grid;grid-template-columns:52px minmax(0,1fr);gap:11px;align-items:center;border:1px solid rgba(0,0,0,.09);background:#fff;padding:11px 12px}
.hpz-location-contact-card>img,.hpz-location-contact-card__avatar{width:52px;height:52px;border-radius:50%;object-fit:cover}
.hpz-location-contact-card__avatar{display:grid;place-items:center;background:#eef5d4;color:#667700;font-weight:900}
.hpz-location-contact-card__main{min-width:0}.hpz-location-contact-card__main>strong{display:block;color:#19364d;font-size:15px}.hpz-location-contact-card__main>small{display:block;color:#74828b;margin-top:2px}
.hpz-location-contact-card__links{display:flex;flex-wrap:wrap;gap:4px 11px;margin-top:6px}.hpz-location-contact-card__links a{font-size:11px;font-weight:700;overflow-wrap:anywhere}.hpz-location-contact-card__links i{width:13px;color:#758600}
.hpz-location-contacts--modal{margin:14px 0 4px}


/* 2.4.3 – Telefonbuch: Initialen zuverlässig zentrieren */
.hpz-phonebook-table td .hpz-phonebook-avatar,
.hpz-phonebook .hpz-phonebook-card-avatar--fallback{
  display:inline-grid!important;
  place-items:center!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  min-height:42px!important;
  margin:0!important;
  padding:0!important;
  border-radius:50%!important;
  background:#eef5d4!important;
  color:#667700!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  text-align:center!important;
  vertical-align:middle!important;
  box-sizing:border-box!important;
}
.hpz-phonebook-person-mini .hpz-phonebook-card-avatar--fallback{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
}
.hpz-phonebook-lead-card .hpz-phonebook-card-avatar--fallback{
  width:54px!important;
  height:54px!important;
  min-width:54px!important;
  min-height:54px!important;
}

/* 2.5.0 – VCF-Filter & Notfall-/Brandmeldkette */
.hpz-emergency-chain-row{position:relative;margin-bottom:12px;padding:14px}.hpz-emergency-chain-row>[data-hpz-emergency-chain-remove]{margin-top:10px}.hpz-emergency-consent-status{display:inline-flex;padding:5px 8px;font-size:11px;font-weight:800;background:#eef1f3;color:#526570}.hpz-emergency-consent-status.is-accepted{background:#eef5d4;color:#627700}.hpz-emergency-consent-status.is-declined{background:#fdeceb;color:#a52b23}.hpz-emergency-consent-status.is-pending{background:#fff4d5;color:#946a00}

.hpz-emergency-chain-export{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 14px}.hpz-emergency-chain-export .button{display:inline-flex;align-items:center;gap:5px}

/* 2.6.0 – WLAN-Verwaltung */
.hpz-wifi-admin-row{margin:12px 0;padding:14px;border:1px solid #d9e2e6;background:#fff}.hpz-wifi-admin-row__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.hpz-wifi-admin-row__head strong{display:flex;align-items:center;gap:5px;color:#17364d}.hpz-wifi-admin-row select[multiple]{min-height:90px;width:100%}

/* Telefonliste 2.8.4: Filterleiste einzeilig auf Desktop */
.hpz-phonebook-head{align-items:center}.hpz-phonebook-tools{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;flex:1;justify-content:flex-end}.hpz-phonebook-tools>a,.hpz-phonebook-tools>label{min-width:0;margin:0}.hpz-phonebook-vcf{white-space:nowrap}.hpz-phonebook-tools select{min-width:150px}.hpz-phonebook-search{flex:1 1 310px;min-width:220px;max-width:440px}.hpz-phonebook-vcf{flex:0 0 auto}.hpz-phonebook-tools label:not(.hpz-phonebook-search){flex:0 1 220px}
@media(max-width:1250px){.hpz-phonebook-head{align-items:flex-start}.hpz-phonebook-tools{flex-wrap:wrap}.hpz-phonebook-search{flex-basis:100%;max-width:none}}
@media(max-width:700px){.hpz-phonebook-tools{display:grid;grid-template-columns:1fr}.hpz-phonebook-tools>a,.hpz-phonebook-tools>label{width:100%}.hpz-phonebook-search{min-width:0}}


/* Telefonliste 2.8.5 – kompaktere Gesamtansicht */
.hpz-phonebook-table{table-layout:fixed}
.hpz-phonebook-table th:nth-child(1),.hpz-phonebook-table td:nth-child(1){width:17%}
.hpz-phonebook-table th:nth-child(2),.hpz-phonebook-table td:nth-child(2){width:31%}
.hpz-phonebook-table th:nth-child(3),.hpz-phonebook-table td:nth-child(3){width:15%}
.hpz-phonebook-table th:nth-child(4),.hpz-phonebook-table td:nth-child(4){width:10%}
.hpz-phonebook-table th:nth-child(5),.hpz-phonebook-table td:nth-child(5){width:10%}
.hpz-phonebook-table th:nth-child(6),.hpz-phonebook-table td:nth-child(6){width:17%}
.hpz-phonebook-table td:nth-child(4) a,.hpz-phonebook-table td:nth-child(5) a{white-space:nowrap}
.hpz-phonebook-table td:nth-child(6){overflow-wrap:anywhere}
.hpz-phonebook-location-cell{min-width:250px}
.hpz-phonebook-locations{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.hpz-phonebook-location-pill{display:inline-flex!important;align-items:center;margin:0!important;padding:3px 7px;background:#f4f6f2;border:1px solid #e0e5dc;color:#425466!important;font-size:12px!important;line-height:1.25}
.hpz-phonebook-location-more{display:inline-flex!important;align-items:center;margin:0!important;padding:3px 7px;background:#eef5cf;color:#607000!important;font-weight:800;font-size:11px!important;line-height:1.25;white-space:nowrap}
.hpz-phonebook-lead-card p{display:none}
.hpz-phonebook-lead-contact{display:grid;gap:3px}
.hpz-phonebook-lead-contact-line{display:flex;align-items:center;gap:4px;flex-wrap:nowrap;white-space:nowrap;min-width:0}
.hpz-phonebook-lead-contact-line a{white-space:nowrap}
.hpz-phonebook-lead-contact-mail{white-space:normal}
.hpz-phonebook-lead-contact-mail a{white-space:normal;overflow-wrap:anywhere}
.hpz-phonebook-lead-contact i{font-size:11px;color:#65757f;margin-right:3px}
.hpz-phonebook-table th button[aria-sort="ascending"]::after{content:' \2191';color:#8ca300;font-size:12px;opacity:1}
.hpz-phonebook-table th button[aria-sort="descending"]::after{content:' \2193';color:#8ca300;font-size:12px;opacity:1}
.hpz-phonebook-table th button.is-active::after{opacity:1}
@media(max-width:1250px){
  .hpz-phonebook-table{table-layout:auto}
  .hpz-phonebook-table th,.hpz-phonebook-table td{width:auto!important}
  .hpz-phonebook-location-cell{min-width:280px}
}
