.jams-rich-editor{min-width:0;width:100%;display:flex;flex-direction:column;border:1px solid #9fb4ce;border-radius:8px;background:#fff;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(37,99,235,.04)}
.rt-toolbar{order:0;display:flex;flex-wrap:wrap;gap:2px;padding:5px;position:static;top:auto;z-index:auto;background:#eef3f9;border-bottom:1px solid #9fb4ce}
.rt-tool,.rt-select{min-width:30px;height:30px;padding:0 7px;border:1px solid #cbd5e1;border-radius:5px;background:#fff;color:#172033;font-size:13px;cursor:pointer}
.rt-select-heading{flex:0 0 auto!important;width:7.5em!important;min-width:7.5em!important}.rt-select-symbol{flex:0 0 auto!important;width:5.8em!important;min-width:5.8em!important}.rt-select-emoji{flex:0 0 auto!important;width:7.2em!important;min-width:7.2em!important}
.rt-color-tool{font-weight:900;font-size:16px;line-height:1}.rt-text-color-tool{background:#fff}.rt-highlight-tool{color:#172033;border-color:#aebdce}.rt-highlight-tool:hover{filter:brightness(.96);border-color:#5f91d5}
.rt-font-size-value{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:30px;border:1px solid #cbd5e1;border-radius:5px;background:#fff;color:#334155;font-size:12px;font-weight:800}.rt-tool:hover,.rt-select:hover{background:#dceaff;border-color:#5f91d5}.rt-surface{order:1;box-sizing:border-box;height:150px;min-height:150px;padding:10px 12px;line-height:1.55;overflow-x:auto;overflow-y:auto;resize:vertical;overflow-wrap:anywhere;background:#fff;cursor:text}
.rt-surface::before{content:'내용 입력 영역';display:block;margin:0 0 6px;color:#64748b;font-size:11px;font-weight:700;letter-spacing:.02em;pointer-events:none}
.rt-surface[data-empty="true"] .tiptap::before{content:'내용을 입력하거나 여기에 붙여넣으세요.  Windows: Ctrl+V · Mac: Command+V · 모바일: 길게 눌러 붙여넣기';display:block;color:#8795a8;font-size:13px;font-weight:500;pointer-events:none}
.rt-surface .tiptap{box-sizing:border-box;height:auto;min-height:76px;min-width:0;width:100%;overflow:visible;outline:none;border:1px dashed transparent;border-radius:4px;font-size:18px!important}.rt-surface .tiptap p{font-size:inherit;display:block;}.rt-surface .tiptap:focus{border-color:#80aee8;background:#fbfdff;box-shadow:0 0 0 2px rgba(37,99,235,.08)}.rt-surface p{margin:0 0 4px}.rt-surface ul,.rt-surface ol{display:block;list-style:revert;margin:0 0 6px;padding:0 0 0 24px;border:0;border-radius:0}.rt-surface li{display:list-item}.rt-surface blockquote{margin:6px 0;padding:6px 10px;border-left:4px solid #4f8ee8;background:#eff6ff}
.rt-surface .tiptap span:not([data-size]),.rt-surface .tiptap mark{font-size:inherit}
.rt-toast{margin:0;padding:5px 8px;border-top:1px solid #d8e3ef;background:#f7fbff;color:#315273;font-size:12px}.rt-toast[hidden]{display:none}.rt-toast .rt-tool{height:24px;margin-left:2px;padding:0 6px;background:#fff;color:#245fae}
.rt-surface table,.rich-text-display table{border-collapse:collapse;width:100%}.rt-surface td,.rt-surface th,.rich-text-display td,.rich-text-display th{border:1px solid #cbd5e1;padding:5px}
.rt-size-4{font-size:4px}.rt-size-5{font-size:5px}.rt-size-6{font-size:6px}.rt-size-7{font-size:7px}.rt-size-8{font-size:8px}.rt-size-9{font-size:9px}.rt-size-10{font-size:10px}.rt-size-11{font-size:11px}.rt-size-12{font-size:12px}.rt-size-13{font-size:13px}.rt-size-14{font-size:14px}.rt-size-15{font-size:15px}.rt-size-16{font-size:16px}.rt-size-17{font-size:17px}.rt-size-18{font-size:18px}.rt-size-19{font-size:19px}.rt-size-20{font-size:20px}.rt-size-21{font-size:21px}.rt-size-22{font-size:22px}.rt-size-23{font-size:23px}.rt-size-24{font-size:24px}.rt-size-25{font-size:25px}.rt-align-center{text-align:center}.rt-align-right{text-align:right}
[data-color="#2563eb"]{color:#2563eb}[data-color="#dc2626"]{color:#dc2626}[data-color="#059669"]{color:#059669}[data-color="#d97706"]{color:#d97706}[data-color="#7c3aed"]{color:#7c3aed}
mark[data-color="#fef08a"]{background:#fef08a}mark[data-color="#bfdbfe"]{background:#bfdbfe}mark[data-color="#bbf7d0"]{background:#bbf7d0}mark[data-color="#fecaca"]{background:#fecaca}mark[data-color="#1e3a8a"]{background:#1e3a8a}mark[data-color="#581c87"]{background:#581c87}
.jams-rich-editor.is-fullscreen{position:fixed;inset:8px;z-index:10000;display:flex;flex-direction:column}.is-fullscreen .rt-toolbar{position:static;top:auto}.is-fullscreen .rt-surface{flex:1;overflow:auto}
.rich-text-display{font-size:18px;line-height:1.6;overflow-wrap:anywhere}.rich-text-display p{margin:0 0 6px}.rich-copy-actions{display:flex;gap:4px;justify-content:flex-end;margin-top:6px}
.rt-size-26{font-size:26px}.rt-size-27{font-size:27px}.rt-size-28{font-size:28px}.rt-size-29{font-size:29px}.rt-size-30{font-size:30px}.rt-size-31{font-size:31px}.rt-size-32{font-size:32px}.rt-size-33{font-size:33px}.rt-size-34{font-size:34px}.rt-size-35{font-size:35px}
[data-color="#111827"]{color:#111827}[data-color="#ffffff"]{color:#fff}
@media(max-width:720px){.rt-toolbar{position:static;top:auto}.rt-tool,.rt-select{height:28px;font-size:12px;padding:0 5px}.rt-font-size-value{height:28px}.rt-surface{height:120px;padding:8px;min-height:120px}.rt-surface .tiptap{height:auto;min-height:76px}}

.rt-surface .tiptap { white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal; }
.rt-surface .tiptap p { min-width: 0; max-width: 100%; }
.rt-surface .tableWrapper, .rich-table-scroll { width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rt-surface table, .rich-text-display table { table-layout: auto; }
.rt-surface td, .rt-surface th, .rich-text-display td, .rich-text-display th { min-width: 110px; overflow-wrap: anywhere; vertical-align: top; }
.rt-tool[aria-pressed="true"] { background: #dceaff; border-color: #5f91d5; }
.rt-surface .tiptap:focus { scroll-margin-block: 90px; }
.rich-text-display, .detail-layout .detail-card, .detail-layout > div { min-width: 0; }
@media (pointer: coarse) {
  .rt-tool, .rt-select { min-height: 40px; height: auto; }
  .rt-font-size-value { min-height: 40px; }
}
