@font-face{font-family:'Figtree';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/figtree-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:'Figtree';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/figtree-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}@font-face{font-family:'Figtree';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/figtree-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:'Figtree';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/figtree-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}.fls {
    --page: #ffffff; --text: #222222; --muted: #7a7a7a; --line: #d7d7d7;
    --heading: #111111; --accent: #007bb0; --on-accent: #ffffff; --soft: #f4f5f7;
    --hard: #000000; --hl: #ffd800; --on-hl: #111111; --hl-hover: #dbba03;
    --accent-hover: #268fbc;
    --card: transparent;
    --heading-font: Figtree, Arial, Helvetica, sans-serif; --body-font: Figtree, Arial, Helvetica, sans-serif;
    --heading-weight: 700; --heading-track: 0;
    --logo-font: Figtree, Arial, Helvetica, sans-serif; --logo-weight: 700; --logo-track: 0;
    --size: 17px; --width: 1200px; --read: 700px; --gap: 24px; --pad: 20px;
    --radius: 6px; --card-radius: 8px;
    container-type: inline-size;
    margin: 0; background: var(--page); color: var(--text);
    font-family: var(--body-font); font-size: var(--size); line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.fls *, .fls *::before, .fls *::after { box-sizing: border-box; }

/* Sections: one per top-level block, colored by its band. */
.fls .fl-sec {
    --bg: var(--page); --fg: var(--text); --hd: var(--heading); --link: var(--accent); --mut: var(--muted); --ln: var(--line);
    --btn: var(--accent); --btn-text: var(--on-accent); --btn-hover: var(--accent-hover);
    background: var(--bg); color: var(--fg);
    padding: calc(var(--gap) / 2) 24px;
}
.fls .fl-soft { --bg: var(--soft); }
.fls .fl-hard {
    --bg: #000000; --fg: #ffffff; --hd: #ffffff; --link: #ffffff;
    --mut: #bfbfbf; --ln: #4d4d4d; --btn: #007bb0; --btn-text: #ffffff; --btn-hover: #268fbc;
}
.fls .fl-highlight {
    --bg: #ffd800; --fg: #111111; --hd: #111111; --link: #111111;
    --mut: #4d430d; --ln: #b89c05; --btn: #007bb0; --btn-text: #ffffff; --btn-hover: #268fbc;
}
.fls .fl-brand {
    --bg: #007bb0; --fg: #ffffff; --hd: #ffffff; --link: #ffffff;
    --mut: #ffffff; --ln: #ffffff; --btn: #ffffff; --btn-text: #007bb0; --btn-hover: #d9ebf3;
}
.fls .fl-sec.fl-in-run { background: transparent; }
.fls .fl-edge-top { padding-top: calc(var(--gap) / 2 + 40px); }
.fls .fl-edge-bottom { padding-bottom: calc(var(--gap) / 2 + 40px); }
/* The page's first/last section gets a little more room, unless a band begins/ends there: its edge already has its
   own (so a banded block at the top or bottom has as much space above its content as below). */
.fls .fl-first:not(.fl-edge-top) { padding-top: calc(var(--gap) / 2 + 24px); }
.fls .fl-last:not(.fl-edge-bottom) { padding-bottom: calc(var(--gap) / 2 + 24px); }
/* Small spacing (a block's Spacing, Blocks::SPACINGS): a quarter of the look's spacing above and below, at a band's edge 8px more.
   Being the first or last section adds nothing, so a slim menu bar at the top of the header has as much room above as below.
   A plain section beside a band gets no extra either: it would sit lower in its own room (a search bar above a menu band). */
.fls .fl-sec.fl-tight { padding-top: calc(var(--gap) / 8); padding-bottom: calc(var(--gap) / 8); }
.fls .fl-sec.fl-tight.fl-edge-top:is(.fl-soft, .fl-brand, .fl-hard, .fl-highlight) { padding-top: calc(var(--gap) / 8 + 8px); }
.fls .fl-sec.fl-tight.fl-edge-bottom:is(.fl-soft, .fl-brand, .fl-hard, .fl-highlight) { padding-bottom: calc(var(--gap) / 8 + 8px); }
.fls .fl-wrap { max-width: var(--width); margin: 0 auto; }
.fls .fl-center { text-align: center; }
/* Text at the reading width sits in the middle of the content width, whatever its text alignment. */
.fls .fl-readable { max-width: var(--read); margin-left: auto; margin-right: auto; }

/* Text */
.fls .fl-h { margin: 0; font-family: var(--heading-font); font-weight: var(--heading-weight); letter-spacing: var(--heading-track); color: var(--hd); text-wrap: balance; }
.fls .fl-h[id] { scroll-margin-top: 6rem; } /* an internal link (#name) scrolls to it clear of a sticky header */
.fls .fl-h-tiny { font-size: 1em; line-height: 1.4; }
.fls .fl-h-small { font-size: 1.25em; line-height: 1.3; }
/* H1 to H3 grow with the page's width (cqi: the canvas's phone view too), from their phone size at ~390px to their
   full size at ~1200px. */
.fls .fl-h-normal { font-size: clamp(1.35em, 1.31em + .42cqi, 1.6em); line-height: 1.25; }
.fls .fl-h-large { font-size: clamp(1.75em, 1.66em + 1.05cqi, 2.4em); line-height: 1.12; }
.fls .fl-h-huge { font-size: clamp(2.2em, 2em + 2.3cqi, 3.6em); line-height: 1.04; }
.fls .fl-text p, .fls .fl-text ul, .fls .fl-text ol { margin: 0 0 1em; }
.fls .fl-text > :last-child { margin-bottom: 0; }
.fls .fl-text ul { list-style: disc; padding-left: 1.4em; }
.fls .fl-text ol { list-style: decimal; padding-left: 1.4em; }
.fls .fl-text li { margin: 0 0 .4em; }
.fls a { color: var(--link); }
.fls .fl-lead { font-size: 1.2em; color: var(--fg); }
.fls .fl-text-small { font-size: .875em; }
/* A linked headline (a story's title) looks like a headline, underlined when pointed at. */
.fls .fl-h a { color: inherit; text-decoration: none; }
.fls .fl-h a:hover { text-decoration: underline; }
/* Text colors (RichText::COLORS): the look's, as they are in this section. */
.fls [data-c="text"] { color: var(--fg); }
.fls [data-c="heading"] { color: var(--hd); }
.fls [data-c="accent"] { color: var(--link); }
.fls [data-c="muted"] { color: var(--mut); }
.fls [data-c="brand"] { color: #007bb0; }
.fls .fl-brand [data-c="brand"] { color: var(--hd); }
/* Icons typed into texts (Icons::inText): as tall as the letters, in the text's color. */
.fls .fl-ti { display: inline-block; line-height: 0; vertical-align: -0.125em; }
.fls .fl-ti svg { width: 1em; height: 1em; }

/* Buttons: the look's shape (filled, pill, or a plain link for Ink). */
.fls .fl-btn {
    display: inline-block; padding: 14px 28px; border: 0; border-radius: var(--radius);
    background: var(--btn); color: var(--btn-text); font: inherit; font-weight: 700; line-height: 1.2;
    text-decoration: none; cursor: pointer;
}
/* A button's icon (App\Mail\Builder\Icons::button): beside the text, in its color. */
.fls .fl-btn:has(> .fl-bi) { display: inline-flex; align-items: center; justify-content: center; gap: .5em; }
.fls .fl-btn[hidden] { display: none; }
.fls .fl-bi { display: flex; flex: none; }
.fls .fl-bi svg { display: block; }
/* Hover: the button's color moved a little towards its text color (Renderer::band()). */
.fls .fl-btn:hover { background: var(--btn-hover); }
/* An Accent button (Button block style): the look's Accent colors; in an Accent section the section's own button. */
.fls .fl-sec:not(.fl-highlight) .fl-btn-hl { --btn: var(--hl); --btn-text: var(--on-hl); --btn-hover: var(--hl-hover); }
.fls .fl-actions { margin-top: 28px; }

/* Pictures: in every size (srcset), over their thumbnail as a blurred placeholder until they arrive (--blur). */
.fls .fl-img { display: block; height: auto; max-width: 100%; border-radius: var(--card-radius); }
.fls .fl-img[style*="--blur"] { background: var(--blur) center / cover no-repeat; }
.fls .fl-img-left { margin-right: auto; }
.fls .fl-img-center { margin-left: auto; margin-right: auto; }
.fls .fl-img-right { margin-left: auto; }
.fls .fl-pick {
    cursor: pointer; padding: 48px 16px; border: 2px dashed var(--ln); border-radius: var(--card-radius);
    color: var(--mut); font-size: 14px; text-align: center;
}
.fls .fl-pick-slim { padding: 10px 16px; }

/* Video (builder/web/embed.php): the poster under our play button; the player takes its place on a click. */
.fls .fl-embed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--card-radius); background: #111; }
/* In a column as wide as its content the video has no width to take: a fixed one. */
.fls .fl-fit .fl-embed { width: min(32rem, 100cqi); }
.fls .fl-embed-square { aspect-ratio: 1; max-width: 36rem; margin-inline: auto; }
.fls .fl-embed-tall { aspect-ratio: 9 / 16; max-width: 22rem; margin-inline: auto; }
.fls .fl-embed-play, .fls .fl-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fls .fl-embed-play { display: grid; place-items: center; cursor: pointer; }
.fls .fl-embed-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fls .fl-embed-btn {
    position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
    background: var(--btn); color: var(--btn-text); box-shadow: 0 6px 24px rgb(0 0 0 / .35); transition: transform .15s, background-color .15s;
}
.fls .fl-embed-btn svg { margin-left: 4px; }
.fls .fl-embed-play:hover .fl-embed-btn, .fls .fl-embed-play:focus-visible .fl-embed-btn { background: var(--btn-hover); transform: scale(1.06); }

/* Countdown (builder/web/countdown.php): a tile per unit in the section's colors, ticked by its inline script. */
.fls .fl-cd { text-align: center; }
.fls .fl-cd-left { text-align: left; }
.fls .fl-cd [hidden], .fls .fl-cd[hidden] { display: none; }
.fls .fl-cd-units { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.fls .fl-cd-unit {
    min-width: 5.5rem; padding: 16px 10px 12px; border-radius: var(--card-radius);
    background: color-mix(in srgb, var(--fg) 7%, transparent); border: 1px solid color-mix(in srgb, var(--fg) 10%, transparent);
}
.fls .fl-cd-n {
    display: block; font-family: var(--heading-font); font-weight: var(--heading-weight); font-size: 2.6em; line-height: 1;
    color: var(--hd); font-variant-numeric: tabular-nums;
}
.fls .fl-cd-l { display: block; margin-top: 8px; font-size: .75em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.fls .fl-cd-ended { margin: 0; font-family: var(--heading-font); font-size: 1.3em; color: var(--hd); }
.fls .fl-cd-hint { margin-top: 14px; font-family: inherit; font-size: 13px; color: var(--mut); }
@container (max-width: 600px) {
    .fls .fl-cd-units { gap: 8px; }
    .fls .fl-cd-unit { min-width: 4.2rem; padding: 12px 6px 10px; }
    .fls .fl-cd-n { font-size: 1.9em; }
}

.fls .fl-hr { --hr: var(--ln); --hw: 1px; border: 0; border-top: var(--hw) solid var(--hr); margin: 0 auto; width: 100%; }
.fls .fl-hr-thick { --hw: 3px; }
.fls .fl-hr-accent { --hr: var(--link); }
.fls .fl-hr-text { --hr: var(--fg); }
.fls .fl-hr-dashed { border-top-style: dashed; }
.fls .fl-hr-dotted { border-top-style: dotted; }
.fls .fl-hr-wide { width: 66%; }
.fls .fl-hr-short { width: 80px; }
.fls .fl-hr-fade { border: 0; height: var(--hw); background: linear-gradient(90deg, transparent, var(--hr), transparent); }
.fls .fl-hr-dots { border: 0; width: auto; overflow: visible; text-align: center; color: var(--hr); line-height: 1; }
.fls .fl-hr-dots::before { content: "\2022\2022\2022"; letter-spacing: .5em; margin-right: -.5em; font-size: 1.25em; }
.fls .fl-hr-dots.fl-hr-thick::before { font-size: 1.75em; }
.fls .fl-space-small { height: 16px; }
.fls .fl-space-medium { height: 32px; }
.fls .fl-space-large { height: 64px; }
.fls .fl-space-huge { height: 128px; }

/* Columns: tracks from the block's layout (--cols), a card per column when the look has a card color.
   .fl-fit = columns as wide as their content, in a row that wraps. */
.fls .fl-cols { display: grid; grid-template-columns: var(--cols); gap: var(--gap); }
/* A column is padded only when it has a background: a card (below) or a background picture. */
.fls .fl-col { display: flex; flex-direction: column; gap: calc(var(--gap) / 2); min-width: 0; grid-column: span var(--span, 1); }
.fls .fl-cols-tight { gap: calc(var(--gap) / 2); }
.fls .fl-cols-tight > .fl-col { gap: calc(var(--gap) / 4); }
/* Pictures stacked in a column are a whole gap apart, like the columns beside them, so a grid of pictures has even
   spacing (blocks in a column are half of it apart: a heading stays close to its text). The picture viewer's script
   may sit between two of them; on the canvas each block is wrapped in .ec-blk (data-pic). */
.fls .fl-col > :is(.fl-img:not(.fl-col-img), a:has(> .fl-img)) + :is(.fl-img, a:has(> .fl-img)),
.fls .fl-col > :is(.fl-img:not(.fl-col-img), a:has(> .fl-img)) + script + :is(.fl-img, a:has(> .fl-img)),
.fls .fl-col > [data-pic] + [data-pic] { margin-top: calc(var(--gap) / 2); }
.fls .fl-fit { display: flex; flex-wrap: wrap; align-items: flex-start; }
.fls .fl-fit > .fl-col { flex: 0 1 auto; max-width: 100%; }
/* Text in a column fills it (up to the reading width) from its left edge: the auto margins that put reading-width
   text in the middle of the page would otherwise shrink a short text and center it in its column. */
.fls .fl-col > .fl-readable { width: 100%; }
.fls .fl-col > .fl-readable:not(.fl-center) { margin-left: 0; }
/* A picture block set as the column's background: the picture covers the column, its other blocks on top. */
.fls .fl-col-bg { position: relative; isolation: isolate; min-height: 16rem; padding: var(--pad); border-radius: var(--card-radius); }
.fls .fl-fit > .fl-col-bg { min-width: 16rem; }
.fls .fl-col-img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: inherit; }
/* A layer of one of the look's colors over the picture (--ov, with its opacity); the column's text reads on it. */
.fls .fl-ov { color: var(--fg); }
.fls .fl-ov::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ov); border-radius: inherit; }
/* A column's blocks when the row is taller than they are (Blocks::VALIGNS). */
.fls .fl-v-middle { justify-content: center; }
.fls .fl-v-bottom { justify-content: flex-end; }
.fls .fl-v-between { justify-content: space-between; }
.fls .fl-fit > .fl-v-middle { align-self: center; }
.fls .fl-fit > .fl-v-bottom { align-self: flex-end; }
.fls .fl-fit > .fl-v-between { align-self: stretch; }
.fls .fl-fit-center { justify-content: center; }
.fls .fl-fit-right { justify-content: flex-end; }
/* Horizontal spacing (Columns::SPREADS): the row's free room around the columns or between them. */
.fls .fl-fit-evenly { justify-content: space-evenly; }
.fls .fl-fit-between { justify-content: space-between; }

/* Side menu (web/side_menu.php). Wide: its list (the <ul> and <li> as display: contents) and every item's blocks are
   one grid: labels down the first column, all bodies in the same cell of the second (as tall as the tallest, so
   nothing jumps), only the shown one visible. With its script (.fl-sm-js) that's .fl-on: the item pointed, tapped or
   focused last, which stays open when the mouse crosses the gap to its blocks or leaves the block. Without it
   (scripts off) the pointed/focused item, else the first. On the canvas (.fl-sm-edit) the item chosen there (.fl-on).
   Narrow: stacked, every item open. */
.fls .fl-sm { --sm-w: 16rem; display: flex; flex-direction: column; gap: calc(var(--gap) / 2); }
.fls .fl-sm-w-narrow { --sm-w: 12rem; }
.fls .fl-sm-w-wide { --sm-w: 20rem; }
.fls .fl-sm-list { display: flex; flex-direction: column; gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.fls .fl-sm-li { display: flex; flex-direction: column; gap: 8px; }
.fls .fl-sm-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--hd); font-weight: 600; text-decoration: none; cursor: pointer; }
.fls .fl-sm-item .fl-chev { display: none; flex: none; opacity: .55; }
.fls .fl-sm-body { display: flex; flex-direction: column; gap: calc(var(--gap) / 2); min-width: 0; }
.fls .fl-sm-body > .fl-readable { width: 100%; }
.fls .fl-sm-body > .fl-readable:not(.fl-center) { margin-left: 0; }
.fls .fl-sm-edit .fl-sm-li:not(.fl-on) > .fl-sm-body { display: none; }
@container (min-width: 761px) {
    .fls .fl-sm { display: grid; grid-template-columns: var(--sm-w) minmax(0, 1fr); grid-template-rows: repeat(var(--sm-n), auto) 1fr; gap: 0 var(--gap); }
    .fls .fl-sm-list, .fls .fl-sm-li { display: contents; }
    .fls .fl-sm-item { grid-column: 1; grid-row: var(--i); padding: 9px 12px; border-radius: min(var(--radius), 10px); }
    .fls .fl-sm-item .fl-chev { display: block; }
    .fls .fl-sm-body { grid-column: 2; grid-row: 1 / span calc(var(--sm-n) + 1); visibility: hidden; padding-left: var(--gap); border-left: 1px solid var(--ln); }
    .fls .fl-sm-edit .fl-sm-li:not(.fl-on) > .fl-sm-body { display: flex; }
    .fls .fl-sm:not(.fl-sm-edit, .fl-sm-js) .fl-sm-li:is(:hover, :focus-within) > .fl-sm-body,
    .fls .fl-sm:not(.fl-sm-edit, .fl-sm-js):not(:has(.fl-sm-li:hover, .fl-sm-li:focus-within)) .fl-sm-li:first-child > .fl-sm-body,
    .fls .fl-sm:is(.fl-sm-edit, .fl-sm-js) .fl-sm-li.fl-on > .fl-sm-body { visibility: visible; }
    .fls .fl-sm:not(.fl-sm-edit, .fl-sm-js) .fl-sm-li:is(:hover, :focus-within) > .fl-sm-item,
    .fls .fl-sm:not(.fl-sm-edit, .fl-sm-js):not(:has(.fl-sm-li:hover, .fl-sm-li:focus-within)) .fl-sm-li:first-child > .fl-sm-item,
    .fls .fl-sm:is(.fl-sm-edit, .fl-sm-js) .fl-sm-li.fl-on > .fl-sm-item { --on: 1; color: var(--link); }
    .fls .fl-sm-soft .fl-sm-item { background: color-mix(in srgb, var(--fg) calc(var(--on, 0) * 7%), transparent); }
    .fls .fl-sm-line .fl-sm-item { border-radius: 0; box-shadow: inset calc(var(--on, 0) * 3px) 0 0 var(--link); }
    .fls .fl-sm-plain .fl-sm-item { padding-left: 0; padding-right: 0; }
}

/* Border (Blocks::BORDERS, PageRenderer::border): the color of the line a block draws around each card, question or
   column; light = the look's line, dark = the text color a little softened. Each block's rules below use it. */
.fls .fl-bd-light { --bd: var(--ln); }
.fls .fl-bd-dark { --bd: color-mix(in srgb, var(--fg) 70%, transparent); }
.fls .fl-cols.fl-bd > .fl-col { border: 1px solid var(--bd); border-radius: var(--card-radius); padding: var(--pad); }

/* Hero */
.fls .fl-hero { display: grid; gap: 40px; align-items: center; }
.fls .fl-hero-centered { text-align: center; justify-items: center; }
.fls .fl-hero-centered .fl-hero-text { max-width: 48rem; }
.fls .fl-hero-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
/* Picture on the left: the text is second on wide screens, first again where they stack. */
.fls .fl-hero-left { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.fls .fl-hero-left > .fl-hero-text { order: 2; }
.fls .fl-hero .fl-text { margin-top: 20px; }
.fls .fl-cover {
    --fg: #ffffff; --hd: #ffffff; --link: #ffffff; --mut: #e5e7eb; --ov: transparent;
    background: linear-gradient(var(--ov), var(--ov)), var(--cover) center / cover no-repeat,
        var(--cover-thumb, none) center / cover no-repeat, #111;
    padding-top: calc(var(--gap) + 96px); padding-bottom: calc(var(--gap) + 96px);
}
.fls .fl-cover .fl-hero { text-align: center; justify-items: center; }

/* Quote: a look (Blocks::QUOTE_STYLES), a size and left/center/right (the box and its text). */
.fls .fl-quote { margin: 0 auto; max-width: var(--read); text-align: center; }
.fls .fl-quote blockquote { margin: 0; font-family: var(--heading-font); font-size: 1.5em; line-height: 1.35; color: var(--hd); }
.fls .fl-quote figcaption { margin-top: 16px; color: var(--mut); }
.fls .fl-qt-left { margin-left: 0; text-align: left; }
.fls .fl-qt-right { margin-right: 0; text-align: right; }
.fls .fl-qt-small blockquote { font-size: 1.2em; line-height: 1.45; }
.fls .fl-qt-large blockquote { font-size: clamp(1.75em, 4cqi, 2.25em); line-height: 1.25; }
.fls .fl-qt-marks blockquote::before {
    content: "\201C"; display: block; height: .5em; margin-bottom: .15em; font-size: 3.2em; line-height: 1; color: var(--link);
}
.fls .fl-qt-bar.fl-qt-left { padding: 4px 0 4px 24px; border-left: 4px solid var(--link); }
.fls .fl-qt-bar.fl-qt-right { padding: 4px 24px 4px 0; border-right: 4px solid var(--link); }
.fls .fl-qt-bar.fl-qt-center::before { content: ""; display: block; width: 48px; height: 4px; margin: 0 auto 24px; border-radius: 2px; background: var(--link); }
.fls .fl-qt-card { padding: clamp(24px, 4cqi, 44px); border-radius: var(--card-radius); background: color-mix(in srgb, var(--fg) 6%, transparent); }
.fls .fl-qt-lines { padding: 28px 0; border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); }
.fls .fl-qt-lines figcaption::before, .fls .fl-qt-bar figcaption::before { content: "\2014\00a0"; }

/* Testimonials: cards in a row that scrolls sideways (three, two or one at a time), arrows beside it on wide pages
   and under it on narrow ones (shown by its script only when there's more to see); the canvas shows the arrows always and scrolls by Datastar. */
.fls .fl-reviews { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 12px; }
.fls .fl-rv-track {
    --per: 3; --rv-gap: 24px;
    order: -1; flex: 0 0 100%; display: grid; grid-auto-flow: column; justify-content: safe center;
    grid-auto-columns: calc((100% - (var(--per) - 1) * var(--rv-gap)) / var(--per)); column-gap: var(--rv-gap);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 6px 2px 18px; scroll-padding-inline: 2px;
}
.fls .fl-rv-track::-webkit-scrollbar { display: none; }
.fls .fl-rv-track:focus-visible { outline: 2px solid var(--hd); outline-offset: 2px; border-radius: min(var(--card-radius), 12px); }
.fls .fl-rv-all .fl-rv-track { grid-auto-flow: row; grid-template-columns: repeat(var(--per), minmax(0, 1fr)); grid-auto-columns: auto; gap: var(--rv-gap); overflow: visible; }
.fls .fl-review {
    --bg: var(--page); --fg: var(--text); --hd: var(--heading); --link: var(--accent); --mut: var(--muted); --ln: var(--line);
    display: flex; flex-direction: column; margin: 0; padding: clamp(20px, 3cqi, 30px); scroll-snap-align: start;
    background: var(--bg); color: var(--fg); border: 1px solid var(--ln); border-radius: min(var(--card-radius), 20px);
    box-shadow: 0 6px 18px rgb(0 0 0 / .07);
}
.fls .fl-rv-noline .fl-review { border-color: transparent; }
.fls .fl-reviews.fl-bd-dark .fl-review { border-color: color-mix(in srgb, var(--fg) 70%, transparent); }
.fls .fl-review blockquote { margin: 0 0 24px; font-family: var(--heading-font); font-size: 1.12em; line-height: 1.55; color: var(--hd); }
.fls .fl-review blockquote::before { content: "\201C"; display: block; height: 2.1rem; font-size: 3.6rem; line-height: 1; color: var(--accent); }
.fls .fl-rv-meta { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.fls .fl-rv-avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.fls .fl-rv-initials { display: grid; place-items: center; background: var(--soft); color: var(--accent); font-weight: 700; }
.fls .fl-rv-initials[title] { cursor: pointer; }
.fls .fl-rv-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.fls .fl-rv-name { font-weight: 700; color: var(--hd); }
.fls .fl-rv-role { color: var(--mut); font-size: .9em; }
.fls .fl-rv-arrow {
    display: grid; place-items: center; width: 46px; height: 46px; padding: 0; cursor: pointer;
    border: 1px solid var(--ln); border-radius: 50%; background: var(--bg); color: var(--hd);
}
.fls .fl-rv-arrow[hidden] { display: none; }
.fls .fl-rv-arrow:hover:not(:disabled) { border-color: var(--hd); }
.fls .fl-rv-arrow:disabled { opacity: .35; cursor: default; }
@container (min-width: 1360px) {
    .fls .fl-sec > .fl-wrap > .fl-reviews .fl-rv-arrow { position: absolute; top: calc(50% - 6px); transform: translateY(-50%); }
    .fls .fl-sec > .fl-wrap > .fl-reviews .fl-rv-prev { right: calc(100% + 16px); }
    .fls .fl-sec > .fl-wrap > .fl-reviews .fl-rv-next { left: calc(100% + 16px); }
}
.fls .fl-rv-per-1 .fl-rv-track { --per: 1; }
.fls .fl-rv-per-2 .fl-rv-track { --per: 2; }
.fls .fl-rv-per-4 .fl-rv-track { --per: 4; }
@container (max-width: 1100px) { .fls .fl-rv-per-4 .fl-rv-track { --per: 3; } }
@container (max-width: 960px) { .fls .fl-rv-per-3 .fl-rv-track, .fls .fl-rv-per-4 .fl-rv-track { --per: 2; } }
@container (max-width: 600px) { .fls .fl-reviews .fl-rv-track { --per: 1; --rv-gap: 16px; grid-auto-columns: 86%; } .fls .fl-rv-all .fl-rv-track { grid-auto-columns: auto; } }

/* Slideshow (builder/web/slideshow.php): one picture at a time in a row that scrolls sideways, cut to the block's ratio
   (never flatter than 4:3 on narrow screens), arrows over its sides and dots under the middle. Full width (.fl-bleed):
   edge to edge with no room around it and square corners. */
.fls .fl-sec.fl-bleed, .fls .fl-bleed.fl-first, .fls .fl-bleed.fl-last { padding: 0; }
.fls .fl-bleed > .fl-wrap { max-width: none; }
.fls .fl-slides { position: relative; --sl-ratio: 2 / 1; }
.fls .fl-sl-21-9 { --sl-ratio: 21 / 9; }
.fls .fl-sl-16-9 { --sl-ratio: 16 / 9; }
.fls .fl-sl-3-2 { --sl-ratio: 3 / 2; }
.fls .fl-sl-4-3 { --sl-ratio: 4 / 3; }
.fls .fl-sl-track {
    display: flex; aspect-ratio: var(--sl-ratio); overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--card-radius);
}
.fls .fl-bleed .fl-sl-track { border-radius: 0; }
.fls .fl-sl-track::-webkit-scrollbar { display: none; }
.fls .fl-sl-track:focus-visible { outline: 2px solid var(--hd); outline-offset: 2px; }
.fls .fl-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.fls .fl-slide .fl-img { width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
.fls .fl-slide .fl-pick { height: 100%; display: grid; place-items: center; border-radius: 0; }
.fls .fl-sl-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px;
    padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: rgb(255 255 255 / .75); color: #111;
    box-shadow: 0 2px 10px rgb(0 0 0 / .18);
}
.fls .fl-sl-arrow:hover { background: #fff; }
.fls .fl-sl-prev { left: 16px; }
.fls .fl-sl-next { right: 16px; }
.fls .fl-sl-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 10px; pointer-events: none; }
.fls .fl-sl-dot {
    width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; pointer-events: auto;
    background: #fff; opacity: .55; box-shadow: 0 1px 4px rgb(0 0 0 / .35);
}
.fls .fl-sl-dot[aria-current="true"] { opacity: 1; }
@container (max-width: 600px) {
    .fls .fl-sl-21-9, .fls .fl-sl-2-1, .fls .fl-sl-16-9, .fls .fl-sl-3-2 { --sl-ratio: 4 / 3; }
    .fls .fl-sl-arrow { width: 36px; height: 36px; }
    .fls .fl-sl-prev { left: 8px; }
    .fls .fl-sl-next { right: 8px; }
}

/* Picture viewer (builder/web/image.php): a picture linked to a picture of the account opens it large over the page,
   with arrows to the other such pictures on the page; the link itself works without the script. */
.fls .fl-zoom { display: block; cursor: zoom-in; }
.fls .fl-lightbox {
    width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
    background: rgb(0 0 0 / .9); color: #fff;
}
.fls .fl-lightbox::backdrop { background: rgb(0 0 0 / .6); }
.fls .fl-lightbox[open] { display: grid; place-items: center; }
.fls .fl-lightbox img { max-width: calc(100vw - 128px); max-height: calc(100dvh - 96px); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.fls .fl-lb-btn {
    position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
    cursor: pointer; background: rgb(255 255 255 / .12); color: #fff;
}
.fls .fl-lb-btn:hover { background: rgb(255 255 255 / .25); }
.fls .fl-lb-btn[hidden] { display: none; }
.fls .fl-lb-close { top: 16px; right: 16px; }
.fls .fl-lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.fls .fl-lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
    .fls .fl-lightbox img { max-width: 100vw; max-height: calc(100dvh - 140px); border-radius: 0; }
    .fls .fl-lb-prev, .fls .fl-lb-next { top: auto; bottom: 16px; transform: none; }
}

/* Social links (builder/web/social.php): plain marks, in a circle of the button color, or in each network's own color. */
.fls .fl-social { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: calc(var(--so) * .6); }
.fls .fl-so-left { justify-content: flex-start; }
.fls .fl-so-right { justify-content: flex-end; }
.fls .fl-so {
    position: relative; display: inline-grid; place-items: center; padding: 0; border: 0; background: none; font: inherit;
    color: var(--hd); text-decoration: none; cursor: pointer; transition: opacity .15s, transform .15s;
}
.fls .fl-so[hidden] { display: none; }
.fls .fl-so:hover { opacity: .75; }
.fls .fl-so:focus-visible { outline: 2px solid var(--hd); outline-offset: 3px; border-radius: 50%; }
.fls .fl-so-round .fl-so, .fls .fl-so-brand .fl-so { width: calc(var(--so) * 1.75); height: calc(var(--so) * 1.75); border-radius: 50%; }
.fls .fl-so-round .fl-so { background: var(--btn); color: var(--btn-text); }
.fls .fl-so-brand .fl-so { background: var(--so-c); color: #fff; }
.fls .fl-so-round .fl-so:hover, .fls .fl-so-brand .fl-so:hover { opacity: .85; transform: translateY(-1px); }
.fls .fl-so[data-empty] { opacity: .35; }
.fls .fl-so[data-copied]::after {
    content: attr(data-copied); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    padding: 3px 8px; border-radius: 6px; background: var(--hd); color: var(--bg); font-size: 12px; white-space: nowrap;
}
.fls .fl-so-hint { margin: 0; color: var(--mut); font-size: 14px; }

/* Table (Blocks::TABLE_STYLES): a line under each row, every cell in lines, or every other row tinted; headings in the
   heading color. Wider than its place = it scrolls sideways (cells keep a readable width). */
.fls .fl-table { margin: 0 auto; }
.fls .fl-tb-read { max-width: var(--read); }
.fls .fl-tb-scroll { overflow-x: auto; }
.fls .fl-tb-scroll:focus-visible { outline: 2px solid var(--hd); outline-offset: 2px; }
.fls .fl-table table { width: 100%; border-collapse: collapse; line-height: 1.45; }
.fls .fl-table th, .fls .fl-table td { min-width: 7em; padding: 10px 14px; text-align: left; vertical-align: top; overflow-wrap: break-word; }
.fls .fl-table th { font-weight: 600; color: var(--hd); }
.fls .fl-tb-lines th, .fls .fl-tb-lines td { border-bottom: 1px solid var(--ln); }
.fls .fl-tb-lines th:first-child, .fls .fl-tb-lines td:first-child { padding-left: 4px; }
.fls .fl-tb-lines thead th, .fls .fl-tb-striped thead th { border-bottom: 2px solid color-mix(in srgb, var(--fg) 35%, transparent); }
.fls .fl-tb-grid th, .fls .fl-tb-grid td { border: 1px solid var(--ln); }
.fls .fl-tb-grid thead th { background: color-mix(in srgb, var(--fg) 6%, transparent); }
.fls .fl-tb-striped tbody tr:nth-child(odd) > * { background: color-mix(in srgb, var(--fg) 5%, transparent); }
.fls .fl-tb-striped tbody tr:nth-child(odd) > :first-child { border-radius: 6px 0 0 6px; }
.fls .fl-tb-striped tbody tr:nth-child(odd) > :last-child { border-radius: 0 6px 6px 0; }

/* Question and answer: a look (Blocks::FAQ_STYLES), the open/close sign (plus/minus, an arrow that turns, none) on the
   right or the left, reading or full width, centered or on the left. On the canvas (.fl-faq-fold) the sign shows closed. */
.fls .fl-faq { max-width: var(--read); margin: 0 auto; padding: 4px 0 18px; }
.fls .fl-faq-full { max-width: none; }
.fls .fl-faq-left { margin-left: 0; }
.fls .fl-faq-lines { border-bottom: 1px solid var(--ln); }
.fls .fl-faq-cards, .fls .fl-faq.fl-bd { padding: 18px 22px; border-radius: min(var(--card-radius), 16px); }
.fls .fl-faq-cards { background: color-mix(in srgb, var(--fg) 6%, transparent); }
.fls .fl-faq-plain { padding-bottom: 8px; }
.fls .fl-faq.fl-bd { border: 1px solid var(--bd); }
.fls .fl-faq summary, .fls .fl-faq .fl-q {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none;
    font-family: var(--heading-font); font-weight: var(--heading-weight); font-size: 1.15em; color: var(--hd);
}
.fls .fl-faq summary::-webkit-details-marker { display: none; }
.fls .fl-faq summary::after, .fls .fl-faq-fold > .fl-q::after { content: "+"; flex: none; color: var(--mut); }
.fls .fl-faq[open] summary::after { content: "\2013"; }
.fls .fl-faq.fl-faq-chevron summary::after, .fls .fl-faq-chevron.fl-faq-fold > .fl-q::after {
    content: ""; width: .42em; height: .42em; margin: 0 .25em; border: solid var(--mut); border-width: 0 2px 2px 0;
    transform: translateY(-25%) rotate(45deg); transition: transform .2s;
}
.fls .fl-faq.fl-faq-chevron[open] summary::after { transform: translateY(25%) rotate(-135deg); }
.fls .fl-faq.fl-faq-noicon summary::after, .fls .fl-faq-noicon > .fl-q::after { content: none; }
.fls .fl-faq-iconleft summary, .fls .fl-faq-iconleft > .fl-q { flex-direction: row-reverse; justify-content: flex-end; }
.fls .fl-faq-iconleft > .fl-text { padding-left: calc(1em + 16px); }
.fls h3.fl-q { margin: 0; cursor: auto; line-height: inherit; }
.fls .fl-faq .fl-text { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .fls .fl-faq summary::after { transition: none; } }

/* Signup forms (fields from templates/embed/_field.php) */
.fls .fl-signup { max-width: 30rem; }
.fls .fl-signup.fl-center { margin: 0 auto; text-align: left; }
.fls .ecf-form { display: grid; gap: 14px; }
.fls .ecf-title { margin: 0; font-family: var(--heading-font); font-weight: var(--heading-weight); font-size: 1.5em; color: var(--hd); }
.fls .ecf-intro, .fls .ecf-consent { margin: 0; color: var(--mut); }
.fls .ecf-consent { font-size: .85em; }
.fls .ecf-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
.fls .ecf-row.fl-company { align-items: start; } /* a VAT number's message grows only its own field */
.fls .ecf-row.fl-street { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr) minmax(6.5rem, 32%); } /* street + house number, side by side on phones too */
.fls .ecf-field { display: grid; gap: 6px; }
.fls .ecf-label { font-size: .9em; font-weight: 600; }
.fls .ecf-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fls .ecf-req { color: var(--mut); }
.fls .ecf-input {
    width: 100%; padding: 12px 14px; border: 1px solid var(--ln); border-radius: min(var(--radius), 12px);
    background: #ffffff; color: #222222; font: inherit;
}
.fls .ecf-textarea { resize: vertical; min-height: 8rem; }
.fls .ecf-check { display: flex; gap: 10px; align-items: flex-start; font-size: .95em; }
.fls .ecf-check input { margin-top: .3em; }
.fls .ecf-hp { position: absolute; left: -9999px; }
/* Booking blocks (builder/web/booking.php, booking.js). */
.fls .fl-booking { display: grid; gap: 20px; }
.fls .fl-bk-services { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.fls .fl-bk-services[hidden] { display: none; }
.fls .fl-bk-service {
    display: grid; gap: 4px; padding: 16px 18px; text-align: left; font: inherit; color: var(--fg); cursor: pointer;
    background: transparent; border: 1px solid var(--ln); border-radius: min(var(--card-radius), 16px);
}
.fls .fl-bk-service:hover { border-color: var(--link); }
.fls .fl-bk-service[aria-pressed="true"] { border-color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.fls .fl-bk-name { font-weight: 700; }
.fls .fl-bk-meta, .fls .fl-bk-desc, .fls .fl-bk-note { color: var(--mut); font-size: .92em; }
.fls .fl-bk-desc { white-space: pre-line; }
/* One service: its facts, centered, not a card to choose. */
.fls .fl-bk-one .fl-bk-service, .fls .fl-bk-one .fl-bk-service:hover, .fls .fl-bk-one .fl-bk-service[aria-pressed="true"] {
    gap: 10px; justify-items: center; text-align: center; padding: 0; border: 0; box-shadow: none; cursor: default;
}
.fls .fl-bk-one { grid-template-columns: 1fr; }
.fls .fl-bk-one .fl-bk-desc { max-width: 60ch; }
.fls .fl-bk-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fls .fl-bk-facts li { padding: 4px 12px; border: 1px solid var(--ln); border-radius: 999px; font-size: .92em; }
.fls .fl-bk-panel { display: grid; gap: 16px; scroll-margin-top: 7rem; } /* booking.js scrolls back to it after Later: clear of a sticky header */
.fls .fl-bk-panel[hidden] { display: none; }
.fls .fl-bk-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.fls .fl-bk-title { font-weight: 700; }
.fls .fl-bk-tz { margin-left: .75em; font-weight: 400; font-size: .85em; color: var(--mut); }
.fls .fl-bk-days { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fls .fl-bk-days .fl-bk-step { padding: 6px 4px; }
.fls .fl-bk-days + .fl-bk-day { padding-top: 16px; border-top: 1px solid var(--ln); } /* the chosen day's times under the days */
.fls .fl-bk-daybtn {
    padding: 8px 12px; font: inherit; color: var(--fg); cursor: pointer; background: transparent;
    border: 1px solid var(--ln); border-radius: min(var(--radius), 10px);
}
.fls .fl-bk-daybtn:hover { border-color: var(--link); }
.fls .fl-bk-daybtn[aria-pressed="true"] { border-color: var(--link); box-shadow: inset 0 0 0 1px var(--link); font-weight: 600; }
.fls .fl-bk-nav, .fls .fl-bk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.fls .fl-bk-step { padding: 6px 2px; font: inherit; color: var(--link); background: none; border: 0; cursor: pointer; }
.fls .fl-bk-day { display: grid; gap: 8px; }
.fls .fl-bk-date { font-weight: 600; }
.fls .fl-bk-times { display: flex; flex-wrap: wrap; gap: 8px; }
.fls .fl-bk-time {
    min-width: 5.5em; padding: 8px 12px; font: inherit; font-variant-numeric: tabular-nums; color: var(--fg); cursor: pointer;
    background: transparent; border: 1px solid var(--ln); border-radius: min(var(--radius), 10px);
}
.fls .fl-bk-time:hover { border-color: var(--link); color: var(--link); }
.fls .fl-bk-form { display: grid; gap: 14px; max-width: 640px; }
.fls .fl-bk-summary { font-weight: 700; }
.fls .fl-bk-error { color: #b91c1c; }
.fls .fl-bk-error[hidden] { display: none; }
.fls .fl-bk-done { padding: 16px 0; font-size: 1.1em; }
/* Flexible bookings (booking.js): lengths to choose, and the calendar of dates by the day or night. */
.fls .fl-bk-lengths { display: flex; flex-wrap: wrap; gap: 8px; }
/* Months side by side while each gets 260px or more, one under the other on phones; ← → above them. */
.fls .fl-bk-months {
    display: grid; gap: 16px 28px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.fls .fl-bk-cal { display: grid; gap: 8px; align-content: start; }
.fls .fl-bk-mname { font-weight: 700; text-align: center; }
.fls .fl-bk-cals { position: relative; max-width: calc(var(--months, 1) * 420px); }
.fls .fl-bk-month { position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between; pointer-events: none; }
.fls .fl-bk-month .fl-bk-step { padding: 0 4px; line-height: 1.5; pointer-events: auto; }
.fls .fl-bk-mname { margin: 0; line-height: 1.5; }
.fls .fl-bk-month .fl-bk-step:disabled { visibility: hidden; }
.fls .fl-bk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.fls .fl-bk-wd { padding: 4px 0; font-size: .8em; text-align: center; color: var(--mut); }
.fls .fl-bk-cell {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
    aspect-ratio: 1; padding: 0; font: inherit; font-variant-numeric: tabular-nums; color: var(--fg); cursor: pointer;
    background: transparent; border: 1px solid var(--ln); border-radius: min(var(--radius), 10px);
}
.fls .fl-bk-priced .fl-bk-cell { aspect-ratio: auto; min-height: 3.3em; }
.fls .fl-bk-price { font-size: .68em; line-height: 1; color: var(--mut); white-space: nowrap; }
.fls .fl-bk-cell[aria-pressed="true"] .fl-bk-price { color: inherit; }
.fls .fl-bk-cell:disabled .fl-bk-price { visibility: hidden; }
.fls .fl-bk-cell:hover:not(:disabled, [aria-pressed="true"]) { border-color: var(--link); color: var(--link); }
.fls .fl-bk-cell:disabled { cursor: default; color: var(--mut); border-color: transparent; opacity: .5; }
.fls .fl-bk-cell.fl-bk-in { background: color-mix(in srgb, var(--link) 14%, transparent); border-color: transparent; }
.fls .fl-bk-cell[aria-pressed="true"] { background: var(--btn); color: var(--btn-text); border-color: var(--btn); font-weight: 700; }
.fls .fl-bk-blank { aspect-ratio: 1; }
.fls .fl-bk-total { font-weight: 700; }

/* A contact form sent: the page comes back with #sent-{form} (builder/web/signup.php). */
.fls .fl-sent { display: none; padding: 16px 0; font-size: 1.1em; }
.fls .fl-sent:target { display: block; }
.fls .fl-sent:target + form { display: none; }
.fls .ecf-form .fl-btn { width: 100%; }

/* Post lists (Latest posts, Blog posts: builder/web/_post_items.php): cards per row, a list's picture beside the text. */
.fls .fl-posts { display: grid; gap: var(--gap); }
.fls .fl-posts-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fls .fl-posts-cards.fl-posts-per-1 { grid-template-columns: minmax(0, 1fr); }
.fls .fl-posts-cards.fl-posts-per-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fls .fl-posts-cards.fl-posts-per-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fls .fl-post { display: grid; gap: 12px; align-content: start; color: inherit; text-decoration: none; }
.fls .fl-post-text { display: grid; gap: 8px; align-content: start; min-width: 0; }
.fls .fl-post .fl-img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; margin-inline: auto; }
.fls .fl-posts-list .fl-post-pic { grid-template-columns: min(32%, 240px) minmax(0, 1fr); gap: 20px; align-items: start; }
.fls .fl-post-title { font-family: var(--heading-font); font-weight: var(--heading-weight); font-size: 1.25em; line-height: 1.25; color: var(--hd); }
/* Post lists: the title is the post's link, stretched over the item; category links sit above it. */
.fls div.fl-post { position: relative; }
.fls a.fl-post-title { text-decoration: none; }
.fls a.fl-post-title::after { content: ''; position: absolute; inset: 0; }
.fls div.fl-post:hover a.fl-post-title { color: var(--link); }
.fls .fl-post-cat { position: relative; z-index: 1; color: inherit; text-decoration: none; }
.fls .fl-post-cat:hover, .fls .fl-meta-cat a:hover { color: var(--link); text-decoration: underline; }
.fls .fl-meta-cat a { color: inherit; text-decoration: none; }
.fls .fl-post-date { color: var(--mut); font-size: .85em; --sep: '·'; }
.fls .fl-posts-list .fl-post { padding-bottom: calc(var(--gap) / 2); border-bottom: 1px solid var(--ln); }
.fls .fl-posts.fl-bd > .fl-post { padding: 12px 12px 16px; border: 1px solid var(--bd); border-radius: var(--card-radius); }
.fls .fl-posts-list.fl-bd > .fl-post { padding: 16px; }
.fls .fl-empty { color: var(--mut); text-align: center; }

/* Breadcrumbs: as much space above as below, whatever the look's spacing (the section after starts right under it,
   unless a band of its own begins there). */
.fls .fl-sec:has(> .fl-wrap > .fl-crumbs) { padding-top: calc(var(--gap) / 4 + 12px); padding-bottom: calc(var(--gap) / 4 + 12px); }
.fls .fl-sec:not(.fl-edge-bottom):has(> .fl-wrap > .fl-crumbs) + .fl-sec:not(.fl-edge-top, .fl-cover) { padding-top: 0; }
.fls .fl-crumbs ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: .9em; color: var(--mut); }
.fls .fl-crumbs.fl-center ol { justify-content: center; }
.fls .fl-crumbs li { min-width: 0; overflow-wrap: anywhere; }
.fls .fl-crumbs li + li::before { content: "›"; margin: 0 .6em; opacity: .7; }
.fls .fl-crumbs a { color: var(--mut); text-decoration: none; }
.fls .fl-crumbs a:hover { color: var(--link); text-decoration: underline; }
.fls .fl-crumbs [aria-current] { color: var(--fg); }
.fls .fl-crumbs .fl-empty { margin: 8px 0 0; font-size: .85em; }

/* Header with the menu (builder/web/nav.php): submenus drop down on hover or focus; narrow screens fold the menu
   behind ☰ into a full-screen panel with every submenu open. A shop's menu can have its categories and brands
   (.fl-cats, its own item: stays in the header on narrow screens): top categories on the left, the pointed one's subcategories on the right. Both panels hang from the
   header (position: absolute), which sticks to the top while one is open: .fls is a size container, so
   position: fixed inside it would follow the page, not the screen. */
.fls .fl-head { position: relative; z-index: 20; padding-top: 20px; padding-bottom: 20px; }
.fls .fl-sticky, .fls .fl-head:has(details[open]) { position: sticky; top: 0; }
.fls .fl-sticky { transition: background-color .3s, color .3s; }
.fls .fl-sticky { box-shadow: 0 6px 8px -6px color-mix(in srgb, var(--hard) 12%, transparent); } /* only under it: the negative spread keeps it off the sides */
/* The header's columns (the logo beside the menu): one row on every screen, centered, no cards or padding. */
.fls .fl-head .fl-cols:not(.fl-panel *) { gap: 28px; align-items: center; }
.fls .fl-head .fl-col:not(.fl-panel *) { padding: 0; justify-content: center; }
/* The menu block: the menu, then .fl-end (button, icons, ☰) at the right. */
.fls .fl-nav { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.fls .fl-end { display: flex; align-items: center; gap: 28px; min-width: 0; }
/* Menu position (Blocks::NAV_PLACES): right = next to .fl-end; center = equal room on both sides. */
.fls .fl-nav-left .fl-menu { margin-right: auto; }
.fls .fl-nav-center::before { content: ""; flex: 1 1 0; }
.fls .fl-nav-center .fl-end { flex: 1 1 0; justify-content: flex-end; }
.fls .fl-nav-spread .fl-menu { flex: 1; justify-content: space-evenly; }
/* The bar's own logo (nav file): first, at the left of the bar; the menu keeps its place (centered: the logo takes the
   room on the left that ::before would). Only while stuck (logo_stuck, .fl-when-stuck): hidden until the script marks
   the header .fl-stuck, then it slides in; where the menu sits right after it (left, spread) it also grows from no
   width, so the menu moves over. On the canvas it shows faded (.fl-stuck-hint). */
.fls .fl-nav-logo { display: flex; flex: none; align-items: center; }
.fls .fl-nav-logo img { display: block; width: auto; max-width: none; }
.fls .fl-nav-right .fl-nav-logo { margin-right: auto; }
.fls .fl-nav-center .fl-nav-logo { flex: 1 1 0; }
.fls .fl-nav-center:has(> .fl-nav-logo)::before { content: none; }
.fls .fl-stuck-hint { opacity: .45; }
.fls .fl-when-stuck { max-width: 320px; transition: opacity .3s, transform .35s, max-width .35s, margin .35s, visibility 0s; }
.fls .fl-head:not(.fl-stuck) .fl-when-stuck { opacity: 0; transform: translateX(-16px); visibility: hidden; transition-delay: 0s, 0s, 0s, 0s, .35s; }
.fls .fl-nav-center .fl-when-stuck { max-width: none; }
.fls .fl-head:not(.fl-stuck) :is(.fl-nav-left, .fl-nav-spread) > .fl-when-stuck { max-width: 0; margin-right: -28px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .fls .fl-when-stuck { transform: none !important; transition-property: opacity, visibility; } }
/* The logo block (builder/web/logo.php). */
/* The row is a flex box, so the logo's box is exactly as high as the logo and its name (no line box around it). */
.fls .fl-logo-row { display: flex; }
.fls .fl-logo-row.fl-center { justify-content: center; }
.fls .fl-logo { line-height: 1.2;
    display: inline-flex; align-items: center; gap: 12px; min-width: 0; max-width: 100%; color: var(--hd); text-decoration: none;
    font-family: var(--logo-font); font-weight: var(--logo-weight); font-size: 1.25em; letter-spacing: var(--logo-track); }
.fls .fl-logo img { display: block; height: 40px; width: auto; } /* the block's height setting is inline */
/* A larger name (Blocks::LOGO_SIZES), smaller on narrow screens. */
.fls .fl-logo-large { font-size: clamp(1.3em, 2.6cqi, 1.9em); }
.fls .fl-logo-huge { font-size: clamp(1.5em, 4.5cqi, 3em); }
.fls .fl-menu { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
.fls .fl-menu { align-items: center; }
.fls .fl-menu > li > a, .fls .fl-sub a { color: var(--fg); text-decoration: none; font-weight: 600; }
.fls .fl-menu > li > a:hover, .fls .fl-sub a:hover { color: var(--link); }
.fls .fl-chev { flex: none; }
.fls .fl-has-sub { position: relative; }
.fls .fl-has-sub > a { display: inline-flex; align-items: center; gap: 4px; }
.fls .fl-sub {
    display: none; position: absolute; top: calc(100% + 12px); left: -18px; min-width: 13rem; margin: 0; padding: 8px 0; list-style: none;
    background: var(--bg); border: 1px solid var(--ln); border-radius: min(var(--card-radius), 12px); box-shadow: 0 12px 32px rgb(0 0 0 / .12);
}
.fls .fl-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* keeps the hover on the way down */
.fls .fl-has-sub:hover > .fl-sub, .fls .fl-has-sub:focus-within > .fl-sub { display: block; }
.fls .fl-sub a { display: block; padding: 8px 18px; font-weight: 500; white-space: nowrap; }
/* A menu panel (a mega menu, Menu panel: a page's own blocks): as wide as the header, under it; it opens on
   hover or focus like a submenu. The item stays unpositioned, so the panel hangs from the header (.fl-head). The
   strip under the hovered link keeps the hover on the way down: tall enough to reach past the header's padding and
   the room under a tall logo, it lies under the panel (which paints over it), so it only counts until the mouse is on
   the panel. The panel closes only after a moment (display's delay, allow-discrete); display, not visibility, since
   blocks inside it (the Side menu) show their own parts with visibility. */
.fls .fl-has-mega > a { position: relative; display: inline-flex; align-items: center; gap: 4px; }
.fls .fl-has-mega:hover > a::after { content: ""; position: absolute; left: -24px; right: -24px; top: 100%; height: calc(var(--gap) / 2 + 120px); }
.fls .fl-mega {
    display: none; transition: display 0s .4s allow-discrete; position: absolute; top: 100%; left: 0; right: 0; z-index: 1;
    background: var(--page); border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgb(0 0 0 / .12); font-weight: 400; text-align: left;
    /* As tall as its content, at most down to the bottom of the screen (100% = the header it hangs from), then it scrolls. */
    max-height: calc(100dvh - 100%); overflow-y: auto; overscroll-behavior: contain;
}
.fls .fl-has-mega:hover > .fl-mega, .fls .fl-has-mega:focus-within > .fl-mega { display: block; transition-delay: 0s; z-index: 2; }
.fls .fl-fold, .fls .fl-cats { flex: none; }
.fls .fl-fold { display: none; }
.fls .fl-fold > summary, .fls .fl-cats > summary { position: relative; z-index: 2; display: flex; align-items: center; list-style: none; cursor: pointer; color: var(--hd); }
.fls .fl-fold > summary::-webkit-details-marker, .fls .fl-cats > summary::-webkit-details-marker { display: none; }
.fls .fl-fold > summary { justify-content: center; width: 40px; height: 40px; margin-right: -8px; }
.fls .fl-head:has(.fl-fold[open]) .fl-cats > summary, .fls .fl-head:has(.fl-cats[open]) .fl-fold > summary { visibility: hidden; }
.fls .fl-burger, .fls .fl-burger::before, .fls .fl-burger::after, .fls .fl-x::before, .fls .fl-x::after {
    display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, background-color .2s;
}
.fls .fl-burger { position: relative; }
.fls .fl-burger::before, .fls .fl-burger::after { content: ""; position: absolute; left: 0; }
.fls .fl-burger::before { top: -7px; }
.fls .fl-burger::after { top: 7px; }
.fls .fl-fold[open] .fl-burger { background-color: transparent; }
.fls .fl-fold[open] .fl-burger::before { transform: translateY(7px) rotate(45deg); }
.fls .fl-fold[open] .fl-burger::after { transform: translateY(-7px) rotate(-45deg); }
.fls .fl-fold-panel {
    position: absolute; top: 0; left: 0; right: 0; z-index: 1; height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
    display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 96px 24px 48px; background: var(--bg); text-align: center;
}
.fls .fl-fold-panel > :first-child { margin-top: auto; }
.fls .fl-fold-panel > :last-child { margin-bottom: auto; }
.fls .fl-fold-menu { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; font-size: 1.4em; }
.fls .fl-fold-menu > li > a, .fls .fl-fold-mega > summary { color: var(--hd); text-decoration: none; font-family: var(--heading-font); font-weight: var(--heading-weight); }
.fls .fl-fold-menu > li > ul { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; font-size: .7em; }
.fls .fl-fold-menu > li > ul a { color: var(--mut); font-family: var(--body-font); font-weight: 500; text-decoration: none; }
.fls .fl-fold-menu > li > a:hover, .fls .fl-fold-menu > li > ul a:hover, .fls .fl-fold-mega > summary:hover { color: var(--link); }
/* A menu panel in ☰ (nav.php): its item opens it as a screen of its own: the other links go, its name becomes the way
   back (‹) at the top, and the panel's sections follow, laid out for the phone, with a link to the item's own page. */
.fls .fl-fold-mega > summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; }
.fls .fl-fold-mega > summary::-webkit-details-marker { display: none; }
.fls .fl-fold-mega .fl-back { display: none; }
.fls .fl-fold-mega[open] .fl-back { display: block; }
.fls .fl-fold-mega[open] .fl-chev { display: none; }
.fls .fl-fold-menu:has(.fl-fold-mega[open]) > li:not(:has(> .fl-fold-mega[open])),
.fls .fl-fold-panel:has(.fl-fold-mega[open]) > :not(.fl-fold-menu) { display: none; }
.fls .fl-fold-panel:has(.fl-fold-mega[open]) { align-items: stretch; padding-top: 80px; }
.fls .fl-fold-panel:has(.fl-fold-mega[open]) > .fl-fold-menu { margin-top: 0; }
.fls .fl-fold-mega[open] > summary { display: flex; font-size: .8em; }
.fls .fl-fold-mega .fl-panel { margin: 16px -24px 0; font-size: calc(1em / 1.4); text-align: left; }
.fls .fl-fold-mega .fl-panel > .fl-sec:first-child { padding-top: calc(var(--gap) / 2); }
.fls .fl-panel-go { display: block; margin: 8px 0 0; font-size: calc(1em / 1.4); font-weight: 600; text-align: left; text-decoration: none; color: var(--link); }
/* In a panel, texts start where the header's logo does (not centered in the reading width). */
.fls .fl-panel .fl-wrap > .fl-readable:not(.fl-center) { margin-left: 0; }
.fls .fl-cats > summary { gap: 8px; padding: 8px 12px; border-radius: min(var(--radius), 10px); background: color-mix(in srgb, var(--link) 12%, transparent); font-weight: 600; }
.fls .fl-x { display: none; position: relative; width: 18px; height: 18px; }
.fls .fl-x::before, .fls .fl-x::after { content: ""; position: absolute; top: 8px; left: -2px; }
.fls .fl-x::before { transform: rotate(45deg); }
.fls .fl-x::after { transform: rotate(-45deg); }
.fls .fl-cats[open] .fl-cats-icon { display: none; }
.fls .fl-cats[open] .fl-x { display: block; }
.fls .fl-cats-panel {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 1; padding: 0 24px; background: var(--bg);
    border-top: 1px solid var(--ln); box-shadow: 0 24px 40px rgb(0 0 0 / .12);
    max-height: calc(100dvh - 100%); overflow-y: auto; overscroll-behavior: contain;
}
/* One grid: the top categories in the first column (the list and its items as display: contents), every one's
   subcategories in the same cell beside them, only the pointed one's shown: the panel is as tall as the longer of the
   two, and follows as another category is pointed at (--cats-n: how many, _cats.php). */
.fls .fl-cats-in { display: grid; grid-template-columns: 16rem minmax(0, 1fr); grid-template-rows: repeat(var(--cats-n, 1), auto) 1fr;
    max-width: var(--width); margin: 0 auto; padding: 16px 0; }
.fls .fl-cats-in.fl-brands-in { display: block; }
.fls .fl-cats-list, .fls .fl-cats-list > li { display: contents; }
.fls .fl-cats-item { grid-column: 1; }
.fls .fl-cats-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px;
    border-radius: min(var(--card-radius), 8px); color: var(--fg); font-weight: 600; text-decoration: none; }
.fls .fl-cats-list > li:hover > .fl-cats-item, .fls .fl-cats-list > li:focus-within > .fl-cats-item { background: color-mix(in srgb, var(--fg) 7%, transparent); color: var(--link); }
.fls .fl-cats-sub { display: none; grid-column: 2; grid-row: 1 / -1; min-width: 0; padding: 4px 0 4px 32px; border-left: 1px solid var(--ln); }
.fls .fl-cats-list > li:hover > .fl-cats-sub, .fls .fl-cats-list > li:focus-within > .fl-cats-sub,
.fls .fl-cats-list:not(:has(> li:hover, > li:focus-within)) > li:first-child > .fl-cats-sub { display: block; }
.fls .fl-cats-cols { columns: 3 11rem; column-gap: 32px; }
.fls .fl-cats-col { break-inside: avoid; margin-bottom: 20px; }
.fls .fl-cats-head, .fls .fl-cats-letter { display: block; margin-bottom: 6px; color: var(--hd); font-weight: 700; text-decoration: none; }
.fls .fl-cats-col ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.fls .fl-cats-col ul a { color: var(--mut); text-decoration: none; }
.fls .fl-cats-col a:hover { color: var(--link); }
.fls .fl-cats-all { display: inline-block; margin-top: 4px; font-weight: 600; text-decoration: none; }
/* The Brands menu of its own (Menu::SHOP brands): the brands A-Z in columns, no list on the left. */
.fls .fl-brands-in .fl-cats-cols { columns: 5 10rem; }

/* Shop (ShopPages, site.js): account and cart icons in the header, product cards and page, cart, checkout.
   html.fl-has-cart is set by the head script before the page shows (from the cart in the browser). */
.fls .fl-icons { display: flex; align-items: center; gap: 14px; }
.fls .fl-icon { position: relative; display: flex; color: var(--fg); }
.fls .fl-icon:hover { color: var(--link); }
.fls .fl-count {
    display: none; position: absolute; top: -6px; right: -9px; min-width: 18px; height: 18px; padding: 0 5px;
    align-items: center; justify-content: center; border-radius: 999px; background: var(--hl); color: var(--on-hl);
    font-size: 11px; font-weight: 700; line-height: 1;
}
.fls .fl-count::after { content: var(--fl-cart, ""); }
.fl-has-cart .fls .fl-count { display: inline-flex; }
.fls .fl-catalog { display: grid; gap: 20px; }
/* Search blocks (builder/web/search.php): a rounded field with its icon, the best matches under it (site.js). */
.fls .fl-searchbox { position: relative; width: 100%; max-width: 36rem; }
.fls .fl-searchbox-icon { position: absolute; top: 50%; left: 16px; transform: translateY(-50%); color: var(--mut); pointer-events: none; }
.fls .fl-searchbox-input {
    width: 100%; padding: 11px 18px 11px 44px; border: 1px solid transparent; border-radius: 999px;
    background: color-mix(in srgb, var(--fg) 7%, transparent); color: inherit; font: inherit;
}
.fls .fl-searchbox-input:focus { outline: none; border-color: var(--link); background: #ffffff; }
.fls .fl-searchbox-input::-webkit-search-cancel-button { cursor: pointer; }
.fls .fl-searchbox-drop {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; display: grid; max-height: 70vh; overflow-y: auto;
    padding: 6px; border: 1px solid var(--ln); border-radius: min(var(--radius), 12px); background: #ffffff;
    box-shadow: 0 16px 32px rgb(0 0 0 / .14); text-align: left;
}
.fls .fl-searchbox-drop[hidden] { display: none; }
.fls .fl-searchbox-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 6px 8px;
    border-radius: min(var(--card-radius), 8px); color: var(--fg); text-decoration: none; }
.fls .fl-searchbox-item:hover, .fls .fl-searchbox-item:focus { background: color-mix(in srgb, var(--fg) 6%, transparent); }
.fls .fl-searchbox-item img, .fls .fl-searchbox-item .fl-noimg { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.fls .fl-searchbox-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fls .fl-searchbox-price { color: var(--mut); white-space: nowrap; }
.fls .fl-searchbox-all { padding: 10px 8px 6px; border-top: 1px solid var(--ln); margin-top: 4px; color: var(--link); font-weight: 600; text-decoration: none; }
.fls .fl-searchbox-none { margin: 0; padding: 10px 8px; color: var(--mut); }
.fls .fl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.fls .fl-chips a { display: block; padding: 6px 14px; border: 1px solid var(--ln); border-radius: 999px; color: var(--fg); font-weight: 600; text-decoration: none; }
.fls .fl-chips a:hover { border-color: var(--link); color: var(--link); }
.fls .fl-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
/* A grid's own layout (ShopPages::gridClass): cards per row, text centered, buttons lined up at the bottom, spacing, border. */
.fls .fl-per-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fls .fl-per-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fls .fl-per-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fls .fl-gap-tight { gap: calc(var(--gap) / 2); }
.fls .fl-gap-wide { gap: calc(var(--gap) * 1.5); }
.fls .fl-cards-center .fl-product-card, .fls .fl-cards-center .fl-product-link { justify-items: center; text-align: center; }
.fls .fl-cards-center .fl-stock, .fls .fl-cards-center .fl-add { justify-self: center; }
.fls .fl-cards-bottom .fl-product-card { grid-template-rows: 1fr auto; align-content: stretch; }
.fls .fl-cards-bottom .fl-product-link { align-content: start; }
.fls .fl-products.fl-bd > .fl-product-card { padding: 12px 12px 16px; border: 1px solid var(--bd); border-radius: var(--card-radius); }
.fls .fl-product-card { display: grid; gap: 12px; align-content: start; }
.fls .fl-product-link { display: grid; gap: 6px; color: inherit; text-decoration: none; }
/* A card's name: smaller than a post card's title, growing with the width; long words break instead of running into the next card. */
.fls .fl-product-link .fl-post-title { font-size: clamp(1em, .92em + .45cqi, 1.2em); overflow-wrap: break-word; hyphens: auto; }
.fls .fl-product-link .fl-img, .fls .fl-noimg { aspect-ratio: 1; object-fit: cover; width: 100%; margin-inline: auto; }
.fls .fl-noimg { display: block; border-radius: var(--card-radius); background: var(--soft); }
.fls .fl-price { margin: 0; color: var(--mut); font-weight: 600; }
.fls .fl-lead.fl-price { color: var(--fg); }
/* On sale (a global discount, builder/web/_price.php): the normal price struck through, then the sale price. */
.fls .fl-price .fl-was { font-weight: 400; color: var(--mut); font-size: .9em; }
.fls .fl-price .fl-now { color: var(--accent); }
.fls .fl-line s.fl-was { color: var(--mut); }
/* The Sale badge on an on-sale product's picture (a discount shown as a sale: _card.php, product.php, products.php). */
.fls .fl-product-link, .fls .fl-product-pic { position: relative; }
/* Related products and Often bought together (_product_row.php): the title over the cards. */
.fls .fl-product-row { display: grid; gap: 20px; }
.fls .fl-product-row > .fl-h { margin: 0; }
.fls .fl-sale {
    position: absolute; z-index: 1; top: 10px; left: 10px; padding: 3px 11px; border-radius: 999px; font-size: .78em; font-weight: 700; line-height: 1.5;
    letter-spacing: .03em; text-transform: uppercase; background: var(--accent); color: var(--on-accent); pointer-events: none;
}
/* Stock badges (builder/web/_stock.php): sold out and backorder quiet, few left and coming soon in the accent color. */
.fls .fl-stock {
    justify-self: start; display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78em; font-weight: 600; line-height: 1.6;
    background: color-mix(in srgb, var(--fg) 8%, transparent); color: var(--mut);
}
.fls .fl-stock-low, .fls .fl-stock-preorder { background: color-mix(in srgb, var(--link) 14%, transparent); color: var(--link); }
.fls .fl-product-info .fl-stock { margin: 0; }
.fls .fl-add { justify-self: start; padding: 10px 18px; }
.fls .fl-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: calc(var(--gap) * 1.5); align-items: start; }
.fls .fl-product-info { display: grid; gap: 16px; }
.fls .fl-product-feature { align-items: center; }
.fls .fl-product-feature .fl-buy { align-items: center; gap: 20px; margin: 0; }
.fls .fl-product-name { color: inherit; text-decoration: none; }
.fls .fl-product-pic { display: grid; gap: 12px; }
.fls .fl-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.fls .fl-thumbs a { display: block; border: 2px solid transparent; border-radius: min(var(--card-radius), 8px); }
.fls .fl-thumbs a[aria-current="true"] { border-color: var(--accent); }
.fls .fl-thumbs img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: min(var(--card-radius), 6px); }
.fls .fl-product-brand { margin: 0; color: var(--mut); font-size: .9em; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.fls .fl-specs { display: grid; gap: 6px; margin: 0; }
.fls .fl-specs div { display: flex; gap: 12px; }
.fls .fl-specs dt { min-width: 8rem; color: var(--mut); }
.fls .fl-specs dd { margin: 0; }
.fls .fl-options { display: flex; flex-wrap: wrap; gap: 12px; }
.fls .fl-option { display: grid; gap: 6px; font-size: .9em; font-weight: 600; }
.fls .fl-option .ecf-input { min-width: 10rem; }
.fls .fl-buy { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 8px; }
.fls .fl-qty { display: grid; gap: 6px; font-size: .9em; font-weight: 600; }
.fls .fl-qty .ecf-input { width: 6rem; }
/* Quantity + add button as one block (.fl-buy-box, as wide as that row); what's under them takes that width without widening it.
   Express checkout's buttons (templates/sites/express.js): its "Quick checkout" line once Stripe has buttons for this browser (fl-on), none = hidden. */
.fls .fl-buy-box { width: fit-content; max-width: 100%; }
.fls .fl-buy-box > :not(.fl-buy) { width: 0; min-width: 100%; }
.fls .fl-express { margin-top: 16px; }
.fls .fl-express[hidden], .fls .fl-express:not(.fl-on) .fl-express-or { display: none; }
.fls .fl-express-or { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: var(--mut); font-size: .85em; }
.fls .fl-express-or::before, .fls .fl-express-or::after { content: ""; flex: 1; border-top: 1px solid var(--ln); }
.fls .fl-express-cart { margin-top: 0; }
.fls .fl-express-cart .fl-express-after { margin: 16px 0 0; }
.fls .fl-express-here { box-sizing: border-box; margin-top: 16px; padding: 12px 14px; border: 1px dashed var(--ln); border-radius: min(var(--card-radius), 8px); color: var(--mut); font-size: .85em; }
.fls .fl-lines { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.fls .fl-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--ln); }
.fls .fl-line img, .fls .fl-line .fl-noimg { width: 64px; height: 64px; object-fit: cover; border-radius: min(var(--card-radius), 8px); }
.fls .fl-line-name { color: var(--hd); font-weight: 600; text-decoration: none; }
.fls .fl-line-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--mut); font-size: .9em; }
.fls .fl-line-note { margin-top: 4px; color: var(--mut); font-size: .85em; }
.fls .fl-step { width: 28px; height: 28px; border: 1px solid var(--ln); border-radius: 999px; background: none; color: var(--fg); font: inherit; line-height: 1; cursor: pointer; }
.fls .fl-remove { border: 0; background: none; padding: 0; color: var(--mut); font: inherit; text-decoration: underline; cursor: pointer; }
.fls .fl-total { display: flex; justify-content: space-between; gap: 16px; margin: 16px 0; font-size: 1.1em; }
.fls .fl-cart-foot { display: none; }
.fl-has-cart .fls .fl-cart-foot, .fls .fl-cart-edit .fl-cart-foot { display: block; text-align: right; }
.fl-has-cart .fls .fl-cart-empty { display: none; }
.fls .fl-checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: calc(var(--gap) * 1.5); align-items: start; }
.fls .fl-summary { padding: 24px; border-radius: var(--card-radius); background: var(--soft); }
.fls .fl-summary .fl-line { grid-template-columns: 48px minmax(0, 1fr) auto; }
.fls .fl-summary .fl-line img, .fls .fl-summary .fl-line .fl-noimg { width: 48px; height: 48px; }
.fls .fl-msg { margin: 0; color: var(--mut); }
.fls .fl-msg:empty { display: none; }
.fls .fl-signin { max-width: 26rem; }
.fls .fl-address { display: grid; gap: 14px; }
.fls .fl-nl-extra { display: grid; gap: 8px; justify-items: start; }
.fls .fl-nl-found:empty { display: none; }
.fls .fl-nl-found { display: grid; gap: 6px; }
.fls .fl-nl-address { margin: 0; padding: 12px 14px; border: 1px solid var(--ln); border-radius: min(var(--card-radius), 10px); background: var(--soft); line-height: 1.5; }
.fls .fl-text-btn { padding: 0; border: 0; background: none; color: var(--fg); font: inherit; font-size: .9em; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fls .fl-text-btn:hover { color: var(--btn); }
.fls .fl-tax-note { margin: -8px 0 0; color: var(--mut); font-size: .85em; }
.fls .fl-recurring { margin: -8px 0 0; color: var(--mut); font-size: .95em; }
.fls [data-fl-checkout] [hidden], .fls [data-fl-account] [hidden] { display: none; }
.fls .fl-choices { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.fls .fl-choice { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--ln); border-radius: min(var(--card-radius), 10px); cursor: pointer; }
.fls .fl-choice:has(input:checked) { border-color: var(--btn); box-shadow: 0 0 0 1px var(--btn); }
.fls .fl-choice span { display: flex; gap: 10px; align-items: center; }
.fls .fl-inline { display: flex; gap: 8px; }
.fls .fl-inline .ecf-input { flex: 1; min-width: 0; }
.fls .ecf-form .fl-inline .fl-btn { width: auto; flex: none; }
.fls .fl-btn.fl-btn-quiet { background: none; color: var(--fg); border: 1px solid var(--ln); }
.fls .fl-note { margin: 0; padding: 12px 14px; border-radius: min(var(--card-radius), 10px); background: var(--soft); }
.fls .fl-bad { color: #b42318; }
.fls .fl-sums { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 16px 0 0; }
.fls .fl-sums dt, .fls .fl-sums dd { margin: 0; color: var(--mut); }
.fls .fl-sums dd { text-align: right; font-variant-numeric: tabular-nums; }
.fls .fl-sums .fl-grand { color: var(--hd); font-weight: 700; font-size: 1.15em; padding-top: 8px; border-top: 1px solid var(--ln); }
.fls .fl-sums .fl-small { font-size: .85em; }
.fls .fl-order, .fls .fl-acc { display: grid; gap: 20px; }
.fls .fl-card { padding: 20px 24px; border-radius: var(--card-radius); background: var(--soft); }
.fls .fl-card h3 { margin: 0 0 8px; font-family: var(--heading-font); color: var(--hd); font-size: 1.15em; }
.fls .fl-card p { margin: 4px 0; }
.fls .fl-status { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--page); font-size: .9em; }
.fls .fl-rows { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.fls .fl-rows li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 10px 0; border-bottom: 1px solid var(--ln); }
.fls .fl-rows li:last-child { border-bottom: 0; }
.fls .fl-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.fls .fl-toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translateX(-50%); max-width: calc(100% - 32px);
    padding: 12px 18px; border-radius: 12px; background: var(--text); color: var(--page); font-size: .95em; box-shadow: 0 6px 24px rgb(0 0 0 / .2);
}

/* Site layout: page with an optional sidebar (blog), footer. */
.fls .fl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: var(--gap); max-width: calc(var(--width) + 48px); margin: 0 auto; }
.fls .fl-layout > .fl-side { padding: calc(var(--gap) / 2 + 24px) 24px calc(var(--gap) / 2); display: grid; gap: 20px; align-content: start; }
.fls .fl-side > .fl-sec, .fls .fl-side > .fl-run > .fl-sec { padding: 0; }
.fls .fl-side .fl-posts { gap: 16px; }
.fls .fl-side .fl-posts-list .fl-post { padding-bottom: 16px; }
.fls .fl-foot { border-top: 1px solid var(--line); font-size: .9em; }
/* The line only parts a plain page from a plain footer: next to a band or a cover it shows as a pale gap. */
.fls .fl-foot:has(> :first-child:is(.fl-soft, .fl-brand, .fl-hard, .fl-highlight, .fl-run, .fl-cover)),
.fls main:has(> :last-child:is(.fl-soft, .fl-brand, .fl-hard, .fl-highlight, .fl-run, .fl-cover), > article > :last-child:is(.fl-soft, .fl-brand, .fl-hard, .fl-highlight, .fl-run, .fl-cover)) + .fl-foot { border-top: 0; }
.fls .fl-article-head { display: grid; gap: 12px; }

/* Blog layout (builder/web/post_*.php): a post's details right under what's above them, older/newer links. */
/* Details flow as text: an item stays whole (its separator after it, so a line never starts with one) and lines break
   between items or inside the categories. */
.fls .fl-meta { display: block; margin: 0; font-size: .9em; line-height: 1.6; color: var(--mut); }
.fls .fl-meta.fl-center { text-align: center; }
.fls .fl-meta > span { white-space: nowrap; }
.fls .fl-meta .fl-meta-cat { white-space: normal; }
.fls .fl-meta > span:not(:last-child)::after { content: var(--sep); margin: 0 .35em 0 .6em; opacity: .7; }
.fls .fl-meta-none > span:not(:last-child)::after { margin: 0 .75em 0 0; }
.fls .fl-meta-author { color: var(--fg); }
.fls .fl-sec:not(.fl-first, .fl-soft, .fl-brand, .fl-hard, .fl-highlight, .fl-edge-top):has(> .fl-wrap > .fl-meta) { padding-top: 0; }
.fls .fl-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding-top: calc(var(--gap) / 2); border-top: 1px solid var(--ln); }
.fls .fl-postnav a { display: grid; gap: 4px; align-content: start; color: inherit; text-decoration: none; }
.fls .fl-postnav-newer { text-align: right; }
.fls .fl-postnav-label { font-size: .85em; color: var(--mut); }
.fls .fl-postnav-title { font-family: var(--heading-font); font-weight: var(--heading-weight); font-size: 1.15em; line-height: 1.3; color: var(--hd); }
.fls .fl-postnav a:hover .fl-postnav-title { color: var(--link); }
/* Comments (builder/web/comments.php): Reply buttons only where its script runs (.fl-comments-js), sent = :target. */
.fls .fl-comments { display: grid; gap: calc(var(--gap) / 2); max-width: var(--read); margin: 0 auto; }
.fls .fl-comments-title { margin: 0; font-family: var(--heading-font); font-weight: var(--heading-weight); font-size: 1.5em; color: var(--hd); }
.fls .fl-comments-count { color: var(--mut); font-weight: 400; }
.fls .fl-comments-empty { margin: 0; color: var(--mut); }
.fls .fl-comments-list, .fls .fl-replies { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.fls .fl-comments-list > .fl-comment { padding-bottom: 20px; border-bottom: 1px solid var(--ln); }
.fls .fl-replies { margin-top: 16px; padding-left: 20px; border-left: 2px solid var(--ln); }
.fls .fl-comment-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.fls .fl-comment-name { font-weight: 700; color: var(--hd); }
.fls .fl-comment-owner { font-size: .75em; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--soft); color: var(--link); }
.fls .fl-comment-date { font-size: .85em; color: var(--mut); }
.fls .fl-comment-body { margin: 6px 0 0; overflow-wrap: anywhere; }
.fls .fl-comment-reply { display: none; margin-top: 6px; padding: 0; border: 0; background: none; font: inherit; font-size: .9em; color: var(--link); cursor: pointer; }
.fls .fl-comments-js .fl-comment-reply { display: inline; }
.fls .fl-comment-reply:hover { text-decoration: underline; }
.fls .fl-replying { margin: 0; font-size: .95em; color: var(--mut); }
.fls .fl-replying[hidden] { display: none; }
.fls .fl-comment-form { margin-bottom: 8px; }
.fls .fl-paging { display: flex; justify-content: space-between; gap: var(--gap); margin-top: var(--gap); }
.fls .fl-post-body { border: 2px dashed var(--ln); border-radius: var(--card-radius); }
.fls .fl-post-body-note { margin: 0; padding: 8px 14px; border-bottom: 1px dashed var(--ln); font-size: 13px; color: var(--mut); }
.fls .fl-post-body .fl-sec { background: transparent; }

/* Courses and quizzes (builder/web/course_*.php, lesson_*.php, quiz_*.php; members.js marks done, locked and answered). */
.fls [data-fl-join] [hidden], .fls [data-fl-quiz] [hidden], .fls [data-fl-progress][hidden], .fls [data-fl-complete][hidden], .fls .fl-qq [hidden] { display: none; }
.fls .fl-join { display: grid; gap: 16px; max-width: 34rem; }
.fls .fl-join.fl-center { margin: 0 auto; text-align: center; }
.fls .fl-join.fl-center .ecf-form { text-align: left; }
.fls .fl-join-price { margin: 0; font-family: var(--heading-font); font-weight: var(--heading-weight); font-size: 2em; color: var(--hd); }
.fls .fl-join-form { display: grid; gap: 14px; }
.fls .fl-join-note, .fls .fl-join-consent { margin: 0; color: var(--mut); font-size: .92em; }
.fls .fl-join-consent span { opacity: .8; }
.fls .fl-join-in-text { margin: 0; font-size: 1.1em; }
.fls .fl-lessons { display: grid; gap: 0; max-width: var(--read); margin: 0 auto; padding: 0; list-style: none; counter-reset: none; }
.fls .fl-lesson a { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--ln); color: var(--fg); text-decoration: none; }
.fls .fl-lesson:last-child a { border-bottom: 0; }
.fls .fl-lesson a:hover .fl-lesson-title { color: var(--link); }
.fls .fl-lesson-n { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--ln); font-size: .85em; color: var(--mut); font-variant-numeric: tabular-nums; }
.fls .fl-lesson-title { flex: 1; font-weight: 600; color: var(--hd); }
.fls .fl-lesson-kind { padding: 2px 10px; border-radius: 999px; background: var(--soft); color: var(--mut); font-size: .8em; }
.fls .fl-lesson.fl-here .fl-lesson-title { color: var(--link); }
.fls .fl-lesson.fl-done .fl-lesson-n { border-color: var(--btn); background: var(--btn); color: var(--btn-text); font-size: 0; }
.fls .fl-lesson.fl-done .fl-lesson-n::before { content: "✓"; font-size: 14px; }
.fls .fl-lessons-plain .fl-lesson.fl-done .fl-lesson-title::before { content: "✓ "; color: var(--btn); }
.fls .fl-lesson.fl-locked a { opacity: .55; }
.fls .fl-lesson.fl-locked .fl-lesson-title::after { content: " 🔒"; font-size: .85em; }
.fls .fl-progress { display: grid; gap: 6px; max-width: var(--read); margin: 0 auto; }
.fls .fl-progress-bar { height: 8px; border-radius: 999px; background: var(--ln); overflow: hidden; }
.fls .fl-progress-bar span { display: block; height: 100%; border-radius: 999px; background: var(--btn); transition: width .3s; }
.fls .fl-progress-text { margin: 0; color: var(--mut); font-size: .85em; }
.fls .fl-complete { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.fls .fl-complete.fl-center { justify-content: center; }
.fls .fl-complete-done { margin: 0; font-weight: 600; color: var(--hd); }
.fls .fl-locked-note { max-width: var(--width); margin: 24px auto 0; padding: 12px 16px; border-radius: min(var(--card-radius), 10px); background: var(--soft); }
.fls .fl-course-link { color: var(--link); font-weight: 600; }
.fls .fl-qq { max-width: var(--read); margin: 0 auto; padding: 0; border: 0; }
.fls .fl-qq-q { padding: 0; margin-bottom: 12px; font-family: var(--heading-font); font-weight: var(--heading-weight); font-size: 1.25em; line-height: 1.3; color: var(--hd); }
.fls .fl-qq-hint { margin: -4px 0 10px; color: var(--mut); font-size: .9em; }
.fls .fl-qq-answers { display: grid; gap: 8px; }
.fls .fl-qq-a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--ln); border-radius: min(var(--card-radius), 10px); cursor: pointer; }
.fls .fl-qq-a:has(input:checked) { border-color: var(--btn); box-shadow: 0 0 0 1px var(--btn); }
.fls .fl-qq-a input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--btn); }
.fls .fl-qq-a > span:not(.fl-qq-mark) { flex: 1; }
.fls .fl-qq-mark { padding: 2px 10px; border-radius: 999px; background: #dcfce7; color: #166534; font-size: .8em; }
.fls .fl-qq-a.fl-qq-right { border-color: #16a34a; background: #f0fdf4; color: #14532d; }
.fls .fl-qq-a.fl-qq-miss { border-color: #dc2626; background: #fef2f2; color: #7f1d1d; }
.fls .fl-qq-a.fl-qq-right::after { content: "✓"; color: #16a34a; font-weight: 700; }
.fls .fl-qq-a.fl-qq-miss::after { content: "✗"; color: #dc2626; font-weight: 700; }
.fls .fl-qq-why { margin-top: 12px; padding: 12px 14px; border-radius: min(var(--card-radius), 10px); background: var(--soft); }
.fls .fl-qq-why-note { margin: 0 0 4px; font-size: 13px; color: var(--mut); }
.fls .fl-quiz { display: grid; gap: 12px; max-width: var(--read); margin: 0 auto; }
.fls .fl-quiz.fl-center { text-align: center; }
.fls .fl-quiz p { margin: 0; }
.fls .fl-quiz-result { display: grid; gap: 8px; padding: 20px 24px; border-radius: var(--card-radius); background: var(--soft); }
.fls .fl-quiz-score { font-family: var(--heading-font); font-weight: var(--heading-weight); font-size: 1.3em; color: var(--hd); }
.fls .fl-quiz-pass { color: #166534; font-weight: 600; }
.fls .fl-quiz-fail { color: #9a3412; font-weight: 600; }
.fls .fl-lesson-body:empty { display: none; }

@media (max-width: 760px) {
    /* On <html>, not the body: .fls's container-type contains the body, so its overflow wouldn't reach the viewport
       and the body would become the scroll box the sticky header sticks in (it then sits at the page's top, out of view). */
    html:has(> body.fls .fl-head details[open]) { overflow: hidden; }
}
@container (max-width: 1000px) {
    .fls .fl-per-4, .fls .fl-per-5, .fls .fl-posts-cards.fl-posts-per-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container (max-width: 760px) {
    .fls .fl-cover { --cover: var(--cover-narrow); }
    .fls .fl-cols, .fls .fl-hero-split, .fls .fl-posts-cards.fl-posts-cards, .fls .fl-layout, .fls .fl-product, .fls .fl-checkout { grid-template-columns: minmax(0, 1fr); }
    .fls .fl-hero-left > .fl-hero-text { order: 0; }
    .fls .fl-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* Two narrow cards a row: the button fills its card, so both columns line up at both edges. */
    .fls .fl-products .fl-add { justify-self: stretch; padding: 10px 12px; text-align: center; }
    .fls .fl-gap-wide { gap: var(--gap); }
    /* Stacked columns sit closer together; a row of content-width columns (short promises, chips) closer still. */
    .fls .fl-cols { gap: calc(var(--gap) / 2); }
    .fls .fl-cols > .fl-col { grid-column: auto; }
    .fls .fl-fit { gap: 10px 20px; }
    .fls .fl-wide { display: none; }
    /* The categories menu stays in the header; the other links fold behind ☰. */
    .fls .fl-menu.fl-wide:has(> .fl-cats-li) { display: flex; }
    .fls .fl-menu.fl-wide > li:not(.fl-cats-li) { display: none; }
    .fls .fl-fold { display: block; }
    /* A menu without links to fold (only shop menus): no ☰, the button stays in the bar, small; with an icon only that. */
    .fls .fl-btn-solo { flex: none; padding: 10px 16px; font-size: .9em; white-space: nowrap; }
    .fls .fl-btn-solo:has(> .fl-bi) { padding: 10px; }
    .fls .fl-btn-solo:has(> .fl-bi) > [data-fl-bt] { display: none; }
    .fls .fl-head .fl-cols:not(.fl-panel *) { grid-template-columns: var(--cols); gap: 16px; }
    .fls .fl-head .fl-cols:not(.fl-panel *) > .fl-col { grid-column: span var(--span, 1); }
    .fls .fl-head .fl-fit:not(.fl-panel *) { flex-wrap: nowrap; }
    .fls .fl-nav, .fls .fl-end { gap: 16px; }
    /* One row at the right: what stays of the menu (the categories), the icons and ☰. */
    .fls .fl-nav .fl-menu { flex: none; margin-right: 0; }
    .fls .fl-nav-center::before { content: none; }
    .fls .fl-nav .fl-end { flex: none; }
    /* The bar's own logo at the left, ☰ and the icons at the right. */
    .fls .fl-head .fl-nav > .fl-nav-logo.fl-nav-logo.fl-nav-logo { flex: none; max-width: 320px; margin-right: auto; }
    .fls .fl-logo { gap: 10px; font-size: 1.1em; }
    /* A logo in the header at most 56px high (its height setting, Blocks::LOGO_HEIGHTS, is for wide screens). */
    .fls .fl-head :is(.fl-logo, .fl-nav-logo) img:not(.fl-panel *) { max-height: 56px; }
    .fls .fl-cats > summary { padding: 8px; }
    .fls .fl-cats-label { display: none; }
    .fls .fl-cats-panel { top: 0; height: 100vh; height: 100dvh; max-height: none; overflow-y: auto; overscroll-behavior: contain; padding: 96px 24px 48px; border: 0; box-shadow: none; text-align: center; }
    .fls .fl-cats-in { display: block; padding: 0; }
    .fls .fl-cats-list > li { display: block; }
    .fls .fl-brands-in .fl-cats-cols { columns: 2 8rem; }
    .fls .fl-cats-list { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
    .fls .fl-cats-item { justify-content: center; padding: 0; font-family: var(--heading-font); font-size: 1.3em; color: var(--hd); }
    .fls .fl-cats-list > li:hover > .fl-cats-item, .fls .fl-cats-list > li:focus-within > .fl-cats-item { background: none; }
    .fls .fl-cats-item .fl-chev, .fls .fl-cats-all { display: none; }
    .fls .fl-cats-sub, .fls .fl-cats-list:not(:has(> li:hover, > li:focus-within)) > li:first-child > .fl-cats-sub { display: block; position: static; overflow: visible; padding: 10px 0 0; border: 0; }
    .fls .fl-cats-cols { columns: auto; }
    .fls .fl-cats-col { margin-bottom: 10px; }
    .fls .fl-cats-head { margin-bottom: 4px; color: var(--fg); font-weight: 600; }
    .fls .ecf-row { grid-auto-flow: row; }
    .fls .ecf-row.fl-company { grid-auto-flow: column; } /* company + VAT number stay side by side */
}

/* The Back to top button (Build::toTop, site Settings): bottom right, shown by its script (.fl-top-on) once the page
   is scrolled down; the ring's dash offset (--top, 100 = empty) follows how far down the page is. Under the cookie box. */
.fls .fl-top {
    position: fixed; z-index: 50; right: 20px; bottom: 20px; width: 48px; height: 48px; display: grid; place-items: center;
    border-radius: 50%; background: var(--page); color: var(--heading); box-shadow: 0 4px 16px rgb(0 0 0 / .15);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.fls .fl-top.fl-top-on { opacity: 1; visibility: visible; transform: none; }
.fls .fl-top:hover { color: var(--accent); }
.fls .fl-top:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fls .fl-top svg { width: 48px; height: 48px; display: block; }
.fls .fl-top circle { fill: none; stroke-width: 2.5; }
.fls .fl-top-track { stroke: var(--line); }
.fls .fl-top-ring { stroke: var(--accent); stroke-dasharray: 100; stroke-dashoffset: var(--top, 100); stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; }
@media (prefers-reduced-motion: reduce) { .fls .fl-top { transition: none; } }

/* The cookie notice (App\Sites\Cookies, templates/sites/cookies.php, consent.js): a box at the bottom, shown by
   html.fl-cookies-ask (set before paint) or .fl-open; Accept and Reject alike. Then the "Cookie settings" link. */
.fls .fl-cookies {
    --fg: var(--text); --hd: var(--heading); --link: var(--accent); --ln: var(--line);
    --btn: var(--accent); --btn-text: var(--on-accent); --btn-hover: var(--accent-hover);
    display: none; position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 36rem; max-height: calc(100vh - 32px); overflow-y: auto;
    padding: 20px; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--page); color: var(--text);
    box-shadow: 0 10px 40px rgb(0 0 0 / .18); font-size: .9em;
}
.fl-cookies-ask .fls .fl-cookies, .fls .fl-cookies.fl-open { display: block; }
.fls .fl-cookies-h { margin: 0 0 6px; font-family: var(--heading-font); font-weight: var(--heading-weight); color: var(--heading); font-size: 1.15em; }
.fls .fl-cookies-text { margin: 0; }
.fls .fl-cookies a { color: var(--accent); }
.fls .fl-cookies-pick { display: grid; gap: 8px; margin-top: 12px; }
.fls .fl-cookies-pick[hidden] { display: none; }
.fls .fl-cookies-pick label { display: flex; gap: 8px; align-items: flex-start; }
.fls .fl-cookies-pick input { margin-top: .3em; accent-color: var(--accent); }
.fls .fl-cookies-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.fls .fl-cookies-btns .fl-btn { flex: 1 1 auto; padding: 10px 16px; text-align: center; }
.fls .fl-cookies-btns .fl-btn[hidden] { display: none; }
.fls .fl-cookies-btns .fl-btn-quiet { color: var(--text); border: 1px solid var(--line); background: none; }
.fls .fl-cookies-link { margin: 0; padding: 8px 24px 16px; text-align: center; font-size: .8em; }
.fls .fl-cookies-link a { color: var(--muted); }

/* A block hidden on some screens (Blocks::HIDE_ON, PageRenderer): phones up to 760px (where columns stack), tablets up
   to 1024px, computers wider. Last and !important: a block's own display rules never bring it back. */
@container (max-width: 760px) { .fls .fl-hide-phone { display: none !important; } }
@container (min-width: 761px) and (max-width: 1024px) { .fls .fl-hide-tablet { display: none !important; } }
@container (min-width: 1025px) { .fls .fl-hide-desktop { display: none !important; } }
