/* Only the file-manager route adopts the archive shell. Other routes retain their layout. */
body:has(#filesPage.active) .main-content { margin-left:0; padding:0; }
body:has(#filesPage.active) .app-container > .sidebar:not(.open) { display:none; }
#filesImportPanel { background:#f4f2f0; color:#402c3d; padding:18px 28px; border-top:1px solid #d5cdd2; }
#filesImportPanel summary { cursor:pointer; font-size:14px; padding:10px 0; }
#filesImportPanel .upload-zone { margin-top:18px; padding:22px; background:#fcfbfa; border-color:#c4b1c0; }
#filesImportPanel .gsheet-import-section { background:#fcfbfa; border-color:#d5cdd2; }
#filesImportPanel .btn-primary { background:#503449; box-shadow:none; }
#filesImportPanel .upload-zone i { color:#503449; }
@media(max-width:768px){body:has(#filesPage.active) .app-container{margin-right:0}#filesImportPanel{padding:16px}body:has(#filesPage.active) .mobile-sidebar-toggle{top:15px;left:10px;background:#f4f2f0;color:#503449;box-shadow:none}}

body:has(#filesPage.active) #chatFab{display:none}

body:has(#filesPage.active) .main-content{min-width:0}
