/* Formatting toolbar (product descriptions, support tickets) and formatted text. */
.rt{font-weight:400;display:flex;flex-direction:column;border:1px solid var(--line-2,#d3d1cb);border-radius:12px;background:#fff;overflow:hidden;transition:border-color .15s,box-shadow .15s}
.rt:focus-within{border-color:var(--ink,#17181c);box-shadow:0 0 0 3px #17181c14}
.rt-bar{display:flex;align-items:center;flex-wrap:wrap;gap:2px;padding:5px 6px;border-bottom:1px solid var(--line,#e2e0db);background:#faf9f6}
.rt-btn{width:32px;height:30px;display:grid;place-items:center;padding:0;border:0;border-radius:8px;background:transparent;color:var(--ink-2,#4a4b52);cursor:pointer;transition:background .12s,color .12s}
.rt-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rt-btn:hover:not(:disabled){background:#ecebe6;color:var(--ink,#17181c)}
.rt-btn:disabled{opacity:.35;cursor:default}
.rt-btn:focus-visible,.rt-preview-btn:focus-visible{outline:2px solid var(--ink,#17181c);outline-offset:1px}
.rt-sep{width:1px;height:18px;margin:0 4px;background:var(--line-2,#d3d1cb)}
.rt-preview-btn{margin-left:auto;height:30px;padding:0 12px;border:0;border-radius:8px;background:transparent;font-family:inherit;font-size:13px;font-weight:600;line-height:1;color:var(--ink-2,#4a4b52);cursor:pointer}
.rt-preview-btn:hover,.rt-preview-btn[aria-pressed="true"]{background:#ecebe6;color:var(--ink,#17181c)}
.rt .rt-input,.rt textarea.rt-input{display:block;width:100%;margin:0;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0;background:#fff;resize:vertical}
.rt .rt-input[hidden]{display:none}
.rt-preview{padding:10px 14px;font-size:15px;overflow:auto;max-height:420px}
.rt-empty{color:var(--muted,#64656c)}

/* Formatted text */
.rt-content{white-space:normal;overflow-wrap:anywhere}
.rt-content>:first-child{margin-top:0}
.rt-content>:last-child{margin-bottom:0}
.rt-content p{margin:0 0 .7em}
.rt-content ul,.rt-content ol{margin:0 0 .7em;padding-left:1.4em}
.rt-content li{margin:.15em 0}
.rt-content h3,.rt-content h4,.rt-content h5{margin:1em 0 .4em;line-height:1.25;letter-spacing:-.01em}
.rt-content h3{font-size:1.25em}.rt-content h4{font-size:1.1em}.rt-content h5{font-size:1em}
.rt-content blockquote{margin:0 0 .7em;padding:.1em 0 .1em .9em;border-left:3px solid currentColor;opacity:.85}
.rt-content code{padding:.1em .35em;border-radius:5px;background:#17181c12;font:.9em/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.rt-content a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.rt-content strong{font-weight:700}
