.slc-dm-actions-host{position:relative}
.slc-dm-wrap{position:relative;display:inline-flex;align-items:center;margin-right:8px;z-index:70;font-family:inherit}
.slc-dm-trigger{height:42px;border:1px solid #efb1b1;background:#fff8f8;border-radius:12px;padding:0 13px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;font:inherit;box-shadow:0 2px 6px rgba(15,39,72,.04);transition:.15s ease}
.slc-dm-trigger:hover{background:#fff2f2;border-color:#df8585;transform:translateY(-1px)}
.slc-dm-alert-icon{width:20px;height:20px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#d73232;color:#fff;font-size:12px;font-weight:900;line-height:1}
.slc-dm-label{font-size:13px;font-weight:800;color:#c62828;letter-spacing:.01em}
.slc-dm-count{min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#d73232;color:#fff;font-size:11px;font-weight:900;display:inline-flex;align-items:center;justify-content:center}
.slc-dm-trigger:not(.has-alert){border-color:#e2e7ee;background:#fff}.slc-dm-trigger:not(.has-alert) .slc-dm-alert-icon{background:#aeb8c5}.slc-dm-trigger:not(.has-alert) .slc-dm-label{color:#56667a}
.slc-dm-popover{position:absolute;right:0;top:calc(100% + 9px);width:min(450px,calc(100vw - 34px));max-height:76vh;background:#fff;border:1px solid #d9e1ea;border-radius:16px;box-shadow:0 18px 48px rgba(15,39,72,.20);overflow:hidden}
.slc-dm-pop-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #edf1f5;color:#18304f;background:#fbfcfe}
.slc-dm-pop-head strong{font-size:15px}.slc-dm-close{border:0;background:transparent;font-size:21px;color:#75839a;cursor:pointer;line-height:1}
.slc-dm-scroll{padding:12px;overflow:auto;max-height:calc(76vh - 50px)}
.slc-dm-item{border:1px solid #e2e7ee;border-radius:12px;padding:11px 12px;margin-bottom:9px;background:#fff}
.slc-dm-item.active{border-left:4px solid #d73232;background:#fffafa}.slc-dm-item.done{opacity:.72;background:#fafbfc}
.slc-dm-item-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.slc-dm-item-top strong{font-size:14px;color:#17304f}.slc-dm-item-top b{font-size:14px;color:#b62a2a;white-space:nowrap}
.slc-dm-item-sub{margin-top:4px;color:#687689;font-size:12px;line-height:1.4}.slc-dm-doc{display:inline-flex;align-items:center;margin-top:8px;font-size:12px;font-weight:800;color:#225b96;text-decoration:none}.slc-dm-doc:hover{text-decoration:underline}
.slc-dm-item-actions{margin-top:9px;display:flex;justify-content:flex-end;gap:7px;align-items:center;flex-wrap:wrap}.slc-dm-item-actions button{border:0;background:#edf2f7;color:#234263;border-radius:8px;padding:6px 9px;font-size:11px;font-weight:800;cursor:pointer}.slc-dm-item-actions .slc-dm-delete{background:#fff0f0;color:#bd2f2f}.slc-dm-item-actions span{font-size:11px;font-weight:800;color:#3b7850}
.slc-dm-empty{padding:14px;text-align:center;border:1px dashed #d6dde6;border-radius:10px;color:#8692a3;font-size:12px}
.slc-dm-add-toggle{width:100%;margin:4px 0 10px;border:1px solid #d8e0ea;background:#f7f9fc;color:#294d75;border-radius:10px;padding:9px;font-size:12px;font-weight:800;cursor:pointer}.slc-dm-add-toggle:hover{background:#eef3f8}
.slc-dm-form{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:11px;border-radius:11px;background:#f6f8fb;margin-bottom:10px}.slc-dm-form input,.slc-dm-form select{height:36px;border:1px solid #cfd8e4;border-radius:8px;padding:0 9px;font:inherit;font-size:12px;background:#fff}.slc-dm-upload{grid-column:1/-1;display:flex;align-items:center;gap:8px;border:1px solid #d5dde8;border-radius:8px;background:#fff;padding:8px 9px;color:#53657a;font-size:11px;font-weight:700}.slc-dm-upload input{height:auto;border:0;padding:0;min-width:0}.slc-dm-save{grid-column:1/-1;height:36px;border:0;border-radius:8px;background:#173b68;color:#fff;font-weight:800;font-size:12px;cursor:pointer}.slc-dm-save:disabled{opacity:.55}
.slc-dm-history{border-top:1px solid #edf1f5;padding-top:9px;margin-top:7px}.slc-dm-history summary{font-size:12px;font-weight:700;color:#647389;cursor:pointer;margin-bottom:8px}.slc-dm-msg{min-height:15px;font-size:11px;color:#45617f;margin-top:6px}
@media(max-width:760px){.slc-dm-wrap{margin-right:6px}.slc-dm-trigger{height:38px;padding:0 10px}.slc-dm-label{font-size:12px}.slc-dm-popover{right:0;width:min(430px,calc(100vw - 24px));max-height:72vh}.slc-dm-form{grid-template-columns:1fr}}
.slc-dm-docs{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-top:8px}.slc-dm-docs .slc-dm-doc{margin-top:0}
.slc-dm-selected-files{grid-column:1/-1;display:flex;flex-direction:column;gap:5px}
.slc-dm-selected-file{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border:1px solid #dce4ed;border-radius:8px;background:#fff;color:#4f6177;font-size:11px}
.slc-dm-selected-file span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.slc-dm-selected-file button{border:0;background:#fff0f0;color:#bd2f2f;border-radius:6px;width:24px;height:24px;font-weight:900;cursor:pointer}
.slc-dm-upload-row{grid-column:1/-1;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.slc-dm-pick-files{height:34px;border:1px solid #d6dee8;background:#fff;color:#24496f;border-radius:8px;padding:0 10px;font-size:11px;font-weight:800;cursor:pointer}
.slc-dm-pick-files:hover{background:#f4f7fa}
.slc-dm-upload-hint{font-size:10px;color:#8793a3}
.slc-dm-no-files{font-size:10px;color:#98a2b0;padding:2px 1px}
@media(max-width:820px){
 .slc-dm-wrap{z-index:auto;margin:0}
 .slc-dm-popover{position:fixed!important;inset:calc(76px + env(safe-area-inset-top,0px)) 12px calc(16px + env(safe-area-inset-bottom,0px))!important;width:auto!important;max-width:none!important;max-height:none!important;z-index:4700;display:flex;flex-direction:column}
 .slc-dm-popover[hidden]{display:none!important}
 .slc-dm-pop-head{flex:0 0 auto}
 .slc-dm-scroll{flex:1 1 auto;min-height:0;max-height:none!important;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .slc-dm-form{grid-template-columns:minmax(0,1fr)}
 .slc-dm-form input,.slc-dm-form select{width:100%;min-width:0;box-sizing:border-box;font-size:16px}
 .slc-dm-item-top strong,.slc-dm-item-sub,.slc-dm-doc{min-width:0;overflow-wrap:anywhere}
 .slc-dm-doc{display:block;max-width:100%}
 .slc-dm-close{width:40px;min-height:40px}
 .slc-dm-item-actions button,.slc-dm-pick-files,.slc-dm-save{min-height:44px}
}
