.toolbar-menu[hidden]{display:none!important}
html:not([data-theme="light"]):not(.light-theme){--c-text:#fff;--c-text2:#fff;--c-text3:#fff;--text:#fff;--text2:#fff;--text3:#fff}
.file-list-header,.share-table thead th{font-size:14px;font-weight:600}
.file-list-header .flh-icon{display:none}
.share-table thead th:nth-child(2){padding-left:0}
.file-list-header .sort-arrow.active::before{display:none}
.file-list-header .sort-arrow.active,.share-table th[aria-sort="ascending"] button::after,.share-table th[aria-sort="descending"] button::after{content:'';display:inline-block;vertical-align:middle;width:16px;height:16px;flex:0 0 16px;margin-left:6px;font-size:0;color:inherit;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10m-4-4 4 4 4-4' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 16px no-repeat}
.file-list-header .sort-arrow.active[data-direction="asc"],.share-table th[aria-sort="ascending"] button::after{transform:rotate(180deg)}
.share-table th[aria-sort] button::after{border:0}
.share-table th[aria-sort="descending"] button::after{transform:none}
.file-list-header [draggable="true"]:hover,.file-list-header [data-sort-field]:hover,.share-table thead button:hover{background:transparent!important;border-radius:0;box-shadow:none}
.file-list-header [draggable="true"],.file-list-header [draggable="true"]:active{cursor:default}
.file-list-header [data-sort-field],.file-list-header [data-sort-field]:active,.share-table thead button{cursor:pointer}
@media(min-width:768px){#cloudMain:not(:has(.file-grid.grid-view)) #sortSelectTrigger,#fileCard:not(.share-grid-view) #shareSortTrigger{display:none!important}}
.toolbar-menu{position:fixed!important;inset:auto;margin:0!important;padding:6px!important;min-width:0!important;max-width:calc(100vw - 24px);box-sizing:border-box;border:1px solid var(--c-border2,var(--border));border-radius:10px!important;background:var(--c-surface2,var(--surface));color:var(--c-text,var(--text));box-shadow:0 12px 32px #0004;overflow:auto;overscroll-behavior:contain;z-index:10000;user-select:none;animation:none!important}
.toolbar-menu::before,.toolbar-menu::after{display:none!important}
.toolbar-menu [role="option"]{display:flex;align-items:center;gap:12px;width:100%;min-height:36px;padding:8px 12px;border:0;border-radius:6px;background:transparent;color:inherit;font:400 13px/1.4 var(--font);text-align:left;cursor:pointer;white-space:normal;user-select:none;outline:none}
.toolbar-menu [role="option"]:hover,.toolbar-menu [role="option"]:focus{background:var(--c-hover,var(--hover))}
.toolbar-menu [role="option"][aria-selected="true"],.toolbar-menu [role="option"].active{background:var(--c-accent-subtle,rgba(37,99,235,.15));color:var(--c-text,var(--text))}
.toolbar-menu [role="option"][aria-selected="true"]::after,.toolbar-menu [role="option"].active::after{content:'✓';margin-left:auto;color:var(--c-accent,#60a5fa)}
.toolbar-menu .filter-count{margin-left:auto}
.toolbar-actions select[hidden]{display:none!important}
.toolbar-sort-trigger{display:flex;align-items:center;min-width:160px;max-width:260px;height:32px;padding:0 40px 0 14px!important;border:1px solid var(--c-border,var(--border));border-radius:20px;background-color:transparent;color:var(--c-text,var(--text));font:400 13px/1.4 var(--font);text-align:left;cursor:pointer;user-select:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%238a93a0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-size:16px;background-repeat:no-repeat;background-position:right 12px center}
.toolbar-sort-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.toolbar-sort-trigger:focus-visible{outline:none;border-color:var(--c-text3,var(--text3))}
html .cloud-toolbar .filter-chip,html .cloud-toolbar .toolbar-sort-trigger{box-sizing:border-box;height:36px;min-height:36px;border:1px solid var(--c-border,var(--border));border-radius:20px;background-color:rgba(255,255,255,.04);color:var(--c-text2,var(--text2));font-size:.82rem;font-weight:400;line-height:20px}
html .cloud-toolbar .toolbar-sort-trigger{flex:0 0 auto;min-width:0;max-width:min(260px,calc(100vw - 48px));justify-content:flex-start;text-align:left;padding:7px 36px 7px 16px!important}
html .cloud-toolbar .filter-chip.active{background-color:rgba(37,99,235,.18);color:#60a5fa;border-color:rgba(37,99,235,.5)}
@media(max-width:767px){html .cloud-toolbar .filter-chip,html .cloud-toolbar .toolbar-sort-trigger{height:44px;min-height:44px}}
