/* Extras del hogar: papelera, actividad, resumen semanal, acceso por estancia. */
.hcx-p{margin-bottom:12px;font-size:13px;}
.hcx-peq{font-size:12.5px;}
.hcx-lista{list-style:none;padding:0;margin:8px 0 0;}
.hcx-fila{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:9px 0;border-bottom:1px solid var(--line,rgba(128,128,128,.25));}
.hcx-nom{flex:1 1 240px;min-width:0;overflow-wrap:anywhere;font-size:14px;}
.hcx-acc{display:flex;gap:6px;flex-wrap:wrap;}
.hcx-acc .btn,.hcx-b .btn{min-height:40px;}
.hcx-rojo{color:#c0392b;}
body.dark-mode .hcx-rojo{color:#ff8a7a;}
.hcx-deshacer{position:fixed;left:12px;right:12px;margin:0 auto;width:max-content;bottom:22px;z-index:9500;display:flex;align-items:center;gap:12px;max-width:min(560px,calc(100vw - 24px));box-sizing:border-box;padding:10px 12px 10px 16px;border-radius:12px;background:#2b2622;color:#fff;box-shadow:0 8px 28px rgba(0,0,0,.35);font-size:14px;}
.hcx-deshacer span{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;}
.hcx-des-b{background:var(--gold,#d4a017);color:#1d1a17;border:0;border-radius:8px;padding:9px 14px;font-weight:700;font-size:14px;cursor:pointer;min-height:40px;}
.hcx-des-b:disabled{opacity:.6;cursor:wait;}
.hcx-des-x{background:transparent;color:#fff;border:0;font-size:24px;line-height:1;cursor:pointer;min-width:40px;min-height:40px;}
.hcx-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;align-items:end;margin-bottom:12px;}
.hcx-form label{display:block;font-size:13px;margin-bottom:4px;}
.hcx-form select,.hcx-form input[type=time]{width:100%;}
.hcx-sw{display:flex !important;gap:8px;align-items:center;font-weight:600;font-size:14px;}
.hcx-sw input[type=checkbox]{width:18px !important;height:18px;flex:none;margin:0;padding:0;}
.hcx-mio{margin-top:14px;}
.hcx-b{margin-bottom:6px;}
.hcx-aviso{margin:8px 0 0;padding:9px 12px;border-radius:8px;font-size:13px;background:rgba(212,160,23,.16);border:1px solid rgba(212,160,23,.5);}
.hcx-det{margin-top:14px;font-size:13px;}
.hcx-det summary{cursor:pointer;font-weight:700;}
.hcx-h4{margin:14px 0 4px;font-size:14px;}
.hcx-ol{margin:4px 0 8px 18px;padding:0;line-height:1.5;}
.hcx-cmd{background:rgba(128,128,128,.15);padding:8px 10px;border-radius:6px;overflow-x:auto;font-size:12.5px;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0;}
.hcx-det code{background:rgba(128,128,128,.15);padding:1px 5px;border-radius:4px;font-size:12.5px;}
.hcx-est{max-width:520px;width:100%;max-height:90vh;overflow:auto;}
.hcx-est-l{display:flex;flex-direction:column;gap:8px;margin:10px 0;}
.hcx-est-f{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.hcx-est-n{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;font-weight:600;}
.hcx-est-f select{flex:0 0 150px;}
.hcx-solover{margin-bottom:14px;padding:10px 14px;border-radius:10px;background:rgba(58,134,200,.13);border:1px solid rgba(58,134,200,.45);font-size:14px;}
@media (max-width:820px){.hcx-deshacer{bottom:calc(92px + env(safe-area-inset-bottom));}}
@media (prefers-reduced-motion:no-preference){.hcx-deshacer{animation:hcxSube .2s ease-out;}@keyframes hcxSube{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}}
.hcx-ventana{max-width:560px;width:100%;max-height:90vh;overflow:auto;}
.hcx-ventana .hcx-fila .btn{min-height:40px;}
