.rh{max-width:1200px;margin:auto}.rh-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}.rh-heading h2,.rh-heading h3{margin-top:0}.rh-tabs,.rh-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}.rh-tabs{padding-bottom:1rem;border-bottom:1px solid var(--border,#ddd)}.rh-form,.rh-values,.rh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.rh-field{display:flex;flex-direction:column;gap:.4rem}.rh-field label{font-weight:600}.rh-field input,.rh-field textarea,.rh-field select{width:100%;min-width:0;padding:.65rem;border:1px solid var(--border,#ccc);border-radius:8px;background:var(--surface,#fff);color:inherit;font:inherit;box-sizing:border-box}.rh-wide{grid-column:1/-1}.rh-values dt{font-size:.82rem;opacity:.7}.rh-values dd{margin:.25rem 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.rh-record,.rh-person{border:1px solid var(--border,#ddd);border-radius:10px;padding:1rem;margin:.8rem 0;min-width:0}.rh-person{display:flex;flex-direction:column;gap:.5rem;text-decoration:none;color:inherit;overflow-wrap:anywhere}.rh-person:hover{border-color:var(--accent,#537b6b)}.rh-person span{font-size:.9rem}.rh-filters{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.rh-filters label{display:flex;flex-direction:column;gap:.4rem;flex:1;min-width:150px}.rh-filters input,.rh-filters select{padding:.6rem;width:100%;box-sizing:border-box}.rh-check{display:flex;align-items:center;gap:.4rem}.rh-upload{display:flex;gap:.7rem;align-items:end;flex-wrap:wrap}.rh-upload label{display:flex;flex-direction:column;gap:.4rem;max-width:100%}.rh-upload input{max-width:100%}.rh-files{list-style:none;padding:0}.rh-files li{margin:.5rem 0;overflow-wrap:anywhere}.rh-files .btn{white-space:normal;overflow-wrap:anywhere;max-width:100%}.rh-error:empty{display:none}.rh-dialog{width:min(800px,90vw);max-height:85vh;padding:1.2rem;border:1px solid #ccc;border-radius:12px;overflow:auto}.rh-dialog::backdrop{background:#0006}.rh-alerts{padding:.8rem;background:#fdf3dc;color:#58461c;border-radius:8px}.rh-alerts summary{cursor:pointer}@media(max-width:600px){.rh-form,.rh-values,.rh-grid{grid-template-columns:1fr}.rh-tabs .btn{font-size:.82rem;padding:.45rem}.rh{padding:12px}.rh-dialog{width:calc(100vw - 24px);box-sizing:border-box}.rh-heading h3{overflow-wrap:anywhere}}
.rh-heading>div{min-width:0;max-width:100%;overflow-wrap:anywhere}
