 :root{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#19283d;background:#f5f7fb;font-size:15px}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}a{color:#1859b4;text-decoration:none}a:hover{text-decoration:underline}.topbar{height:66px;background:#fff;border-bottom:1px solid #e5eaf1;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(16px,3vw,48px)}.brand{font-size:19px;font-weight:750;color:#182b47;display:flex;align-items:center;gap:10px}.brandicon{display:grid;place-items:center;background:#1c5cc0;color:#fff;border-radius:11px;width:36px;height:36px}.topright{display:flex;align-items:center;gap:22px}.topright form{margin:0}.secure{color:#43745c;font-size:12px}.quiet{border:0;background:transparent;color:#415570;padding:10px}.workspace{max-width:1540px;margin:0 auto;padding:26px clamp(16px,3vw,48px)}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:16px}.eyebrow{font-size:11px;letter-spacing:.12em;color:#75869b;font-weight:800;margin:0 0 8px}.pagehead h1{font-size:clamp(25px,2.6vw,34px);margin:0}.subtitle{margin:7px 0;color:#69798d}.crumb{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:22px 0;color:#8492a5;font-size:13px}.crumb a{color:#4b6280}.layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px}.side,.content{min-width:0}.side{padding:20px 12px;background:#fff;border:1px solid #e7ebf1;border-radius:15px;align-self:start}.side-title{font-size:11px;letter-spacing:.09em;color:#8a98a8;font-weight:800;padding:6px 12px 14px}.side>a{display:block;padding:12px;border-radius:9px;font-weight:650}.navactive{background:#edf4ff}.side-help{margin:28px 10px 0;border-top:1px solid #edf0f4;padding-top:18px;font-size:13px;color:#677a90;line-height:1.6}.side-help strong{color:#30435c}.content{display:grid;gap:14px}.actionsbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.action-left{display:flex;gap:9px;flex-wrap:wrap}.primary,.secondary,.danger{border:1px solid transparent;border-radius:10px;padding:11px 16px;font-weight:650}.primary{background:#195cbf;color:white}.secondary{background:white;border-color:#dce3ed;color:#294364}.danger{background:#b72e35;color:white}.primary:hover{background:#124d9f}.search{display:flex;align-items:center;gap:8px;background:white;border:1px solid #dce3ed;border-radius:10px;padding:0 12px;min-width:220px}.search input{border:0;outline:0;padding:12px 0;min-width:0;width:100%;background:transparent}.dropzone{display:flex;align-items:center;gap:16px;background:#fafdff;border:2px dashed #b5c9e5;border-radius:14px;padding:19px 22px;cursor:pointer;transition:.15s}.dropzone:hover,.dropzone.dragging{border-color:#1960c5;background:#eaf3ff}.drop-symbol{font-size:31px;background:#e5f0ff;color:#1b61bd;border-radius:12px;width:54px;height:54px;display:grid;place-items:center;flex-shrink:0}.dropzone strong{font-size:16px}.dropzone p{font-size:13px;color:#697d94;margin:5px 0 0}.dropzone button{margin-left:auto;white-space:nowrap}.tablewrap{background:white;border:1px solid #e5eaf1;border-radius:14px;overflow:hidden}.tabletitle{display:flex;justify-content:space-between;gap:10px;padding:19px 20px}.tabletitle span{color:#8090a4;font-size:13px}.listhead,.file-row{display:grid;grid-template-columns:minmax(0,1fr) 125px 205px;align-items:center;gap:15px}.listhead{background:#f8fafc;border-block:1px solid #e9edf3;padding:11px 20px;color:#8794a5;font-size:12px;font-weight:750}.file-row{padding:12px 20px;border-bottom:1px solid #eef1f5;min-height:65px}.file-row:last-child{border:0}.file-row:hover{background:#fafcff}.file-name{display:flex;align-items:center;gap:13px;min-width:0}.fileicon{font-size:23px;flex-shrink:0}.file-label{min-width:0;overflow-wrap:anywhere}.file-label strong,.file-label a{font-weight:600}.file-meta{color:#738398;font-size:13px}.file-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px}.file-actions form{margin:0}.smallbutton,.more{background:white;border:1px solid #e1e7ef;border-radius:8px;padding:8px 10px;font-size:12px;white-space:nowrap}.danger-text{color:#ae3e48}.upfolder{display:block;padding:13px 20px;border-bottom:1px solid #edf0f4}.empty{padding:28px;text-align:center;color:#77869b}.mobile-meta{display:none}.notice{padding:14px;border-radius:10px}.notice.error{background:#fff0f0;color:#a62830}.notice.success{background:#e8f8ed;color:#206e3d}.transfer{background:#fff;border:1px solid #dfe7f0;border-radius:12px;padding:15px}.transfer[hidden],.drag-overlay[hidden],.empty[hidden]{display:none}.transfer-head{display:flex;justify-content:space-between;gap:10px}.transfer progress{width:100%;height:12px;margin:12px 0 0;accent-color:#195cbf}.muted{color:#6c7d92;font-size:13px}.drag-overlay{position:fixed;inset:0;z-index:999;background:#174fa8dc;display:grid;place-items:center;padding:20px;pointer-events:none}.drag-card{background:white;border:3px dashed #88b5ef;border-radius:22px;text-align:center;padding:50px;max-width:650px;width:100%;box-shadow:0 15px 60px #102d4c33}.drag-card span{font-size:55px;color:#195cbf}.drag-card h2{margin:8px 0}.drag-card p{color:#6d7e90}dialog{border:0;border-radius:16px;padding:26px;width:min(94vw,440px);box-shadow:0 25px 70px #1b2c4550}dialog::backdrop{background:#0d213c88}dialog h2{margin:0 0 12px}dialog label{display:grid;gap:8px;margin-top:18px;font-weight:600}dialog input{border:1px solid #cdd8e5;border-radius:9px;padding:12px;width:100%}.dialogbuttons{display:flex;justify-content:flex-end;gap:10px;margin-top:25px;flex-wrap:wrap}.login{max-width:440px;background:#fff;padding:32px;border-radius:16px;margin:12vh auto;box-shadow:0 10px 40px #233a5514}.login form{display:grid;gap:12px}.login input{padding:12px;border:1px solid #cad4e0;border-radius:9px}.login button{background:#195cbf;color:white;border:0;border-radius:9px;padding:12px}.login label{display:grid;gap:8px}@media(max-width:1000px){.layout{grid-template-columns:1fr}.side{display:none}}@media(max-width:700px){.topbar{height:60px}.secure{display:none}.workspace{padding:20px 14px}.pagehead{align-items:flex-start}.pagehead>.primary{display:none}.actionsbar{flex-direction:column;align-items:stretch}.search{width:100%}.dropzone{flex-wrap:wrap;padding:16px}.dropzone button{margin-left:0;width:100%}.drop-symbol{width:42px;height:42px}.listhead{display:none}.file-row{grid-template-columns:minmax(0,1fr);gap:7px;padding:13px 14px}.file-meta{display:none}.mobile-meta{display:block;color:#8997a7;font-size:12px;margin-top:4px}.file-actions{justify-content:flex-start;padding-left:37px}.tabletitle{padding:16px}.crumb{margin:14px 0}.subtitle{font-size:13px}}
.file-row[hidden]{display:none}

#operationDialog label{display:block;margin:12px 0;font-weight:600}#operationDialog input:not([type=checkbox]),#operationDialog select{display:block;width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:9px;margin-top:6px;background:white;color:#17253c}#operationDialog .confirmline{font-size:13px;font-weight:400;line-height:1.5}#operationDialog{max-width:min(520px,94vw)}.operation-open{cursor:pointer}

/* Etapa 6: accesibilidad, diálogos y acceso visual */
.j-modal{max-width:min(94vw,470px);border:1px solid #dbe5f1;border-radius:22px;padding:28px;box-shadow:0 26px 90px #071b3d45}.j-modal::backdrop{background:#08162c99;backdrop-filter:blur(5px)}.modal-symbol{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#eaf2ff;color:#185ac0;font-size:25px;font-weight:800;margin-bottom:12px}.j-toast{position:fixed;bottom:22px;right:22px;z-index:9999;background:#122c4e;color:#fff;border-radius:14px;padding:16px 22px;box-shadow:0 10px 35px #0003;max-width:min(90vw,420px)}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #38bdf8;outline-offset:3px}
.cyber-login{min-height:100vh;margin:0;background:radial-gradient(ellipse at 80% 15%,#19315d 0%,transparent 48%),radial-gradient(ellipse at 10% 90%,#063e49 0%,transparent 45%),#060e1d;color:#e7f4ff;font-family:system-ui,-apple-system,Segoe UI,sans-serif;overflow-x:hidden}.cyber-grid{position:fixed;inset:0;background-image:linear-gradient(#43baff0b 1px,transparent 1px),linear-gradient(90deg,#43baff0b 1px,transparent 1px);background-size:45px 45px;transform:perspective(650px) rotateX(55deg) scale(1.65);transform-origin:50% 75%;pointer-events:none}.cyber-orb{position:fixed;border-radius:50%;filter:blur(5px);pointer-events:none;animation:floatOrb 9s ease-in-out infinite alternate}.orb-a{width:240px;height:240px;top:8%;right:10%;background:radial-gradient(circle,#24c2ef35,transparent 70%)}.orb-b{width:310px;height:310px;bottom:0;left:5%;background:radial-gradient(circle,#5278ff2b,transparent 70%);animation-delay:-4s}@keyframes floatOrb{to{transform:translate3d(0,35px,0)}}.cyber-shell{position:relative;z-index:1;min-height:100vh;display:grid;place-items:center;padding:26px 16px;box-sizing:border-box;perspective:1200px}.cyber-panel{box-sizing:border-box;width:min(100%,460px);padding:clamp(24px,5vw,46px);background:linear-gradient(145deg,#152846e8,#091729f2);border:1px solid #5ec8ff44;border-radius:26px;box-shadow:0 30px 90px #0009,0 0 65px #18b9ff16,inset 0 1px #ffffff24;transform:rotateX(2deg);animation:panelIn .7s ease-out}@keyframes panelIn{from{opacity:0;transform:translateY(30px) rotateX(9deg)}to{opacity:1;transform:rotateX(2deg)}}.cyber-mark{width:62px;height:62px;display:grid;place-items:center;border:1px solid #4bc9ff88;border-radius:18px;background:linear-gradient(135deg,#0e4e8b,#0b1d3b);font-weight:900;font-size:24px;box-shadow:0 8px 24px #0005,0 0 25px #12bdf633}.cyber-mark span{color:#3cf0e4}.cyber-tag{margin-top:24px;color:#81d9fa;font-size:11px;letter-spacing:2px;font-weight:700}.cyber-dot{color:#42f0c4}.cyber-panel h1{font-size:clamp(31px,6vw,44px);margin:12px 0 6px;letter-spacing:-1.5px}.cyber-panel h1 em{font-style:normal;color:#54d7ff}.cyber-desc{color:#b1c6da;line-height:1.6;margin:0 0 30px}.cyber-panel label{display:block;font-size:14px;font-weight:650;margin-bottom:10px}.cyber-input{display:flex;align-items:center;gap:10px;background:#071324;border:1px solid #4d6a8b;border-radius:13px;padding:4px 10px}.cyber-input:focus-within{border-color:#56d9ff;box-shadow:0 0 0 3px #56d9ff22}.cyber-input input{min-width:0;flex:1;background:transparent;color:#fff;border:0;outline:0;font-size:16px;padding:15px 0}.cyber-input button{background:transparent;border:0;color:#83d6fb;cursor:pointer;font-size:12px}.cyber-submit{width:100%;display:flex;align-items:center;justify-content:space-between;margin-top:20px;padding:16px 20px;background:linear-gradient(120deg,#1879d9,#0db9d4);border:0;border-radius:13px;color:white;font-size:16px;font-weight:750;cursor:pointer;box-shadow:0 9px 25px #00a8ff30}.cyber-submit:hover{filter:brightness(1.12)}.cyber-footer{display:flex;justify-content:space-between;gap:12px;margin-top:28px;padding-top:18px;border-top:1px solid #ffffff1c;color:#8ea7bd;font-size:11px}.cyber-error{background:#7f1d1d66;border:1px solid #ff707077;color:#ffe4e4;border-radius:12px;padding:12px;margin:12px 0}@media(max-width:520px){.cyber-panel{transform:none;padding:25px 22px}.cyber-shell{padding:16px}.cyber-footer{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.cyber-panel,.cyber-orb{animation:none;transform:none}}

/* Etapa 12: navegación responsive y accesible */
.jreyes-nav{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px 24px;background:#101d30;color:#cbd5e1}.jreyes-nav a{color:#fff;text-decoration:none;padding:9px 14px;border-radius:9px;background:#263951}.jreyes-nav a:hover,.jreyes-nav a:focus-visible{background:#2563eb}.jreyes-nav span{font-size:12px;opacity:.8}@media(max-width:640px){.jreyes-nav{padding:9px;gap:6px}.jreyes-nav a{flex:1;text-align:center}}

/* ETAPA 23 — Explorador premium y fecha de modificación */
:root{--jr-accent:#2563eb;--jr-border:#dce5f1}body.drive{background:linear-gradient(145deg,#f0f5ff 0%,#f8fafc 45%,#eef4fc 100%)}.topbar{box-shadow:0 4px 22px rgba(15,35,75,.055)}.brandicon{background:linear-gradient(145deg,#2563eb,#06b6d4);box-shadow:0 6px 16px rgba(37,99,235,.24)}.tablewrap{border:1px solid var(--jr-border);border-radius:19px;overflow:hidden;box-shadow:0 12px 36px rgba(20,44,85,.06);background:#fff}.tabletitle{padding:21px 24px;background:linear-gradient(90deg,#f7faff,#fff);border-bottom:1px solid var(--jr-border)}.listhead,.file-row{display:grid!important;grid-template-columns:minmax(200px,2fr) minmax(100px,.65fr) minmax(155px,.8fr) minmax(360px,1.4fr)!important;gap:14px;align-items:center}.listhead{background:#f3f7fd;color:#536780;font-size:12px;font-weight:750;letter-spacing:.045em;text-transform:uppercase}.file-row{min-height:76px;border-bottom:1px solid #edf1f7;transition:background .15s,box-shadow .15s}.file-row:nth-child(even){background:#fafcff}.file-row:hover{background:#edf5ff;box-shadow:inset 3px 0 #2563eb}.file-date{font-size:13px;color:#526784;white-space:nowrap;font-variant-numeric:tabular-nums}.file-name strong,.file-name a{font-weight:650}.fileicon{border-radius:12px}.file-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.file-actions .smallbutton,.file-actions button{border-radius:9px}.side{border-radius:18px}.dropzone{border-radius:16px;background:linear-gradient(100deg,#f0f7ff,#fff)}@media(max-width:1120px){.listhead,.file-row{grid-template-columns:minmax(160px,2fr) minmax(80px,.7fr) minmax(135px,.9fr) minmax(220px,1.4fr)!important}.file-actions{justify-content:flex-start}}@media(max-width:760px){.listhead{display:none!important}.file-row{display:flex!important;flex-wrap:wrap;gap:10px;padding:16px}.file-name{width:100%}.file-meta{display:none}.file-date{margin-left:4px}.file-actions{width:100%}.file-actions .smallbutton,.file-actions button{font-size:12px}}

/* Etapa 24: explorador avanzado */
.explorer-tools{background:#fff;border:1px solid #dce5f1;border-radius:16px;padding:14px 18px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;box-shadow:0 8px 25px #15345b0b}.explorer-controls,.explorer-selection{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.explorer-controls label,.explorer-selection label{font-size:12px;font-weight:650;color:#40536c}.explorer-controls select{margin-left:5px;padding:9px;border:1px solid #d6e0ed;border-radius:9px;background:#f8fbff;color:#243e61}.explorer-selection button{padding:9px 12px;font-size:12px}.explorer-selection button:disabled{opacity:.45;cursor:not-allowed}.row-select{display:flex;align-items:center;justify-content:center}.row-select input{width:17px;height:17px;accent-color:#2563eb}.file-row{position:relative;padding-left:48px!important}.row-select{position:absolute;left:17px;top:50%;transform:translateY(-50%)}.file-row.selected{background:#eaf3ff!important;box-shadow:inset 3px 0 #2563eb}.file-row[hidden]{display:none!important}#fileList.view-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;padding:15px}#fileList.view-grid .file-row{display:flex!important;flex-direction:column;align-items:stretch;justify-content:space-between;gap:12px;min-height:190px;border:1px solid #dfe8f3;border-radius:14px;padding:18px 14px 14px 43px!important;background:#fff}#fileList.view-grid .row-select{top:23px;left:15px;transform:none}#fileList.view-grid .file-name{align-items:flex-start}#fileList.view-grid .fileicon{font-size:29px}#fileList.view-grid .file-meta{display:block}#fileList.view-grid .file-actions{justify-content:flex-start}#fileList.view-grid .file-actions .smallbutton,#fileList.view-grid .file-actions button{font-size:11px;padding:6px 8px}#fileList.view-grid .file-row[hidden]{display:none!important}#fileList.view-grid .file-date{white-space:normal}@media(max-width:760px){.explorer-tools{padding:12px}.explorer-controls,.explorer-selection{width:100%}.file-row{padding-left:44px!important}.row-select{left:12px}#fileList.view-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));padding:10px}}

/* Etapa 25 — Interfaz premium compacta */
.jr-context{position:fixed;z-index:2000;width:245px;padding:7px;border:1px solid #cad7ea;border-radius:15px;background:#fff;box-shadow:0 22px 60px #061a3650}.jr-context button{display:block;width:100%;padding:11px 12px;text-align:left;background:transparent;border:0;border-radius:9px;color:#203956;cursor:pointer;font:inherit;font-size:13px}.jr-context button:hover,.jr-context button:focus-visible{background:#e9f2ff}.jr-context .danger-text{color:#b42332}.jr-properties{border:1px solid #d5e0f0;border-radius:19px;max-width:min(94vw,480px);padding:24px}.jr-properties dl{display:grid;grid-template-columns:125px 1fr;gap:12px;font-size:14px}.jr-properties dt{font-weight:700;color:#64748b}.jr-properties dd{margin:0;overflow-wrap:anywhere}.context-trigger{font-weight:700}.file-actions{gap:5px}.file-actions .smallbutton,.file-actions button{padding:8px 10px}.jr-dark.drive{background:#081426;color:#e7effc}.jr-dark .workspace,.jr-dark .content{color:#e7effc}.jr-dark .tablewrap,.jr-dark .explorer-tools,.jr-dark .side,.jr-dark .file-row,.jr-dark .tabletitle,.jr-dark .listhead,.jr-dark .actionsbar{background:#12243c!important;color:#e7effc;border-color:#2c4665}.jr-dark .file-row:nth-child(even){background:#172c47!important}.jr-dark .file-row:hover,.jr-dark .file-row.selected{background:#1c3e66!important}.jr-dark .file-name a,.jr-dark .file-name strong,.jr-dark .file-date,.jr-dark .file-meta,.jr-dark .tabletitle strong{color:#e7effc}.jr-dark .jr-context,.jr-dark .jr-properties{background:#152943;color:#e7effc;border-color:#3a5676}.jr-dark .jr-context button{color:#e7effc}.jr-dark .jr-context button:hover{background:#284768}.jr-dark .jr-context .danger-text{color:#ff9a9a}.jr-dark .explorer-controls select{background:#1b3350;color:#fff;border-color:#3a5676}@media(max-width:760px){.jr-context{max-width:calc(100vw - 16px)}.file-actions .context-trigger{order:-1}}

/* Etapa 26: vista previa segura y adaptable */
.jr-preview{width:min(94vw,1050px);height:min(88vh,850px);max-width:none;max-height:none;border:1px solid #8da9c5;border-radius:18px;padding:16px;background:var(--surface,#fff);color:inherit}.jr-preview::backdrop{background:rgba(2,9,23,.78)}.jr-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.jr-preview iframe{display:block;width:100%;height:calc(100% - 105px);border:1px solid #b7c7da;border-radius:10px;background:white}@media(max-width:600px){.jr-preview{width:96vw;height:90vh;padding:10px}}
