/* Cloudfily v84 — approved reference UI. Structural only: real data and logic remain in app.js. */
.cloud-logo,.auth-brand .cloud-logo,.brand .cloud-logo,html[data-theme] .auth-brand .cloud-logo,html[data-theme] .brand .cloud-logo{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;overflow:visible!important}
.cloud-logo img{display:block;width:100%;height:100%;object-fit:contain}
.auth-brand .cloud-logo{width:72px;height:60px}
.app{max-width:1040px;padding-bottom:32px}
.top{padding-top:max(14px,env(safe-area-inset-top))}
.head{align-items:center}.brand{gap:12px}.brand .cloud-logo{width:68px;height:58px;flex:0 0 68px}
.brand h1{font-size:clamp(1.35rem,4.8vw,2rem);letter-spacing:-.045em}.brand small{font-size:.9rem}
.head-actions #chat,.head-actions #settings{display:none}
.head-actions .round{background:var(--surface,#fff);border:1px solid var(--border,#e8edf4);box-shadow:0 7px 20px rgba(24,45,82,.08)}
.profile-shortcut{font-size:1rem;background:var(--accent-soft,#e9f8f5)!important;color:var(--text,#071936)!important}
.sync{margin-top:18px;min-height:58px;border-radius:18px;justify-content:flex-start;padding:12px 18px;gap:10px}
.sync>span:first-child{background:var(--accent-soft,#e6faf4);border-radius:999px;padding:8px 12px}
.sync>span:nth-child(2){flex:1;text-align:left;font-size:.9rem}.sync svg{width:24px}
main{gap:16px}.storage{border-radius:25px;padding:22px 24px;box-shadow:0 14px 34px rgba(25,47,86,.1)}
.storage h2{text-transform:uppercase;letter-spacing:.13em;font-size:.88rem;color:var(--muted,#657187)}
.storage strong{font-size:clamp(2.15rem,8vw,3.65rem);letter-spacing:-.055em}.storage-row>div:first-child small{font-size:1rem}
.storage-quota{align-self:end;padding-bottom:7px}.storage-foot{margin-top:14px}.storage-foot button{border-radius:13px;padding:10px 13px}
.bar{height:13px}.bar i{background:linear-gradient(90deg,#188cff,#10d6b2)}
.stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.stat{position:relative;min-height:112px;padding:15px 13px!important;border:1px solid rgba(255,255,255,.33)!important;border-radius:19px!important;color:#fff!important;display:grid!important;grid-template-columns:52px 1fr!important;grid-template-rows:1fr 1fr!important;align-items:center!important;text-align:left!important;overflow:hidden;box-shadow:0 10px 24px rgba(18,38,75,.14)!important}
.stat::after{content:"";position:absolute;inset:0;background:linear-gradient(125deg,rgba(255,255,255,.18),transparent 45%);pointer-events:none}
.stat .ico{grid-row:1/3;width:48px!important;height:48px!important;border-radius:13px!important;background:rgba(9,18,45,.2)!important;color:inherit!important;z-index:1}
.stat .ico svg{width:30px!important;height:30px!important;stroke:#fff!important;filter:drop-shadow(0 3px 5px rgba(0,0,0,.2))}
.stat b{font-size:1.42rem!important;line-height:1;align-self:end;z-index:1}.stat>span:last-child{font-size:.84rem!important;color:#fff!important;align-self:start;z-index:1}
.stat-files{background:linear-gradient(135deg,#006b91,#00d4d1)!important}.stat-photos{background:linear-gradient(135deg,#7f164b,#ff4f8d)!important}
.stat-videos{background:linear-gradient(135deg,#49156f,#c236f5)!important}.stat-models{background:linear-gradient(135deg,#00654f,#13d887)!important}
.stat-apps{background:linear-gradient(135deg,#7e3a13,#ff9d18)!important}.stat-docs{background:linear-gradient(135deg,#075887,#18b6ff)!important}
.stat-chat{background:linear-gradient(135deg,#00746f,#13d8c5)!important}.stat-search{background:linear-gradient(135deg,#244d9d,#7a55ec)!important}
.folders-heading{margin-top:4px}.folders-heading h2{font-size:1.55rem;text-transform:none;letter-spacing:-.035em}
.folders{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.folder{min-height:148px;border-radius:21px;padding:16px;box-shadow:0 9px 24px rgba(29,47,80,.1)}
.folder-visual{width:60px!important;height:52px!important;border-radius:15px!important}.folder-visual svg{width:39px!important;height:39px!important}
.folder-main b{font-size:1.02rem}.folder-main span{font-size:.78rem}
.fab{position:static!important;width:max-content!important;margin:2px 0 0 auto!important;min-height:48px!important;border-radius:999px!important;padding:0 20px!important;display:flex!important;gap:7px!important}
.fab strong{font-size:1.6rem}.browser-head,.file-browser>.toolbar,.file-browser>.file-search,.file-browser>.section-head:not(.folders-heading),.file-browser>.file-grid,.file-browser>.empty{display:none}
.browser-open .top,.browser-open .home-only,.browser-open>.fab{display:none!important}
.browser-open .folders-heading.nested-folders{display:flex!important}
.browser-open .folders.nested-folders{display:grid!important}
.browser-open{max-width:1120px;padding:0 14px 36px}.browser-open main{padding-top:max(12px,env(safe-area-inset-top));gap:10px}
.browser-open .browser-head{display:grid;grid-template-columns:48px 1fr auto auto;align-items:center;gap:8px;min-height:58px}
.browser-head button{width:44px;height:44px;border:0;border-radius:14px;background:var(--surface,#fff);color:var(--text,#071936);box-shadow:0 5px 16px rgba(22,41,73,.08);font-size:1.45rem}.browser-head button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.browser-title{min-width:0;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.browser-title b{font-size:1.08rem}.browser-title span{color:var(--muted,#667085);font-size:.82rem;font-weight:500}
.browser-open .file-browser>.file-search{display:flex;margin:2px 0 8px}.gallery-mode .file-search{display:none!important}
.browser-open .file-browser>.file-grid{display:grid}.browser-open .file-browser>.empty{display:none}.browser-open .file-browser>.empty.show{display:flex}
.gallery-mode #files{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.gallery-mode .file{display:block!important;padding:0!important;min-height:0!important;border-radius:17px!important;overflow:hidden;background:var(--surface,#fff)!important;box-shadow:0 6px 17px rgba(22,39,73,.12)!important}
.gallery-mode .thumb{width:100%!important;height:auto!important;aspect-ratio:1/1!important;border-radius:0!important;background:#e9edf4!important}
.gallery-mode .fileico{display:none!important}.gallery-mode .meta{display:block!important;padding:9px 36px 10px 11px!important;min-width:0!important}
.gallery-mode .meta b{display:block!important;font-size:.75rem!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.gallery-mode .meta span{display:block!important;font-size:.7rem!important;margin-top:3px!important}.gallery-mode .more{right:7px!important;bottom:7px!important;top:auto!important;background:transparent!important}
.gallery-mode .more svg{display:none!important}.gallery-mode .more::before{content:"⋮";font-size:24px;font-weight:800;color:var(--text,#071936)}
.gallery-mode .select-mark{display:grid!important;left:auto!important;right:9px!important;top:9px!important;width:30px!important;height:30px!important;border:2px solid #fff!important;background:rgba(10,20,38,.2)!important;box-shadow:0 2px 7px #0003}
.gallery-mode .file.selected .select-mark{background:#178cf5!important;border-color:#178cf5!important;color:#fff!important}
.search-mode .file-search{display:flex!important}.search-mode #files{margin-top:3px}
.chat-sheet{background:rgba(10,20,38,.28)}.chat-card{width:min(720px,100%);height:min(850px,96dvh);background:var(--bg,#f7f9fc);color:var(--text,#071936)}
.chat-head{background:var(--surface,#fff);border-color:var(--border,#e5eaf1)}.chat-head h2{font-size:1.2rem}.chat-head small{color:var(--muted,#687389)}
.chat-home{background:var(--bg,#f7f9fc)}.contact-search{padding:16px 18px 9px;display:grid;grid-template-columns:1fr auto}
.contact-search input{background:var(--surface,#fff);color:var(--text,#071936);border-color:var(--border,#e5eaf1);border-radius:15px;padding-left:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23687890' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");background-size:20px;background-repeat:no-repeat;background-position:14px center}
.contact-search button{min-height:46px}.contact-search .alias-live{grid-column:1/3}
.online-section{padding:5px 18px 12px}.online-section h3,.conversation-title{margin:4px 0 10px;font-size:1rem;letter-spacing:-.02em}
.online-contacts{display:flex;gap:15px;overflow-x:auto;padding:2px 1px 8px;scrollbar-width:none}.online-contacts::-webkit-scrollbar{display:none}
.online-contact{flex:0 0 64px;border:0;background:transparent;color:var(--text,#071936);display:grid;justify-items:center;gap:6px;padding:0}
.online-contact .chat-avatar{width:55px;height:55px;box-shadow:0 0 0 3px var(--surface,#fff)}.online-contact .presence-dot{position:absolute;right:0;bottom:1px;width:14px;height:14px;border-radius:50%;background:#21ca78;border:3px solid var(--surface,#fff)}
.online-contact>span:last-child{width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;text-align:center}.online-empty{color:var(--muted,#687389);font-size:.8rem}
.conversation-title{padding:0 18px;margin-top:0}.chat-list{padding:0 0 20px}
.chat-contact{margin:0;border-radius:0;padding:13px 18px;background:var(--surface,#fff);color:var(--text,#071936);border-bottom:1px solid var(--border,#e5eaf1)}
.chat-contact .chat-avatar{width:52px;height:52px}.chat-contact-main b{font-size:.9rem}.chat-contact-main span{color:var(--muted,#687389);font-size:.78rem}
.chat-contact-time{align-self:start;color:var(--muted,#687389);font-size:.68rem;white-space:nowrap}.chat-unread{background:#168df6}
.chat-empty{padding:30px 20px;text-align:center;color:var(--muted,#687389)}
html[data-theme="azul-nocturno"] .stat{box-shadow:0 11px 28px rgba(0,8,30,.34)!important}
html[data-theme="azul-nocturno"] .gallery-mode .file,html[data-theme="azul-nocturno"] .chat-contact{background:var(--surface,#0e2c5a)!important}
@media(max-width:720px){
 .app{padding-left:14px;padding-right:14px}.brand .cloud-logo{width:58px;height:50px;flex-basis:58px}.sync{min-height:54px}
 .stats{gap:9px!important}.stat{min-height:98px;padding:11px 9px!important;grid-template-columns:43px 1fr!important}
 .stat .ico{width:40px!important;height:40px!important}.stat .ico svg{width:25px!important;height:25px!important}
 .stat b{font-size:1.18rem!important}.stat>span:last-child{font-size:.72rem!important}
 .folders{gap:9px}.folder{min-height:130px;padding:13px}.folder-visual{width:51px!important;height:46px!important}
 .gallery-mode #files{gap:8px!important}.gallery-mode .meta{padding:8px 29px 9px 8px!important}.gallery-mode .meta b{font-size:.68rem!important}.gallery-mode .meta span{font-size:.63rem!important}
 .chat-card{height:100dvh;max-height:100dvh;border-radius:0}.chat-head{padding-top:max(12px,env(safe-area-inset-top));height:calc(68px + env(safe-area-inset-top))}
}
@media(max-width:430px){
 .app{padding-top:5px}.head{gap:7px}.brand{gap:7px}.brand .cloud-logo{width:49px;height:44px;flex-basis:49px}.brand h1{font-size:1.12rem}.brand small{font-size:.68rem}
 .head-actions .round{width:39px;height:39px}.sync{margin-top:12px;padding:9px 12px}.sync>span:first-child{padding:7px 9px}.sync>span:nth-child(2){font-size:.72rem}
 .storage{padding:17px 16px}.storage strong{font-size:2.18rem}.storage h2{font-size:.73rem}.storage-foot button{font-size:.65rem}
 .stats{grid-template-columns:repeat(4,minmax(0,1fr))!important}.stat{min-width:0}.folders-heading h2{font-size:1.32rem}
 .folders{grid-template-columns:repeat(3,minmax(0,1fr))}.folder{min-width:0;min-height:122px;padding:10px}.folder-main{padding-right:20px}.folder-main b{font-size:.78rem}.folder-main span{font-size:.63rem}.folder-more{width:26px;height:26px;right:5px;top:5px}
 .browser-open{padding-left:8px;padding-right:8px}.browser-open .browser-head{grid-template-columns:42px 1fr 40px 40px;gap:4px}.browser-head button{width:39px;height:39px}.browser-head h1{font-size:.92rem}
}
@media(max-width:355px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.folders{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v85 · Home fiel a la referencia aprobada. No afecta galería, chat ni vistas internas. */
html[data-theme] .home-only.stats{gap:10px!important;margin:16px 0 20px!important;background:transparent!important;border:0!important}
html[data-theme] .home-only.stats .stat{isolation:isolate;min-height:108px!important;padding:13px 11px!important;border-width:1px!important;border-style:solid!important;border-radius:18px!important;color:#fff!important;overflow:hidden!important;transform:translateZ(0)}
html[data-theme] .home-only.stats .stat::before{content:"";position:absolute;z-index:0;inset:-40% -20% auto 30%;height:105%;background:radial-gradient(circle,rgba(255,255,255,.34),transparent 68%);pointer-events:none}
html[data-theme] .home-only.stats .stat.stat-files{background:linear-gradient(135deg,#06394f 0%,#007b8d 55%,#11d6dd 100%)!important;border-color:#10d6df!important;box-shadow:0 10px 25px rgba(0,181,202,.34),inset 0 1px 0 rgba(255,255,255,.34)!important}
html[data-theme] .home-only.stats .stat.stat-photos{background:linear-gradient(135deg,#4b172d 0%,#aa2858 54%,#ff4f8b 100%)!important;border-color:#ff5b91!important;box-shadow:0 10px 25px rgba(232,54,118,.31),inset 0 1px 0 rgba(255,255,255,.3)!important}
html[data-theme] .home-only.stats .stat.stat-videos{background:linear-gradient(135deg,#2b0d47 0%,#711897 54%,#d03af5 100%)!important;border-color:#cf45f5!important;box-shadow:0 10px 25px rgba(160,47,221,.3),inset 0 1px 0 rgba(255,255,255,.3)!important}
html[data-theme] .home-only.stats .stat.stat-models{background:linear-gradient(135deg,#003d2d 0%,#00865b 54%,#18dc83 100%)!important;border-color:#19dc86!important;box-shadow:0 10px 25px rgba(17,191,112,.31),inset 0 1px 0 rgba(255,255,255,.3)!important}
html[data-theme] .home-only.stats .stat.stat-apps{background:linear-gradient(135deg,#512514 0%,#a85517 54%,#ff9b17 100%)!important;border-color:#ffa21c!important;box-shadow:0 10px 25px rgba(232,130,24,.31),inset 0 1px 0 rgba(255,255,255,.3)!important}
html[data-theme] .home-only.stats .stat.stat-docs{background:linear-gradient(135deg,#063b65 0%,#087db5 54%,#19b8ff 100%)!important;border-color:#24baff!important;box-shadow:0 10px 25px rgba(21,148,224,.32),inset 0 1px 0 rgba(255,255,255,.3)!important}
html[data-theme] .home-only.stats .stat.stat-chat{background:linear-gradient(135deg,#01494b 0%,#008d85 54%,#17d5c2 100%)!important;border-color:#17d6c4!important;box-shadow:0 10px 25px rgba(11,186,171,.31),inset 0 1px 0 rgba(255,255,255,.3)!important}
html[data-theme] .home-only.stats .stat.stat-search{background:linear-gradient(135deg,#1f3a82 0%,#455fc2 54%,#895aed 100%)!important;border-color:#8068f4!important;box-shadow:0 10px 25px rgba(82,86,211,.32),inset 0 1px 0 rgba(255,255,255,.3)!important}
html[data-theme] .home-only.stats .stat .ico{z-index:1;width:48px!important;height:48px!important;margin:0!important;border:1px solid rgba(255,255,255,.22)!important;background:linear-gradient(145deg,rgba(255,255,255,.32),rgba(5,13,32,.16))!important;box-shadow:0 7px 15px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.35)!important;color:#fff!important}
html[data-theme] .home-only.stats .stat .ico svg{width:30px!important;height:30px!important;fill:none!important;stroke:#fff!important;stroke-width:2!important;filter:drop-shadow(0 3px 5px rgba(0,0,0,.32))}
html[data-theme] .home-only.stats .stat b{z-index:1;color:#fff!important;font-size:1.42rem!important;text-shadow:0 2px 7px rgba(0,0,0,.28)}
html[data-theme] .home-only.stats .stat>span:last-child{z-index:1;color:#fff!important;opacity:.98;font-size:.82rem!important;text-shadow:0 2px 6px rgba(0,0,0,.32)}
html[data-theme] .storage.home-only{position:relative;background:linear-gradient(145deg,color-mix(in srgb,var(--theme-surface) 96%,#fff),color-mix(in srgb,var(--theme-surface) 88%,#eaf2ff))!important;border-color:color-mix(in srgb,var(--theme-border) 82%,#fff)!important;box-shadow:0 14px 34px rgba(28,49,85,.12)!important}
html[data-theme] .storage.home-only h2{text-transform:none!important;letter-spacing:-.02em!important;font-size:1.16rem!important;color:var(--theme-ink)!important}
html[data-theme] .storage.home-only #manageStorage{position:absolute;right:20px;top:18px;z-index:2;max-width:none!important;padding:10px 14px!important;border:1px solid var(--theme-border)!important;border-radius:13px!important;background:var(--theme-accent-soft)!important;color:var(--theme-ink)!important;font-weight:750}
@media(max-width:430px){html[data-theme] .home-only.stats{gap:7px!important}html[data-theme] .home-only.stats .stat{min-height:102px!important;padding:10px 7px!important;grid-template-columns:42px 1fr!important}html[data-theme] .home-only.stats .stat .ico{width:40px!important;height:40px!important}html[data-theme] .home-only.stats .stat .ico svg{width:25px!important;height:25px!important}html[data-theme] .home-only.stats .stat b{font-size:1.18rem!important}html[data-theme] .home-only.stats .stat>span:last-child{font-size:.69rem!important}html[data-theme] .storage.home-only #manageStorage{right:14px;top:13px;padding:8px 10px!important;font-size:.68rem!important}html[data-theme] .storage.home-only h2{font-size:.91rem!important;padding-right:96px}}

/* v86 · Proporciones finales de Home según referencia aprobada. */
html[data-theme] .top .brand-sub{display:flex;align-items:center;gap:8px;margin-top:2px}
html[data-theme] .top .brand-sub small{font-size:.78rem!important}
html[data-theme] .top .brand-active{display:inline-flex;align-items:center;min-height:22px;padding:2px 9px;border-radius:8px;background:#d9f8e9;color:#16a36e;font-size:.62rem;font-weight:850;letter-spacing:.03em}
html[data-theme] .sync.home-only,html[data-theme] .top .sync{min-height:48px!important;margin-top:12px!important;padding:8px 13px!important;border-radius:16px!important;box-shadow:0 7px 20px rgba(30,48,79,.09)!important}
html[data-theme] .top .sync>span:first-child{padding:6px 10px!important}
html[data-theme] .top .sync #updated{font-size:.72rem!important}
html[data-theme] .storage.home-only{padding:17px 20px!important;border-radius:22px!important}
html[data-theme] .storage.home-only h2{display:flex;align-items:center;gap:8px;margin:0 0 8px!important}
html[data-theme] .storage.home-only h2::before{content:"";width:27px;height:27px;flex:0 0 27px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c6a83' stroke-width='1.8'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v6c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 11v6c0 1.7 3.6 3 8 3s8-1.3 8-3v-6'/%3E%3C/svg%3E")}
html[data-theme] .storage.home-only .storage-settings{position:absolute;right:126px;top:16px;z-index:3;width:38px;height:38px;padding:0;border:1px solid var(--theme-border);border-radius:12px;background:var(--theme-accent-soft);color:var(--theme-ink);display:grid;place-items:center}
html[data-theme] .storage.home-only .storage-settings svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html[data-theme] .storage.home-only #manageStorage{top:16px!important;right:18px!important;min-height:38px;padding:8px 12px!important}
html[data-theme] .storage.home-only .bar{height:10px!important;margin-top:11px!important}
html[data-theme] .storage.home-only .storage-foot{margin-top:10px!important}
html[data-theme] .home-only.stats{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;margin:14px 0 17px!important}
html[data-theme] .home-only.stats .stat{min-height:92px!important;padding:9px 8px!important;grid-template-columns:40px minmax(0,1fr)!important;grid-template-rows:1fr 1fr!important;column-gap:6px!important;border-radius:17px!important;text-align:left!important}
html[data-theme] .home-only.stats .stat .ico{grid-row:1/3!important;width:38px!important;height:38px!important;border-radius:11px!important}
html[data-theme] .home-only.stats .stat .ico svg{width:24px!important;height:24px!important;stroke-width:2!important}
html[data-theme] .home-only.stats .stat b{align-self:end!important;font-size:1.08rem!important;line-height:1!important}
html[data-theme] .home-only.stats .stat>span:last-child{align-self:start!important;display:block!important;max-width:100%!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:.68rem!important;line-height:1.05!important;letter-spacing:-.025em!important}
html[data-theme] .home-only.stats .stat-search>b{display:none!important}
html[data-theme] .home-only.stats .stat-search>span:last-child{grid-row:1/3!important;align-self:center!important;font-size:.72rem!important;font-weight:750}
html[data-theme] .folders-heading.home-only{margin:14px 2px 9px!important}
html[data-theme] .folders-heading.home-only h2{font-size:1.35rem!important}
html[data-theme] .folders-heading.home-only #newFolder{padding:9px 15px!important;border-radius:999px!important;background:#fff!important;color:#14233b!important;box-shadow:0 6px 17px rgba(28,47,78,.09)!important}
html[data-theme] .folders.home-only{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
html[data-theme] .folders.home-only .folder{min-height:102px!important;padding:11px!important;border:1px solid #e7ecf3!important;border-radius:18px!important;background:#fff!important;box-shadow:0 7px 20px rgba(27,45,77,.1)!important}
html[data-theme] .folders.home-only .folder-main b{margin-top:6px!important;color:#0c1729!important;font-size:.82rem!important}
html[data-theme] .folders.home-only .folder-main>span:last-child{color:#69758a!important;font-size:.66rem!important}
html[data-theme] .folders.home-only .folder-visual{width:45px!important;height:40px!important;border-radius:10px!important;background:transparent!important;color:#248ef4!important;filter:drop-shadow(0 5px 7px rgba(36,142,244,.22))}
html[data-theme] .folders.home-only .folder:not(.protected-folder) .folder-visual svg{width:37px!important;height:32px!important;fill:currentColor!important;stroke:currentColor!important;stroke-width:1.2!important}
html[data-theme] .folders.home-only .folder:nth-child(3n+2) .folder-visual{color:#f5b629!important;filter:drop-shadow(0 5px 7px rgba(245,182,41,.25))}
html[data-theme] .folders.home-only .folder:nth-child(3n+3) .folder-visual,html[data-theme] .folders.home-only .shared-folder .folder-visual{color:#24c981!important;filter:drop-shadow(0 5px 7px rgba(36,201,129,.24))}
html[data-theme] .folders.home-only .protected-folder .folder-visual{color:#755ce2!important}
html[data-theme] .folders.home-only .folder[data-path="Diego"] .folder-visual,html[data-theme] .folders.home-only .folder[data-path$="/Diego"] .folder-visual{color:#248ef4!important}
html[data-theme] .folders.home-only .folder[data-path="Enviados"] .folder-visual,html[data-theme] .folders.home-only .folder[data-path$="/Enviados"] .folder-visual{color:#f5b629!important}
html[data-theme] .folders.home-only .folder[data-path="Familia"] .folder-visual,html[data-theme] .folders.home-only .folder[data-path$="/Familia"] .folder-visual{color:#24c981!important}
html[data-theme] .folders.home-only .folder-more{top:6px!important;right:5px!important;width:27px!important;height:27px!important;background:#f5f7fb!important;color:#6d778b!important}
@media(max-width:720px){html[data-theme] .home-only.stats .stat{min-height:76px!important;padding:7px 6px!important;grid-template-columns:34px minmax(0,1fr)!important;column-gap:5px!important}html[data-theme] .home-only.stats .stat .ico{width:32px!important;height:32px!important}html[data-theme] .home-only.stats .stat .ico svg{width:21px!important;height:21px!important}html[data-theme] .home-only.stats .stat b{font-size:1rem!important}html[data-theme] .home-only.stats .stat>span:last-child{font-size:.61rem!important}}
@media(max-width:430px){html[data-theme] .top{padding-top:max(9px,env(safe-area-inset-top))!important}html[data-theme] .brand .cloud-logo{width:45px!important;height:40px!important;flex-basis:45px!important}html[data-theme] .brand h1{font-size:1.06rem!important}html[data-theme] .top .brand-sub{gap:5px}html[data-theme] .top .brand-sub small{font-size:.64rem!important}html[data-theme] .top .brand-active{min-height:18px;padding:1px 6px;font-size:.51rem}html[data-theme] .top .sync{min-height:43px!important;margin-top:9px!important;padding:6px 10px!important}html[data-theme] .top .sync>span:first-child{padding:5px 8px!important}html[data-theme] .top .sync b{font-size:.7rem!important}html[data-theme] .top .sync #updated{font-size:.6rem!important}html[data-theme] .storage.home-only{padding:13px 14px!important}html[data-theme] .storage.home-only h2{font-size:.83rem!important;padding-right:128px!important;margin-bottom:6px!important}html[data-theme] .storage.home-only h2::before{width:23px;height:23px;flex-basis:23px}html[data-theme] .storage.home-only strong{font-size:1.78rem!important}html[data-theme] .storage.home-only .storage-settings{right:99px;top:10px;width:33px;height:33px}html[data-theme] .storage.home-only #manageStorage{right:11px!important;top:10px!important;min-height:33px;padding:6px 9px!important;font-size:.65rem!important}html[data-theme] .storage.home-only .bar{height:8px!important;margin-top:8px!important}html[data-theme] .storage.home-only .storage-foot{margin-top:8px!important}html[data-theme] .home-only.stats{gap:6px!important;margin:11px 0 14px!important}html[data-theme] .home-only.stats .stat{min-height:68px!important;padding:6px 5px!important;grid-template-columns:30px minmax(0,1fr)!important;column-gap:4px!important;border-radius:14px!important}html[data-theme] .home-only.stats .stat .ico{width:29px!important;height:29px!important;border-radius:9px!important}html[data-theme] .home-only.stats .stat .ico svg{width:19px!important;height:19px!important}html[data-theme] .home-only.stats .stat b{font-size:.93rem!important}html[data-theme] .home-only.stats .stat>span:last-child{font-size:.56rem!important;line-height:1!important}html[data-theme] .home-only.stats .stat-search>span:last-child{font-size:.62rem!important}html[data-theme] .folders-heading.home-only{margin-top:10px!important}html[data-theme] .folders-heading.home-only h2{font-size:1.19rem!important}html[data-theme] .folders-heading.home-only #newFolder{padding:7px 12px!important;font-size:.68rem!important}html[data-theme] .folders.home-only{gap:7px!important}html[data-theme] .folders.home-only .folder{min-height:90px!important;padding:9px 7px!important}html[data-theme] .folders.home-only .folder-visual{width:39px!important;height:35px!important}html[data-theme] .folders.home-only .folder:not(.protected-folder) .folder-visual svg{width:33px!important;height:29px!important}html[data-theme] .folders.home-only .folder-main b{font-size:.7rem!important}html[data-theme] .folders.home-only .folder-main>span:last-child{font-size:.58rem!important}}


/* v88 · Home medida sobre la referencia aprobada (864 × 1536). Solo pantalla principal. */
html[data-theme] #cloudApp>.top{padding:18px 16px 9px!important;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(247,250,255,.96))!important;backdrop-filter:none!important}
html[data-theme] #cloudApp>.top .head{min-height:57px!important}
html[data-theme] #cloudApp>.top .brand{gap:10px!important}
html[data-theme] #cloudApp>.top .brand .cloud-logo{width:60px!important;height:52px!important;flex:0 0 60px!important;box-shadow:none!important}
html[data-theme] #cloudApp>.top .brand h1{font-size:1.48rem!important;font-weight:800!important;letter-spacing:-.045em!important}
html[data-theme] #cloudApp>.top .brand-sub{gap:8px!important;margin-top:1px!important}
html[data-theme] #cloudApp>.top .brand-sub small{font-size:.83rem!important;color:#69758a!important}
html[data-theme] #cloudApp>.top .brand-active{min-height:24px!important;padding:2px 10px!important;border-radius:9px!important;background:#d9fae9!important;color:#13a56d!important;font-size:.66rem!important}
html[data-theme] #cloudApp>.top .head-actions{gap:8px!important}
html[data-theme] #cloudApp>.top .head-actions .round{width:44px!important;height:44px!important;background:#fff!important;border:0!important;box-shadow:none!important}
html[data-theme] #cloudApp>.top .head-actions #inbox svg{width:27px!important;height:27px!important}
html[data-theme] #cloudApp>.top .profile-shortcut{width:48px!important;height:48px!important;border:2px solid #172033!important;background:#fff!important;color:#303747!important;font-size:.86rem!important}
html[data-theme] #cloudApp>.top .sync{width:100%!important;min-height:44px!important;margin:13px 0 0!important;padding:5px 12px!important;border:1px solid #edf1f7!important;border-radius:16px!important;background:#fff!important;color:#68758a!important;gap:10px!important;box-shadow:0 7px 21px rgba(39,58,91,.1)!important}
html[data-theme] #cloudApp>.top .sync>span:first-child{height:32px!important;padding:5px 10px!important;border-radius:12px!important;background:#ddf9ec!important}
html[data-theme] #cloudApp>.top .sync .dot{width:11px!important;height:11px!important;margin-right:8px!important;background:#24c98b!important;box-shadow:0 0 8px rgba(36,201,139,.32)}
html[data-theme] #cloudApp>.top .sync b{font-size:.84rem!important;color:#13a66d!important}
html[data-theme] #cloudApp>.top .sync #updated{margin-left:0!important;font-size:.76rem!important;color:#657187!important}
html[data-theme] #cloudApp>.top .sync svg{width:23px!important;height:23px!important;margin-left:auto!important;color:#68748b!important}
html[data-theme] .storage.home-only{width:calc(100% - 4px)!important;min-height:140px!important;margin:0 2px!important;padding:14px 16px!important;border:1px solid #e9edf4!important;border-radius:21px!important;background:#fff!important;box-shadow:0 8px 25px rgba(38,57,90,.11)!important}
html[data-theme] .storage.home-only h2{gap:9px!important;margin:0 0 8px!important;padding-right:150px!important;font-size:1.03rem!important;font-weight:800!important;color:#0a1425!important}
html[data-theme] .storage.home-only h2::before{width:29px!important;height:29px!important;flex-basis:29px!important}
html[data-theme] .storage.home-only strong{font-size:2.08rem!important;font-weight:850!important;letter-spacing:-.055em!important;color:#070f20!important}
html[data-theme] .storage.home-only .storage-row>div:first-child>small{font-size:.88rem!important;color:#647087!important}
html[data-theme] .storage.home-only .storage-quota{gap:4px!important;align-items:center!important;padding-bottom:5px!important}
html[data-theme] .storage.home-only .storage-quota small,html[data-theme] .storage.home-only .storage-quota b{font-size:.8rem!important;color:#657187!important;font-weight:650!important}
html[data-theme] .storage.home-only .storage-quota b::before{content:"("}html[data-theme] .storage.home-only .storage-quota b::after{content:")"}
html[data-theme] .storage.home-only .storage-settings{right:122px!important;top:13px!important;width:37px!important;height:37px!important;border:0!important;border-radius:11px!important;background:#f2f4f8!important}
html[data-theme] .storage.home-only #manageStorage{right:13px!important;top:13px!important;min-height:37px!important;padding:7px 12px!important;border:0!important;border-radius:11px!important;background:#f2f4f8!important;font-size:.76rem!important;color:#111a2c!important}
html[data-theme] .storage.home-only .bar{height:7px!important;margin-top:9px!important;background:#e7ecf5!important}
html[data-theme] .storage.home-only .bar i{background:linear-gradient(90deg,#199cff,#18dfaa)!important;box-shadow:none!important}
html[data-theme] .storage.home-only .storage-foot{justify-content:flex-end!important;margin-top:9px!important;font-size:.75rem!important;color:#68758a!important}
html[data-theme] .storage.home-only .storage-foot>span{gap:9px!important}html[data-theme] .storage.home-only .storage-foot>span svg{display:none!important}
html[data-theme] .storage.home-only .storage-foot>span::before{content:"";width:11px;height:11px;border-radius:50%;background:#19c98b;box-shadow:0 0 7px rgba(25,201,139,.25)}
html[data-theme] .home-only.stats{width:calc(100% - 4px)!important;margin:14px 2px 13px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:59px!important;gap:7px!important}
html[data-theme] .home-only.stats .stat{position:relative!important;display:grid!important;height:59px!important;min-height:59px!important;padding:5px 7px!important;grid-template-columns:35px minmax(0,1fr)!important;grid-template-rows:1fr 1fr!important;column-gap:5px!important;border-radius:15px!important;text-align:left!important;box-shadow:0 6px 15px rgba(24,42,73,.2),inset 0 1px 0 rgba(255,255,255,.28)!important}
html[data-theme] .home-only.stats .stat::before{inset:-55% -25% auto 32%!important;height:130%!important}
html[data-theme] .home-only.stats .stat .ico{grid-row:1/3!important;width:35px!important;height:35px!important;border-radius:10px!important;border:1px solid rgba(255,255,255,.2)!important;box-shadow:0 4px 9px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.3)!important}
html[data-theme] .home-only.stats .stat-files .ico{background:linear-gradient(145deg,#21e5ea,#04aacc)!important}html[data-theme] .home-only.stats .stat-photos .ico{background:linear-gradient(145deg,#ff80a8,#f13375)!important}html[data-theme] .home-only.stats .stat-videos .ico{background:linear-gradient(145deg,#d54dff,#7922df)!important}html[data-theme] .home-only.stats .stat-models .ico{background:linear-gradient(145deg,#32eaa0,#08b76e)!important}html[data-theme] .home-only.stats .stat-apps .ico{background:linear-gradient(145deg,#ffc653,#ff821d)!important}html[data-theme] .home-only.stats .stat-docs .ico{background:linear-gradient(145deg,#35caff,#137ae7)!important}html[data-theme] .home-only.stats .stat-chat .ico{background:linear-gradient(145deg,#37ead6,#08ae9f)!important}
html[data-theme] .home-only.stats .stat .ico svg{width:23px!important;height:23px!important;stroke-width:1.85!important}
html[data-theme] .home-only.stats .stat b{align-self:end!important;font-size:1.02rem!important;line-height:1!important}
html[data-theme] .home-only.stats .stat>span:last-child{align-self:start!important;display:block!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:.69rem!important;line-height:1.02!important;letter-spacing:-.025em!important}
html[data-theme] .home-only.stats .stat-models>span:last-child,html[data-theme] .home-only.stats .stat-docs>span:last-child{font-size:.62rem!important}
html[data-theme] .home-only.stats .stat-search .ico{background:transparent!important;border:0!important;box-shadow:none!important;color:#72d8ff!important}
html[data-theme] .home-only.stats .stat-search .ico svg{width:28px!important;height:28px!important;stroke:#72d8ff!important;stroke-width:2.5!important}
html[data-theme] .home-only.stats .stat-search>span:last-child{grid-row:1/3!important;align-self:center!important;font-size:.71rem!important}
html[data-theme] .folders-heading.home-only{width:calc(100% - 4px)!important;margin:10px 2px 8px!important}
html[data-theme] .folders-heading.home-only h2{font-size:1.48rem!important;font-weight:850!important;letter-spacing:-.045em!important;color:#071225!important}
html[data-theme] .folders-heading.home-only #newFolder{min-height:38px!important;padding:8px 14px!important;border:0!important;border-radius:999px!important;background:#fff!important;color:#172236!important;font-size:.78rem!important;box-shadow:0 6px 18px rgba(35,53,84,.09)!important}
html[data-theme] .folders.home-only{width:calc(100% - 4px)!important;margin:0 2px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
html[data-theme] .folders.home-only .folder{height:102px!important;min-height:102px!important;padding:10px 9px!important;border:1px solid #e8edf4!important;border-radius:17px!important;background:#fff!important;box-shadow:0 7px 20px rgba(30,48,80,.11)!important;overflow:hidden!important}
html[data-theme] .folders.home-only .folder-main{padding-right:18px!important}
html[data-theme] .folders.home-only .folder-visual{width:50px!important;height:39px!important;border-radius:9px!important;background:transparent!important}
html[data-theme] .folders.home-only .folder:not(.protected-folder) .folder-visual svg{width:44px!important;height:34px!important;fill:currentColor!important;stroke:currentColor!important;stroke-width:1!important}
html[data-theme] .folders.home-only .folder-main b{margin-top:7px!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:.72rem!important;line-height:1.05!important;letter-spacing:-.025em!important;color:#0b1424!important}
html[data-theme] .folders.home-only .folder-main>span:last-child{font-size:.63rem!important;color:#657187!important}
html[data-theme] .folders.home-only .folder-more{top:5px!important;right:4px!important;width:25px!important;height:27px!important;background:transparent!important;color:#667187!important}
html[data-theme] .folders.home-only .folder:nth-child(3n+1) .folder-visual{color:#2498ff!important}html[data-theme] .folders.home-only .folder:nth-child(3n+2) .folder-visual{color:#ffbd2f!important}html[data-theme] .folders.home-only .folder:nth-child(3n+3) .folder-visual,html[data-theme] .folders.home-only .shared-folder .folder-visual{color:#22d98e!important}
@media(max-width:430px){html[data-theme] #cloudApp>.top{padding:max(12px,env(safe-area-inset-top)) 16px 8px!important}html[data-theme] #cloudApp>.top .brand .cloud-logo{width:60px!important;height:52px!important;flex-basis:60px!important}html[data-theme] #cloudApp>.top .brand h1{font-size:1.42rem!important}html[data-theme] #cloudApp>.top .brand-sub small{font-size:.8rem!important}html[data-theme] #cloudApp>.top .brand-active{min-height:22px!important;padding:2px 9px!important;font-size:.62rem!important}html[data-theme] #cloudApp>.top .head-actions{gap:5px!important}html[data-theme] #cloudApp>.top .head-actions .round{width:42px!important;height:42px!important}html[data-theme] #cloudApp>.top .profile-shortcut{width:46px!important;height:46px!important}html[data-theme] .storage.home-only{min-height:140px!important;padding:14px 16px!important}html[data-theme] .storage.home-only h2{font-size:1rem!important}html[data-theme] .storage.home-only strong{font-size:2rem!important}html[data-theme] .home-only.stats{grid-auto-rows:59px!important}html[data-theme] .home-only.stats .stat{height:59px!important;min-height:59px!important;grid-template-columns:35px minmax(0,1fr)!important}html[data-theme] .home-only.stats .stat .ico{width:35px!important;height:35px!important}html[data-theme] .folders.home-only .folder{height:102px!important;min-height:102px!important}}
@media(max-width:370px){html[data-theme] #cloudApp>.top{padding-left:12px!important;padding-right:12px!important}html[data-theme] #cloudApp>.top .brand .cloud-logo{width:52px!important;height:46px!important;flex-basis:52px!important}html[data-theme] #cloudApp>.top .brand h1{font-size:1.24rem!important}html[data-theme] #cloudApp>.top .brand-sub small{font-size:.7rem!important}html[data-theme] #cloudApp>.top .brand-active{font-size:.55rem!important;padding:1px 6px!important}html[data-theme] #cloudApp>.top .head-actions .round{width:38px!important;height:38px!important}html[data-theme] #cloudApp>.top .profile-shortcut{width:41px!important;height:41px!important}html[data-theme] .home-only.stats{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;grid-auto-rows:56px!important}html[data-theme] .home-only.stats .stat{height:56px!important;min-height:56px!important;padding:4px!important;grid-template-columns:30px minmax(0,1fr)!important;column-gap:3px!important}html[data-theme] .home-only.stats .stat .ico{width:30px!important;height:30px!important}html[data-theme] .home-only.stats .stat .ico svg{width:20px!important;height:20px!important}html[data-theme] .home-only.stats .stat b{font-size:.9rem!important}html[data-theme] .home-only.stats .stat>span:last-child{font-size:.56rem!important}html[data-theme] .folders.home-only{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}html[data-theme] .folders.home-only .folder{height:96px!important;min-height:96px!important;padding:8px 6px!important}html[data-theme] .folders.home-only .folder-main b{font-size:.62rem!important}}

/* v89 · Corrección final de proporción del avatar en Home. */
html[data-theme] #cloudApp>.top .head-actions .profile-shortcut{width:48px!important;height:48px!important}
@media(max-width:430px){html[data-theme] #cloudApp>.top .head-actions .profile-shortcut{width:46px!important;height:46px!important}}
@media(max-width:370px){html[data-theme] #cloudApp>.top .head-actions .profile-shortcut{width:41px!important;height:41px!important}}


/* v90 · Adaptación real para Samsung y teléfonos angostos. */
html[data-theme] .home-only.stats .stat-files .ico svg path:first-child{fill:rgba(255,255,255,.24)!important}
html[data-theme] .home-only.stats .stat-photos .ico svg rect{fill:rgba(255,255,255,.18)!important}html[data-theme] .home-only.stats .stat-photos .ico svg circle,html[data-theme] .home-only.stats .stat-photos .ico svg path{fill:#fff!important}
html[data-theme] .home-only.stats .stat-videos .ico svg rect{fill:rgba(255,255,255,.18)!important}html[data-theme] .home-only.stats .stat-videos .ico svg path{fill:#fff!important}
html[data-theme] .home-only.stats .stat-models .ico svg path:first-child{fill:rgba(255,255,255,.3)!important}
html[data-theme] .home-only.stats .stat-apps .ico svg rect{fill:#fff!important;stroke:none!important}
html[data-theme] .home-only.stats .stat-docs .ico svg path:first-child{fill:rgba(255,255,255,.24)!important}
html[data-theme] .home-only.stats .stat-chat .ico svg path:first-child{fill:rgba(255,255,255,.2)!important}html[data-theme] .home-only.stats .stat-chat .ico svg circle{fill:#fff!important;stroke:none!important}
@media(max-width:400px){
 html[data-theme] #cloudApp,html[data-theme] #cloudApp>.top,html[data-theme] #cloudApp>main{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
 html[data-theme] #cloudApp>.top .sync{min-width:0!important;padding:5px 8px!important;gap:6px!important}
 html[data-theme] #cloudApp>.top .sync>span:first-child{height:30px!important;padding:4px 7px!important;flex:0 0 auto!important}
 html[data-theme] #cloudApp>.top .sync .dot{width:9px!important;height:9px!important;margin-right:6px!important}
 html[data-theme] #cloudApp>.top .sync b{font-size:.7rem!important;white-space:nowrap!important}
 html[data-theme] #cloudApp>.top .sync #updated{min-width:0!important;font-size:.59rem!important;white-space:nowrap!important;overflow:visible!important}
 html[data-theme] #cloudApp>.top .sync svg{width:19px!important;height:19px!important;flex:0 0 19px!important}
 html[data-theme] .storage.home-only{overflow:hidden!important;padding:13px 14px!important}
 html[data-theme] .storage.home-only .storage-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:3px!important;width:100%!important}
 html[data-theme] .storage.home-only .storage-row>div:first-child{min-width:0!important}
 html[data-theme] .storage.home-only h2{gap:6px!important;margin-bottom:7px!important;padding-right:0!important;font-size:.82rem!important;white-space:nowrap!important}
 html[data-theme] .storage.home-only h2::before{width:25px!important;height:25px!important;flex-basis:25px!important}
 html[data-theme] .storage.home-only .storage-settings{right:96px!important;top:11px!important;width:31px!important;height:31px!important;border-radius:10px!important}
 html[data-theme] .storage.home-only .storage-settings svg{width:17px!important;height:17px!important}
 html[data-theme] .storage.home-only #manageStorage{right:10px!important;top:11px!important;width:81px!important;min-height:31px!important;padding:5px 7px!important;font-size:.64rem!important}
 html[data-theme] .storage.home-only strong{font-size:1.73rem!important}
 html[data-theme] .storage.home-only .storage-row>div:first-child>small{font-size:.7rem!important}
 html[data-theme] .storage.home-only .storage-quota{gap:2px!important;padding-bottom:4px!important;white-space:nowrap!important}
 html[data-theme] .storage.home-only .storage-quota small,html[data-theme] .storage.home-only .storage-quota b{font-size:.58rem!important}
 html[data-theme] .storage.home-only .storage-foot{font-size:.67rem!important}
 html[data-theme] .home-only.stats{width:100%!important;margin-left:0!important;margin-right:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:59px!important;gap:6px!important}
 html[data-theme] .home-only.stats .stat{width:100%!important;min-width:0!important;height:59px!important;min-height:59px!important;padding:4px!important;grid-template-columns:28px minmax(0,1fr)!important;column-gap:3px!important;overflow:hidden!important}
 html[data-theme] .home-only.stats .stat .ico{width:28px!important;height:28px!important;border-radius:8px!important}
 html[data-theme] .home-only.stats .stat .ico svg{width:19px!important;height:19px!important}
 html[data-theme] .home-only.stats .stat b{font-size:.88rem!important}
 html[data-theme] .home-only.stats .stat>span:last-child{width:111%!important;font-size:.52rem!important;line-height:1!important;letter-spacing:-.04em!important;transform:scaleX(.9);transform-origin:left center}
 html[data-theme] .home-only.stats .stat-models>span:last-child,html[data-theme] .home-only.stats .stat-docs>span:last-child{width:122%!important;font-size:.47rem!important;transform:scaleX(.82)}
 html[data-theme] .home-only.stats .stat-search .ico svg{width:24px!important;height:24px!important}
 html[data-theme] .home-only.stats .stat-search>span:last-child{width:111%!important;font-size:.52rem!important}
 html[data-theme] .folders-heading.home-only{width:100%!important;margin-left:0!important;margin-right:0!important}
 html[data-theme] .folders.home-only{width:100%!important;margin-left:0!important;margin-right:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
 html[data-theme] .folders.home-only .folder{width:100%!important;min-width:0!important;height:102px!important;min-height:102px!important;padding:8px!important}
 html[data-theme] .folders.home-only .folder-main{padding-right:15px!important}
 html[data-theme] .folders.home-only .folder-visual{width:53px!important;height:42px!important}
 html[data-theme] .folders.home-only .folder:not(.protected-folder) .folder-visual svg{width:49px!important;height:38px!important}
 html[data-theme] .folders.home-only .folder-main b{display:-webkit-box!important;margin-top:5px!important;min-height:1.22em!important;max-height:2.25em!important;white-space:normal!important;overflow:hidden!important;text-overflow:clip!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;font-size:.64rem!important;line-height:1.08!important}
 html[data-theme] .folders.home-only .folder-main>span:last-child{font-size:.56rem!important}
 html[data-theme] .folders.home-only .folder-more{top:3px!important;right:2px!important;width:23px!important;height:25px!important}
}
@media(max-width:350px){
 html[data-theme] #cloudApp>.top .brand .cloud-logo{width:47px!important;height:42px!important;flex-basis:47px!important}
 html[data-theme] #cloudApp>.top .brand h1{font-size:1.08rem!important}
 html[data-theme] #cloudApp>.top .head-actions .round{width:36px!important;height:36px!important}
 html[data-theme] #cloudApp>.top .head-actions .profile-shortcut{width:39px!important;height:39px!important}
 html[data-theme] .home-only.stats{gap:4px!important}
 html[data-theme] .home-only.stats .stat{padding:3px!important;grid-template-columns:25px minmax(0,1fr)!important;column-gap:2px!important}
 html[data-theme] .home-only.stats .stat .ico{width:25px!important;height:25px!important}
 html[data-theme] .home-only.stats .stat>span:last-child{font-size:.46rem!important}
 html[data-theme] .folders.home-only{gap:5px!important}
}

/* v91 · Iconografía de Home fiel a la referencia y carpetas con volumen. */
html[data-theme] .home-only.stats .home-icon{display:block;overflow:visible;filter:drop-shadow(0 3px 3px rgba(0,0,0,.22))}
html[data-theme] .home-only.stats .stat-files .home-icon .icon-back{fill:#7af6ff!important;stroke:none!important;opacity:.72}
html[data-theme] .home-only.stats .stat-files .home-icon .icon-main{fill:url(#homeFilesGradient)!important;stroke:none!important}
html[data-theme] .home-only.stats .stat-files .home-icon .icon-shine{fill:none!important;stroke:#fff!important;stroke-width:1.5!important;stroke-linecap:round!important;opacity:.48}
html[data-theme] .home-only.stats .stat-photos .home-icon .icon-main{fill:url(#homePhotosGradient)!important;stroke:none!important}
html[data-theme] .home-only.stats .stat-photos .home-icon .icon-sun,html[data-theme] .home-only.stats .stat-photos .home-icon .icon-picture{fill:#fff!important;stroke:none!important}
html[data-theme] .home-only.stats .stat-videos .home-icon .icon-main{fill:url(#homeVideosGradient)!important;stroke:none!important}
html[data-theme] .home-only.stats .stat-videos .home-icon .icon-play{fill:#fff!important;stroke:none!important}
html[data-theme] .home-only.stats .stat-videos .home-icon .icon-track{fill:none!important;stroke:#d98cff!important;stroke-width:2.2!important;stroke-linecap:round!important}
html[data-theme] .home-only.stats .stat-videos .home-icon .icon-knob{fill:#ff8afb!important;stroke:none!important}
html[data-theme] .home-only.stats .stat-models .home-icon .cube-top{fill:url(#homeModelsTop)!important;stroke:none!important}
html[data-theme] .home-only.stats .stat-models .home-icon .cube-left{fill:url(#homeModelsLeft)!important;stroke:none!important}
html[data-theme] .home-only.stats .stat-models .home-icon .cube-right{fill:url(#homeModelsRight)!important;stroke:none!important}
html[data-theme] .home-only.stats .stat-apps .home-icon .tile{fill:url(#homeAppsGradient)!important;stroke:none!important}.home-only.stats .stat-apps .home-icon .tile-two{opacity:.9}.home-only.stats .stat-apps .home-icon .tile-three{opacity:.82}
html[data-theme] .home-only.stats .stat-docs .home-icon .icon-main{fill:url(#homeDocsGradient)!important;stroke:none!important}
html[data-theme] .home-only.stats .stat-docs .home-icon .icon-fold{fill:#a7e8ff!important;stroke:none!important}
html[data-theme] .home-only.stats .stat-docs .home-icon .icon-lines{fill:none!important;stroke:#fff!important;stroke-width:1.6!important;stroke-linecap:round!important;opacity:.9}
html[data-theme] .home-only.stats .stat-chat .home-icon .icon-main{fill:url(#homeChatGradient)!important;stroke:none!important}
html[data-theme] .home-only.stats .stat-chat .home-icon .icon-dot{fill:#fff!important;stroke:none!important}
html[data-theme] .home-only.stats .stat-search .home-icon .search-ring,html[data-theme] .home-only.stats .stat-search .home-icon .search-handle{fill:none!important;stroke:url(#homeSearchGradient)!important;stroke-width:5!important;stroke-linecap:round!important}
html[data-theme] .folders.home-only .folder-visual .folder-glyph .folder-back{fill:currentColor!important;stroke:none!important;opacity:.58}
html[data-theme] .folders.home-only .folder-visual .folder-glyph .folder-front{fill:currentColor!important;stroke:none!important;filter:drop-shadow(0 3px 3px rgba(21,43,78,.2))}
html[data-theme] .folders.home-only .folder-visual .folder-glyph .folder-shine{fill:none!important;stroke:#fff!important;stroke-width:1.1!important;stroke-linecap:round!important;opacity:.42}

/* v92 · Bloques SVG aprobados por el usuario, sin reinterpretación visual. */
html[data-theme] .home-only.stats{grid-auto-rows:auto!important;align-items:start!important}
html[data-theme] .home-only.stats .stat{position:relative!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:16/9!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
html[data-theme] .home-only.stats .stat::before,html[data-theme] .home-only.stats .stat::after{display:none!important}
html[data-theme] .home-only.stats .home-tile-svg{display:block!important;width:100%!important;height:100%!important;aspect-ratio:16/9!important;border:0!important;pointer-events:none!important;filter:none!important}
html[data-theme] .home-only.stats .tile-live-value,html[data-theme] .home-only.stats .tile-live-label{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;transform:none!important}

/* v94 · HOME con assets PNG exactos entregados por el usuario. */
html[data-theme] .home-only.stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(2,auto)!important;gap:clamp(4px,1.15vw,10px)!important;overflow:visible!important}
html[data-theme] .home-only.stats .stat{position:relative!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1619/971!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
html[data-theme] .home-only.stats .home-tile-image{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;pointer-events:none!important;user-select:none!important}
html[data-theme] .home-only.stats .tile-live-value{position:absolute!important;left:50.8%!important;top:21%!important;display:grid!important;place-items:center!important;width:23%!important;height:36%!important;margin:0!important;padding:0!important;overflow:visible!important;clip:auto!important;clip-path:none!important;white-space:nowrap!important;color:#fff!important;font:800 clamp(12px,3.05vw,43px)/1 Arial,sans-serif!important;opacity:0!important;pointer-events:none!important;z-index:2!important}
html[data-theme] .home-only.stats .tile-live-value.is-updated{opacity:1!important;background:radial-gradient(ellipse at center,var(--tile-patch) 0 48%,color-mix(in srgb,var(--tile-patch) 88%,transparent) 64%,transparent 78%)!important;text-shadow:0 0 7px var(--tile-patch),0 0 12px var(--tile-patch)!important}
html[data-theme] .home-only.stats .stat-files{--tile-patch:#006879}html[data-theme] .home-only.stats .stat-photos{--tile-patch:#801b39}html[data-theme] .home-only.stats .stat-videos{--tile-patch:#50137d}html[data-theme] .home-only.stats .stat-models{--tile-patch:#007347}
html[data-theme] .home-only.stats .stat-apps{--tile-patch:#743211}html[data-theme] .home-only.stats .stat-docs{--tile-patch:#075d84}html[data-theme] .home-only.stats .stat-chat{--tile-patch:#00766f}
html[data-theme] .home-only.stats .tile-live-chat-badge{position:absolute!important;left:34.3%!important;top:10.5%!important;display:grid!important;place-items:center!important;width:12.5%!important;aspect-ratio:1!important;border-radius:50%!important;color:#fff!important;font:800 clamp(7px,1.55vw,21px)/1 Arial,sans-serif!important;opacity:0!important;pointer-events:none!important;z-index:3!important}
html[data-theme] .home-only.stats .tile-live-chat-badge.is-updated{opacity:1!important;background:#10bba7!important;box-shadow:0 0 8px #10bba7!important}
html[data-theme] .folders-heading.home-only #newFolder{width:clamp(96px,26vw,126px)!important;height:auto!important;min-height:0!important;aspect-ratio:3/1!important;padding:0!important;border:0!important;border-radius:0!important;background-color:transparent!important;background-image:var(--cb-new-folder-button,url('/cloudbridge/home-assets/nueva_button_fast.webp?v=107'))!important;background-position:center!important;background-size:contain!important;background-repeat:no-repeat!important;box-shadow:none!important;color:transparent!important;font-size:0!important}
html[data-theme] .folders.home-only .folder:not(.protected-folder) .folder-visual{width:55px!important;height:42px!important;background-color:transparent!important;background-image:var(--cb-folder-cards,url('/cloudbridge/home-assets/carpetas_cards_fast.webp?v=107'))!important;background-repeat:no-repeat!important;background-size:420px 315px!important;background-position:-28px -124px!important;filter:none!important}
.cb-icon-overridden>svg{display:none!important}.cb-icon-override{display:block;width:62%;height:62%;object-fit:contain;pointer-events:none}
html[data-theme] .folders.home-only .folder:nth-child(3n+2):not(.protected-folder) .folder-visual,html[data-theme] .folders.home-only .folder[data-path="Enviados"] .folder-visual,html[data-theme] .folders.home-only .folder[data-path$="/Enviados"] .folder-visual{background-position:-161px -124px!important}
html[data-theme] .folders.home-only .folder:nth-child(3n+3):not(.protected-folder) .folder-visual,html[data-theme] .folders.home-only .shared-folder:not(.protected-folder) .folder-visual,html[data-theme] .folders.home-only .folder[data-path="Familia"] .folder-visual,html[data-theme] .folders.home-only .folder[data-path$="/Familia"] .folder-visual{background-position:-290px -124px!important}
html[data-theme] .folders.home-only .folder:not(.protected-folder) .folder-visual svg{visibility:hidden!important}
@media(max-width:370px){html[data-theme] .home-only.stats{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important}html[data-theme] .folders.home-only{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
/* v95 · Corrección exclusiva de layout HOME (categorías hacia abajo). */
html[data-theme] .home-only.stats{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:auto!important;align-items:start!important;overflow:hidden!important}
html[data-theme] .home-only.stats .stat{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;overflow:hidden!important;isolation:isolate!important;contain:layout paint!important}
html[data-theme] .home-only.stats .stat::before,html[data-theme] .home-only.stats .stat::after{content:none!important;display:none!important}
html[data-theme] .home-only.stats .home-tile-image{width:100%!important;height:auto!important;max-width:100%!important;aspect-ratio:1619/971!important;object-fit:contain!important;object-position:center!important}
html[data-theme] .home-only.stats .tile-live-value,html[data-theme] .home-only.stats .tile-live-chat-badge{max-width:100%!important;max-height:100%!important;box-sizing:border-box!important}
html[data-theme] .folders-heading.home-only{width:100%!important;min-width:0!important;box-sizing:border-box!important;margin-top:clamp(18px,4vw,30px)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
html[data-theme] .folders-heading.home-only h2{min-width:0!important;margin:0!important}
html[data-theme] .folders.home-only{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:hidden!important}
html[data-theme] .folders.home-only .folder{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;overflow:hidden!important}
html[data-theme] .fab{max-width:calc(100% - 24px)!important;box-sizing:border-box!important;margin:12px 0 max(12px,env(safe-area-inset-bottom)) auto!important}
@media(max-width:640px){html[data-theme] .home-only.stats{gap:clamp(3px,1.2vw,6px)!important}html[data-theme] .folders-heading.home-only{margin-top:20px!important}html[data-theme] .folders.home-only{gap:clamp(6px,2vw,10px)!important}}


/* v96 · Contadores HOME limpios: sin manchas ni halos grandes. */
html[data-theme] .home-only.stats .tile-live-value.is-updated{
  opacity:1!important;
  background:none!important;
  box-shadow:none!important;
  text-shadow:0 1px 2px rgba(0,0,0,.28)!important;
}
html[data-theme] .home-only.stats .tile-live-value.is-updated::before{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  left:3%!important;
  right:3%!important;
  top:8%!important;
  bottom:8%!important;
  border-radius:999px!important;
  background:var(--tile-patch)!important;
  opacity:.96!important;
  filter:none!important;
  box-shadow:none!important;
}
html[data-theme] .home-only.stats .tile-live-chat-badge.is-updated{
  opacity:1!important;
  background:#10bba7!important;
  box-shadow:0 1px 4px rgba(0,0,0,.18)!important;
}

/* v97 · Corrección exclusiva categorías HOME móvil. */
html[data-theme] .home-only.stats{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-template-rows:repeat(2,auto)!important;
  gap:clamp(3px,1vw,6px)!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  overflow:hidden!important;box-sizing:border-box!important;
}
html[data-theme] .home-only.stats .stat{
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:auto!important;min-height:0!important;aspect-ratio:1619/971!important;
  overflow:hidden!important;box-sizing:border-box!important;
  transform:none!important;isolation:isolate!important;contain:layout paint!important;
}
html[data-theme] .home-only.stats .home-tile-image{
  display:block!important;width:100%!important;height:100%!important;max-width:100%!important;
  aspect-ratio:1619/971!important;object-fit:contain!important;object-position:center!important;
}
html[data-theme] .home-only.stats .stat[data-home-tile] > span.tile-live-value{
  position:absolute!important;left:50.8%!important;top:21%!important;
  display:grid!important;place-items:center!important;
  width:23%!important;max-width:23%!important;height:36%!important;max-height:36%!important;
  margin:0!important;padding:0!important;overflow:hidden!important;box-sizing:border-box!important;
  white-space:nowrap!important;transform:none!important;transform-origin:center!important;
  font:800 clamp(10px,3.05vw,43px)/1 Arial,sans-serif!important;letter-spacing:normal!important;
}
html[data-theme] .home-only.stats .stat[data-home-tile] > span.tile-live-value.is-updated{
  opacity:1!important;background:var(--tile-patch)!important;
  border-radius:999px!important;box-shadow:none!important;text-shadow:0 1px 2px rgba(0,0,0,.28)!important;
}
html[data-theme] .home-only.stats .stat[data-home-tile] > span.tile-live-value.is-updated::before{content:none!important;display:none!important;}
html[data-theme] .home-only.stats .stat[data-home-tile="chat"] > span.tile-live-chat-badge{
  position:absolute!important;left:34.3%!important;top:10.5%!important;
  display:grid!important;place-items:center!important;
  width:12.5%!important;max-width:12.5%!important;height:auto!important;max-height:none!important;aspect-ratio:1!important;
  margin:0!important;padding:0!important;overflow:hidden!important;box-sizing:border-box!important;
  white-space:nowrap!important;transform:none!important;transform-origin:center!important;
  font:800 clamp(7px,1.55vw,21px)/1 Arial,sans-serif!important;letter-spacing:normal!important;
}
html[data-theme] .home-only.stats .stat[data-home-tile="chat"] > span.tile-live-chat-badge.is-updated{
  opacity:1!important;background:#10bba7!important;box-shadow:0 1px 3px rgba(0,0,0,.16)!important;
}
@media(max-width:430px){
  html[data-theme] .home-only.stats{gap:3px!important;}
  html[data-theme] .home-only.stats .stat[data-home-tile] > span.tile-live-value{font-size:clamp(10px,3vw,13px)!important;}
  html[data-theme] .home-only.stats .stat[data-home-tile="chat"] > span.tile-live-chat-badge{font-size:clamp(7px,1.8vw,9px)!important;}
}

/* v98 · Neutraliza reglas legacy span:last-child solo dentro de categorías HOME. */
html[data-theme] .home-only.stats .stat > .tile-live-value{
  position:absolute!important;left:50.8%!important;top:21%!important;
  display:grid!important;place-items:center!important;
  width:23%!important;max-width:23%!important;height:36%!important;max-height:36%!important;
  margin:0!important;padding:0!important;overflow:hidden!important;
  clip:auto!important;clip-path:none!important;white-space:nowrap!important;
  transform:none!important;transform-origin:center!important;
  font:800 clamp(10px,3.05vw,43px)/1 Arial,sans-serif!important;
  letter-spacing:normal!important;pointer-events:none!important;z-index:2!important;
}
html[data-theme] .home-only.stats .stat > .tile-live-chat-badge{
  position:absolute!important;left:34.3%!important;top:10.5%!important;
  display:grid!important;place-items:center!important;
  width:12.5%!important;max-width:12.5%!important;height:auto!important;max-height:none!important;
  aspect-ratio:1!important;margin:0!important;padding:0!important;overflow:hidden!important;
  transform:none!important;transform-origin:center!important;
  font:800 clamp(7px,1.55vw,21px)/1 Arial,sans-serif!important;
  letter-spacing:normal!important;pointer-events:none!important;z-index:3!important;
}

/* v99 · Carpetas y enlaces compartidos. Mantiene el diseño actual. */
html[data-theme] .folderform{width:100%;min-width:0;box-sizing:border-box}
html[data-theme] .folderform.show{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin-top:14px!important;padding:14px!important;border:1px solid var(--theme-border)!important;border-radius:18px!important;background:var(--theme-surface-2)!important}
html[data-theme] .folder-field{display:grid;gap:6px;width:100%;min-width:0}
html[data-theme] .folder-field>span{font-size:.75rem;font-weight:750;color:var(--theme-ink)}
html[data-theme] .folderform .folder-field input,html[data-theme] .folderform .folder-field select{display:block;width:100%!important;min-width:0!important;min-height:48px!important;margin:0!important;padding:11px 13px!important;border:1px solid var(--theme-border)!important;border-radius:13px!important;background:var(--theme-surface)!important;color:var(--theme-ink)!important;font-size:16px!important;outline:none!important}
html[data-theme] .folderform .folder-field input:focus,html[data-theme] .folderform .folder-field select:focus{border-color:var(--theme-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-accent) 15%,transparent)!important}
html[data-theme] .folder-password-wrap[hidden]{display:none!important}
html[data-theme] .folder-password-wrap{display:grid;gap:5px;min-width:0}
html[data-theme] .folder-password-wrap>small{color:var(--theme-muted);font-size:.69rem;line-height:1.35}
html[data-theme] .folder-password-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;min-width:0}
html[data-theme] .folder-password-input #toggleFolderPassword{min-width:68px;border:1px solid var(--theme-border);border-radius:12px;background:var(--theme-accent-soft);color:var(--theme-accent);font-weight:750}
html[data-theme] #saveFolder{width:100%;min-height:48px;border:0;border-radius:13px;background:linear-gradient(135deg,var(--theme-accent),var(--theme-accent-2));color:var(--theme-button-text);font-weight:800}
html[data-theme] #saveFolder:disabled{opacity:.62;cursor:default}
html[data-theme] .share-link-dialog{display:none;position:fixed;inset:0;z-index:275;align-items:center;justify-content:center;padding:20px;background:rgba(15,23,42,.55)}
html[data-theme] .share-link-dialog.show{display:flex}
html[data-theme] .share-link-card{width:min(100%,420px);max-height:calc(100dvh - 28px);overflow:auto;padding:20px;border:1px solid var(--theme-border);border-radius:23px;background:var(--theme-surface);color:var(--theme-ink);box-shadow:0 24px 70px rgba(10,25,55,.25)}
html[data-theme] .share-link-head{display:flex;align-items:flex-start;gap:12px}
html[data-theme] .share-link-head>div{flex:1;min-width:0}
html[data-theme] .share-link-head h3{margin:0 0 4px;font-size:1.08rem}
html[data-theme] .share-link-head p{margin:0;color:var(--theme-muted);font-size:.76rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] #shareLinkClose{width:36px;height:36px;border:0;border-radius:50%;background:var(--theme-surface-2);color:var(--theme-ink);font-size:1.25rem}
html[data-theme] .share-link-field{display:grid;gap:6px;margin-top:18px;font-size:.75rem;font-weight:750}
html[data-theme] .share-link-field select,html[data-theme] #shareLinkUrl{width:100%;min-width:0;min-height:46px;border:1px solid var(--theme-border);border-radius:12px;background:var(--theme-surface);color:var(--theme-ink);padding:10px 12px;font-size:16px}
html[data-theme] .share-link-create,html[data-theme] #systemShareLink{width:100%;min-height:46px;margin-top:12px;border:0;border-radius:12px;background:linear-gradient(135deg,var(--theme-accent),var(--theme-accent-2));color:var(--theme-button-text);font-weight:800}
html[data-theme] .share-link-create:disabled{opacity:.62}
html[data-theme] .share-link-result[hidden]{display:none!important}
html[data-theme] .share-link-result{display:grid;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid var(--theme-border)}
html[data-theme] .share-link-result>small{color:var(--theme-muted);font-size:.7rem}
html[data-theme] .share-link-result>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
html[data-theme] #copyShareLink{border:1px solid var(--theme-border);border-radius:12px;background:var(--theme-accent-soft);color:var(--theme-accent);padding:0 14px;font-weight:800}
html[data-theme] .selection-bar .selection-link{background:#dff4eb;color:#216e51}
html[data-theme] .preview-actions{flex-wrap:wrap}
@media(max-width:520px){html[data-theme] .share-link-dialog{align-items:flex-end;padding:0}html[data-theme] .share-link-card{width:100%;max-height:88dvh;border-radius:24px 24px 0 0;padding:20px 18px max(22px,env(safe-area-inset-bottom))}html[data-theme] .folderform.show{padding:12px!important}html[data-theme] .selection-bar{overflow-x:auto;scrollbar-width:none}html[data-theme] .selection-bar::-webkit-scrollbar{display:none}html[data-theme] .preview-actions a,html[data-theme] .preview-actions button{padding:10px 14px;font-size:.75rem}}

/* v100 · Lista de contactos compacta basada en la referencia visual. */
html[data-theme] #chatSheet .chat-card{background:var(--theme-surface)!important}
html[data-theme] #chatSheet .chat-head{min-height:76px!important;height:auto!important;padding:12px 16px!important;background:var(--theme-surface)!important;border-bottom:1px solid var(--theme-border)!important}
html[data-theme] #chatSheet .chat-head>div{min-width:0}
html[data-theme] #chatSheet .chat-head h2{font-size:1.3rem!important;font-weight:850!important;letter-spacing:-.035em!important;color:var(--theme-ink)!important}
html[data-theme] #chatSheet .chat-head small{display:block;margin-top:4px;font-size:.78rem!important;color:var(--theme-muted)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-theme] #chatSearchToggle{flex:0 0 42px;width:42px!important;height:42px!important;display:grid;place-items:center;padding:0!important;border:0!important;border-radius:50%!important;background:var(--theme-surface-2)!important;color:var(--theme-ink)!important}
html[data-theme] #chatSearchToggle[hidden]{display:none!important}
html[data-theme] #chatSearchToggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html[data-theme] #chatSearchToggle.active{background:var(--theme-accent-soft)!important;color:var(--theme-accent)!important}
html[data-theme] #chatSheet .chat-home{background:var(--theme-surface)!important}
html[data-theme] #chatContactSearch{display:none!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:12px 16px 5px!important;background:var(--theme-surface)!important}
html[data-theme] #chatContactSearch.show{display:grid!important}
html[data-theme] #chatContactSearch input{min-height:48px!important;padding:12px 15px 12px 43px!important;border:1px solid var(--theme-border)!important;border-radius:16px!important;background-color:var(--theme-surface-2)!important;color:var(--theme-ink)!important;font-size:16px!important}
html[data-theme] #chatContactSearch #chatStart{min-height:48px!important;padding:0 17px!important;border-radius:15px!important;background:linear-gradient(135deg,var(--theme-accent),var(--theme-accent-2))!important;color:var(--theme-button-text)!important}
html[data-theme] #chatContactSearch .alias-live{grid-column:1/3!important;min-height:15px!important;margin:0 3px!important}
html[data-theme] #chatSheet .online-section{padding:18px 18px 14px!important;background:var(--theme-surface)!important;border-bottom:1px solid var(--theme-border)!important}
html[data-theme] #chatSheet .online-section h3,html[data-theme] #chatSheet .conversation-title{margin:0 0 13px!important;font-size:1.08rem!important;font-weight:850!important;letter-spacing:-.025em!important;color:var(--theme-ink)!important}
html[data-theme] #chatSheet .online-contacts{gap:17px!important;padding:2px 1px 3px!important;overflow-x:auto!important}
html[data-theme] #chatSheet .online-contact{flex-basis:64px!important;gap:7px!important;color:var(--theme-ink)!important}
html[data-theme] #chatSheet .online-contact .chat-avatar{width:58px!important;height:58px!important;box-shadow:0 0 0 3px var(--theme-surface)!important}
html[data-theme] #chatSheet .online-contact .presence-dot{right:1px!important;bottom:1px!important;width:16px!important;height:16px!important;background:#24cf78!important;border:3px solid var(--theme-surface)!important}
html[data-theme] #chatSheet .online-contact>span:last-child{font-size:.74rem!important;font-weight:700!important;color:var(--theme-ink)!important}
html[data-theme] #chatSheet .conversation-title{flex:0 0 auto;margin:0!important;padding:17px 18px 12px!important;background:var(--theme-surface)!important}
html[data-theme] #chatSheet .chat-contact-selection{flex:0 0 auto;margin:0 14px 10px!important}
html[data-theme] #chatSheet .chat-list{flex:1!important;padding:0 0 max(18px,env(safe-area-inset-bottom))!important;background:var(--theme-surface)!important;overflow-y:auto!important}
html[data-theme] #chatSheet .chat-contact-wrap{margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important}
html[data-theme] #chatSheet .chat-contact{display:grid!important;width:100%!important;min-height:83px!important;margin:0!important;padding:13px 18px!important;grid-template-columns:58px minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;column-gap:13px!important;row-gap:4px!important;border:0!important;border-bottom:1px solid var(--theme-border)!important;border-radius:0!important;background:var(--theme-surface)!important;color:var(--theme-ink)!important;box-shadow:none!important}
html[data-theme] #chatSheet .chat-contact .chat-avatar{grid-column:1!important;grid-row:1/3!important;width:58px!important;height:58px!important;align-self:center!important}
html[data-theme] #chatSheet .chat-contact-main{grid-column:2!important;grid-row:1/3!important;align-self:center!important;gap:5px!important}
html[data-theme] #chatSheet .chat-contact-main b{display:block!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem!important;font-weight:820!important;color:var(--theme-ink)!important}
html[data-theme] #chatSheet .chat-contact-main span{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:.82rem!important;color:var(--theme-muted)!important}
html[data-theme] #chatSheet .chat-contact-time{grid-column:3!important;grid-row:1!important;align-self:end!important;justify-self:end!important;font-size:.71rem!important;color:var(--theme-muted)!important;white-space:nowrap!important}
html[data-theme] #chatSheet .chat-unread{grid-column:3!important;grid-row:2!important;align-self:start!important;justify-self:end!important;min-width:27px!important;height:27px!important;padding:0 7px!important;border-radius:999px!important;background:#168df6!important;color:#fff!important;font-size:.72rem!important;font-style:normal!important}
html[data-theme] #chatSheet .chat-contact-actions{display:none!important}
html[data-theme] #chatSheet .chat-contact-wrap.chat-selected{outline:0!important}
html[data-theme] #chatSheet .chat-contact-wrap.chat-selected .chat-contact{background:var(--theme-accent-soft)!important;box-shadow:inset 4px 0 var(--theme-accent)!important}
html[data-theme] #chatSheet .chat-empty{padding:30px 20px!important;text-align:center!important;color:var(--theme-muted)!important;background:var(--theme-surface)!important}
@media(max-width:430px){html[data-theme] #chatSheet .chat-head{padding-top:max(12px,env(safe-area-inset-top))!important;min-height:calc(74px + env(safe-area-inset-top))!important}html[data-theme] #chatSheet .chat-head h2{font-size:1.2rem!important}html[data-theme] #chatSearchToggle{flex-basis:40px;width:40px!important;height:40px!important}html[data-theme] #chatSheet .online-section{padding:16px 15px 13px!important}html[data-theme] #chatSheet .conversation-title{padding:16px 15px 11px!important}html[data-theme] #chatSheet .chat-contact{min-height:78px!important;padding:11px 15px!important;grid-template-columns:54px minmax(0,1fr) auto!important;column-gap:12px!important}html[data-theme] #chatSheet .chat-contact .chat-avatar{width:54px!important;height:54px!important}html[data-theme] #chatSheet .chat-contact-main b{font-size:.94rem!important}html[data-theme] #chatSheet .chat-contact-main span{font-size:.78rem!important}}

/* v101 · Enlaces públicos, límites reales y administración. */
html[data-theme] .share-link-card{width:min(100%,520px);box-sizing:border-box}
html[data-theme] .share-link-card *{box-sizing:border-box}
html[data-theme] .share-link-head,html[data-theme] #shareLinkCreatePanel,html[data-theme] .share-link-manage,html[data-theme] #shareLinkList,html[data-theme] .share-link-item{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
html[data-theme] #shareLinkClose{flex:0 0 36px}
html[data-theme] .share-link-types label,html[data-theme] .share-link-preview,html[data-theme] .share-link-create,html[data-theme] .share-link-result{width:100%;max-width:100%}
html[data-theme] .share-link-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:100%;min-width:0;overflow:hidden;box-sizing:border-box;margin:18px 0 4px;padding:4px;border-radius:14px;background:var(--theme-surface-2)}
html[data-theme] .share-link-tabs button{width:100%!important;min-width:0;max-width:100%;min-height:40px;padding:0 6px;border:0;border-radius:11px;background:transparent;color:var(--theme-muted);font-size:.74rem;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}
html[data-theme] .share-link-tabs button.active{background:var(--theme-surface);color:var(--theme-accent);box-shadow:0 3px 12px rgba(20,40,70,.09)}
html[data-theme] #shareLinkCreatePanel[hidden],html[data-theme] #shareLinkManagePanel[hidden],html[data-theme] #shareLinkMaxField[hidden]{display:none!important}
html[data-theme] .share-link-types{display:grid;gap:8px;margin:16px 0 0;padding:0;border:0}
html[data-theme] .share-link-types legend{margin-bottom:7px;font-size:.75rem;font-weight:800;color:var(--theme-ink)}
html[data-theme] .share-link-types label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--theme-border);border-radius:14px;background:var(--theme-surface-2);cursor:pointer}
html[data-theme] .share-link-types label:has(input:checked){border-color:var(--theme-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-accent) 12%,transparent)}
html[data-theme] .share-link-types input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--theme-accent)}
html[data-theme] .share-link-types b,html[data-theme] .share-link-types small{display:block}
html[data-theme] .share-link-types b{font-size:.83rem;color:var(--theme-ink)}
html[data-theme] .share-link-types small{margin-top:3px;color:var(--theme-muted);font-size:.69rem;line-height:1.4}
html[data-theme] .share-link-preview{display:flex;align-items:center;gap:9px;margin-top:16px;padding:11px 12px;border:1px solid var(--theme-border);border-radius:13px;background:var(--theme-surface-2);font-size:.78rem;font-weight:750}
html[data-theme] .share-link-preview input{width:19px;height:19px;accent-color:var(--theme-accent)}
html[data-theme] .share-link-result>b{font-size:.8rem;color:var(--theme-accent)}
html[data-theme] .share-link-manage{padding-top:14px}
html[data-theme] .share-link-manage-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
html[data-theme] .share-link-manage-head>b{font-size:.9rem}
html[data-theme] .share-link-manage-head button{flex:0 0 auto;width:auto!important;max-width:45%;border:1px solid var(--theme-border);border-radius:10px;background:var(--theme-surface-2);color:var(--theme-ink);padding:8px 11px;font-weight:750}
html[data-theme] #shareLinkListState{margin:16px 0;padding:18px;border-radius:14px;background:var(--theme-surface-2);color:var(--theme-muted);text-align:center;font-size:.76rem}
html[data-theme] #shareLinkList{display:grid;gap:10px}
html[data-theme] .share-link-item{padding:13px;border:1px solid var(--theme-border);border-radius:16px;background:var(--theme-surface-2)}
html[data-theme] .share-link-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
html[data-theme] .share-link-item-head>div{flex:1 1 auto;min-width:0}
html[data-theme] .share-link-item-head b,html[data-theme] .share-link-item-head small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] .share-link-item-head b{font-size:.82rem;color:var(--theme-ink)}
html[data-theme] .share-link-item-head small{margin-top:3px;font-size:.66rem;color:var(--theme-muted)}
html[data-theme] .share-link-status{flex:0 0 auto;padding:5px 7px;border-radius:999px;font-size:.58rem;font-weight:900;letter-spacing:.03em}
html[data-theme] .share-link-status.activo{background:#dff6ec;color:#197150}
html[data-theme] .share-link-status.utilizado{background:#e8e7ff;color:#5548a8}
html[data-theme] .share-link-status.caducado{background:#fff0d9;color:#996014}
html[data-theme] .share-link-status.revocado{background:#ffe4e8;color:#a83245}
html[data-theme] .share-link-item dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
html[data-theme] .share-link-item dl>div{min-width:0}
html[data-theme] .share-link-item dt{font-size:.59rem;color:var(--theme-muted)}
html[data-theme] .share-link-item dd{margin:2px 0 0;font-size:.68rem;font-weight:750;color:var(--theme-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] .share-link-item-actions{display:flex;justify-content:flex-end;gap:7px}
html[data-theme] .share-link-item-actions:empty{display:none}
html[data-theme] .share-link-item-actions button{min-height:35px;padding:0 11px;border:1px solid var(--theme-border);border-radius:10px;background:var(--theme-surface);color:var(--theme-accent);font-size:.69rem;font-weight:800}
html[data-theme] .share-link-item-actions button.danger{color:#a83245;background:#fff3f5}
@media(max-width:520px){html[data-theme] .share-link-card{width:100%!important;max-width:100vw!important;max-height:92dvh;overflow-x:hidden;box-sizing:border-box!important}html[data-theme] .share-link-tabs{min-width:0}html[data-theme] .share-link-tabs button{min-width:0;padding:0 6px;white-space:nowrap}html[data-theme] .share-link-item dl{grid-template-columns:1fr 1fr}html[data-theme] .share-link-item-actions button{flex:1}}

/* v103 · Solicitud única de contacto y mensajería directa. */
html[data-theme] #chatContactRequest{display:none;margin:10px 13px 0;padding:13px 14px;border:1px solid color-mix(in srgb,var(--theme-accent) 22%,var(--theme-border));border-radius:16px;background:color-mix(in srgb,var(--theme-accent) 7%,var(--theme-surface));color:var(--theme-ink);gap:10px;align-items:center}
html[data-theme] #chatContactRequest.show{display:flex}
html[data-theme] #chatContactRequest>div{min-width:0;flex:1}
html[data-theme] #chatContactRequest b,html[data-theme] #chatContactRequest small{display:block}
html[data-theme] #chatContactRequest small{margin-top:3px;color:var(--theme-muted);font-size:.72rem;line-height:1.35}
html[data-theme] .chat-contact-request-actions{display:flex;gap:7px;flex:0 0 auto}
html[data-theme] .chat-contact-request-actions button{min-height:38px;padding:0 12px;border:0;border-radius:11px;background:var(--theme-surface-2);color:var(--theme-ink);font-weight:800;font-size:.72rem}
html[data-theme] .chat-contact-request-actions button:last-child,html[data-theme] #chatContactRequest>button{min-height:40px;padding:0 14px;border:0;border-radius:12px;background:var(--theme-accent);color:#fff;font-weight:800}
html[data-theme] .chat-compose.contact-locked{display:none!important}
@media(max-width:430px){html[data-theme] #chatContactRequest{align-items:stretch;flex-direction:column}html[data-theme] .chat-contact-request-actions{width:100%}html[data-theme] .chat-contact-request-actions button{flex:1}}

/* v104 · Compartir sobre el visor, perfil circular y sincronización visual. */
html[data-theme] .transfer-sheet.over-preview{z-index:280!important}
html[data-theme] #cloudApp>.top .head-actions .profile-shortcut{position:relative;width:48px!important;height:48px!important;min-width:48px!important;flex:0 0 48px!important;padding:0!important;border-radius:50%!important;overflow:hidden!important}
html[data-theme] #cloudApp>.top .head-actions .profile-shortcut img{display:block;width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover!important}
html[data-theme] #refresh{cursor:pointer}
html[data-theme] #refresh:active{transform:scale(.98)}
@media(max-width:430px){html[data-theme] #cloudApp>.top .head-actions .profile-shortcut{width:44px!important;height:44px!important;min-width:44px!important;flex-basis:44px!important}}
@media(max-width:370px){html[data-theme] #cloudApp>.top .head-actions .profile-shortcut{width:42px!important;height:42px!important;min-width:42px!important;flex-basis:42px!important}}

/* v105 · Navegación sin contenido anterior y Agregar disponible en secciones. */
html[data-theme] .browser-loading{grid-column:1/-1;min-height:150px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--theme-muted);font-size:.78rem;font-weight:750}
html[data-theme] .browser-loading i{width:18px;height:18px;border:2px solid color-mix(in srgb,var(--theme-accent) 22%,transparent);border-top-color:var(--theme-accent);border-radius:50%;animation:cbLoadingSpin .7s linear infinite}
@keyframes cbLoadingSpin{to{transform:rotate(360deg)}}
html[data-theme] #cloudApp.browser-open>.fab{display:flex!important;position:fixed!important;right:max(18px,calc((100vw - 1136px)/2))!important;bottom:max(18px,env(safe-area-inset-bottom))!important;margin:0!important;z-index:54!important}
html[data-theme] #cloudApp.browser-open .file-browser{padding-bottom:88px!important}
html[data-theme] #cloudApp.selecting.browser-open>.fab{display:none!important}
@media(max-width:640px){html[data-theme] #cloudApp.browser-open>.fab{right:14px!important;bottom:max(14px,env(safe-area-inset-bottom))!important}}

/* v111 · Correcciones puntuales: perfil, enlaces y contadores HOME. */
html[data-theme] .toast{z-index:400!important}
html[data-theme] .chat-avatar>img,html[data-theme] .chat-header-avatar>img,html[data-theme] .profile-avatar>img,html[data-theme] .profile-shortcut>img{display:block!important;z-index:2!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important}
html[data-theme] .chat-avatar>.avatar-letter,html[data-theme] .chat-header-avatar>.avatar-letter,html[data-theme] .profile-avatar>.avatar-letter,html[data-theme] .profile-shortcut>.avatar-letter{z-index:1!important}
html[data-theme] .home-only.stats .stat>.tile-live-value{opacity:1!important;background:var(--tile-patch)!important;border-radius:999px!important;box-shadow:none!important;text-shadow:0 1px 2px rgba(0,0,0,.28)!important}
html[data-theme] .home-only.stats .stat>.tile-live-chat-badge{display:none!important}
html[data-theme] .share-link-item-head{align-items:center}
html[data-theme] .share-link-thumb{position:relative;display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;overflow:hidden;border-radius:13px;background:var(--theme-surface);color:var(--theme-accent)}
html[data-theme] .share-link-thumb>svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html[data-theme] .share-link-thumb>img{position:absolute;inset:0;z-index:2;width:100%;height:100%;object-fit:cover;background:var(--theme-surface)}
html[data-theme] .share-link-thumb>em{position:absolute;right:3px;bottom:3px;z-index:3;padding:2px 4px;border-radius:5px;background:rgba(7,25,54,.82);color:#fff;font-size:.48rem;font-style:normal;font-weight:900}
html[data-theme] .share-link-item-title{flex:1 1 auto;min-width:0}
html[data-theme] .share-link-item-title b,html[data-theme] .share-link-item-title small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:390px){html[data-theme] .share-link-thumb{flex-basis:52px;width:52px;height:52px}html[data-theme] .share-link-status{align-self:flex-start}}

/* v112 · Categorías redondeadas y acceso rápido a enlaces. */
html[data-theme] .home-only.stats .home-tile-image{clip-path:inset(9.5% 4.7% 10.5% 4.7% round 13%)!important;filter:drop-shadow(0 4px 7px rgba(20,38,73,.14))!important}
html[data-theme] .quick-link-share{width:100%;min-width:0;margin:17px 0 4px;box-sizing:border-box}
html[data-theme] .quick-link-share>button{position:relative;display:flex;align-items:center;width:100%;min-height:76px;padding:12px 13px;gap:12px;overflow:hidden;border:1px solid color-mix(in srgb,var(--theme-accent) 22%,#dfe7f2);border-radius:20px;background:linear-gradient(135deg,color-mix(in srgb,var(--theme-accent) 10%,var(--theme-surface)),var(--theme-surface) 68%);color:var(--ink,#101526);text-align:left;box-shadow:0 7px 20px rgba(33,55,96,.08);cursor:pointer}
html[data-theme] .quick-link-share>button:active{transform:scale(.985)}
html[data-theme] .quick-link-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:15px;background:linear-gradient(145deg,var(--theme-accent),color-mix(in srgb,var(--theme-accent) 68%,#6d55f5));color:#fff;box-shadow:0 7px 16px color-mix(in srgb,var(--theme-accent) 24%,transparent)}
html[data-theme] .quick-link-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html[data-theme] .quick-link-copy{display:grid;min-width:0;flex:1;gap:3px}
html[data-theme] .quick-link-copy b{font-size:.91rem;line-height:1.15;font-weight:850;letter-spacing:-.018em}
html[data-theme] .quick-link-copy small{color:var(--theme-muted,var(--muted,#737b91));font-size:.7rem;line-height:1.25}
html[data-theme] .quick-link-plus{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:14px;background:var(--theme-accent);color:#fff;font-size:1.55rem;font-weight:700;line-height:1;box-shadow:0 7px 15px color-mix(in srgb,var(--theme-accent) 25%,transparent)}
html[data-theme] .quick-link-share input{display:none!important}
html[data-theme] .quick-link-share+.folders-heading.home-only{margin-top:12px!important}
@media(max-width:430px){html[data-theme] .quick-link-share{margin-top:13px}html[data-theme] .quick-link-share>button{min-height:70px;padding:10px;gap:9px;border-radius:18px}html[data-theme] .quick-link-icon{flex-basis:42px;width:42px;height:42px;border-radius:13px}html[data-theme] .quick-link-copy b{font-size:.78rem}html[data-theme] .quick-link-copy small{font-size:.61rem}html[data-theme] .quick-link-plus{flex-basis:37px;width:37px;height:37px;border-radius:12px;font-size:1.35rem}}

/* v114 · Categorías limpias, badges de novedades y gestión de enlaces. */
html[data-theme] .home-only.stats{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:auto!important;gap:clamp(14px,3vw,30px)!important;margin:24px 0 28px!important;overflow:visible!important}
html[data-theme] .home-only.stats .stat{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto auto!important;justify-items:center!important;align-content:start!important;gap:8px!important;position:relative!important;width:100%!important;height:auto!important;min-height:112px!important;aspect-ratio:auto!important;padding:5px 2px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;contain:none!important;isolation:auto!important;text-align:center!important}
html[data-theme] .home-only.stats .stat.stat-files,html[data-theme] .home-only.stats .stat.stat-photos,html[data-theme] .home-only.stats .stat.stat-videos,html[data-theme] .home-only.stats .stat.stat-models,html[data-theme] .home-only.stats .stat.stat-apps,html[data-theme] .home-only.stats .stat.stat-docs,html[data-theme] .home-only.stats .stat.stat-chat,html[data-theme] .home-only.stats .stat.stat-search{border:0!important;background:transparent!important;box-shadow:none!important}
html[data-theme] .home-only.stats .home-icon-frame{position:relative!important;display:grid!important;place-items:center!important;width:78px!important;height:72px!important;overflow:hidden!important;border:1px solid color-mix(in srgb,var(--theme-border) 72%,transparent)!important;border-radius:21px!important;background:color-mix(in srgb,var(--theme-surface) 91%,transparent)!important;box-shadow:0 6px 16px rgba(30,55,90,.075)!important}
html[data-theme] .home-only.stats .home-category-icon{display:block!important;width:48px!important;height:48px!important;overflow:visible!important;filter:drop-shadow(0 3px 4px color-mix(in srgb,currentColor 18%,transparent));pointer-events:none!important}
html[data-theme] .home-only.stats [data-home-tile="files"] .home-category-icon{color:#00aebb!important}
html[data-theme] .home-only.stats [data-home-tile="photos"] .home-category-icon{color:#ed3f78!important}
html[data-theme] .home-only.stats [data-home-tile="videos"] .home-category-icon{color:#9223df!important}
html[data-theme] .home-only.stats [data-home-tile="models"] .home-category-icon{color:#00b96f!important}
html[data-theme] .home-only.stats [data-home-tile="apps"] .home-category-icon{color:#ed8b00!important}
html[data-theme] .home-only.stats [data-home-tile="docs"] .home-category-icon{color:#009be9!important}
html[data-theme] .home-only.stats [data-home-tile="chat"] .home-category-icon{color:#00aa9e!important}
html[data-theme] .home-only.stats [data-home-tile="search"] .home-category-icon{color:#6551e8!important}
html[data-theme] .home-only.stats .home-icon-frame .home-tile-image{position:absolute!important;inset:7px!important;display:block!important;width:calc(100% - 14px)!important;height:calc(100% - 14px)!important;max-width:none!important;max-height:none!important;object-fit:contain!important;clip-path:none!important;filter:none!important;pointer-events:none!important}
html[data-theme] .home-only.stats .home-category-icon[hidden],html[data-theme] .home-only.stats .home-tile-image[hidden]{display:none!important}
html[data-theme] .home-only.stats .stat>.home-tile-label,html[data-theme] .home-only.stats .stat.stat-search>.home-tile-label{display:block!important;grid-column:1!important;grid-row:2!important;align-self:start!important;width:100%!important;max-width:100%!important;color:var(--theme-ink)!important;font-size:clamp(.68rem,1.5vw,.86rem)!important;font-weight:800!important;line-height:1.12!important;letter-spacing:normal!important;text-align:center!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;transform:none!important;text-shadow:none!important}
html[data-theme] .home-only.stats .stat>.tile-live-value{position:absolute!important;left:auto!important;right:calc(50% - 47px)!important;top:0!important;display:grid!important;width:27px!important;max-width:27px!important;height:27px!important;max-height:27px!important;margin:0!important;padding:0!important;clip:auto!important;clip-path:none!important;border:2px solid var(--theme-surface)!important;border-radius:999px!important;background:#168af5!important;color:#fff!important;font:850 12px/1 system-ui,sans-serif!important;box-shadow:0 4px 10px rgba(13,105,203,.28)!important;opacity:1!important;z-index:5!important}
html[data-theme] .home-only.stats .stat>.tile-live-value:not(.has-value),html[data-theme] .home-only.stats .stat>.tile-live-value[hidden]{display:none!important}
html[data-theme] .home-only.stats .stat>.tile-live-value::before{content:none!important;display:none!important}
html[data-theme] .shared-links-shortcut{width:100%;margin:9px 0 4px}
html[data-theme] .shared-links-shortcut>button{display:flex;align-items:center;width:100%;min-height:72px;padding:11px 13px;gap:12px;border:1px solid var(--theme-border);border-radius:20px;background:var(--theme-surface);color:var(--theme-ink);text-align:left;box-shadow:0 7px 20px rgba(33,55,96,.065)}
html[data-theme] .shared-links-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:15px;background:color-mix(in srgb,var(--theme-accent) 12%,var(--theme-surface));color:var(--theme-accent)}
html[data-theme] .shared-links-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
html[data-theme] .shared-links-arrow{margin-left:auto;color:var(--theme-accent);font-size:2rem;line-height:1}
html[data-theme] .shared-links-shortcut+.folders-heading.home-only{margin-top:14px!important}
html[data-theme] .shared-links-screen{display:none;position:fixed;inset:0;z-index:270;overflow:auto;background:var(--theme-bg,#f5f8fc);color:var(--theme-ink)}
html[data-theme] .shared-links-screen.show{display:block}
html[data-theme] .shared-links-shell{width:min(100%,1040px);min-height:100%;margin:auto;padding:0 20px 40px}
html[data-theme] .shared-links-shell>header{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:18px 0 14px;background:color-mix(in srgb,var(--theme-bg,#f5f8fc) 94%,transparent);backdrop-filter:blur(15px)}
html[data-theme] .shared-links-shell header h2,html[data-theme] .shared-links-shell header p{margin:0}html[data-theme] .shared-links-shell header h2{font-size:1.35rem}html[data-theme] .shared-links-shell header p{margin-top:3px;color:var(--theme-muted);font-size:.76rem}
html[data-theme] #sharedLinksBack,html[data-theme] #sharedLinksRefresh{border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-ink);box-shadow:0 5px 15px rgba(33,55,96,.06)}
html[data-theme] #sharedLinksBack{width:43px;height:43px;border-radius:14px;font-size:1.7rem}html[data-theme] #sharedLinksRefresh{min-height:40px;padding:0 13px;border-radius:12px;font-weight:800}
html[data-theme] #sharedLinksScreenList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}html[data-theme] #sharedLinksScreenState{color:var(--theme-muted);text-align:center}
html[data-theme] .share-link-status.active{background:#dff6ec;color:#197150}html[data-theme] .share-link-status.used{background:#e8e7ff;color:#5548a8}html[data-theme] .share-link-status.expired{background:#fff0d9;color:#996014}html[data-theme] .share-link-status.revoked{background:#ffe4e8;color:#a83245}
html[data-theme] .share-link-details{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px;padding:10px;border-radius:12px;background:var(--theme-surface)}
html[data-theme] .share-link-details[hidden]{display:none!important}html[data-theme] .share-link-details span{color:var(--theme-muted);font-size:.66rem}html[data-theme] .share-link-details b{display:block;margin-bottom:2px;color:var(--theme-ink);font-size:.59rem;text-transform:uppercase}
html[data-theme] .share-link-item-actions{flex-wrap:wrap}html[data-theme] .share-link-item-actions button{flex:1 1 auto}
/* v115: copia directa, carpetas del sistema y Google */
.google-auth{display:flex;align-items:center;justify-content:center;gap:10px}
.google-auth .google-g{width:18px;height:18px;flex:0 0 18px}
.copy-destination-dialog{position:fixed;inset:0;z-index:235;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(10,24,40,.54);backdrop-filter:blur(7px)}
.copy-destination-dialog.show{display:flex}
.copy-destination-card{width:min(100%,520px);max-height:min(82dvh,680px);display:flex;flex-direction:column;gap:12px;padding:20px;border:1px solid var(--theme-border);border-radius:24px;background:var(--theme-surface-strong);box-shadow:0 24px 70px rgba(18,43,72,.24)}
.copy-destination-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.copy-destination-card h3,.copy-destination-card p{margin:0}
.copy-destination-card header p{margin-top:4px;color:var(--theme-muted);font-size:.78rem}
#copyDestinationClose{width:38px;height:38px;flex:0 0 38px;border:0;border-radius:50%;background:var(--theme-surface);color:var(--theme-ink);font-size:1.35rem}
.copy-destination-state{padding:14px;border-radius:14px;background:var(--theme-surface);color:var(--theme-muted);text-align:center;font-size:.78rem}
.copy-destination-list{display:grid;gap:8px;min-height:0;overflow:auto;overscroll-behavior:contain}
.copy-destination-list button{display:grid;gap:3px;width:100%;padding:12px 14px 12px calc(14px + var(--copy-depth,0)*12px);border:1px solid var(--theme-border);border-radius:15px;background:var(--theme-surface);color:var(--theme-ink);text-align:left}
.copy-destination-list button span{font-weight:800}
.copy-destination-list button small{overflow:hidden;color:var(--theme-muted);text-overflow:ellipsis;white-space:nowrap}
.copy-destination-list button:disabled{opacity:.55}
.copy-destination-cancel{min-height:44px;border:0;border-radius:14px;background:var(--theme-surface);color:var(--theme-ink);font-weight:800}
@media(max-width:520px){.copy-destination-dialog{align-items:flex-end;padding:0}.copy-destination-card{width:100%;max-height:86dvh;border-radius:25px 25px 0 0;padding:18px 16px max(18px,env(safe-area-inset-bottom))}}
html[data-theme] .share-download-mode[hidden]{display:none!important}.share-download-mode{padding-top:13px!important;border-top:1px solid var(--theme-border)!important}
@media(max-width:700px){html[data-theme] .shared-links-shell{padding:0 12px 30px}html[data-theme] #sharedLinksScreenList{grid-template-columns:1fr}html[data-theme] .shared-links-shell>header{padding-top:max(12px,env(safe-area-inset-top))}html[data-theme] .shared-links-shell header p{display:none}}
@media(max-width:430px){html[data-theme] .home-only.stats{gap:12px 7px!important;margin:18px 0 20px!important}html[data-theme] .home-only.stats .stat{min-height:92px!important;gap:6px!important}html[data-theme] .home-only.stats .home-icon-frame{width:62px!important;height:58px!important;border-radius:17px!important}html[data-theme] .home-only.stats .home-category-icon{width:39px!important;height:39px!important}html[data-theme] .home-only.stats .stat>.tile-live-value{right:calc(50% - 39px)!important;width:24px!important;max-width:24px!important;height:24px!important;max-height:24px!important;font-size:11px!important}html[data-theme] .home-only.stats .home-tile-label{font-size:.64rem!important}html[data-theme] .shared-links-shortcut>button{min-height:68px;padding:10px;gap:9px;border-radius:18px}html[data-theme] .shared-links-icon{flex-basis:42px;width:42px;height:42px;border-radius:13px}html[data-theme] .shared-links-shell header h2{font-size:1.05rem}html[data-theme] #sharedLinksRefresh{padding:0 9px;font-size:.68rem}}

/* v119 · Chat rápido, teclado estable y estados de lectura reales. */
html[data-theme] .chat-sheet{height:var(--chat-viewport-height,100dvh);top:var(--chat-viewport-top,0px);bottom:auto}
html[data-theme] .chat-card{max-height:100%}
html[data-theme] .chat-messages{overscroll-behavior:contain;scroll-behavior:auto}
html[data-theme] .chat-compose{position:relative;z-index:2;flex:0 0 auto}
html[data-theme] .message-state{display:inline-flex;align-items:center;gap:2px;min-width:31px;font-weight:850;line-height:1;white-space:nowrap}
html[data-theme] .message-state svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html[data-theme] .message-state.sent{color:rgba(255,255,255,.72)}
html[data-theme] .message-state.read{color:#bfe8ff;opacity:1}
html[data-theme] .message-checks{letter-spacing:-2px;padding-right:1px}
html[data-theme] .chat-room-loading{flex:1;align-self:stretch;display:grid;place-items:center;align-content:center;gap:10px;min-height:160px;color:var(--theme-muted,#737b91);font-size:.8rem}
html[data-theme] .chat-room-loading i{width:25px;height:25px;border:3px solid color-mix(in srgb,var(--theme-accent,#6e63e9) 22%,transparent);border-top-color:var(--theme-accent,#6e63e9);border-radius:50%;animation:spin .75s linear infinite}
html[data-theme] .transfer-preview img{content-visibility:auto;transform:translateZ(0)}
@media(max-width:700px){html[data-theme] .chat-card{height:min(760px,92dvh);max-height:100%;border-radius:22px 22px 0 0}}

/* v120 · Chat anclado al último mensaje, opciones y estados visibles. */
html[data-theme] #chatSheet .chat-card{position:relative}
html[data-theme] #chatRoomMenuToggle{flex:0 0 42px;width:42px!important;height:42px!important;display:grid;place-items:center;padding:0!important;border:0!important;border-radius:50%!important;background:var(--theme-surface-2)!important;color:var(--theme-ink)!important}
html[data-theme] #chatRoomMenuToggle[hidden]{display:none!important}
html[data-theme] #chatRoomMenuToggle svg{width:22px;height:22px;fill:currentColor}
html[data-theme] #chatRoomMenuToggle.active{background:var(--theme-accent-soft)!important;color:var(--theme-accent)!important}
html[data-theme] .chat-room-menu{position:absolute;z-index:30;top:70px;right:12px;display:grid;min-width:205px;padding:7px;border:1px solid var(--theme-border);border-radius:15px;background:var(--theme-surface);box-shadow:0 14px 34px rgba(20,35,65,.2)}
html[data-theme] .chat-room-menu[hidden]{display:none!important}
html[data-theme] .chat-room-menu button{min-height:43px;padding:0 13px;border:0;border-radius:11px;background:transparent;color:var(--theme-ink);font:inherit;font-size:.8rem;font-weight:750;text-align:left}
html[data-theme] .chat-room-menu button:active{background:var(--theme-accent-soft)}
html[data-theme] #chatRoomDeleteAction{color:#b42318}
html[data-theme] .chat-room-search{display:grid;grid-template-columns:minmax(0,1fr) auto 34px 34px 34px;align-items:center;gap:6px;flex:0 0 auto;padding:8px 10px;border-bottom:1px solid var(--theme-border);background:var(--theme-surface)}
html[data-theme] .chat-room-search[hidden]{display:none!important}
html[data-theme] .chat-room-search input{min-width:0;height:40px;padding:0 12px;border:1px solid var(--theme-border);border-radius:12px;background:var(--theme-surface-2);color:var(--theme-ink);font-size:16px;outline:0}
html[data-theme] .chat-room-search input:focus{border-color:var(--theme-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-accent) 14%,transparent)}
html[data-theme] .chat-room-search span{font-size:.68rem;font-weight:750;color:var(--theme-muted);white-space:nowrap}
html[data-theme] .chat-room-search button{width:34px;height:34px;padding:0;border:0;border-radius:10px;background:var(--theme-surface-2);color:var(--theme-ink);font-size:1rem;font-weight:850}
html[data-theme] .chat-messages{min-height:0!important;overflow-y:auto!important;overflow-anchor:none}
html[data-theme] .chat-messages.chat-positioning{visibility:hidden}
html[data-theme] .chat-bottom-anchor{display:block;flex:0 0 1px;width:1px;height:1px}
html[data-theme] .chat-search-hit{outline:3px solid #ffb000!important;outline-offset:2px;animation:chat-search-pulse .7s ease}
@keyframes chat-search-pulse{0%,100%{filter:none}50%{filter:brightness(1.12)}}
html[data-theme] #chatSheet .chat-contact-actions{display:flex!important;justify-content:flex-end!important;gap:7px!important;padding:6px 14px 9px!important;border-bottom:1px solid var(--theme-border)!important;background:var(--theme-surface)!important}
html[data-theme] #chatSheet .chat-contact-actions button{min-height:32px;padding:0 12px!important;border:1px solid var(--theme-border)!important;border-radius:10px!important;background:var(--theme-surface-2)!important;color:var(--theme-ink)!important;font-size:.72rem!important;font-weight:750!important}
html[data-theme] #chatSheet .chat-contact-actions button:last-child{color:#a92727!important}
html[data-theme] .chat-bubble.mine>small{opacity:1!important}
html[data-theme] .chat-bubble.mine>small>span:first-child{opacity:.72}
html[data-theme] .message-state{min-width:42px!important;padding:3px 6px;border:1px solid rgba(20,38,70,.12);border-radius:999px;background:rgba(255,255,255,.96);box-shadow:0 1px 4px rgba(18,34,62,.15);opacity:1!important}
html[data-theme] .message-state svg{width:17px!important;height:17px!important;stroke-width:2.15!important}
html[data-theme] .message-state.sent{color:#c75f00!important}
html[data-theme] .message-state.read{color:#056cf2!important}
html[data-theme] .message-checks{font-size:11px;font-weight:950}
@media(max-width:520px){html[data-theme] #chatRoomMenuToggle{flex-basis:40px;width:40px!important;height:40px!important}html[data-theme] .chat-room-search{gap:4px;padding:7px 8px}html[data-theme] .chat-room-search span{font-size:.61rem}html[data-theme] .chat-room-menu{top:calc(66px + env(safe-area-inset-top));right:10px}}

/* v122 · Chat fluido + adjuntos amplios sin saltos de layout. */
html[data-theme] .chat-messages{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;contain:layout style}
html[data-theme] .chat-transfer{width:min(88%,460px);max-width:min(88%,460px);min-width:0}
html[data-theme] .transfer-previews{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important;overflow:visible!important;width:100%;margin:8px 0!important}
html[data-theme] .transfer-previews.count-1{grid-template-columns:minmax(0,1fr)}
html[data-theme] .transfer-preview{position:relative!important;display:block;min-width:0!important;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:1/1;flex:none!important;border-radius:14px!important;overflow:hidden;background:var(--theme-surface-2)!important;isolation:isolate}
html[data-theme] .transfer-previews.count-1 .transfer-preview.image,
html[data-theme] .transfer-previews.count-1 .transfer-preview.video,
html[data-theme] .transfer-previews.count-1 .transfer-preview.model{aspect-ratio:4/3}
html[data-theme] .transfer-preview.file{aspect-ratio:2.35/1;min-height:108px}
html[data-theme] .transfer-preview img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;background:var(--theme-surface-2)!important;z-index:1}
html[data-theme] .transfer-preview-fallback{position:absolute;inset:0;z-index:0;display:grid!important;place-content:center;gap:3px;text-align:center;padding:12px;color:var(--theme-muted)!important}
html[data-theme] .transfer-preview-fallback b{font-size:1rem;color:var(--theme-ink)}
html[data-theme] .transfer-preview-fallback span{font-size:.7rem}
html[data-theme] .transfer-preview-meta{position:absolute;z-index:2;left:0;right:0;bottom:0;display:grid;gap:1px;padding:22px 10px 8px;background:linear-gradient(transparent,rgba(10,15,25,.78));color:#fff;text-align:left;pointer-events:none}
html[data-theme] .transfer-preview-meta b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem}
html[data-theme] .transfer-preview-meta small{font-size:.62rem;opacity:.86}
html[data-theme] .transfer-play{position:absolute;z-index:3;left:50%;top:50%;display:grid;width:46px;height:46px;place-items:center;transform:translate(-50%,-50%);border-radius:50%;background:rgba(12,18,30,.72);color:#fff;font-style:normal;font-size:19px;padding-left:2px;pointer-events:none;box-shadow:0 5px 18px rgba(0,0,0,.24)}
html[data-theme] .chat-load-older{position:sticky;top:0;z-index:4;align-self:center;min-height:36px;padding:0 14px;border:1px solid var(--theme-border);border-radius:999px;background:color-mix(in srgb,var(--theme-surface) 92%,transparent);color:var(--theme-ink);font:inherit;font-size:.72rem;font-weight:750;backdrop-filter:blur(12px)}
@media(max-width:520px){html[data-theme] .chat-messages{padding:10px!important;gap:7px!important}html[data-theme] .chat-transfer{width:min(94%,420px);max-width:min(94%,420px);padding:8px!important;border-radius:16px!important}html[data-theme] .transfer-preview{border-radius:12px!important}html[data-theme] .transfer-previews{gap:4px!important}html[data-theme] .transfer-previews.count-1 .transfer-preview.image,html[data-theme] .transfer-previews.count-1 .transfer-preview.video,html[data-theme] .transfer-previews.count-1 .transfer-preview.model{aspect-ratio:1.22/1}}
/* v122 · Estabilidad adicional para listas variables y accesibilidad. */
html[data-theme] .chat-bubble,html[data-theme] .chat-transfer,html[data-theme] .chat-upload-card{content-visibility:visible!important;contain:none!important}
html[data-theme] .transfer-preview{contain:layout paint;cursor:pointer;outline:0}
html[data-theme] .transfer-preview:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-accent) 45%,transparent)}
html[data-theme] .transfer-more{position:absolute;z-index:4;right:8px;top:8px;display:grid;place-items:center;min-width:34px;height:28px;padding:0 8px;border-radius:999px;background:rgba(10,18,30,.78);color:#fff;font-size:.72rem;font-style:normal;font-weight:850;pointer-events:none}
html[data-theme] .chat-upload-track i{transition:width .12s linear!important}
html[data-theme] .model-thumb[data-url]:not([data-ready])::after{content:'3D';display:grid;place-items:center;position:absolute;inset:0;color:var(--theme-muted);font-size:.7rem;font-weight:850}
@media(min-width:701px){html[data-theme] .chat-messages{scrollbar-gutter:stable}}

/* v124 · Selector de idioma de Cloudfily. */
html[data-theme] .language-box{display:grid;gap:13px;margin:12px 0;padding:15px 16px;border:1px solid color-mix(in srgb,var(--theme-line) 82%,transparent);border-radius:18px;background:color-mix(in srgb,var(--theme-card) 94%,var(--theme-soft));box-shadow:0 8px 22px rgba(25,37,66,.04)}
html[data-theme] .language-head{display:flex;align-items:center;gap:11px}
html[data-theme] .language-head>div{min-width:0;display:grid;gap:2px}
html[data-theme] .language-head b{color:var(--theme-ink);font-size:.91rem}
html[data-theme] .language-head small{color:var(--theme-muted);font-size:.72rem;line-height:1.35}
html[data-theme] .language-icon{display:grid;place-items:center;flex:0 0 39px;width:39px;height:39px;border-radius:13px;background:color-mix(in srgb,var(--theme-accent) 12%,var(--theme-card));color:var(--theme-accent);font-size:1.02rem;font-weight:850}
html[data-theme] .language-select{display:grid;gap:6px}
html[data-theme] .language-select>span{color:var(--theme-muted);font-size:.7rem;font-weight:750}
html[data-theme] .language-select select{width:100%;min-height:44px;padding:0 40px 0 13px;border:1px solid var(--theme-line);border-radius:13px;background:var(--theme-card);color:var(--theme-ink);font-weight:720;outline:none}
html[data-theme] .language-select select:focus{border-color:var(--theme-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-accent) 16%,transparent)}
html[data-theme] .language-status{min-height:0;color:var(--theme-success,#278260);font-size:.7rem;font-weight:750;opacity:0;transition:opacity .18s}
html[data-theme] .language-status.show{opacity:1}
@media(max-width:430px){html[data-theme] .language-box{padding:14px;border-radius:16px}html[data-theme] .language-select select{min-height:46px;font-size:16px}}

/* v126 · Dirección profesional, onboarding, actividad real y planes. */
html[data-theme] .home-section-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:24px 6px 10px}
html[data-theme] .home-section-intro>div{min-width:0}
html[data-theme] .home-section-intro span,
html[data-theme] .recent-activity header span,
html[data-theme] .folders-heading>div>span{display:block;margin-bottom:3px;color:var(--theme-accent);font-size:.64rem;font-weight:900;letter-spacing:.13em}
html[data-theme] .home-section-intro h2,
html[data-theme] .recent-activity h2,
html[data-theme] .folders-heading h2{margin:0;color:var(--theme-ink);font-size:1.24rem;line-height:1.1}
html[data-theme] .home-section-intro p,
html[data-theme] .folders-heading p{margin:5px 0 0;color:var(--theme-muted);font-size:.72rem;line-height:1.4}
html[data-theme] #openTransfersShortcut{flex:0 0 auto;min-height:38px;padding:0 14px;border:1px solid var(--theme-line);border-radius:999px;background:var(--theme-card);color:var(--theme-accent);font:inherit;font-size:.7rem;font-weight:850;box-shadow:0 5px 16px rgba(29,46,83,.06)}
html[data-theme] .recent-activity{margin:15px 6px 18px;padding:15px;border:1px solid var(--theme-line);border-radius:20px;background:color-mix(in srgb,var(--theme-card) 96%,var(--theme-soft));box-shadow:0 9px 28px rgba(29,46,83,.06)}
html[data-theme] .recent-activity header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
html[data-theme] #refreshActivity{display:grid;place-items:center;width:37px;height:37px;border:0;border-radius:12px;background:var(--theme-surface-2);color:var(--theme-accent);font:inherit;font-size:1.1rem;font-weight:850}
html[data-theme] #refreshActivity.loading{animation:spin .8s linear infinite}
html[data-theme] #recentActivityList{display:grid;gap:6px}
html[data-theme] .activity-item{display:grid;grid-template-columns:39px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:52px;padding:7px 8px;border-radius:14px;background:var(--theme-surface-2)}
html[data-theme] .activity-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:color-mix(in srgb,var(--theme-accent) 12%,var(--theme-card));color:var(--theme-accent)}
html[data-theme] .activity-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html[data-theme] .activity-item>div{min-width:0}
html[data-theme] .activity-item b,
html[data-theme] .activity-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] .activity-item b{color:var(--theme-ink);font-size:.76rem}
html[data-theme] .activity-item small,
html[data-theme] .activity-item time{color:var(--theme-muted);font-size:.64rem}
html[data-theme] .activity-item time{white-space:nowrap}
html[data-theme] .activity-empty{padding:14px;text-align:center;color:var(--theme-muted);font-size:.72rem}
html[data-theme] .folders-heading{align-items:flex-end!important;margin-top:18px!important}
html[data-theme] .folders-heading>div{min-width:0}
html[data-theme] .plans-box{display:grid;gap:13px;margin:13px 0;padding:15px;border:1px solid var(--theme-line);border-radius:18px;background:color-mix(in srgb,var(--theme-card) 95%,var(--theme-soft))}
html[data-theme] .plans-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
html[data-theme] .plans-head>div{min-width:0}
html[data-theme] .plans-head b,
html[data-theme] .plans-head small{display:block}
html[data-theme] .plans-head b{color:var(--theme-ink);font-size:.9rem}
html[data-theme] .plans-head small{margin-top:3px;color:var(--theme-muted);font-size:.68rem;line-height:1.4}
html[data-theme] #currentPlanBadge{flex:0 0 auto;padding:6px 9px;border-radius:999px;background:color-mix(in srgb,var(--theme-success,#2a9d74) 13%,var(--theme-card));color:var(--theme-success,#2a9d74);font-size:.62rem;font-weight:850}
html[data-theme] .plans-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
html[data-theme] .plan-option{display:grid;gap:2px;padding:11px;border:1px solid var(--theme-line);border-radius:14px;background:var(--theme-card)}
html[data-theme] .plan-option.current{border-color:color-mix(in srgb,var(--theme-success,#2a9d74) 45%,var(--theme-line));background:color-mix(in srgb,var(--theme-success,#2a9d74) 7%,var(--theme-card))}
html[data-theme] .plan-option b{color:var(--theme-ink);font-size:.72rem}
html[data-theme] .plan-option strong{color:var(--theme-accent);font-size:1.03rem}
html[data-theme] .plan-option small{color:var(--theme-muted);font-size:.61rem}
html[data-theme] .onboarding{position:fixed;inset:0;z-index:260;display:none;place-items:center;padding:22px;background:rgba(14,22,39,.58);backdrop-filter:blur(12px)}
html[data-theme] .onboarding.show{display:grid}
html[data-theme] .onboarding-card{position:relative;width:min(100%,430px);padding:22px;border:1px solid color-mix(in srgb,var(--theme-line) 80%,transparent);border-radius:28px;background:var(--theme-card);box-shadow:0 28px 90px rgba(9,19,38,.28);text-align:center}
html[data-theme] .onboarding-skip{position:absolute;right:17px;top:15px;border:0;background:transparent;color:var(--theme-muted);font:inherit;font-size:.7rem;font-weight:750}
html[data-theme] .onboarding-visual{display:grid;place-items:center;width:116px;height:116px;margin:15px auto 15px;border-radius:35px;background:linear-gradient(145deg,color-mix(in srgb,var(--theme-accent) 14%,var(--theme-card)),color-mix(in srgb,var(--theme-success,#2bc28b) 13%,var(--theme-card)));color:var(--theme-accent)}
html[data-theme] .onboarding-visual svg{width:65px;height:65px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html[data-theme] .onboarding-step{display:block;color:var(--theme-accent);font-size:.65rem;font-weight:900;letter-spacing:.12em}
html[data-theme] .onboarding-card h2{margin:8px 0 7px;color:var(--theme-ink);font-size:1.35rem}
html[data-theme] .onboarding-card p{min-height:45px;margin:0 auto;color:var(--theme-muted);font-size:.8rem;line-height:1.5}
html[data-theme] .onboarding-dots{display:flex;justify-content:center;gap:6px;margin:17px 0}
html[data-theme] .onboarding-dots i{width:7px;height:7px;border-radius:99px;background:var(--theme-line);transition:.2s}
html[data-theme] .onboarding-dots i.active{width:23px;background:var(--theme-accent)}
html[data-theme] .onboarding-next{width:100%;min-height:48px;border:0;border-radius:15px;background:linear-gradient(135deg,var(--theme-accent),color-mix(in srgb,var(--theme-accent) 62%,#34cfac));color:#fff;font:inherit;font-weight:850;box-shadow:0 10px 24px color-mix(in srgb,var(--theme-accent) 22%,transparent)}
html[data-theme] .transfer-send-progress{display:grid;gap:7px;margin:10px 0;padding:11px;border-radius:13px;background:var(--theme-surface-2)}
html[data-theme] .transfer-send-progress[hidden]{display:none!important}
html[data-theme] .transfer-send-progress>div{display:flex;align-items:center;justify-content:space-between;gap:9px;color:var(--theme-ink);font-size:.69rem;font-weight:750}
html[data-theme] .transfer-send-progress>div b{color:var(--theme-accent)}
html[data-theme] .transfer-send-progress>i{display:block;height:6px;overflow:hidden;border-radius:99px;background:var(--theme-line)}
html[data-theme] .transfer-send-progress>i span{display:block;width:33%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--theme-accent),var(--theme-success,#2bc28b));transition:width .25s ease}
@media(max-width:520px){
 html[data-theme] .home-section-intro{align-items:flex-start;margin:20px 2px 8px}
 html[data-theme] .home-section-intro p{max-width:235px}
 html[data-theme] #openTransfersShortcut{min-height:36px;padding:0 11px}
 html[data-theme] .recent-activity{margin-left:2px;margin-right:2px;padding:13px;border-radius:18px}
 html[data-theme] .activity-item{grid-template-columns:36px minmax(0,1fr);gap:9px}
 html[data-theme] .activity-item time{grid-column:2}
 html[data-theme] .folders-heading p{max-width:245px}
 html[data-theme] .onboarding-card{padding:20px;border-radius:25px}
 html[data-theme] .onboarding-visual{width:105px;height:105px;border-radius:31px}
}

html[data-theme] .activity-item{width:100%;border:0;color:inherit;font:inherit;text-align:left;cursor:pointer}
html[data-theme] .activity-item:focus-visible{outline:3px solid color-mix(in srgb,var(--theme-accent) 28%,transparent);outline-offset:2px}
html[data-theme] .transfer-send-progress.done>i span{background:var(--theme-success,#2bc28b)}
html[data-theme] .transfer-send-progress.error>i span{background:#d04444}


/* v127 · Contraste reforzado en bienvenida y conversación. */
html[data-theme] .onboarding-card p{
  color:color-mix(in srgb,var(--theme-ink) 82%,var(--theme-muted))!important;
  opacity:1!important;
  font-weight:650;
  text-shadow:none!important;
}
html[data-theme] .onboarding-skip{
  padding:7px 10px;
  border:1px solid color-mix(in srgb,var(--theme-ink) 14%,var(--theme-border))!important;
  border-radius:999px;
  background:color-mix(in srgb,var(--theme-surface) 94%,transparent)!important;
  color:var(--theme-ink)!important;
  opacity:.9;
}
html[data-theme] .onboarding-step{
  color:color-mix(in srgb,var(--theme-accent) 68%,var(--theme-ink))!important;
  opacity:1!important;
}
html[data-theme] .onboarding-dots i{background:color-mix(in srgb,var(--theme-ink) 24%,var(--theme-border))!important}
html[data-theme] .onboarding-dots i.active{background:color-mix(in srgb,var(--theme-accent) 72%,var(--theme-ink))!important}
html[data-theme] .chat-bubble:not(.mine){
  background:color-mix(in srgb,var(--theme-accent) 8%,var(--theme-surface))!important;
  border:1px solid color-mix(in srgb,var(--theme-accent) 24%,var(--theme-border))!important;
  box-shadow:0 5px 16px color-mix(in srgb,var(--theme-ink) 9%,transparent)!important;
}
html[data-theme] .chat-bubble.mine{
  border:1px solid color-mix(in srgb,var(--theme-accent) 70%,#ffffff)!important;
  box-shadow:0 6px 18px color-mix(in srgb,var(--theme-accent) 24%,transparent)!important;
}
html[data-theme] .chat-transfer{
  background:color-mix(in srgb,var(--theme-accent) 7%,var(--theme-surface))!important;
  border:1px solid color-mix(in srgb,var(--theme-accent) 25%,var(--theme-border))!important;
  box-shadow:0 6px 18px color-mix(in srgb,var(--theme-ink) 9%,transparent)!important;
}
html[data-theme] .chat-transfer.mine{
  background:color-mix(in srgb,var(--theme-accent) 13%,var(--theme-surface))!important;
  border-color:color-mix(in srgb,var(--theme-accent) 38%,var(--theme-border))!important;
}
html[data-theme] .chat-bubble:not(.mine)>small,
html[data-theme] .chat-transfer small{color:color-mix(in srgb,var(--theme-ink) 70%,var(--theme-muted))!important;opacity:1!important}


/* v128 · Controles del visor y navegación claramente visibles. */
html[data-theme] .preview-close{
  display:grid!important;
  place-items:center;
  width:46px!important;
  height:46px!important;
  border:2px solid rgba(255,255,255,.78)!important;
  background:rgba(255,255,255,.96)!important;
  color:#10243d!important;
  box-shadow:0 8px 24px rgba(0,0,0,.42)!important;
  font-size:1.55rem!important;
  font-weight:900!important;
  line-height:1!important;
  text-shadow:none!important;
}
html[data-theme] .zoom-controls{
  padding:5px!important;
  gap:4px!important;
  border:2px solid rgba(255,255,255,.75)!important;
  background:rgba(12,18,28,.94)!important;
  box-shadow:0 10px 30px rgba(0,0,0,.55)!important;
}
html[data-theme] .zoom-controls button{
  display:grid!important;
  place-items:center;
  width:40px!important;
  height:40px!important;
  border:1px solid rgba(255,255,255,.4)!important;
  background:rgba(255,255,255,.96)!important;
  color:#10243d!important;
  font-size:1.35rem!important;
  font-weight:900!important;
  line-height:1!important;
  text-shadow:none!important;
  box-shadow:0 3px 10px rgba(0,0,0,.24)!important;
}
html[data-theme] .zoom-controls #zoomReset{
  width:62px!important;
  border-color:rgba(255,255,255,.24)!important;
  background:#273345!important;
  color:#fff!important;
  font-size:.72rem!important;
  font-weight:850!important;
}
html[data-theme] #browserBack{
  display:grid!important;
  place-items:center;
  width:46px!important;
  height:46px!important;
  border:2px solid color-mix(in srgb,var(--theme-accent) 42%,var(--theme-border))!important;
  border-radius:15px!important;
  background:color-mix(in srgb,var(--theme-accent) 12%,var(--theme-surface))!important;
  color:color-mix(in srgb,var(--theme-accent) 72%,var(--theme-ink))!important;
  box-shadow:0 7px 20px color-mix(in srgb,var(--theme-ink) 14%,transparent)!important;
}
html[data-theme] #browserBack svg{
  width:25px!important;
  height:25px!important;
  stroke-width:2.7!important;
}
html[data-theme] #browserBack:active,
html[data-theme] .preview-close:active,
html[data-theme] .zoom-controls button:active{transform:scale(.93)}

/* Cloudfily accessibility and interactive models. */
.model-interactive{width:min(94vw,1100px);height:min(72dvh,720px);min-height:280px;position:relative;display:grid;place-items:center;overflow:hidden;touch-action:none}
.model-interactive canvas{width:100%;height:100%;display:block;outline:none;touch-action:none}
.model-loading,.model-viewer-error{padding:24px;text-align:center;color:#fff;font-size:15px}
.share-access-option,.share-password-option{display:flex;gap:10px;align-items:center;padding:12px 0;color:var(--ink);font-size:14px}
.share-password-option{display:grid;gap:8px}.share-password-option input{width:100%;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--ink)}
#previewClose,#zoomIn,#zoomOut,#zoomReset,#previewPrev,#previewNext{color:#fff!important;background:#202733!important;border:1px solid #ffffff75!important;box-shadow:0 3px 12px #0005;min-width:42px;min-height:42px}
#settingsClose,#chatBack,#browserBack,.account-head button{color:var(--ink)!important;background:var(--card)!important;border:1px solid var(--line)!important;min-width:42px;min-height:42px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #237bff;outline-offset:3px}
.chat-text{overflow-wrap:anywhere}.chat-text.mine{color:#fff}.chat-text:not(.mine){color:var(--ink)}
.chat-transfer{max-width:min(88%,370px)}.transfer-preview img{max-height:290px;object-fit:cover}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

.model-interactive{position:relative}.model-viewer-controls{position:absolute;top:12px;right:12px;display:flex;gap:8px;z-index:2}.model-viewer-controls button{width:44px;height:44px;background:#fff;color:#14243c;border:1px solid #c4cedd;border-radius:12px;font:700 24px system-ui;box-shadow:0 2px 12px #0002;cursor:pointer}

#zoomControls[hidden]{display:none!important}

.model-viewer-note{position:absolute;left:16px;right:16px;bottom:8px;padding:8px;background:#182235cc;color:white;border-radius:8px;font-size:12px;text-align:center}.model-interactive .model-static{width:100%;height:100%;display:grid;place-items:center}.model-interactive .model-static img{max-width:100%;max-height:100%;object-fit:contain}
