.yp-rich-editor{border:1px solid #eee;border-radius:2px;overflow:hidden;background:#fff;box-sizing:border-box;width:100%;max-width:100%}
.yp-rich-editor__toolbar{border-bottom:1px solid #eee;background:#fafafa}
.yp-rich-editor__body{min-height:var(--yp-rich-min-height,280px);height:var(--yp-rich-height,320px);overflow-y:auto;background:#fff}
.yp-rich-editor .w-e-text-container,
.yp-rich-editor .w-e-scroll,
.yp-rich-editor [data-slate-editor]{background:#fff!important}
.yp-rich-editor .w-e-text-container [data-slate-editor]{padding:2px 10px 8px}
.yp-rich-editor .w-e-text-container [data-slate-editor] p{margin:4px 0}
.yp-rich-editor .w-e-text-placeholder{
  top:6px!important;
  left:10px!important;
  font-style:normal!important;
  line-height:1.5!important;
  height:auto!important;
}
.yp-rich-editor .w-e-textarea-video-container{
  background-color:#111!important;
  background-image:none!important;
  border:0;
  outline:0;
  max-width:100%;
  box-sizing:border-box
}
.yp-rich-editor .w-e-textarea-video-container iframe,
.yp-rich-editor .w-e-textarea-video-container video{
  display:block;
  max-width:100%;
  background:#000;
  margin:0 auto
}
.yp-rich-editor .w-e-toolbar{flex-wrap:wrap}
.yp-rich-editor.is-compact .yp-rich-editor__body{min-height:180px;height:240px}
.yp-rich-editor.w-e-full-screen-container,
.yp-rich-editor.yp-rich-editor--fs-host{z-index:12000!important;background:#fff!important;border:0!important;border-radius:0!important;max-width:none!important}
.yp-rich-editor.w-e-full-screen-container .yp-rich-editor__toolbar{flex:0 0 auto;border-bottom:1px solid #eee}
.yp-rich-editor.w-e-full-screen-container .yp-rich-editor__body{flex:1 1 auto!important;height:auto!important;min-height:0!important;overflow-y:auto!important}
html.yp-rich-editor-fs-lock,html.yp-rich-editor-fs-lock body{overflow:hidden!important}
.yp-rich-map-modal{position:fixed;inset:0;z-index:1300;display:flex;align-items:center;justify-content:center}
.yp-rich-map-modal[hidden]{display:none}
.yp-rich-map-mask{position:absolute;inset:0;background:rgba(0,0,0,.45)}
.yp-rich-map-dialog{position:relative;width:520px;max-width:calc(100vw - 32px);max-height:calc(100vh - 48px);background:#fff;border-radius:4px;box-shadow:0 12px 40px rgba(0,0,0,.2);overflow:hidden;display:flex;flex-direction:column}
.yp-rich-map-head{display:flex;align-items:center;justify-content:space-between;height:48px;padding:0 16px;border-bottom:1px solid #eee}
.yp-rich-map-head strong{font-size:16px;color:#333;font-weight:700}
.yp-rich-map-close{border:0;background:transparent;color:#666;font-size:14px;cursor:pointer}
.yp-rich-map-close:hover{color:#0bbb73}
.yp-rich-map-body{padding:14px 16px 16px;overflow:auto}
.yp-rich-map-search{display:flex;gap:8px;margin-bottom:10px}
.yp-rich-map-search input{flex:1;height:36px;border:1px solid #ededed;border-radius:4px;padding:0 10px;box-sizing:border-box;font-size:14px}
.yp-rich-map-search button{height:36px;padding:0 14px;border:0;border-radius:4px;background:#0bbb73;color:#fff;cursor:pointer;font-size:14px}
.yp-rich-map-hint{font-size:12px;color:#999;line-height:1.5;margin:0 0 10px}
.yp-rich-map-list{list-style:none;margin:0;padding:0;max-height:320px;overflow:auto;border:1px solid #f0f0f0;border-radius:4px}
.yp-rich-map-list li{border-bottom:1px solid #f5f5f5}
.yp-rich-map-list li:last-child{border-bottom:0}
.yp-rich-map-item{display:block;width:100%;text-align:left;border:0;background:#fff;padding:10px 12px;cursor:pointer}
.yp-rich-map-item:hover{background:#f7fbf9}
.yp-rich-map-item strong{display:block;font-size:14px;color:#333;font-weight:600;margin-bottom:4px}
.yp-rich-map-item span{display:block;font-size:12px;color:#999;line-height:1.4}
.yp-rich-map-loading,.yp-rich-map-empty,.yp-rich-map-err{font-size:13px;color:#999;padding:12px;margin:0}
.yp-rich-map-err{color:#ff6142}
