.absence-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.absence-heading h2{margin:0}
.absence-heading p{margin:6px 0}
.absence-filters{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}
body.mobile-admin-ready .absence-filters .button,body.mobile-admin-ready .absence-actions .button,body.player-shell-ready .absence-filters .button,body.player-shell-ready .absence-actions .button{width:auto;flex:0 1 auto}
.absence-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--line,#d9dfea)}
.absence-entry>div{min-width:0;overflow-wrap:anywhere}
.absence-entry p{margin:6px 0 0}
.absence-actions{display:flex;gap:8px;flex-wrap:wrap}
.absence-delete{color:#b4232d}
.absence-dialog{box-sizing:border-box;width:min(580px,calc(100% - 24px));max-height:90dvh;overflow-y:auto;border:1px solid var(--line,#d9dfea);border-radius:18px;padding:24px;color:var(--ink,#101820)}
.absence-dialog::backdrop{background:rgba(15,23,42,.5)}
.absence-dialog form{display:grid;gap:16px;min-width:0}
.absence-dialog label{display:grid;gap:6px;min-width:0;font-weight:600}
.absence-dialog [hidden]{display:none}
.absence-dialog input,.absence-dialog select,.absence-dialog textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%}
.absence-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(max-width:700px){
 .absence-entry{align-items:flex-start;flex-direction:column;gap:10px}
 .absence-entry .button,.absence-filters .button{padding:8px 12px;font-size:.85rem;min-height:38px}
 .absence-dialog{padding:18px}
 .absence-heading>.button{font-size:.85rem;padding:10px 12px}
}
