/* Cloud y Academia: mismo estilo que el resto del panel (usa las variables de admin.css). */
.cl-tabs, .ac-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.cl-tab, .ac-tab { padding: 8px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); color: var(--white-2); text-decoration: none; font-size: 14px; }
.cl-tab.on, .ac-tab.on, .cl-tab:hover, .ac-tab:hover { background: hsla(203,88%,47%,.18); color: var(--white-1); border-color: hsla(203,88%,47%,.5); }
.inl { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 2px 4px 2px 0; }
.r { text-align: right; }
.cl-act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.cl-table { width: 100%; }
.cl-crumbs { margin-bottom: 12px; }
.cl-crumbs a { color: var(--accent); }
.cl-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px; border: 2px dashed rgba(255,255,255,.22); border-radius: 16px; text-align: center; cursor: pointer; }
.cl-drop.over, .cl-drop:hover { border-color: var(--accent); background: hsla(203,88%,47%,.08); }
.cl-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.cl-file:focus + .cl-queue, .cl-file:focus-visible ~ .cl-queue { outline: none; }
.cl-queue { list-style: none; padding: 0; margin: 10px 0; }
.cl-queue .bad { color: var(--danger); } .cl-queue .ok { color: var(--ok); }
#cl-prog { width: 100%; margin-top: 10px; }
.cl-newf { margin: 12px 8px 0 0; }
.cl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cl-card { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; padding: 14px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; }
.cl-card .cl-ico { font-size: 38px; color: var(--accent); }
.cl-card img { max-width: 100%; height: 90px; object-fit: cover; border-radius: 8px; }
.cl-name { word-break: break-word; font-weight: 600; }
.cl-more { position: relative; display: inline-block; }
.cl-more > summary { list-style: none; cursor: pointer; }
.cl-more > summary::-webkit-details-marker { display: none; }
.cl-pop { position: absolute; right: 0; z-index: 20; min-width: 260px; padding: 12px; display: flex; flex-direction: column; gap: 8px; text-align: left;
  background: rgba(24,24,24,.98); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; box-shadow: 0 12px 36px rgba(0,0,0,.5); }
.cl-dl { display: grid; grid-template-columns: 9rem 1fr; gap: 6px 12px; margin: 0 0 12px; }
.cl-dl dt { color: var(--light-gray); } .cl-dl dd { margin: 0; }
.cl-pdf { width: 100%; height: 480px; border: 0; border-radius: 12px; background: #fff; }
.cl-img { max-width: 100%; border-radius: 12px; }
.cl-meter { width: 100%; height: 14px; }
.chk { display: flex; gap: 8px; align-items: center; margin: 10px 0; }
.share-list { list-style: none; padding: 0; text-align: left; }
.share-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.pill.err { color: var(--danger); background: hsla(0,43%,51%,.16); }
/* Academia */
.ac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 20px; }
.ac-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(30,30,30,.5); }
.ac-card h3 { margin: 0; font-size: 16px; }
.ac-card a.stretch { color: inherit; text-decoration: none; }
.ac-card:hover { border-color: hsla(203,88%,47%,.5); }
.ac-body h2 { margin-top: 26px; } .ac-body h3 { margin-top: 18px; }
.ac-body ul, .ac-body ol { padding-left: 1.2rem; } .ac-body li { margin: 4px 0; }
.ac-say { white-space: pre-wrap; padding: 12px 14px; border-left: 3px solid var(--accent); background: rgba(255,255,255,.04); border-radius: 0 12px 12px 0; margin: 8px 0; }
.ac-do { color: var(--ok); } .ac-dont { color: var(--danger); }
.ac-dlg p { margin: 6px 0; } .ac-dlg .me { color: var(--accent); } .ac-dlg .cl { color: var(--white-2); }
.ac-tpl { width: 100%; min-height: 9rem; }
.ac-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.ac-hit { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.ac-note { width: 100%; min-height: 6rem; }
.ac-progress { height: 10px; width: 100%; }
@media (max-width: 640px) { .cl-dl { grid-template-columns: 1fr; } .cl-pop { right: auto; left: 0; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.panel .cl-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 0 12px; }
.ac-body ul { list-style: disc; } .ac-body ol { list-style: decimal; }
.ac-body ul.ac-do, .ac-body ul.ac-dont { list-style: none; padding-left: 0; }
.ac-body ul.ac-do li::before { content: "✓ "; } .ac-body ul.ac-dont li::before { content: "✗ "; }
.ac-bar input { flex: 1 1 280px; }
.cl-newf input { max-width: 22rem; }
.cl-crumbs { margin-bottom: 12px; }
.panel .chk { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; cursor: pointer; }
.panel .chk input { width: auto; flex: none; margin-top: .3rem; }
.cl-act.left { justify-content: flex-start; }
.ac-hit .ac-say { margin-top: 6px; }
