.sl-dialog{width:min(900px,94vw);max-height:90dvh;overflow:auto;box-sizing:border-box;background:#fffdf6;border:1px solid #d9ceb6;border-radius:18px;padding:28px;color:#435235}.sl-dialog::backdrop,.sl-preview::backdrop{background:#172210aa}.sl-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.sl-head h2,.sl-head h3{font-family:Georgia,serif;color:#3f512e;margin:0;font-size:28px}.sl-dialog button{min-height:42px;padding:10px 16px;font-size:14px;border-radius:9px;cursor:pointer;background:#3e502c;color:white;border:1px solid #3e502c}.sl-dialog .sl-secondary{background:transparent;color:#435235;border:1px solid #d9d1be}.sl-intro{color:#7b806d;font-size:14px;margin:14px 0 24px}.sl-upload{padding:20px;border:1px solid #ded5c1;background:#f7f5eb;border-radius:14px;display:grid;grid-template-columns:2fr 1fr;gap:16px;margin-bottom:24px}.sl-upload label{font-size:13px;display:block;margin:0}.sl-upload input{display:block;box-sizing:border-box;width:100%;padding:11px;margin-top:7px;font-size:16px;background:white;color:#435235;border:1px solid #d6ccb7;border-radius:8px}.sl-upload label:has(input[type=file]),.sl-upload small,.sl-upload .sl-controls,.sl-upload progress,.sl-upload .sl-status{grid-column:1/-1}.sl-upload small{font-size:12px;color:#7b806d}.sl-controls{display:flex;gap:10px;flex-wrap:wrap}.sl-upload progress{width:100%;height:15px;accent-color:#4d6d3a}.sl-status{font-size:13px;margin:0;color:#8e6944;line-height:1.6}.sl-status:empty{display:none}.sl-list{display:grid;gap:12px}.sl-item{padding:17px;border:1px solid #e2dac8;border-radius:12px;display:flex;justify-content:space-between;gap:16px;align-items:center}.sl-item strong{display:block;font-size:16px;overflow-wrap:anywhere}.sl-item small{display:block;font-size:12px;margin-top:7px;color:#7b806d}.sl-dialog button:disabled{opacity:.5;cursor:default}.sl-dialog [hidden]{display:none!important}.sl-preview{width:min(760px,94vw);box-sizing:border-box;background:#fffdf6;border:1px solid #d9ceb6;border-radius:16px;padding:22px;max-height:92dvh;overflow:auto}.sl-preview video,.sl-preview img{display:block;width:100%;max-height:65dvh;object-fit:contain;background:#e9eadf;margin-top:20px;border-radius:10px}.sl-preview p{font-size:13px;color:#8e6944}.sl-upload label:has(input[type=file]){min-width:0}@media(max-width:650px){.sl-dialog{padding:20px 15px}.sl-head h2{font-size:25px}.sl-upload{grid-template-columns:1fr;padding:15px}.sl-item{align-items:flex-start;flex-direction:column}}

.sl-assign{display:grid;gap:18px;margin-top:20px;color:#435235}.sl-assign label{display:block;font-size:14px}.sl-assign select,.sl-assign input:not([type=checkbox]){display:block;box-sizing:border-box;width:100%;min-width:0;padding:12px;font-size:16px;margin-top:8px;border:1px solid #d6ccb7;border-radius:9px;background:#fffdf7;color:#435235}.sl-groups{border:1px solid #ded5c1;border-radius:10px;padding:14px;display:grid;gap:12px;max-height:210px;overflow:auto}.sl-groups legend{font-size:13px}.sl-groups label,.sl-assign .sl-check{display:flex;align-items:center;gap:10px}.sl-assign input[type=checkbox]{width:19px;height:19px;flex:none;margin:0;accent-color:#3e502c}.sl-assign .sl-intro{margin:0}
