.hd-lexical{border:1px solid var(--line,#ddd);border-radius:6px;background:#fff;overflow:hidden}
.hd-lexical-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:3px;padding:7px;border-bottom:1px solid var(--line,#ddd);background:#f7f8fa}
.hd-lexical-toolbar button{border:0;background:transparent;color:var(--ink,#222);cursor:pointer}
.hd-lexical-icon-btn{display:grid;place-items:center;width:34px;height:34px;padding:0;border-radius:5px!important;font-size:14px;font-weight:700}
.hd-lexical-icon-btn svg,.hd-lexical-block-picker summary svg,.hd-lexical-canned-picker svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hd-lexical-toolbar button:hover,.hd-lexical-toolbar button.is-active,.hd-lexical-block-picker summary:hover,.hd-lexical-canned-picker summary:hover{background:#fff;box-shadow:inset 0 0 0 1px var(--line,#ddd)}
.hd-format-italic{font-family:Georgia,serif;font-style:italic}.hd-format-underline{text-decoration:underline}.hd-format-strike{text-decoration:line-through}
.hd-lexical-separator{width:1px;height:24px;background:var(--line,#ddd);margin:0 3px}
.hd-lexical-block-picker,.hd-lexical-canned-picker{position:relative}
.hd-lexical-block-picker summary{display:flex;align-items:center;gap:7px;height:34px;min-width:126px;padding:0 9px;border-radius:5px;cursor:pointer;list-style:none;font-weight:500}
.hd-lexical-block-picker summary::-webkit-details-marker{display:none}
.hd-lexical-block-picker .hd-lexical-chevron{width:14px;height:14px;margin-left:auto;transition:transform .15s}
.hd-lexical-block-picker[open] .hd-lexical-chevron{transform:rotate(180deg)}
.hd-lexical-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:30;display:grid;width:190px;padding:6px;border:1px solid var(--line,#ddd);border-radius:7px;background:#fff;box-shadow:0 10px 28px rgba(0,0,0,.14)}
.hd-lexical-menu button{display:grid;grid-template-columns:32px 1fr;align-items:center;gap:7px;width:100%;min-height:38px;padding:5px 8px;border-radius:5px;text-align:left;font-weight:500}
.hd-block-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:4px;background:#f1f3f6;color:var(--muted,#666);font-size:12px;font-weight:700}
.hd-lexical-canned-picker summary{border:0;background:transparent;color:var(--ink,#222);list-style:none;cursor:pointer}
.hd-lexical-canned-picker summary::-webkit-details-marker{display:none}
.hd-lexical-canned-menu{right:0;left:auto;width:min(330px,calc(100vw - 24px));max-height:310px;overflow:auto}
.hd-lexical-menu-title{padding:8px 10px 6px;color:var(--muted,#666);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.hd-lexical-canned-menu button{grid-template-columns:20px 1fr;align-items:start;gap:9px;padding:10px}
.hd-lexical-canned-menu button svg{width:17px;height:17px;margin-top:1px}
.hd-lexical-canned-menu button span{overflow:hidden;text-overflow:ellipsis;text-align:left;white-space:nowrap}
.hd-lexical-editor-wrap{position:relative}
.hd-lexical-editor{min-height:var(--hd-lexical-min-height,260px);padding:18px;outline:none;font-size:1.5rem;line-height:1.65}
.hd-lexical-editor p{margin:0 0 1em}.hd-lexical-editor h2,.hd-lexical-editor h3{margin:1.2em 0 .5em}.hd-lexical-editor blockquote{margin:1em 0;padding:4px 14px;border-left:4px solid var(--blue,#1565c0);color:var(--muted,#666)}
.hd-lexical-editor img{display:block;max-width:100%;height:auto;margin:14px auto;border-radius:6px}
.hd-lexical-editor .hd-lexical-attachment{display:inline-flex;align-items:center;gap:8px;margin:8px 0;padding:9px 12px;border:1px solid var(--line,#ddd);border-radius:5px;background:#f8f9fb}
.hd-lexical-placeholder{position:absolute;top:18px;left:18px;color:var(--muted,#777);pointer-events:none}
.hd-lexical.has-content .hd-lexical-placeholder{display:none}
.hd-lexical-upload-status{padding:8px 14px;border-top:1px solid var(--line,#ddd);color:var(--muted,#666);font-size:1.2rem}
.hd-lexical-upload-status.is-error{color:#c62828}
.hd-lexical-editor [data-lexical-tweet],.hd-lexical-tweet{margin:16px auto;max-width:560px}
.hd-lexical-tweet-fallback{display:grid;grid-template-columns:38px 1fr;gap:11px;padding:14px;border:1px solid var(--line,#ddd);border-radius:12px;background:#fff;color:var(--ink,#222);text-decoration:none}
.hd-lexical-tweet-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#111;color:#fff;font-size:17px;font-weight:700}
.hd-lexical-tweet-fallback strong,.hd-lexical-tweet-fallback span{display:block}.hd-lexical-tweet-fallback span{margin-top:3px;color:var(--muted,#666);font-size:12px;overflow:hidden;text-overflow:ellipsis}
.rich-text [data-lexical-tweet],.reply-body [data-lexical-tweet]{margin:18px auto;max-width:560px}
.hd-lexical-compact .hd-lexical-editor{min-height:180px}
.rich-text img,.reply-body img{max-width:100%;height:auto;border-radius:6px}
.rich-text .hd-lexical-attachment,.reply-body .hd-lexical-attachment{display:inline-flex;gap:8px;padding:8px 11px;border:1px solid var(--line,#ddd);border-radius:5px;background:#f8f9fb}
@media(max-width:640px){.hd-lexical-toolbar{overflow-x:auto;flex-wrap:nowrap}.hd-lexical-toolbar button,.hd-lexical-block-picker,.hd-lexical-canned-picker{flex:0 0 auto}.hd-lexical-block-picker summary{min-width:110px}.hd-lexical-menu{position:fixed;top:auto;left:12px;right:12px;width:auto}}
