/* A library of sources and their versions. Existing file actions stay visible. */
html[data-theme] body.studio87 #personalCloudView .workspace-library-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:16px 0;margin:0;border:0}
html[data-theme] body.studio87 #personalCloudView .workspace-library-filters>.workspace-field:first-child{flex:1 1 240px}
html[data-theme] body.studio87 #personalCloudView .workspace-library-filters>.workspace-field,.library101-account-field{flex:0 1 170px;min-width:150px}
html[data-theme] body.studio87 #personalCloudView .workspace-library-filters .cloud-folder-filter{flex:0 1 160px;min-width:140px;margin:0}
.library101-layout{display:flex;gap:3px;flex-wrap:wrap}
html[data-theme] body.studio87 .library101-layout button{min-height:38px;padding:8px 10px;white-space:nowrap}
html[data-theme] body.studio87 .library101-layout button[aria-pressed=true]{background:var(--s87-accent-soft);color:var(--s87-text);border-color:var(--border-strong)}
html[data-theme] body.studio87 #personalCloudView .workspace-library-filters>[data-library-count]{margin:0 0 10px auto;font-size:12px}
html[data-theme] body.studio87 #personalCloudView .personal-cloud-upload{gap:10px;padding-block:14px}
html[data-theme] body.studio87 #personalCloudView .personal-cloud-usage{gap:20px}
html[data-theme] body.studio87 #personalCloudView .download-toolbar{padding-block:8px;margin-block:0;border:0}
html[data-theme] body.studio87 #personalCloudView .download-toolbar .studio-actions{justify-content:flex-start;gap:8px}
html[data-theme] body.studio87 #personalCloudView .download-toolbar [data-count]{margin-left:auto;font-size:12px}
html[data-theme] body.studio87 #personalCloudView .download-toolbar[data-has-selection=false] [data-count]{display:none}
html[data-theme] body.studio87 #personalCloudView .download-toolbar p:empty{display:none}
html[data-theme] body.studio87 .library101-account{display:block;margin-top:6px;font-size:12px;font-weight:600;color:var(--s87-text);overflow-wrap:anywhere}
html[data-theme] body.studio87 #personalCloudFiles[data-library-layout=groups]{display:block;border:0}
html[data-theme] body.studio87 .library101-group{border:1px solid var(--s87-border);border-radius:10px;margin-bottom:12px;overflow:clip;background:var(--s87-panel)}
html[data-theme] body.studio87 .library101-group>summary{display:flex;align-items:center;gap:14px;cursor:pointer;padding:18px 20px;list-style:none;min-height:68px}
.library101-group>summary::-webkit-details-marker{display:none}
.library101-group>summary::before{content:'';width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:transform 180ms cubic-bezier(.16,1,.3,1);flex:none}
.library101-group[open]>summary::before{transform:rotate(45deg)}
.library101-group-identity{display:grid;gap:5px;min-width:0;flex:1}
.library101-group-identity b{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.library101-group-identity small{font-size:12px;color:var(--s87-muted);overflow-wrap:anywhere}
.library101-group [data-group-count]{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--s87-muted)}
html[data-theme] body.studio87 .library101-group>.personal-cloud-file{border:0;border-top:1px solid var(--s87-border);border-radius:0;margin:0}
html[data-theme] body.studio87 #personalCloudFiles[data-library-layout=grid]{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:16px}
html[data-theme] body.studio87 #personalCloudFiles[data-library-layout=grid]>.personal-cloud-file{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;padding:14px;align-content:start;border:1px solid var(--s87-border);border-radius:10px;margin:0}
html[data-theme] body.studio87 #personalCloudFiles[data-library-layout=grid] .personal-cloud-poster,html[data-theme] body.studio87 #personalCloudFiles[data-library-layout=grid] .personal-cloud-file-icon{grid-column:1/-1;grid-row:1;width:100%;height:240px;max-width:none;object-fit:contain;background:var(--s87-raised);border-radius:6px}
html[data-theme] body.studio87 #personalCloudFiles[data-library-layout=grid] .cloud-select-file{grid-column:1;grid-row:2}
html[data-theme] body.studio87 #personalCloudFiles[data-library-layout=grid] .personal-cloud-file-info{grid-column:2;grid-row:2;min-width:0}
html[data-theme] body.studio87 #personalCloudFiles[data-library-layout=grid] .personal-cloud-file-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px}
html[data-theme] body.studio87 #personalCloudFiles[data-library-layout=grid] .personal-cloud-file-info h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;font-size:13px}
@media(max-width:640px){html[data-theme] body.studio87 #personalCloudView .workspace-library-filters>.workspace-field:first-child{flex-basis:100%}html[data-theme] body.studio87 #personalCloudView .workspace-library-filters>.workspace-field,html[data-theme] body.studio87 #personalCloudView .workspace-library-filters .cloud-folder-filter{flex:1 1 140px;min-width:0}.library101-layout{flex-basis:100%}.library101-layout button{flex:1}html[data-theme] body.studio87 .library101-group>summary{padding:14px 12px;gap:10px}.library101-group-identity b{font-size:13px}html[data-theme] body.studio87 #personalCloudFiles[data-library-layout=grid]{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}}
@media(prefers-reduced-motion:reduce){.library101-group>summary::before{transition:none}}
