/* 로고 없는 자체 호스팅 편집기이며 도구 모음은 화면 폭에 맞춰 줄바꿈합니다. */
@font-face{font-family:'Noto Sans KR';src:url('fonts/noto-sans-kr/NotoSansKR.ttf') format('truetype');font-display:swap}
[data-rich-editor],.pe-rich-status{display:none}.pe-rich.is-ready .pe-rich-status{display:block}.pe-rich [hidden]{display:none!important}
.pe-rich{min-width:0}.pe-rich .note-editor{width:100%;min-width:0;border:1px solid #d7daea;border-radius:8px;background:white}
.pe-rich .note-toolbar{display:flex;flex-wrap:wrap;gap:4px;padding:6px;background:#f8f7fc;border-radius:8px 8px 0 0}
.pe-rich .note-toolbar>.note-btn-group{margin:0;display:inline-flex;align-items:center}
.pe-rich .note-btn{width:auto;min-width:30px;min-height:30px;height:30px;margin:0;padding:4px 8px;font-size:13px;line-height:20px;font-weight:400;box-shadow:none;border:1px solid #d7daea;background:white;color:#273047}
.pe-rich .note-btn.active,.pe-rich .note-btn:hover{background:#eee9ff;color:#6245e6}
.pe-rich .note-editable{font-family:'Noto Sans KR',sans-serif;font-size:15px;line-height:1.8;min-height:220px;max-height:480px;overflow:auto;padding:16px;overflow-wrap:anywhere}
.pe-rich .note-editable img,.product-rich-description img{max-width:100%;height:auto}
.pe-rich .note-editable[aria-invalid=true]{outline:2px solid #d92d4b;outline-offset:-2px;background:#fff5f6}
.pe-rich .note-dropdown-menu{z-index:30;font-size:14px;max-width:min(320px,calc(100vw - 48px))}.pe-rich .note-dropdown-menu a{text-decoration:none}
.pe-rich .note-color .note-dropdown-menu{right:0;left:auto}.pe-rich .note-color-btn{width:20px;height:20px;min-height:0;min-width:0;padding:0;margin:0;border:1px solid white}
.pe-rich .note-editor .note-statusbar{display:none}/* 링크 입력창은 Summernote 배경막(1040)보다 앞에 표시합니다. */
.pe-rich-modal.note-modal{z-index:1050}.pe-rich-modal .note-modal-content{width:min(500px,calc(100vw - 32px));border-radius:12px;max-height:85dvh;overflow:auto;margin:5vh auto}
.pe-rich-modal .note-form-control{width:100%;height:42px;border:1px solid #d7daea;border-radius:6px}.pe-rich-modal input[type=checkbox]{width:auto;height:auto}.pe-rich-modal .note-modal-footer{height:auto;min-height:60px}.pe-rich-modal .note-modal-footer .note-btn{background:#6245e6;color:white;height:38px}
.pe-rich .note-editable table{border-collapse:collapse;width:100%;table-layout:fixed}.pe-rich .note-editable td,.pe-rich .note-editable th{border:1px solid #d7daea;padding:8px;overflow-wrap:anywhere}
.pe-rich-status{margin:8px 0 0;text-align:right;font-size:12px;color:#697386}
.pe-rich-dialog{width:min(420px,calc(100% - 32px));border:0;border-radius:14px;padding:24px;color:#20283b;background:white}.pe-rich-dialog::backdrop{background:#17132988}.pe-rich-dialog button{float:right;background:#6245e6;color:white;border:0;border-radius:7px;padding:10px 24px}.pe-rich-dialog p{line-height:1.7}
.product-rich-description{overflow-wrap:anywhere;line-height:1.8;max-width:100%;font-size:14px}.product-rich-description p{margin:0 0 8px}.product-rich-description blockquote{border-left:3px solid #d7cafa;margin:12px 0;padding-left:16px}.product-rich-description ul,.product-rich-description ol{padding-left:24px}
.product-rich-description figure{margin:12px 0;max-width:100%;overflow-x:auto}.product-rich-description table{border-collapse:collapse;width:100%;table-layout:fixed}.product-rich-description th,.product-rich-description td{border:1px solid #d7daea;padding:8px;overflow-wrap:anywhere}.product-rich-description th{background:#f8f7fc;font-weight:600}

@media(max-width:600px){.pe-rich .note-editable{padding:12px}.pe-rich .note-toolbar{padding:4px;gap:3px}.pe-rich .note-btn{padding:4px 6px}.pe-rich .note-current-fontname{display:inline-block;max-width:90px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}}

/* 셀러 사진·설명 행에서도 두 입력 영역의 시작 높이를 맞춥니다. */
.pe-editor .pe-seller-detail-grid .pe-description-block{margin-top:0;padding-top:0;border-top:0}

.pe-rich-modal{font-family:"Noto Sans KR",sans-serif;color:#273047}.pe-rich-modal .note-modal-content{background:#fff}.pe-rich-modal .note-modal-footer .note-btn{border:0;border-radius:6px;padding:8px 16px;min-width:100px;font:inherit;cursor:pointer}.pe-rich-modal .note-form-label{font-size:14px}.pe-rich-modal .close{width:32px;height:32px;padding:0;line-height:32px;cursor:pointer}

/* 색상 팔레트는 좁은 화면에서도 도구 모음의 왼쪽 경계를 넘지 않게 표시합니다. */
.pe-rich .note-toolbar{position:relative}
.pe-rich .note-toolbar .note-color{position:static}
.pe-rich .note-toolbar .note-color .note-dropdown-menu{left:0;right:auto;top:100%;width:min(340px,100%);min-width:0;margin-left:0!important;box-sizing:border-box}
.pe-rich .note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette{width:calc(50% - 8px);margin:0 4px;vertical-align:top}
.pe-rich .note-color-palette .note-color-row{display:flex}
.pe-rich .note-editor .note-toolbar .note-color-palette .note-color-row .note-color-btn{flex:1;min-width:0;width:auto;height:18px}
.pe-rich .note-color .note-color-reset,.pe-rich .note-color .note-color-select{max-width:100%;box-sizing:border-box}
