/* Mejoras puntuales; conserva los colores y la tipografía de House. */
.hw-field{display:grid;gap:8px;margin:16px 0;color:#a5bec5;font-size:13px}.hw-field select{background:#081c24;color:#eaf7f9;border:1px solid #d2e9ec40;border-radius:8px;padding:12px;min-height:44px;width:100%}
.hw-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:20px;color:#a5bec5;font-size:13px}.hw-pagination button,.hw-reorder button,.hw-evolution button{min-height:44px;min-width:44px;border:1px solid #d2e9ec40;border-radius:8px;background:#183c48;color:#eaf7f9;padding:10px 14px}.hw-pagination button:disabled,.hw-reorder button:disabled{opacity:.4;cursor:default}
.hw-evolution h3{font-weight:700;margin-bottom:16px}.hw-evolution figure{margin:16px 0 24px}.hw-evolution figcaption,.hw-note,.hw-empty{font-size:13px;color:#a5bec5;line-height:1.6}.hw-bars{height:160px;display:flex;gap:8px;align-items:flex-end;padding-top:28px}.hw-bars>div{flex:1;min-width:0;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;height:100%;position:relative}.hw-bars span{font-size:10px;white-space:nowrap}.hw-bars i{display:block;width:80%;background:#76d8dc;border-radius:5px 5px 0 0;min-height:8px}
.hw-table-wrap{overflow:auto}.hw-evolution table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.hw-evolution caption{text-align:left;color:#a5bec5;margin-bottom:12px}.hw-evolution th,.hw-evolution td{padding:12px 8px;border-bottom:1px solid #d2e9ec20}.hw-evolution small{display:block}.hw-evolution td:last-child{white-space:nowrap}.hw-evolution button{font-size:12px;margin:2px}.hw-reorder{display:flex;gap:4px;grid-column:2/-1}.hw-reorder button{padding:6px 12px}
.hw-history-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:20px}.hw-history-filters .ho-field{flex:1;min-width:135px}.hw-history-filters p{width:100%;font-size:12px;color:#a5bec5}.hw-movement{max-width:620px;width:calc(100% - 32px)}.ho-dialog #house-membership-form{margin:20px 0}.ho-dialog #house-membership-form .hm-fields{grid-template-columns:1fr}.ho-layout{grid-template-columns:1fr!important}.ho-heading{flex-wrap:wrap;gap:12px}.hw-history-filters [hidden],[data-owner-screen] [hidden],.hw-field[hidden]{display:none!important}
.ho-dialog:focus-visible,.hw-field select:focus-visible,.hw-pagination button:focus-visible,.hw-reorder button:focus-visible{outline:2px solid #76d8dc;outline-offset:3px}
.ho-dialog,.ho-dialog::backdrop,#access-recovery,#access-recovery::backdrop{overscroll-behavior:contain}.ho-dialog::backdrop,#access-recovery::backdrop{overflow:hidden}
#access-recovery{max-width:560px;width:calc(100% - 32px);max-height:90dvh;overflow:auto;border:1px solid #d2e9ec40;border-radius:16px;padding:24px;background:#102731;color:#eaf7f9}#access-recovery::backdrop{background:#031017cc}#access-recovery label{display:grid;gap:8px;margin:16px 0}#access-recovery input:not([type=checkbox]){width:100%;min-height:44px;padding:12px;background:#081c24;border:1px solid #d2e9ec40;border-radius:8px;color:#eaf7f9}#access-recovery label:has([type=checkbox]){display:flex;align-items:start}#access-recovery p{line-height:1.6}#access-recovery button{min-height:44px;padding:10px 16px}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
@media(max-width:600px){.hw-history-filters{display:grid;grid-template-columns:1fr 1fr}.hw-history-filters>label:first-child,.hw-history-filters>p,.hw-history-filters>button{grid-column:1/-1}.hw-pagination{gap:8px}.hw-pagination button{padding:10px}.hw-evolution td,.hw-evolution th{padding:8px 4px}.hw-evolution button{padding:8px}.hw-movement .ho-two{grid-template-columns:1fr}.ho-heading button{flex:1}.hw-bars span{font-size:9px}.hw-bars{gap:3px}}
.ho-dialog [hidden]{display:none!important}
.ho-student-picker{margin:16px 0}.ho-student-picker>.ho-field{margin-bottom:8px}.ho-student-results{max-height:240px;overflow-y:auto;overscroll-behavior:contain;background:#081c24;border:1px solid #d2e9ec40;border-radius:8px;margin-bottom:8px}.ho-student-results>[role=option]{display:grid;gap:4px;padding:12px 16px;min-height:56px;cursor:pointer;border-bottom:1px solid #d2e9ec20}.ho-student-results>[role=option]:last-child{border-bottom:0}.ho-student-results>[role=option]:hover,.ho-student-results>[aria-selected=true]{background:#183c48;box-shadow:inset 3px 0 #76d8dc}.ho-student-results strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}.ho-student-results small{font-size:12px;color:#a5bec5}.ho-student-clear{margin-top:8px}.ho-student-picker input:focus-visible{outline:2px solid #76d8dc;outline-offset:2px}
