.gallery-panel{display:flex;flex-direction:column;gap:16px;padding-bottom:72px}.gallery-panel-head{position:sticky;top:-1.4rem;z-index:1;display:flex;align-items:center;gap:4px;margin:-1.4rem -1.4rem -4px;padding:calc(1.4rem - 8px) calc(1.4rem - 8px) 0 1.4rem;background:var(--ds-color-surface)}.gallery-panel-kind{flex:1 1 auto;font:var(--ds-type-body);color:var(--ds-color-fg-muted)}.gallery-panel-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:var(--ds-type-body)}.gallery-entry-form{display:flex;flex-direction:column;gap:12px}.gallery-entry-foot{display:flex;align-items:center;justify-content:space-between;gap:8px}.gallery-import-tree{max-height:50vh;overflow-y:auto;border:1px solid var(--ds-color-border);border-radius:var(--ds-radius-sm)}.gallery-toolbar{display:flex;align-items:center;gap:8px;min-height:64px;padding:12px 2rem;border-bottom:1px solid var(--ds-color-border)}.gallery-toolbar-gap{flex:1 1 auto}.gallery-category{display:inline-flex;align-items:center;gap:8px;min-width:0;min-height:40px;margin-left:-10px;padding:0 6px 0 10px;border:0;border-radius:var(--ds-radius-sm);background:transparent;color:var(--ds-color-fg);cursor:pointer}.gallery-category:hover,.gallery-category[aria-expanded=true]{background:var(--ds-color-hover)}.gallery-category-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:var(--ds-type-title-md)}.gallery-category-count{font:var(--ds-type-body-sm);color:var(--ds-color-fg-muted)}.gallery-tile{display:flex;min-width:0;min-height:0;touch-action:manipulation}.gallery-tile>.media-browser-media{flex:1 1 auto;min-width:0}.gallery{display:flex;flex:1 1 auto;min-width:0;min-height:0;overflow:hidden}.gallery-main{display:flex;flex-direction:column;flex:1 1 auto;min-width:0;min-height:0}.gallery-files{display:flex;flex:1 1 auto;min-height:0;overflow-y:auto}
