/* Erick Cloud v2.11: estado de laptop y diseño móvil */
.ec-server-health{margin:16px 0 22px;padding:20px;background:#fff;color:#17263d;border-radius:24px;border:1px solid #dae4f2;box-shadow:0 12px 32px #0f172a0b;min-width:0}
.ec-health-heading{display:flex;align-items:center;gap:12px;margin-bottom:17px}.ec-health-heading strong{font-size:19px;display:block}.ec-health-heading small{color:#52647c;font-size:12px;display:block;margin-top:3px}.ec-health-icon{width:42px;height:42px;background:#eaf2ff;border-radius:13px;color:#225aab;display:grid;place-items:center}.ec-health-dot{width:10px;height:10px;background:#22c55e;border-radius:50%;margin-left:auto;box-shadow:0 0 0 5px #22c55e1a}
.ec-health-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.ec-health-stat{min-width:0;background:#f4f8fe;border:1px solid #e0e9f5;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:5px}.ec-health-label{font-size:12px;color:#52647c;font-weight:700}.ec-health-stat strong{font-size:19px;overflow-wrap:anywhere}.ec-health-stat small{font-size:11px;color:#52647c;line-height:1.3}.ec-battery-meter{height:8px;border-radius:99px;overflow:hidden;background:#dbe5f0}.ec-battery-meter>span{display:block;height:100%;width:0;background:#22c55e;border-radius:99px;transition:width .5s}
html[data-ec-theme=dark] .ec-server-health{background:#192335;color:#f1f5ff;border-color:#33465e}html[data-ec-theme=dark] .ec-health-stat{background:#112036;border-color:#354960}html[data-ec-theme=dark] .ec-health-heading small,html[data-ec-theme=dark] .ec-health-stat small,html[data-ec-theme=dark] .ec-health-label{color:#b5c8df}
/* Contener los anchos de la app sin afectar PC */
html,body{max-width:100%;}body.app-body{overflow-x:hidden}.app-layout,.main-area,.main-area>*{min-width:0;max-width:100%;box-sizing:border-box}.file-info,.file-info strong,.file-info small{min-width:0;overflow-wrap:anywhere}.preview-dialog,.cloud-modal-dialog{box-sizing:border-box}.file-row{min-width:0}.file-row .file-info{flex:1 1 170px}.finder-controls,.file-toolbar,.files-header{min-width:0}
@media(max-width:1000px){.ec-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.app-layout{display:block!important;grid-template-columns:minmax(0,1fr)!important}.sidebar{width:100%!important;max-width:100%!important;min-height:auto!important;position:relative!important;inset:auto!important;padding:16px!important;box-sizing:border-box!important}.side-nav{display:flex!important;flex-wrap:wrap!important;gap:7px!important}.side-nav a{flex:1 1 110px;text-align:center;white-space:normal}.sidebar-bottom{max-width:100%}.main-area{width:100%!important;max-width:100vw!important;padding:14px!important;margin:0!important}.top-line{flex-wrap:wrap;gap:8px}.files-header,.file-toolbar,.section-heading,.welcome,.hero-storage-top{display:flex!important;flex-direction:column;align-items:stretch!important;gap:13px}.file-toolbar-actions{display:flex;flex-wrap:wrap;gap:8px}.file-toolbar-actions>*{flex:1 1 145px}.stat-grid,.shortcut-grid,.cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.storage-panel,.storage-sphere-wrap{display:flex!important;flex-direction:column!important;align-items:stretch!important}.finder-controls{position:relative!important;top:auto!important;display:flex!important;flex-direction:column!important;gap:10px}.finder-search{width:100%!important;min-width:0}.finder-actions{width:100%;justify-content:flex-end}.file-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.file-row .file-info{flex:1 1 calc(100% - 90px);width:auto}.file-row .file-action,.file-row .inline-form{flex:1 1 auto;min-width:0}.file-row .inline-form button{width:100%}.file-row .file-action{white-space:normal;justify-content:center}.preview-overlay,.cloud-modal{padding:7px!important}.preview-dialog{max-width:calc(100vw - 14px)!important;width:calc(100vw - 14px)!important;max-height:96dvh!important;overflow:auto}.preview-top,.preview-toolbar{flex-wrap:wrap;gap:8px}.preview-toolbar>*{flex:1 1 auto}.preview-content{min-width:0;overflow:auto}.upload-floating{left:10px!important;right:10px!important;bottom:12px!important;width:auto!important;max-width:calc(100vw - 20px)!important}.finder-floating{max-width:calc(100vw - 20px);gap:6px}}
@media(max-width:480px){.ec-server-health{padding:13px;border-radius:18px}.ec-health-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ec-health-stat{padding:10px}.ec-health-stat strong{font-size:16px}.main-area{padding:10px!important}.stat-grid,.shortcut-grid,.cards{grid-template-columns:1fr!important}.auth-shell,.auth-form-zone{width:100%;max-width:100%;min-width:0;padding:12px!important}.auth-card{width:100%;max-width:100%;padding:23px 18px!important}.auth-story{min-width:0}.file-toolbar-actions .btn{font-size:13px}.finder-floating .finder-fab{width:49px;height:49px}}
