.twsr-drag-list{flex-direction:column;gap:8px;min-width:0;display:flex}.twsr-drag-row{min-width:0;position:relative}.twsr-drag-row.is-dragging{opacity:.3}.twsr-drag-row[hidden]{display:none}.twsr-drag-row.is-drop-inside>.ml-folder-row,.twsr-drag-root.is-drop-inside>.ml-folder-row{color:#12374b;outline-offset:-2px;background:#b6dcf0;outline:2px solid #268ac0}.twsr-drag-drop-line{pointer-events:none;background:#0877d1;border-radius:2px;height:4px;margin-block:6px;position:relative;box-shadow:0 0 0 1px #fff}.twsr-drag-drop-line:before{content:"";background:#0877d1;border-radius:50%;width:10px;height:10px;position:absolute;top:-3px;left:-4px}.twsr-drag-handle{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;min-height:36px;color:var(--theme-elevation-650);flex:0 0 30px;line-height:1;cursor:grab!important;background:0 0!important;border:0!important;padding:4px!important;font-size:22px!important}.twsr-drag-handle:active{cursor:grabbing!important}.twsr-drag-handle:focus-visible{outline-offset:-2px;outline:2px solid #0877d1}.twsr-drag-sr{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.twsr-taxonomy-panel{position:relative}.twsr-taxonomy-panel>summary{padding-left:42px!important;padding-right:52px!important}.twsr-taxonomy-panel>summary>.twsr-drag-handle{z-index:1;position:absolute;top:5px;left:5px}.twsr-taxonomy-panel .twsr-taxonomy-organize{color:#0877d1;cursor:pointer;background:0 0;border:0;padding:3px 6px;font-size:12px;position:absolute;top:10px;right:8px}.twsr-taxonomy-editor{flex-direction:column;gap:16px;min-width:0;display:flex}.twsr-taxonomy-editor button,.twsr-taxonomy-editor input,.twsr-taxonomy-dialog>header button{font:inherit}.twsr-taxonomy-editor button{cursor:pointer;border:1px solid var(--theme-elevation-250);background:var(--theme-elevation-0);color:var(--theme-text);border-radius:5px;padding:8px 13px}.twsr-taxonomy-editor button:disabled{opacity:.5;cursor:default}.twsr-taxonomy-editor__tools,.twsr-taxonomy-editor__new{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.twsr-taxonomy-editor__tools span{color:var(--theme-elevation-650);flex:1;min-width:180px;font-size:13px}.twsr-taxonomy-editor__new input{border:1px solid var(--theme-elevation-250);background:var(--theme-input-bg);min-width:150px;color:var(--theme-text);border-radius:5px;flex:1;padding:10px}.twsr-taxonomy-menu-item{border:1px solid var(--theme-elevation-250);background:var(--theme-elevation-0);border-radius:6px;align-items:center;gap:8px;min-width:150px;padding:9px 12px 9px 4px;display:flex;box-shadow:0 1px 2px #00000006}.twsr-taxonomy-menu-item>input{min-width:50px;color:var(--theme-text);font:inherit;background:0 0;border:1px solid #0000;border-radius:4px;flex:1;padding:8px}.twsr-taxonomy-menu-item>input:hover,.twsr-taxonomy-menu-item>input:focus{background:var(--theme-input-bg);border-color:var(--theme-elevation-250)}.twsr-taxonomy-child{color:var(--theme-elevation-650);white-space:nowrap;font-size:12px}.twsr-taxonomy-item-menu{position:relative}.twsr-taxonomy-item-menu>summary{cursor:pointer;padding:6px;font-size:22px;line-height:1;list-style:none}.twsr-taxonomy-item-menu>summary::-webkit-details-marker{display:none}.twsr-taxonomy-item-menu>div{border:1px solid var(--theme-elevation-250);background:var(--theme-elevation-0);z-index:5;border-radius:5px;gap:4px;min-width:110px;padding:6px;display:grid;position:absolute;top:100%;right:0;box-shadow:0 6px 18px #0002}.twsr-taxonomy-item-menu a{color:var(--theme-text);padding:8px;font-size:13px;text-decoration:none}.twsr-taxonomy-editor__list{min-width:0;padding:4px 8px 40px 4px;overflow-x:auto}.twsr-taxonomy-editor__footer{background:var(--theme-elevation-0);border-top:1px solid var(--theme-elevation-200);z-index:6;justify-content:flex-end;align-items:center;gap:10px;padding:14px 0;display:flex;position:sticky;bottom:0}.twsr-taxonomy-editor__footer>span{color:var(--theme-elevation-650);flex:1;font-size:13px}.twsr-taxonomy-editor .twsr-taxonomy-primary{color:#fff;background:#0865c4;border-color:#0865c4}.twsr-taxonomy-error{color:var(--theme-error-600)}.twsr-taxonomy-dialog{width:min(1000px,100vw - 48px);max-height:88dvh;color:var(--theme-text);background:var(--theme-elevation-0);border:1px solid var(--theme-elevation-250);border-radius:10px;padding:0;box-shadow:0 16px 70px #0004}.twsr-taxonomy-dialog::backdrop{background:#071b2b80}.twsr-taxonomy-dialog>header{border-bottom:1px solid var(--theme-elevation-200);background:var(--theme-elevation-0);z-index:6;justify-content:space-between;align-items:center;gap:12px;padding:18px 24px;display:flex;position:sticky;top:0}.twsr-taxonomy-dialog>header h2{margin:0;font-size:20px}.twsr-taxonomy-dialog>header button{color:inherit;cursor:pointer;background:0 0;border:0;font-size:25px}.twsr-taxonomy-dialog>.twsr-taxonomy-editor{padding:20px 24px 0}@media (max-width:768px){.twsr-taxonomy-dialog{width:calc(100vw - 16px);max-height:94dvh}.twsr-taxonomy-dialog>header,.twsr-taxonomy-dialog>.twsr-taxonomy-editor{padding-inline:14px}.twsr-taxonomy-child{white-space:normal;max-width:54px}.twsr-taxonomy-menu-item{gap:3px;padding-right:5px}}.twsr-taxonomy-panel>summary{position:relative}.twsr-taxonomy-dialog .twsr-taxonomy-item-menu{background:0 0;border:0;margin:0;padding:0}.twsr-taxonomy-dialog .twsr-taxonomy-item-menu>summary{padding:6px;font-weight:400}
.media-library-page{padding:24px var(--gutter-h,24px);min-width:0}.media-library-page>h1{margin:0 0 20px}.ml-workspace{--ml-bg:var(--theme-elevation-0,#fff);--ml-line:var(--theme-elevation-150,#d4d9de);--ml-hover:var(--theme-elevation-100,#edf2f5);--ml-selected:var(--theme-elevation-200,#dce5eb);--ml-text:var(--theme-text,#202830);border:1px solid var(--ml-line);background:var(--ml-bg);min-width:0;max-width:100%;height:min(780px,100dvh - 160px);min-height:400px;color:var(--ml-text);isolation:isolate;border-radius:8px;font:14px/1.5 system-ui,sans-serif;display:flex;position:relative}.ml-workspace *,.ml-dialog *{box-sizing:border-box}.ml-workspace button,.ml-workspace input,.ml-workspace select,.ml-workspace textarea,.ml-dialog>header button,.ml-dialog>footer button{font:inherit;color:inherit}.ml-workspace button,.ml-workspace select,.ml-dialog>header button,.ml-dialog>footer button{border:1px solid var(--ml-line,#d4d9de);background:var(--ml-bg,white);cursor:pointer;border-radius:5px;margin:0;padding:7px 10px}.ml-workspace button:disabled{opacity:.45;cursor:default}.ml-workspace input:not([type=file]),.ml-workspace textarea{border:1px solid var(--ml-line);background:var(--ml-bg);min-width:0;max-width:100%;color:inherit;border-radius:5px;padding:8px}.ml-workspace button:focus-visible,.ml-workspace input:focus-visible,.ml-workspace select:focus-visible{outline-offset:2px;outline:2px solid #258bce}.ml-sidebar{border-right:1px solid var(--ml-line);flex:0 0 280px;width:280px;min-width:0;padding:12px 8px;overflow:auto}.ml-sidebar-heading{justify-content:space-between;align-items:center;gap:6px;margin-bottom:10px;display:flex}.ml-sidebar-heading strong{white-space:nowrap;font-size:17px}.ml-folder-tools{flex-wrap:wrap;gap:4px;padding-bottom:12px;display:flex}.ml-folder-tools button,.ml-folder-tools select{min-width:0;padding:5px;font-size:12px}.ml-collapse{z-index:2;width:22px;position:absolute;top:50%;left:269px;padding:10px 0!important}.is-collapsed>.ml-sidebar{display:none}.is-collapsed>.ml-collapse{left:0}.ml-folder-row{border-radius:4px;align-items:center;gap:3px;width:100%;min-width:0;min-height:34px;padding:4px 8px;display:flex}.ml-workspace button.ml-folder-row{text-align:left;border:0}.ml-folder-row>span:first-child:not(.ml-tree-arrow){text-align:left;flex:1}.ml-folder-row small{opacity:.75;flex:none;margin-left:auto;padding-left:6px}.ml-folder-row.is-selected{background:var(--ml-selected)}.ml-folder-row:hover{background:var(--ml-hover)}.ml-folder-row.is-drop{color:#12374b;outline-offset:-2px;background:#b6dcf0;outline:2px solid #268ac0}.ml-workspace .ml-folder-name{text-overflow:ellipsis;white-space:nowrap;text-align:left;background:0 0;border:0;flex:1;min-width:0;padding:3px 0;overflow:hidden}.ml-workspace .ml-tree-arrow{background:0 0;border:0;flex:0 0 18px;justify-content:center;align-items:center;width:18px;height:24px;padding:0;display:inline-flex}.ml-folder-search{width:100%;margin:10px 0}.ml-folder-editor{align-items:center;gap:4px;padding:4px 0;display:flex}.ml-folder-input{flex:1;min-width:0}.ml-folder-editor button{flex:none}.ml-context{z-index:10;background:var(--ml-bg);border:1px solid var(--ml-line);border-radius:6px;width:180px;padding:6px;display:grid;position:fixed;box-shadow:0 5px 24px #0004}.ml-context button{text-align:left;border:0}.ml-context button:hover{background:var(--ml-hover)}.ml-main{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.ml-toolbar,.ml-batch{border-bottom:1px solid var(--ml-line);flex-wrap:wrap;flex:none;align-items:center;gap:8px;padding:12px;display:flex}.ml-toolbar select{min-width:0;max-width:100%}.ml-toolbar input[type=search]{flex:180px;width:180px}.ml-batch{background:var(--ml-hover)}.ml-batch select{min-width:0;max-width:230px}.ml-files{overscroll-behavior:contain;flex:1;min-height:0;padding:16px;position:relative;overflow:auto}.ml-files.is-file-drop{outline-offset:-5px;background:var(--ml-hover);outline:3px dashed #268ac0}.ml-grid{grid-template-columns:repeat(auto-fill,minmax(min(150px,100%),1fr));gap:16px;display:grid}.ml-workspace .ml-tile{touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:0 0;border:0;flex-direction:column;gap:5px;min-width:0;padding:0;display:flex}.ml-thumbnail{aspect-ratio:1;background:var(--ml-hover);border:2px solid #0000;border-radius:5px;place-items:center;width:100%;display:grid;position:relative;overflow:hidden}.ml-thumbnail img{object-fit:cover;pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.ml-tile.is-selected .ml-thumbnail{border-color:#2388c3;box-shadow:0 0 0 2px #2388c3}.ml-filename{text-overflow:ellipsis;white-space:nowrap;text-align:center;width:100%;font-size:12px;display:block;overflow:hidden}.ml-file-icon{opacity:.6;font-size:40px}.ml-check{color:#176a9a;background:#fff;border:1px solid #8899a6;border-radius:4px;width:23px;height:23px;font-weight:700;position:absolute;top:5px;right:5px}.ml-empty{text-align:center;border:2px dashed var(--ml-line);cursor:pointer;border-radius:8px;place-content:center;min-height:280px;padding:20px;display:grid}.ml-empty>span{opacity:.5;font-size:72px;line-height:1}.ml-loading{text-align:center}.ml-sentinel{height:1px}.ml-error{color:#b42318;white-space:pre-wrap;overflow-wrap:anywhere;max-height:120px;margin:0;padding:8px 12px;overflow:auto}.ml-progress{overflow-wrap:anywhere;margin:0;padding:8px 12px}.ml-toast{z-index:12;color:#fff;overflow-wrap:anywhere;background:#173e32;border-radius:7px;max-width:calc(100% - 32px);padding:12px 18px;position:absolute;bottom:16px;right:16px;box-shadow:0 4px 20px #0003}.ml-details-backdrop{z-index:1001;background:#0005;justify-content:flex-end;display:flex;position:fixed;inset:0}.ml-details{background:var(--ml-bg);flex-direction:column;gap:14px;width:min(460px,100%);height:100dvh;padding:20px;animation:.16s ease-out ml-slide-in;display:flex;overflow-y:auto;box-shadow:-8px 0 32px #0003}@keyframes ml-slide-in{0%{transform:translate(100%)}to{transform:translate(0)}}.ml-details header{justify-content:space-between;align-items:center;gap:10px;display:flex}.ml-details h2{margin:0;font-size:20px}.ml-details label{flex-direction:column;gap:5px;display:flex}.ml-details select,.ml-details textarea{width:100%}.ml-details textarea{resize:vertical;min-height:80px}.ml-preview{object-fit:contain;background:var(--ml-hover);width:100%;max-height:340px}.ml-wrap{overflow-wrap:anywhere}.ml-actions{flex-wrap:wrap;gap:8px;display:flex}.ml-mobile-folder{display:none}.ml-overlay{z-index:10000;width:100%;max-width:none;height:100dvh;max-height:none;color:var(--theme-text,#202830);background:#0007;border:0;place-items:center;margin:0;padding:20px;font:14px/1.5 system-ui,sans-serif;display:grid;position:fixed;inset:0}.ml-overlay::backdrop{background:0 0}.ml-dialog{background:var(--theme-elevation-0,white);border-radius:8px;outline:0;flex-direction:column;width:min(1200px,100%);height:min(850px,94dvh);min-height:0;display:flex;overflow:hidden;box-shadow:0 15px 70px #0005}.ml-dialog>header,.ml-dialog>footer{flex:none;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.ml-dialog>header h2{margin:0;font-size:20px}.ml-dialog>.ml-workspace{border-left:0;border-right:0;border-radius:0;flex:1;height:auto;min-height:0}.ml-dialog>footer button:disabled{opacity:.45;cursor:default}@media (max-width:768px){.media-library-page{padding:12px}.ml-workspace{flex-direction:column;height:calc(100dvh - 140px);min-height:340px}.ml-mobile-folder{border-bottom:1px solid var(--ml-line);padding:8px;display:block}.ml-mobile-folder button{text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;overflow:hidden}.ml-sidebar,.is-collapsed>.ml-sidebar{border-right:0;border-bottom:1px solid var(--ml-line);flex:none;width:100%;max-height:45dvh;display:none}.ml-sidebar.is-open,.is-collapsed>.ml-sidebar.is-open{display:block}.ml-collapse{display:none}.ml-toolbar{gap:6px;padding:8px}.ml-toolbar button,.ml-toolbar select{padding:6px;font-size:12px}.ml-toolbar input[type=search]{flex-basis:100%;width:100%}.ml-files{padding:10px}.ml-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ml-batch{z-index:100;padding:10px 10px calc(10px + env(safe-area-inset-bottom));gap:6px;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 20px #0002}.ml-batch>strong{flex:1 0 100%}.ml-batch button,.ml-batch select{padding:6px;font-size:12px}.ml-batch select{max-width:min(180px,46vw)}.ml-main:has(.ml-batch) .ml-files{padding-bottom:160px}.ml-main:has(.ml-batch)~.ml-toast{bottom:145px}.ml-toast{bottom:8px;right:8px}.ml-details{padding:14px}.ml-overlay{padding:6px}.ml-dialog{width:100%;height:98dvh}.ml-dialog>header,.ml-dialog>footer{padding:10px}}.ml-workspace:has(>.ml-save-actions){padding-bottom:80px}.ml-save-actions{max-height:80px;position:absolute;bottom:0;left:0;right:0;overflow:auto}.ml-save-actions .twsr-save-bar{padding:10px;position:static}.ml-grid{grid-template-columns:repeat(auto-fill,minmax(min(118px,100%),1fr));gap:8px}.ml-workspace .ml-primary,.ml-dialog .ml-primary{color:#fff;background:#087966;border-color:#087966}.ml-workspace{border-radius:12px;box-shadow:0 3px 12px #163c2710}.ml-batch>button:first-of-type,.ml-folder-tools>button:nth-child(2){color:#c03939}@media (max-width:767px){.ml-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.ml-details-backdrop{--ml-bg:var(--theme-elevation-0,#fff);--ml-line:var(--theme-elevation-150,#d4d9de);--ml-hover:var(--theme-elevation-100,#edf2f5);z-index:10001;color:var(--theme-text,#202830)}.ml-details :is(button,input,select,textarea){font:inherit;color:inherit;border:1px solid var(--ml-line);background:var(--ml-bg);border-radius:6px;padding:8px}.ml-folder-tree .twsr-drag-list{gap:3px}.ml-folder-tree .ml-folder-name{touch-action:pan-y;cursor:grab}.ml-workspace .ml-folder-more{background:0 0;border:0;flex:none;padding:0 5px;font-size:20px}.ml-folder-destination{background:var(--ml-bg);border-radius:8px;gap:6px;width:min(420px,100%);max-height:80dvh;padding:16px;display:grid;overflow:auto}.ml-folder-destination button{text-align:left;overflow-wrap:anywhere}.ml-dialog.ml-confirm{width:min(680px,100%);height:auto;max-height:90dvh}.ml-confirm-body{padding:0 16px;overflow:auto}.ml-confirm-body a{overflow-wrap:anywhere}.ml-replace-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.ml-replace-preview figure{overflow-wrap:anywhere;min-width:0;margin:0}.ml-replace-warning{color:var(--theme-error-600,#b42318)}.ml-details .ml-replace-button{color:#202830;background:#fff;border:1px solid #d4d9de}
