/* ARCHIVOS DEL ESPACIO — la carpeta compartida (13-oct-2026). Mismos tonos que platform.css. */
.files-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px;font-size:14px;flex:1;min-width:0}
.files-crumbs button{padding:6px 9px;border:0;background:transparent;color:#172e4a;font-weight:600;border-radius:6px}
.files-crumbs button:hover{background:#ecf1f7}
.files-crumbs .sep{color:#9aaabb}
.files-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px;min-height:42px}
.files-bar .grow{flex:1}
.files-bar .count{font-size:13px;color:#4c647e;background:#ecf1f7;border-radius:20px;padding:6px 11px}
.files-bar .clip{font-size:13px;color:#7a5a12;background:#fff4dc;border:1px solid #f0d99a;border-radius:20px;padding:6px 11px}
.files-drop{position:relative}
.files-drop.over .files-body{outline:3px dashed #2f6db5;outline-offset:-6px;background:#f3f8ff}
.files-drop.over::after{content:'Suelta aquí para subir';position:absolute;inset:auto 0 18px 0;text-align:center;font-weight:700;color:#2f6db5;pointer-events:none}
.files-body{padding:0;overflow:hidden}
.files-table{width:100%;border-collapse:collapse;font-size:14px}
.files-table th{text-align:left;color:#66798f;font-weight:600;padding:12px 10px;border-bottom:1px solid #e4eaf1;background:#f8fafc;font-size:13px}
.files-table td{padding:10px;border-bottom:1px solid #eef2f6;vertical-align:middle}
.files-table tr.sel td{background:#eef4fc}
.files-table tr:hover td{background:#f6f9fd}
.files-table tr.sel:hover td{background:#e6effa}
.files-table .ck{width:34px;text-align:center}
.files-table .ck input{width:17px;height:17px;cursor:pointer}
.files-table .nm{display:flex;align-items:center;gap:10px;min-width:0}
.files-table .nm .ico{font-size:20px;width:26px;text-align:center;flex:none}
.files-table .nm button{border:0;background:transparent;padding:4px 2px;color:#172338;text-align:left;font:inherit;font-weight:500;overflow-wrap:anywhere;white-space:normal}
.files-table .nm button:hover{color:#2f6db5;text-decoration:underline}
.files-table .sz,.files-table .dt{color:#68798b;white-space:nowrap;font-size:13px}
.files-table .ac{text-align:right;white-space:nowrap}
.files-table .ac button{padding:6px 9px;font-size:13px;margin-left:4px}
.files-up td{color:#4c647e}
.files-empty{padding:42px 16px;text-align:center;color:#6a7c93}
.files-empty strong{display:block;color:#172338;font-size:16px;margin-bottom:6px}
.files-uploads{position:fixed;right:20px;bottom:20px;width:min(380px,calc(100% - 40px));background:#fff;border:1px solid #d8e1ec;border-radius:12px;box-shadow:0 12px 32px rgba(16,34,57,.18);z-index:90;display:none;max-height:50vh;overflow:auto}
.files-uploads.on{display:block}
.files-uploads header{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-bottom:1px solid #eef2f6;font-weight:700;font-size:14px;position:sticky;top:0;background:#fff}
.files-uploads header button{padding:5px 10px;font-size:12px}
.files-up-item{padding:10px 14px;border-bottom:1px solid #f1f4f8;font-size:13px}
.files-up-item .n{overflow-wrap:anywhere;margin-bottom:6px}
.files-up-item .bar{height:6px;border-radius:4px;background:#e8eef5;overflow:hidden}
.files-up-item .bar i{display:block;height:100%;width:0;background:#2f6db5;transition:width .2s}
.files-up-item.ok .bar i{background:#2e8b57}
.files-up-item.err .bar i{background:#c0392b;width:100%}
.files-up-item .st{color:#68798b;margin-top:4px;font-size:12px}
.files-trash-note{font-size:13px;color:#68798b;margin:0 0 12px}
button.danger{color:#a12e22;border-color:#e8c4bf}
@media(max-width:760px){
  .files-table .sz,.files-table .dt,.files-table th.sz,.files-table th.dt{display:none}
  .files-table .ac button{padding:6px 7px}
  .files-bar button{flex:1 1 auto}
}
