/* Oemmie gebruikers- en gezinsbeheer */
.oemmie-title-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.oemmie-user-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 22px}.oemmie-user-metrics .card{padding:20px 22px;display:flex;flex-direction:column;gap:3px;border-left:4px solid #d9a22d}.oemmie-user-metrics strong{font-size:32px;line-height:1;color:#075b61}.oemmie-user-metrics span{color:#64777a;font-weight:700}.oemmie-user-alerts{background:#fff9e9;border:1px solid #efd796;border-left:5px solid #d69a19;border-radius:14px;padding:16px 18px;margin:0 0 22px;color:#5d4a17}.oemmie-user-alerts>b{display:block;margin-bottom:10px}.oemmie-user-alerts>div{display:flex;gap:8px;flex-wrap:wrap}.oemmie-user-alerts a,.oemmie-user-alerts span{background:#fff;border:1px solid #eadbb4;border-radius:999px;padding:7px 11px;color:#5d4a17;text-decoration:none;font-size:13px;font-weight:700}.oemmie-directory-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}.oemmie-directory-head small{display:block;color:#279b70;font-weight:800;letter-spacing:.13em}.oemmie-directory-head h2{margin:3px 0 0}.oemmie-directory-head>span{color:#6d7e81;font-size:13px}.oemmie-user-directory .madrasa-table td{vertical-align:middle}.oemmie-profile-cell{display:flex;align-items:center;gap:11px;min-width:210px}.oemmie-profile-cell>span,.oemmie-family-list article>header>span{width:38px;height:38px;border-radius:50%;background:#e3f4ee;color:#08656a;display:grid;place-items:center;font-weight:900;flex:0 0 auto}.oemmie-profile-cell small,.oemmie-family-list small{display:block;color:#718184;margin-top:3px}.oemmie-role-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#e7f4f1;color:#08656a;font-size:12px;font-weight:800}.oemmie-role-badge.student{background:#edf4ff;color:#325e97}.oemmie-role-badge.parent{background:#fff4dc;color:#8c6410}.oemmie-role-badge.admin{background:#f2eefe;color:#62449c}.oemmie-user-edit{position:relative;min-width:150px}.oemmie-user-edit summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;font-weight:800;color:#075b61}.oemmie-user-edit summary::-webkit-details-marker{display:none}.oemmie-user-edit[open] form{margin-top:12px;padding:14px;background:#f5f9f7;border:1px solid #dbe7e3;border-radius:12px;min-width:245px}.oemmie-user-edit label{font-size:12px;font-weight:800;color:#536a6e}.oemmie-user-edit input,.oemmie-user-edit select{margin-top:4px}.oemmie-family-layout{grid-template-columns:minmax(260px,.8fr) minmax(0,2fr)}.oemmie-family-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.oemmie-family-list>article{border:1px solid #dbe5e2;border-radius:15px;padding:16px;background:#fbfdfc}.oemmie-family-list article>header{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid #e4ece9}.oemmie-family-list article>header>div{min-width:0;flex:1}.oemmie-family-list article>header b,.oemmie-family-list article>header small{overflow-wrap:anywhere}.oemmie-family-list article>header em{font-style:normal;font-size:11px;font-weight:800;background:#e6f4ee;color:#287b5c;border-radius:999px;padding:5px 8px;white-space:nowrap}.oemmie-family-children{display:grid;gap:8px;margin-top:12px}.oemmie-family-children>div{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e1e9e6;border-radius:10px;padding:8px}.oemmie-family-children>div>b{flex:1}.oemmie-family-children form{margin:0}.oemmie-family-children .button{padding:6px 9px;font-size:11px}.oemmie-family-children .dashicons{color:#d69a19}.oemmie-table-warning{color:#a56b00;font-weight:700}
@media(max-width:1000px){.oemmie-user-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.oemmie-family-layout{grid-template-columns:1fr}.oemmie-family-list{grid-template-columns:1fr}}
@media(max-width:680px){.oemmie-title-actions{width:100%;justify-content:stretch}.oemmie-title-actions .button{flex:1;text-align:center}.oemmie-user-metrics{gap:10px}.oemmie-user-metrics .card{padding:15px}.oemmie-user-metrics strong{font-size:25px}.oemmie-directory-head{align-items:flex-start;flex-direction:column}.oemmie-user-directory .madrasa-table{min-width:880px}.oemmie-family-list article>header{align-items:flex-start}.oemmie-family-children>div{align-items:flex-start;flex-wrap:wrap}.oemmie-family-children>div>b{min-width:150px}.oemmie-family-children form{width:100%}.oemmie-family-children .button{width:100%}}

/* 11.46.2: schaalbaar gebruikersbestand */
.oemmie-user-directory .oemmie-directory-head p{margin:5px 0 0;color:#718184;font-size:12px}.oemmie-user-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}.oemmie-user-tabs a{padding:8px 12px;border:1px solid #d8e5e1;border-radius:999px;text-decoration:none;color:#536a6e;font-weight:800;font-size:12px;background:#fff}.oemmie-user-tabs a.active{background:#075b61;color:#fff;border-color:#075b61}.oemmie-pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:18px;padding-top:16px;border-top:1px solid #e3ece9}.oemmie-pagination span{font-weight:800;color:#536a6e}.oemmie-profile-center{display:block}

/* 11.46.3: uniforme verticale ritmiek gebruikersbeheer */
.oemmie-user-directory{margin-bottom:28px!important}.oemmie-user-directory + .oemmie-module-title{margin-top:0!important}.oemmie-family-layout{margin-bottom:28px!important}.oemmie-family-layout + .oemmie-module-title{margin-top:0!important}.oemmie-user-directory ~ .card.portal{margin-bottom:28px}.oemmie-user-directory ~ .oemmie-module-title + .card.portal{margin-bottom:28px}.oemmie-user-directory ~ .oemmie-module-title{margin-bottom:16px}
