/* RICH TEXT — the look of a layout's Rich text spot (FSB-16.44), loaded by the page (for the
   editor's surface) and inside every spot's shadow root. Formatting is carried by these classes
   only — the server drops every style attribute (db-poc/src/rich_html.rs) — so no admin text
   becomes CSS (FSB-16.46). Colours come from the admin's palette through --rt-c-N, set by the app
   through the CSSOM from validated #hex values. Sizes are em of the spot's base size, so the
   block scales with its layout. */
.fsb-rich{line-height:1.3;overflow-wrap:anywhere}
.fsb-rich>:first-child{margin-top:0}
.fsb-rich>:last-child{margin-bottom:0}
.fsb-rich p{margin:0 0 .45em}
.fsb-rich div{margin:0}
.fsb-rich h1{font-size:2em;font-weight:700;line-height:1.1;margin:0 0 .35em}
.fsb-rich h2{font-size:1.5em;font-weight:700;line-height:1.15;margin:0 0 .35em}
.fsb-rich h3{font-size:1.2em;font-weight:600;line-height:1.2;margin:0 0 .35em}
.fsb-rich ul,.fsb-rich ol{padding-left:1.4em;margin:0 0 .45em}
.fsb-rich ul{list-style:disc}
.fsb-rich ol{list-style:decimal}
.fsb-rich li{margin:.1em 0}
.fsb-rich blockquote{margin:0 0 .45em;padding-left:.7em;border-left:.2em solid #d8b4fe;color:#4b5563}
.fsb-rich a{color:var(--color-primary,#a457fb);text-decoration:underline;cursor:pointer}
.fsb-rich hr{border:0;border-top:1px solid #e5e7eb;margin:.6em 0}
.fsb-rich strong,.fsb-rich b{font-weight:700}
.fsb-rich-edit:empty:before{content:attr(data-placeholder);color:#9ca3af}

/* Fonts (the served set). */
.rt-f-outfit{font-family:'Outfit',system-ui,sans-serif}
.rt-f-serif{font-family:Georgia,'Times New Roman',serif}
.rt-f-mono{font-family:ui-monospace,Menlo,Consolas,monospace}
.rt-f-playfair{font-family:'Playfair Display',Georgia,serif}
.rt-f-lora{font-family:'Lora',Georgia,serif}
.rt-f-caveat{font-family:'Caveat',cursive}

/* Sizes: Small, Normal, Large, Larger, Huge, Giant. */
.rt-s-1{font-size:.8em}
.rt-s-2{font-size:1em}
.rt-s-3{font-size:1.25em}
.rt-s-4{font-size:1.6em}
.rt-s-5{font-size:2em}
.rt-s-6{font-size:3em}

/* Alignment (left is the default). */
.rt-a-center{text-align:center}
.rt-a-right{text-align:right}

/* Palette slots: text colour and highlight. */
.rt-c-1{color:var(--rt-c-1)}
.rt-c-2{color:var(--rt-c-2)}
.rt-c-3{color:var(--rt-c-3)}
.rt-c-4{color:var(--rt-c-4)}
.rt-c-5{color:var(--rt-c-5)}
.rt-c-6{color:var(--rt-c-6)}
.rt-c-7{color:var(--rt-c-7)}
.rt-c-8{color:var(--rt-c-8)}
.rt-c-9{color:var(--rt-c-9)}
.rt-c-10{color:var(--rt-c-10)}
.rt-c-11{color:var(--rt-c-11)}
.rt-c-12{color:var(--rt-c-12)}
.rt-h-1{background-color:var(--rt-c-1)}
.rt-h-2{background-color:var(--rt-c-2)}
.rt-h-3{background-color:var(--rt-c-3)}
.rt-h-4{background-color:var(--rt-c-4)}
.rt-h-5{background-color:var(--rt-c-5)}
.rt-h-6{background-color:var(--rt-c-6)}
.rt-h-7{background-color:var(--rt-c-7)}
.rt-h-8{background-color:var(--rt-c-8)}
.rt-h-9{background-color:var(--rt-c-9)}
.rt-h-10{background-color:var(--rt-c-10)}
.rt-h-11{background-color:var(--rt-c-11)}
.rt-h-12{background-color:var(--rt-c-12)}
