.md-workspace{max-width:none}.md-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}.md-heading h1{font-size:28px;line-height:1.35;margin:0}.md-heading p{font-size:13px;color:#737781;margin:8px 0 0}.md-heading .btn{min-height:40px}.md-drive{display:grid;grid-template-columns:208px minmax(0,1fr);background:white;border:1px solid #e5e6eb;border-radius:12px;min-height:590px;overflow:hidden}.md-sidebar{background:#fafbfe;border-right:1px solid #e9ebf1;padding:22px 12px}.md-directory{display:flex;flex-direction:column;gap:4px}.md-nav-item{display:flex;align-items:center;gap:10px;min-height:40px;padding:9px 10px 9px calc(10px + var(--depth,0)*14px);background:none;border:0;border-radius:7px;color:#4e5969;text-align:left;font-size:13px;cursor:pointer;min-width:0}.md-nav-item svg{width:19px;height:19px;flex:none;color:#7a8395}.md-nav-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.md-nav-item.active{background:#edf0fc;color:#d2393e;font-weight:600}.md-nav-item.active svg{color:#d2393e}.md-nav-item:hover{background:#f0f2f8}.md-nav-heading{display:flex;align-items:center;justify-content:space-between;padding:24px 10px 8px;color:#86909c;font-size:11px}.md-nav-heading button{border:0;background:none;color:#737e97;font-size:20px;cursor:pointer}.md-directory>p{font-size:11px!important;color:#959ba8!important;line-height:1.8;margin:32px 10px 0!important}.md-main{min-width:0;padding:22px 24px 0}.md-searchbar{display:flex;gap:10px;align-items:center}.md-searchbar [data-md=drawer]{display:none}.md-searchbar form{width:min(100%,540px);position:relative;display:flex;align-items:center;background:#f5f6fa;border:1px solid transparent;border-radius:8px;padding:0 5px 0 13px;height:42px;gap:10px}.md-searchbar form:focus-within{border-color:#a5afe6;background:white}.md-searchbar svg{width:18px;height:18px;color:#8a93a4;flex:none}.md-searchbar input{width:100%;min-width:0;background:none;border:0;outline:0!important;color:#1d2129;font:inherit;font-size:13px}.md-searchbar form button{border:0;background:white;box-shadow:0 1px 3px #1520440b;border-radius:5px;padding:6px 13px;color:#d2393e;font-size:12px;white-space:nowrap;cursor:pointer}.md-breadcrumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-height:62px;padding:12px 0;font-size:12px;color:#9ca3b1}.md-breadcrumb .btn{border:0;background:none;box-shadow:none;padding:4px 0;min-height:28px;font-size:12px;color:#626d80;max-width:100%;white-space:normal;overflow-wrap:anywhere}.md-breadcrumb .btn:last-child{color:#1d2129}.md-breadcrumb strong{font-weight:500;color:#1d2129}.md-folder-actions{margin-left:auto;display:flex;gap:14px}.md-folder-actions .btn{font-size:11px;color:#8590a1}.md-types{display:flex;gap:24px;align-items:center;border-bottom:1px solid #eceef3;padding:0;margin-bottom:4px;min-height:44px}.md-types button{border:0;background:none;color:#667184;font:inherit;font-size:13px;padding:12px 1px;position:relative;cursor:pointer}.md-types button.active{color:#d2393e;font-weight:600}.md-types button.active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#d2393e}.md-types>span{margin-left:auto;color:#959ba7;font-size:11px;white-space:nowrap}.md-file-table{width:100%;min-width:0}.md-table-head,.md-file-row{display:grid;grid-template-columns:minmax(0,1fr) 100px 75px 48px 85px;align-items:center;gap:12px}.md-table-head{min-height:43px;color:#939aa7;font-size:11px;border-bottom:1px solid #eceef3}.md-table-head>div{display:flex;align-items:center;gap:12px}.md-file-row{min-height:73px;border-bottom:1px solid #f0f1f5}.md-file-row:hover{background:#fafbfe}.md-name-cell{min-width:0;display:flex;align-items:center;gap:12px}.md-file-row input,.md-table-head input{margin:0;width:15px;height:15px;accent-color:#d2393e;flex:none;cursor:pointer}.md-check-space{width:15px;flex:none}.md-file-icon{width:34px;height:39px;display:flex;align-items:center;justify-content:center;border-radius:6px;background:#f4f5f8;color:#8791a4;flex:none}.md-file-icon svg{width:23px;height:23px}.md-image{color:#6678b7;background:#edf0fa}.md-audio{color:#a18e79;background:#f7f3ef}.md-video{color:#778e9b;background:#eef3f5}.md-file-name{border:0;background:none;color:#1d2129;text-align:left;padding:6px 0;min-width:0;flex:1;cursor:pointer;display:flex;flex-direction:column;gap:6px}.md-file-name strong{font-size:13px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%}.md-file-name small{color:#8d96a5;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.md-size,.md-version{font-size:11px;color:#828d9e}.md-status .ma-badge{font-size:10px;padding:3px 6px}.md-row-actions{display:flex;gap:12px;justify-content:flex-end}.md-row-actions button,.md-footer button{border:0;background:none;padding:6px 0;font-size:11px;color:#d2393e;cursor:pointer}.md-folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;padding:16px 0}.md-folder-grid button{display:flex;align-items:center;gap:12px;min-height:64px;border:1px solid #eceef4;border-radius:8px;background:white;padding:12px;text-align:left;color:#48546a;font-size:13px;cursor:pointer;min-width:0}.md-folder-grid button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.md-folder-grid svg{width:30px;height:30px;color:#8b9bd6;flex:none}.md-footer{min-height:48px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;color:#9aa2af}.md-empty{padding:60px 16px;text-align:center;color:#8b95a5}.md-empty>svg{width:42px;height:42px;color:#a5b0cc}.md-empty h2{font-size:16px;margin:18px 0 9px;color:#5c687c;font-weight:500}.md-empty p{font-size:12px;margin:0 0 20px}.md-selection,.md-search-summary{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:12px;background:#f3f5fd;padding:8px 12px;margin:8px 0;color:#d2393e;border-radius:6px}.md-selection .btn,.md-search-summary .btn{background:none;border:0;box-shadow:none;min-height:26px;padding:3px 0;color:#d2393e;font-size:12px}.md-dialog .md-directory{min-width:0}.md-dialog .md-nav-item{min-height:44px}.md-modal-hint{font-size:13px;color:#7b8493;line-height:1.8;overflow-wrap:anywhere}.md-dialog #md-error{color:#b45f50;font-size:13px;line-height:1.8}.md-dialog .ma-field{margin-top:18px}.md-searchbar .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@container(max-width:1100px){.md-drive{grid-template-columns:180px minmax(0,1fr)}.md-main{padding:18px 18px 0}.md-table-head,.md-file-row{grid-template-columns:minmax(0,1fr) 80px 70px;gap:10px}.md-table-head>:nth-child(3),.md-table-head>:nth-child(4),.md-size,.md-version{display:none}.md-types{gap:20px}}
@container(max-width:760px){.md-sidebar{display:none}.md-drive{display:block;min-height:480px}.md-searchbar [data-md=drawer]{display:flex;align-items:center;gap:5px;padding:6px 9px;min-height:40px;flex:none;border-color:#e7eaf1;font-size:12px}.md-searchbar [data-md=drawer] svg{width:16px}.md-searchbar form{flex:1;width:auto}.md-heading{margin-bottom:16px}.md-heading h1{font-size:24px}.md-heading p{font-size:12px}.md-heading .ma-actions{gap:8px}.md-main{padding:16px 16px 0}.md-types>span{display:none}.md-breadcrumb{min-height:52px;gap:7px}.md-folder-actions{gap:10px}.md-types{gap:22px}}
@container(max-width:520px){.md-heading{align-items:flex-start;gap:10px;flex-wrap:wrap;margin-bottom:14px}.md-heading h1{font-size:23px}.md-heading p{display:none}.md-heading .btn{min-height:36px;padding:7px 10px;font-size:11px}.md-drive{border-radius:10px}.md-main{padding:12px 12px 0}.md-searchbar{gap:7px}.md-searchbar form{height:40px;padding-left:9px;gap:6px}.md-searchbar input{font-size:16px;width:100%}.md-searchbar form button{font-size:11px;padding:5px 8px}.md-table-head{display:none}.md-file-row{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:1px 8px;padding:12px 0;min-height:78px}.md-name-cell{grid-column:1;grid-row:1 / 3;gap:8px}.md-file-icon{width:28px;height:34px}.md-file-icon svg{width:20px;height:20px}.md-file-name strong{font-size:12px}.md-file-name small{font-size:10px}.md-row-actions{grid-column:2;grid-row:2;gap:10px}.md-status{grid-column:2;grid-row:1;justify-self:end}.md-file-row input{width:16px;height:16px}.md-types{justify-content:space-between;gap:8px}.md-types button{font-size:12px;min-height:42px}.md-breadcrumb .btn{font-size:11px}.md-folder-actions{width:100%;margin-left:0;justify-content:flex-end}.md-folder-actions:empty{display:none}.md-folder-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px 0}.md-folder-grid button{min-height:55px;padding:10px;gap:8px;font-size:12px}.md-folder-grid svg{width:24px;height:24px}.md-footer{font-size:9px}.md-dialog input,.md-dialog select{font-size:16px}.md-dialog .md-nav-item{padding-block:12px}.md-selection{gap:14px}.md-selection .btn{min-height:32px}.md-file-row input{align-self:center}}

@container(max-width:520px){.md-folder-actions{width:auto;margin-left:auto}.md-row-actions{gap:4px}.md-row-actions button{min-width:34px;min-height:40px}.md-file-row{padding-block:8px}.md-status .ma-badge{white-space:nowrap}}

/* Attach the material browser directly to the workspace content area. */
.app[data-workspace-page=assets][data-workspace-shell=true] main{padding:0}
.app[data-workspace-page=assets] main>.page{max-width:none;margin:0;min-height:100%;height:100%}
.app[data-workspace-page=assets] .md-workspace{max-width:none;min-height:100%;height:100%;padding:0}
.app[data-workspace-page=assets] .md-heading{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
.app[data-workspace-page=assets] .md-drive{border:0;border-radius:0;min-height:100%;height:100%;overflow:visible}
.app[data-workspace-page=assets] .md-sidebar{border-right:1px solid #e8ebf2}
.md-top-actions{display:flex;gap:8px;margin-left:auto;align-items:center;flex:none}
.md-top-actions .btn{min-height:40px;font-size:12px;padding:8px 13px}
.md-searchbar form{flex:1;min-width:0}
@container(max-width:760px){.md-searchbar{flex-wrap:wrap}.md-searchbar form{min-width:100px}.md-top-actions .btn{font-size:11px;min-height:38px;padding:7px 10px}.app[data-workspace-page=assets] .md-drive{min-height:100%}}
@container(max-width:520px){.md-top-actions{gap:5px}.md-top-actions .btn{padding:6px 7px;font-size:10px;min-height:36px}.md-searchbar{gap:5px;flex-wrap:nowrap}.md-searchbar [data-md=drawer]{padding:6px;gap:0;min-width:32px;font-size:0}.md-searchbar [data-md=drawer] svg{width:18px;height:18px}.md-searchbar form{min-width:0;height:38px;gap:4px;padding-left:7px}.md-searchbar form>button{padding:5px 4px;font-size:10px}.md-searchbar form>svg{width:15px;height:15px}.md-searchbar input{font-size:16px}.app[data-workspace-page=assets] .md-main{padding:12px 10px 0}.app[data-workspace-page=assets] .md-footer{padding-bottom:env(safe-area-inset-bottom)}}

@container(max-width:520px){.md-top-actions .btn{font-size:11px;min-height:38px}.md-searchbar form>svg{display:none}}

.md-no-granted-folders{display:block;font-size:11px;color:#9299a5;padding:9px 14px}.md-authorized-note{font-size:11px;color:#7c8798;line-height:1.6}.md-directory .md-nav-heading:has(+button[data-id^="grant-"]){border-top:1px solid #e6eaf0;margin-top:16px;padding-top:20px}

/* Keep directory and file scrolling inside their own keyboard-accessible panes. */
.app[data-workspace-page=assets][data-workspace-shell=true] main{overflow:hidden}
.app[data-workspace-page=assets] main>.page,
.app[data-workspace-page=assets] .md-workspace{min-height:0}
.app[data-workspace-page=assets] .md-drive{min-height:0;grid-template-rows:minmax(0,1fr);overflow:hidden}
.app[data-workspace-page=assets] :is(.md-sidebar,.md-main){height:100%;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.app[data-workspace-page=assets] .md-main{padding-bottom:24px}
