.bcd-dialog{width:min(900px,calc(100vw - 28px));max-height:90dvh;padding:0;border:1px solid #d5e0eb;border-radius:16px;color:#18334e;background:#fff;box-shadow:0 24px 80px #102a4350;font:14px/1.5 system-ui,sans-serif}.bcd-dialog::backdrop{background:#102a437a}.bcd-head{display:flex;justify-content:space-between;gap:20px;padding:22px 26px;border-bottom:1px solid #e0e8f0;background:#f3f7fc}.bcd-head small{font-size:12px;letter-spacing:.08em;font-weight:700;color:#41668a}.bcd-head h2{font-size:23px;margin:5px 0 0;overflow-wrap:anywhere}.bcd-head p{margin:4px 0}.bcd-head button{font-size:26px;border:0;background:transparent;align-self:flex-start}.bcd-body{padding:22px 26px}.bcd-intro{margin:0 0 18px;color:#52677b}.bcd-dialog button,.bcd-dialog input,.bcd-dialog select{font:inherit;min-height:40px;border:1px solid #cbd8e5;border-radius:7px;padding:8px 11px;background:#fff;color:#18334e}.bcd-dialog button{cursor:pointer;font-weight:600}.bcd-dialog button:disabled{opacity:.6;cursor:wait}.bcd-dialog :focus-visible{outline:3px solid #7eb4ee;outline-offset:2px}.bcd-dialog [hidden]{display:none!important}.bcd-dialog form{padding:18px;border:1px solid #dce6f1;border-radius:10px;background:#f7faff;margin-bottom:22px}.bcd-form-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1fr);gap:14px;margin-bottom:14px}.bcd-form-grid label{display:flex;flex-direction:column;gap:5px;font-weight:600;min-width:0}.bcd-form-grid input,.bcd-form-grid select{width:100%;box-sizing:border-box}.bcd-wide{grid-column:1/-1}.bcd-form-grid small{font-size:12px;font-weight:400;color:#52677b}.bcd-dialog .bcd-primary{background:#135f9b;border-color:#135f9b;color:white}.bcd-toolbar{display:flex;gap:10px;flex-wrap:wrap}.bcd-toolbar input{flex:1;min-width:150px}.bcd-toolbar select{max-width:100%}.bcd-list-head{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;padding:16px 0 7px}.bcd-list-head [data-message]{color:#315e83;max-width:100%;overflow-wrap:anywhere}.bcd-row{display:flex;align-items:center;gap:20px;padding:16px 0;border-bottom:1px solid #e1e8f0}.bcd-file{flex:1;min-width:0}.bcd-file strong{display:block;overflow-wrap:anywhere;font-size:15px}.bcd-file span{display:block;color:#617487;font-size:13px;margin-top:4px}.bcd-file p{margin:5px 0 0;overflow-wrap:anywhere}.bcd-actions{display:flex;gap:8px}.bcd-empty{text-align:center;padding:30px 12px;color:#617487;border:1px dashed #cbd8e5;border-radius:8px;margin-top:12px}.bcd-dialog [data-progress]{margin-left:12px;color:#315e83}@media(max-width:600px){.bcd-head,.bcd-body{padding:16px}.bcd-head h2{font-size:20px}.bcd-form-grid{grid-template-columns:minmax(0,1fr)}.bcd-row{align-items:flex-start;flex-direction:column;gap:10px}.bcd-toolbar>*{width:100%}.bcd-toolbar input{min-width:0}.bcd-dialog{max-height:94dvh}.bcd-actions button{min-height:44px}}

.bcd-dropzone{border:2px dashed #9ab7d3;border-radius:10px;padding:22px 16px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;background:#fff;transition:border-color .15s,background .15s}.bcd-dropzone>strong{font-size:16px}.bcd-dropzone>span{font-weight:400;color:#52677b}.bcd-dropzone.is-dragging{border-color:#135f9b;background:#e5f1ff;outline:3px solid #c9e1fa}.bcd-form-grid .bcd-file-picker{display:inline-flex;position:relative;border:1px solid #b0c6da;border-radius:7px;padding:9px 17px;cursor:pointer;background:#f1f6fc;overflow:hidden}.bcd-file-picker input{position:absolute;inset:0;opacity:0;cursor:pointer}.bcd-file-picker:focus-within{outline:3px solid #7eb4ee;outline-offset:2px}.bcd-selection{display:flex;align-items:center;justify-content:center;gap:10px;max-width:100%;flex-wrap:wrap}.bcd-selection span{overflow-wrap:anywhere;min-width:0;font-weight:600}.bcd-dropzone small{max-width:100%}

.bcd-actions{flex-wrap:wrap}.bcd-dialog .bcd-danger{color:#a32626;border-color:#e3b5b5;background:#fff7f7}
