/* Markdown editor + rendered message styles, shared by the Support Center (dark) and the admin panel (light). */
.lq-md{--md-bg:#fff;--md-bar:#f7f8f5;--md-line:#d8dfd4;--md-ink:#1e2525;--md-muted:#6b7570;--md-btn:#5e6964;--md-btn-hover:#eef1ec;--md-accent:#c94e32;border:1px solid var(--md-line);border-radius:8px;background:var(--md-bg);overflow:hidden;display:flex;flex-direction:column}
.lq-md.is-full{position:fixed;inset:16px;z-index:1000;box-shadow:0 30px 80px #0008}
.lq-md.is-full .lq-md-input,.lq-md.is-full .lq-md-preview{flex:1;max-height:none;min-height:0!important}
.lq-md-bar{display:flex;align-items:center;gap:2px;flex-wrap:wrap;padding:6px 8px;background:var(--md-bar);border-bottom:1px solid var(--md-line)}
.lq-md-btn{display:inline-grid;place-items:center;min-width:30px;height:30px;padding:0 6px;border:0;border-radius:5px;background:transparent;color:var(--md-btn);cursor:pointer;font:inherit;font-size:12px;font-weight:700}
.lq-md-btn svg{width:16px;height:16px}
.lq-md-btn:hover:not(:disabled),.lq-md-btn[aria-pressed=true]{background:var(--md-btn-hover);color:var(--md-ink)}
.lq-md-btn:disabled{opacity:.35;cursor:default}
.lq-md-btn:focus-visible{outline:2px solid var(--md-accent);outline-offset:1px}
.lq-md-b-full{margin-left:auto}
.lq-md-b-preview{padding:0 10px}
.lq-md-sep{width:1px;height:18px;background:var(--md-line);margin:0 5px}
.lq-md-input{display:block;width:100%;min-height:190px;padding:14px 15px;border:0!important;border-radius:0!important;outline:0;resize:vertical;background:var(--md-bg)!important;color:var(--md-ink);font:inherit;font-size:14px;line-height:1.7;box-shadow:none!important}
.lq-md-input:focus-visible{outline:0}
.lq-md:focus-within{border-color:var(--md-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--md-accent) 18%,transparent)}
.lq-md-preview{padding:14px 16px;overflow:auto;color:var(--md-ink)}
.lq-md-help{display:flex;flex-wrap:wrap;gap:6px 14px;padding:10px 14px;font-size:12px;color:var(--md-muted);border-bottom:1px solid var(--md-line);background:var(--md-bar)}
.lq-md-help strong{color:var(--md-ink)}
.lq-md-foot{display:flex;justify-content:space-between;gap:10px;padding:6px 12px;border-top:1px solid var(--md-line);font-size:11px;color:var(--md-muted);background:var(--md-bar);white-space:pre}
.lq-md-empty{color:var(--md-muted);font-style:italic}
.lq-md-body{overflow-wrap:anywhere;font-size:14px;line-height:1.75}
.lq-md-body>:first-child{margin-top:0}.lq-md-body>:last-child{margin-bottom:0}
.lq-md-body p{margin:0 0 .8em}
.lq-md-body h3,.lq-md-body h4,.lq-md-body h5{margin:1.1em 0 .45em;line-height:1.3;font-size:1.06em}
.lq-md-body h3{font-size:1.2em}
.lq-md-body ul,.lq-md-body ol{margin:0 0 .9em;padding-left:1.4em}
.lq-md-body li{margin:.2em 0}
.lq-md-body a{color:var(--md-accent,#c94e32);text-decoration:underline;text-underline-offset:2px}
.lq-md-body code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.88em;padding:.12em .38em;border-radius:4px;background:var(--md-code,#eef0ec)}
.lq-md-body pre{margin:0 0 .9em;padding:12px 14px;border-radius:7px;background:var(--md-code,#eef0ec);overflow:auto;max-height:420px}
.lq-md-body pre code{padding:0;background:none;font-size:12.5px;line-height:1.6;white-space:pre}
.lq-md-body blockquote{margin:0 0 .9em;padding:4px 0 4px 14px;border-left:3px solid var(--md-line,#d8dfd4);color:var(--md-muted,#6b7570)}
