.materials-main{width:100%;min-width:0;max-width:1440px;margin:0 auto;padding:28px!important;overflow:auto}
.ml-draft-save{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;margin:8px 0}.ml-draft-save button{border:1px solid #dedfe3;border-radius:8px;background:#fff;color:#24262b;font:inherit;font-size:13px;padding:8px 10px;min-height:36px;cursor:pointer}.ml-draft-save button:disabled{opacity:.5;cursor:wait}.ml-draft-save span{display:block;font-size:12px;line-height:1.6;color:#616773;overflow-wrap:anywhere}
.ml-angle-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.ml-angle-compare figure{margin:0;min-width:0}.ml-angle-compare img{width:100%;height:220px!important;margin:0;background:#f0f1f3;border-radius:10px}.ml-angle-compare figcaption{font-size:13px;color:#616773;margin-top:6px}.ml-used-badge{display:inline-block;margin-top:8px;padding:4px 8px;border-radius:6px;background:#eceef1;color:#525865;font-size:12px}.ml-image-viewer{width:min(1100px,calc(100vw - 24px))}.ml-image-viewer>img{display:block;max-width:100%;height:auto;margin:12px auto 0}.ml-upload-name{display:block;margin:16px 0;font-size:14px}.ml-upload-dialog input{display:block;width:100%;box-sizing:border-box;font:inherit;font-size:16px;padding:10px;border:1px solid #dedfe3;border-radius:8px;background:#fff;color:#24262b}.ml-upload-dialog input:read-only{background:#f0f1f3}.ml-upload-items{display:grid;gap:16px}.ml-upload-item{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-top:1px solid #dedfe3;padding-top:16px}.ml-upload-item>img{width:88px;height:100px;object-fit:contain;background:#f0f1f3;border-radius:8px}.ml-upload-item>audio{max-width:100%;width:240px}.ml-upload-item>div{flex:1;min-width:120px}.ml-upload-item p{overflow-wrap:anywhere;font-size:13px;margin:0 0 8px}.ml-upload-item label{font-size:13px}.ml-upload-item small{color:#525865}.ml-picker-footer .ml-help{margin-bottom:8px}
@media(max-width:520px){.ml-angle-compare img{height:150px!important}.ml-angle-compare{gap:8px}.ml-angle-compare button{padding:7px!important;font-size:12px!important}}
.ml-picker-head h2{min-width:0;overflow-wrap:anywhere}.ml-picker-head>button{flex:none}.ml-angle-dialog [data-source],.ml-angle-dialog .ml-status{overflow-wrap:anywhere}.ml-actions input[type=checkbox]{flex:none;padding:0;min-width:18px;box-sizing:border-box}.ml-picker button,.materials-main button{white-space:normal;overflow-wrap:anywhere;min-height:36px}.ml-picker,.ml-name-dialog{box-sizing:border-box}.ml-picker-footer{z-index:1}
.ml-profile-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}.ml-profile-tools:empty{display:none}.ml-profile-tools h2{font-size:18px;font-weight:600;overflow-wrap:anywhere;margin:0 auto 0 0;max-width:100%}.ml-picker-footer{position:sticky;bottom:-24px;padding:16px 0 8px;background:white;text-align:right}.ml-actions label{font-size:14px;display:flex;align-items:center;min-height:36px;cursor:pointer}.ml-actions input[type=checkbox]{width:18px;height:18px;accent-color:#24262b}.ml-angle-dialog select{font:inherit;font-size:16px;max-width:100%;padding:9px;border:1px solid #dedfe3;border-radius:8px;background:white}.ml-angle-job{border-top:1px solid #dedfe3;padding:16px 0}.ml-angle-job h3{font-size:15px;font-weight:600}.ml-angle-job img{display:block;max-width:100%;max-height:320px;object-fit:contain;margin:12px 0}.ml-angle-job p{font-size:13px;line-height:1.7;color:#616773}.ml-angle-job button{margin:8px 0}.ml-angle-jobs{margin-top:16px}
.ml-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.ml-heading h1{font-size:20px;font-weight:600;margin:0 0 10px}.ml-heading p,.ml-help{color:#616773;font-size:13px;line-height:1.7;margin:0}
.materials-main button,.ml-picker button,.ml-name-dialog button{font:inherit;font-size:14px;cursor:pointer;border:1px solid #dedfe3;border-radius:9px;background:white;color:#24262b;padding:9px 14px}.materials-main button:disabled,.ml-picker button:disabled{opacity:.5;cursor:wait}.materials-main .ml-primary,.ml-picker .ml-primary{background:#24262b;color:#fff;border-color:#24262b}
.ml-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e1e3e8;padding-bottom:14px;margin-bottom:16px}.ml-toolbar [role=group]{display:flex;gap:6px;flex-wrap:wrap}.ml-toolbar button{border-color:transparent;background:transparent}.ml-toolbar button[aria-pressed=true]{background:#e9eaed;border-color:#e1e3e8;font-weight:500}
.ml-toolbar input,.ml-name-dialog input{width:220px;max-width:100%;background:#fff;border:1px solid #dedfe3;border-radius:9px;padding:10px 12px;font:inherit;font-size:14px;color:#24262b}.ml-help{max-width:780px}.ml-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:22px;margin-top:22px}.ml-card{min-width:0;overflow:hidden}.ml-preview{height:210px;background:#f0f1f3;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden}.ml-preview img{width:100%;height:100%;object-fit:contain}.ml-preview audio{width:100%;max-width:100%;padding:8px}.ml-card h3{font-size:14px;font-weight:500;margin:12px 0 5px;overflow-wrap:anywhere}.ml-card small{font-size:12px;color:#616773}.ml-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.ml-actions button{padding:7px 12px;font-size:13px}.ml-empty{padding:70px 12px;text-align:center;color:#616773;font-size:14px}.ml-grid+.ml-empty[hidden]{display:none}
#ml-status{min-height:20px;font-size:13px;color:#525865;line-height:1.6;margin-top:12px}.ml-name-dialog,.ml-picker{border:1px solid #e1e3e8;border-radius:16px;padding:24px;color:#24262b;background:#fff;max-height:85dvh;overflow:auto;max-width:calc(100vw - 24px)}.ml-name-dialog::backdrop,.ml-picker::backdrop{background:#17191e65}.ml-name-dialog{width:380px}.ml-name-dialog h2,.ml-picker h2{font-size:18px;margin:0 0 18px;font-weight:600}.ml-name-dialog label{display:block;font-size:13px;margin-bottom:8px}.ml-name-dialog input{width:100%;box-sizing:border-box}.ml-picker{width:740px}.ml-picker-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.ml-picker-head h2{margin:0}.ml-picker-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:13px}.ml-picker-tools a{color:#525865}.ml-picker .ml-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.ml-picker .ml-preview{height:160px}.ml-picker .ml-status{font-size:13px;line-height:1.7;color:#525865;min-height:24px}.ml-picker .ml-select{width:100%}.ml-picker input[type=search]{width:100%;margin-top:16px;box-sizing:border-box;padding:10px;border:1px solid #dedfe3;border-radius:8px;font:inherit;font-size:14px}
.materials-page :focus-visible,.ml-picker :focus-visible{outline:1px solid #757575;outline-offset:2px}.materials-page .studio-sidebar nav{overflow:auto;min-height:0}.materials-page .sidebar-account{flex-shrink:0}
@media(max-width:760px){.materials-main{padding:18px 14px!important}.ml-heading{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:20px}.ml-toolbar{align-items:stretch;flex-direction:column;gap:12px}.ml-toolbar input{width:100%;box-sizing:border-box;font-size:16px}.ml-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.ml-preview{height:160px}.ml-picker{padding:16px}.ml-picker .ml-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ml-picker .ml-preview{height:140px}.ml-picker input[type=search]{font-size:16px}}
