
/* Consistent dashboard rows and explicit, persistent search context. */
.personal-home .home-dashboard{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:16px}
.personal-home .home-dashboard>.home-primary,.personal-home .home-dashboard>.home-secondary{display:contents}
.personal-home .home-dashboard .home-card{display:flex;flex-direction:column;min-height:180px;padding:20px;border-radius:12px}
.personal-home .home-card header{min-height:34px;align-items:center}
.personal-home .home-card h3{line-height:1.6;overflow-wrap:anywhere}
.personal-home .home-card .home-document-list{flex:1;min-width:0}
.file-workspace .library-search-panel{position:static;width:100%;max-height:none;margin:12px 0 0;padding:20px;border-radius:12px;box-shadow:none;background:var(--surface)}
.file-workspace .library-scope-control{max-width:none}
.file-workspace .library-scope-control select{min-height:44px}
.library-scope-hint{margin:8px 0 16px;color:var(--muted);font-size:var(--font-size-meta);line-height:1.7}
.file-workspace .library-search-fields .workspace-subtoolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0}
.file-workspace .filter-field{display:grid;gap:7px;min-width:0;color:var(--muted)}
.file-workspace .filter-field select{min-height:44px;max-width:none}
.file-workspace .library-active-filters{margin:12px 0 0;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}
.file-workspace .library-filter-chip{min-height:36px}
@media(max-width:950px){.personal-home .home-dashboard{grid-template-columns:minmax(0,1fr)}.personal-home .home-dashboard .home-card{min-height:154px}}
@media(max-width:600px){.file-workspace .library-search-panel{padding:16px}.file-workspace .library-search-fields .workspace-subtoolbar{grid-template-columns:minmax(0,1fr);gap:14px}.file-workspace .library-search-panel select{font-size:16px}.personal-home .home-dashboard .home-card{padding:18px}.home-primary-actions{flex-wrap:wrap}}
@media(max-width:950px){.workspace-suite .mobile-tabbar>button{min-width:0;padding-inline:4px}.workspace-suite .mobile-tabbar>button>span{white-space:normal;line-height:1.3;overflow-wrap:anywhere;max-width:100%;text-align:center;font-size:11px}}
