.block { margin-block-end: 1.67em; }
.block-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.block-strong { font-weight: 600; }
.block-muted { opacity: 0.7; font-size: 0.92em; }
.block-price { white-space: nowrap; }
/* The apps' BlockButton (F16): the accent, its label, a capsule, an icon. */
.block-button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; border: 0;
  border-radius: 999px; background: var(--block-accent); color: var(--on-accent); font: inherit; font-weight: 600;
  text-align: center; text-decoration: none; padding: 12px 16px; cursor: pointer; }
.block-button-icon { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.block-button-secondary { background: var(--background-transparent-color); color: var(--text-color);
  border: var(--transparent-border); }
.block-actions { display: grid; gap: 8px; }
/* Photos (F12): the template's grid, a carousel, or the before/after slider. */
.block-photo { position: relative; margin: 0; }
.block-photo img { display: block; width: 100%; }
.block-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
.block-grid .block-photo img { aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 14px; }
.block-grid figcaption { padding-top: 6px; font-size: 13px; color: var(--block-muted); display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.block-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 20px; scrollbar-width: none; }
.block-carousel::-webkit-scrollbar { display: none; }
.block-carousel .block-photo { flex: 0 0 100%; height: 300px; scroll-snap-align: center; }
.block-carousel .block-photo img { height: 100%; object-fit: cover; }
.block-photo-pill { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 6px 10px;
  border-radius: 999px; background: rgba(0, 0, 0, .62); color: #FFFFFF; font-size: 12px; font-weight: 600; }  /* contrast.SCRIM_TEXT_ALPHA: 6.2:1 over a white photo (.45 read 3.4:1) */
.block-before-after { position: relative; height: 260px; border-radius: 18px; overflow: hidden; }
.block-before-after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.block-ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0); }
.block-ba-handle { position: absolute; top: 0; bottom: 0; left: calc(var(--split, 50%) - 1.5px); width: 3px; background: #FFFFFF; pointer-events: none; }
.block-ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px;
  border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.block-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.block-tag { display: inline-block; font-size: 0.8em; font-weight: 700; padding: 2px 10px;
  border-radius: 999px; background: var(--brand-primary-color); color: #fff; }
p.block-quote { font-size: 1.05em; line-height: 1.45; margin: 4px 0; }
.block-logos { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }
.block-logos img { height: 32px; width: auto; }
/* Files (F17). */
.block-file-rows { display: flex; flex-direction: column; }
.block-file-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: inherit !important; text-decoration: none !important; }
.block-file-row + .block-file-row { border-top: 1px solid var(--block-line); }
.block-file-row i { width: 22px; text-align: center; font-size: 18px; color: var(--primary-text); }
.block-file-row .block-strong { flex: 1; min-width: 0; }
/* Video (F13): the still under a play button; the player after the tap. */
.block-video { display: block; }
.block-video-frame { position: relative; display: block; width: 100%; height: 196px; padding: 0; border: 0; border-radius: 16px;
  overflow: hidden; background: #141A13; cursor: pointer; font: inherit; }
.block-video-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.block-video .block-play { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px;
  border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: #141A13; }
.block-video .block-play svg { width: 22px; height: 22px; fill: currentColor; }
/* White words on the still: on a scrim at contrast.SCRIM_TEXT_ALPHA from where they start (a light still read 1.7:1 bare). */
.block-video-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; color: #FFFFFF; font-size: 15px;
  font-weight: 700; text-align: start; background: linear-gradient(to top, rgba(0, 0, 0, .62) calc(100% - 14px), rgba(0, 0, 0, 0)); }
.block-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; }
div.block-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; text-align: center; }
.block-person { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text-color); text-decoration: none; }
.block-person img, .block-person-initial { width: 58px; height: 58px; border-radius: 50%; object-fit: cover;
  display: flex; align-items: center; justify-content: center; background: var(--background-transparent-color); }
/* On a wide screen a sheet is as wide as a full menu at most, centred (the
   booking month once drew 184 px days across a 1344 px window). */
.block-sheet { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.45); display: flex; align-items: flex-end; justify-content: center; }
.block-sheet-panel { background: var(--background-color); width: 100%; max-width: 640px; max-height: 88vh; border-radius: 20px 20px 0 0;
  padding: 16px; box-sizing: border-box; overflow: auto; }
.block-sheet-panel iframe { width: 100%; height: 70vh; border: 0; }
.block-sheet-close { float: right; min-width: 44px; min-height: 44px; border: 0; background: transparent; font-size: 22px; cursor: pointer; }
.block-form label { display: block; font-weight: 600; margin-top: 10px; }
/* The booking picker (spec 2026-10-19): a month of free days, then the day's times. */
.block-picker { clear: both; padding-top: 4px; }
/* The month, centred, its days 64 px at most on a wide sheet. */
.block-picker-head, .block-picker-grid { max-width: 448px; margin-inline: auto; }
.block-picker-zone { margin: 0 0 8px; font-size: 14px; }
.block-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.block-picker-month { font-weight: 700; font-size: 17px; }
.block-picker-arrow { min-width: 44px; min-height: 44px; border: 0; border-radius: 999px; background: transparent;
  color: var(--text-color); font-size: 26px; line-height: 1; cursor: pointer; }
.block-picker-arrow:disabled { opacity: .3; cursor: default; }
.block-picker-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 4px; }
.block-picker-weekday { text-align: center; font-size: 12px; font-weight: 600; color: var(--block-muted); padding: 4px 0; }
.block-picker-day { aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 999px; font: inherit; font-weight: 600;
  background: color-mix(in srgb, var(--block-accent) 22%, var(--block-panel)); color: var(--text-color); cursor: pointer; }
.block-picker-day:disabled { background: transparent; color: var(--block-muted); opacity: .45; font-weight: 400; cursor: default; }
.block-picker-day[aria-pressed="true"] { background: var(--block-accent); color: var(--on-accent); }
.block-picker-day.is-blank { background: transparent; }
.block-picker-day.is-placeholder { background: var(--block-line); animation: block-picker-pulse 1.2s ease-in-out infinite; }
@keyframes block-picker-pulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .block-picker-day.is-placeholder { animation: none; } }
.block-picker-off p { margin: 8px 0 0; font-size: 14px; }
.block-picker-times-title { font-weight: 700; margin: 14px 0 8px; }
.block-picker-time-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
/* Times are drawn as the days: tinted with the accent, the chosen one filled. */
.block-picker-time { min-height: 44px; border-radius: 999px; border: 0; font: inherit; font-weight: 600;
  background: color-mix(in srgb, var(--block-accent) 22%, var(--block-panel)); color: var(--text-color); cursor: pointer; font-variant-numeric: tabular-nums; }
.block-picker-time[aria-pressed="true"] { background: var(--block-accent); color: var(--on-accent); }
.block-picker-status { min-height: 1em; margin: 8px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.block-stepper { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.block-stepper-label { font-weight: 600; flex: 1; }
.block-stepper-button { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--block-line); font: inherit;
  font-size: 22px; background: var(--background-transparent-color); color: var(--text-color); cursor: pointer; }
.block-stepper-button:disabled { opacity: .35; cursor: default; }
.block-stepper-count { min-width: 2ch; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.block-form input, .block-form textarea { width: 100%; box-sizing: border-box; min-height: 44px; border-radius: 10px;
  border: var(--transparent-border); padding: 10px; font: inherit; background: var(--background-transparent-color); color: var(--text-color); }

/* The card's column (Nico, 2026-10-18): the phone layout up to 560px, wider
   on large screens; the card page and the preview page alike. */
.block-legal { font-size: 13px; color: var(--block-muted); }
.block-legal p { margin: 0 0 4px; overflow-wrap: anywhere; }
.block-legal-title { margin: 0 0 8px; font-size: 13px; font-weight: 700; }
.block-dish-tags { font-size: 13px; font-weight: 600; color: var(--block-muted); }
.block-dish-allergens { font-size: 13px; }
.block-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Block titles are h2 (heading order, B13); they keep the size they had as h5,
   below the templates' own .section-title rules. */
:where(.block-card) h2.section-title { font-size: .83em; margin-block: 1.67em; }
/* A grid photo opens large (data-full, blocks.js). */
.block-grid .block-photo img[data-full] { cursor: zoom-in; }
.block-lightbox { max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; padding: 0; border: 0; background: rgba(0,0,0,.9); }
.block-lightbox img { display: block; width: 100%; height: 100%; object-fit: contain; }
.block-lightbox .block-sheet-close { position: fixed; top: 8px; right: 8px; color: #FFFFFF; float: none; }

.block-card { width: 100%; max-width: 560px; margin-inline: auto; box-sizing: border-box; }
/* The kinds' colours come from the page's style (blocks-page.css sets these
   on .block-card from the resolved style; blocks/_head.html on :root). */
:root { --block-accent: var(--brand-accent-color, var(--brand-primary-color)); }
.block-leader { display: none; }
.block-today { margin: 6px 0 0; font-weight: 600; }
/* A place's map tile (F18), drawn without a request (the apps' DrawnMap);
   its ground and roads are the page's ink, faint (blocks-page.css). */
.block-map-tile { position: relative; display: block; width: 100%; height: 150px; padding: 0; border: 0; border-radius: 16px;
  cursor: pointer; background-color: var(--map-ground);
  background-image: linear-gradient(90deg, transparent 46%, var(--map-road) 46%, var(--map-road) 52%, transparent 52%),
    linear-gradient(0deg, transparent 58%, var(--map-road) 58%, var(--map-road) 63%, transparent 63%),
    linear-gradient(32deg, transparent 72%, var(--map-road) 72%, var(--map-road) 75%, transparent 75%); }
.block-map-pin { position: absolute; top: 50%; left: 50%; width: 28px; height: 28px; margin: -30px 0 0 -14px;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--block-accent); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.block-map-pin::after { content: ""; position: absolute; top: 9px; left: 9px; width: 10px; height: 10px; border-radius: 50%; background: #FFFFFF; }
iframe.block-map { display: block; width: 100%; height: 170px; border: 0; border-radius: 16px; }
.block-place-text { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; }
.block-place-address { font-weight: 600; text-decoration: none !important; }
/* Reviews (F19). */
.block-rating-row { display: flex; align-items: center; gap: 10px; color: inherit !important; text-decoration: none !important; }
.block-score { font-size: 34px; font-weight: 600; line-height: 1; }
.block-rating-meta { display: flex; flex-direction: column; gap: 3px; }
.block-reviews { font-size: 13px; color: var(--block-muted); }
.block-review { margin: 14px 0 0; }
.block-review p.block-quote { margin: 0; }
.block-review-author { margin-top: 6px; font-size: 15px; color: var(--block-muted); }
/* Events (F20). */
div.block-schedule { display: flex; flex-direction: column; }
.block-event { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.block-event + .block-event { border-top: 1px solid var(--block-line); }
.block-date-tile { flex: none; width: 52px; display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.block-date-kicker { font-size: 11px; font-weight: 700; letter-spacing: .8px; color: var(--primary-text); }
.block-date-day { font-size: 20px; font-weight: 600; }
.block-event-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.block-event-text .block-strong { font-size: 16px; }
/* Questions (F22). */
.block-question summary { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 0;
  cursor: pointer; list-style: none; }
.block-question summary::-webkit-details-marker { display: none; }
.block-chevron { flex: none; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); opacity: .6; transition: transform .2s; }
.block-question[open] .block-chevron { transform: rotate(225deg); }
.block-question + .block-question { border-top: 1px solid var(--block-line); }
.block-question p { margin: 0 0 12px; font-size: 15px; }
/* Words a circle carries for screen readers only. */
.block-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.block-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; }
.block-chips::-webkit-scrollbar { display: none; }
.block-chip { flex-shrink: 0; min-height: 36px; padding: 0 14px; border-radius: 18px; display: inline-flex;
  align-items: center; font-weight: 600; text-decoration: none; white-space: nowrap; }
.block-bar { position: fixed; inset-inline: 12px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 99; display: flex; align-items: center;
  gap: 8px; padding: 8px; border-radius: 34px; box-sizing: border-box; max-width: 536px; margin-inline: auto;
  /* Lifted off the card it floats over (Nico: it "goes under in the content
     below"): a hairline edge, a deeper shadow and a blurred ground. */
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12), 0 14px 36px rgba(0, 0, 0, 0.32);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
/* The main action takes the bar beside the Call circle (or all of it): never
   the name again (Nico 2026-10-21). */
.block-bar .block-bar-main { flex: 1; min-width: 0; width: auto; min-height: 50px; border-radius: 25px; padding: 0 22px; white-space: nowrap; }
body.pg-page { padding-bottom: 120px !important; }
body:has(.block-bar) { padding-bottom: calc(140px + env(safe-area-inset-bottom)) !important; }
/* Call beside the main button: an outlined circle (spec 2026-11-16: Save left the bar for the top). */
.block-bar-call { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px;
  padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08);
  color: #FFFFFF; text-decoration: none; }
.block-bar-call svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.block-card .block { text-align: start; }
.block-card .rounded-section p, .block-card .rounded-section a { margin-inline: 0 !important; }
.block-button { box-sizing: border-box; }
/* The card page centres every .rounded-section and paints its links blue;
   a template's blocks read left to right in the theme's own colours. */
.block-card .rounded-section { text-align: start; }
.block-card .block .rounded-section a { color: inherit; }
.block-card .block-find .rounded-section a { text-decoration: underline; text-underline-offset: 3px; }
.block-card .subsection-title { display: block; margin: 0 0 6px; }
.block-card div.block-team { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
/* A dotted leader needs something at its end. */
.block-leader:last-child { display: none !important; }

/* The contact block on a block card (design A, Nico 2026-10-19: "labels,
   not links", and "sections are a bit too tight"): "Contact" and "Links"
   under small headings on the card's ground, each a panel of rows; the
   socials as round buttons between them. Classic cards never load this file. */
.block-contact-rows { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; text-align: start; }
.block-contact-part { display: flex; flex-direction: column; gap: 10px; }
/* The headings are labels, in the body face even where a display face sets the card's headings (_font.html). */
.block-card h2.block-contact-heading { font-family: inherit; }
.block-contact-heading { margin: 0; padding: 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; line-height: 1.3; opacity: .8; color: inherit; }
.block-contact-panel { display: flex; flex-direction: column; padding: 6px 18px; border-radius: 22px;
  background: var(--block-panel); color: var(--block-panel-text); }
.block-contact-row { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 10px 0; box-sizing: border-box;
  color: inherit !important; text-decoration: none !important; }
.block-contact-panel > .block-contact-row + .block-contact-row { border-top: 1px solid var(--block-line); }
/* The icon's circle is a soft tint of the accent; the symbol the primary as
   text, which reads on the panel in light and dark. */
.block-contact-icon { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--block-accent) 16%, var(--block-panel)); color: var(--primary-text, var(--block-panel-text)); }
.block-contact-glyph { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.block-contact-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.block-contact-label { font-size: 12px; color: var(--block-muted); }
.block-contact-value { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
/* A link is one line: its label (two lines at most), the host only under an unlabelled one. */
.block-contact-title { font-size: 16px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.block-contact-host { font-size: 13px; color: var(--block-muted); }
.block-contact-go { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--block-muted); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
/* The socials: round buttons on the ground, a soft tint of its text colour. */
.block-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.block-social { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: inherit !important;
  background: color-mix(in srgb, currentColor 12%, transparent); text-decoration: none !important; }
.block-social .block-contact-glyph { width: 22px; height: 22px; }
/* A long menu (2026-10-17): the card previews it, the dialog shows it all,
   each section clearly apart under a pinned row of section names. */
.block-menu-preview .block-menu-chips { margin: 0 0 12px; }
.block-menu-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.block-menu-chips::-webkit-scrollbar { display: none; }
/* Every template's own chip style (Brand-led's is drawn for its green ground)
   gives way here: these chips sit on the panel. */
.block .block-menu-chips .block-chip, .block .block-menu-chips .block-chip:first-child { border: 1px solid color-mix(in srgb, var(--primary-text) 25%, transparent);
  font: inherit; font-size: 13px; font-weight: 600; min-height: 30px; padding: 0 12px; cursor: pointer; text-decoration: none;
  color: var(--primary-text); background: color-mix(in srgb, var(--brand-primary-color) 10%, transparent); }
.block-menu-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 16px;
  min-height: 48px; border-radius: 24px; border: 1.5px solid var(--primary-text); background: transparent;
  color: var(--primary-text); font: inherit; font-weight: 600; cursor: pointer; }
.block-menu-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
/* Listings (F21). */
div.block-listings { display: flex; flex-direction: column; }
.block-listing { display: flex; align-items: center; gap: 14px; color: inherit !important; text-decoration: none !important; }
.block-listing-photo { flex: none; width: 92px; height: 92px; object-fit: cover; border-radius: 18px; }
.block-listing-text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.block-listing-title { font-size: 16px; }
.block-listing-price .block-price { font-size: 18px; font-weight: 600; }
.block-listing .block-tag { align-self: flex-start; padding: 0; background: transparent; color: var(--primary-text);
  font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.block-row-go { flex: none; color: var(--block-muted); font-size: 18px; line-height: 1; opacity: .7; }
dialog.block-menu-full { box-sizing: border-box; width: 100%; max-width: 640px; height: 100%; max-height: 100dvh; margin: 0 auto; padding: 0 20px 40px;
  border: 0; background: var(--block-panel); color: var(--block-panel-text); text-align: start; overflow-y: auto; }
dialog.block-menu-full::backdrop { background: rgba(0, 0, 0, .45); }
.block-menu-top { position: sticky; top: 0; z-index: 2; margin: 0 -20px; padding: 14px 20px 10px; background: var(--block-panel);
  border-bottom: 1px solid var(--block-line); }
.block-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.block-menu-head h2 { margin: 0; font-size: 24px; }
.block-menu-head form { margin: 0; }
.block-menu-close { width: 40px; height: 40px; border-radius: 50%; border: 0; font-size: 24px; line-height: 1; cursor: pointer;
  background: color-mix(in srgb, var(--block-panel-text) 8%, transparent); color: inherit; }
.block-menu-top .block-menu-chips { margin-top: 10px; }
.block-menu-section { scroll-margin-top: 120px; }
/* Each section folds under its heading (Nico: "menus sections should be collapsible"). */
.block-menu-section summary { display: flex; align-items: center; gap: 10px; margin: 32px 0 6px; padding-bottom: 8px;
  border-bottom: 2px solid var(--block-accent); cursor: pointer; list-style: none; }
.block-menu-section summary::-webkit-details-marker { display: none; }
.block-menu-section summary::after { content: ""; width: 9px; height: 9px; margin-left: auto; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; opacity: .7; }
.block-menu-section:not([open]) summary::after { transform: rotate(-45deg); }
.block-menu-section h3 { margin: 0; font-size: 22px; font-weight: 700; }
.block-menu-count { font-size: 13px; font-weight: 600; color: var(--block-muted); }
.block-menu-section .block-row { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; }
.block-menu-section .block-row + .block-row { border-top: 1px solid var(--block-line); }
.block-menu-section .block-row > div:first-child { flex: 1; }
.block-menu-section .block-leader { display: none; }

/* A rating as five stars filled to the score (Nico, 2026-10-17). The score
   is a validated number (0 to 5), written as --score. */
.block-rating { display: inline-flex; align-items: center; gap: 8px; }
.block-stars { position: relative; display: inline-block; font-size: 18px; line-height: 1; letter-spacing: 2px; }
.block-stars::before { content: "★★★★★"; color: color-mix(in srgb, currentColor 30%, transparent); }
.block-stars::after { content: "★★★★★"; position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap;
  width: calc(var(--score) / 5 * 100%); color: var(--block-accent); }


/* The anonymous inbox (2026-10-18): a prompt, a roomy box, Send. Drawn in the
   colours of whatever ground the template gives the block, so it reads on
   Brand-led's panels, the menu's page and Bento's tiles alike. */
.block-feedback-form { position: relative; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.block-feedback-prompt { font-weight: 600; font-size: 1.02em; }
.block-feedback-form textarea { width: 100%; box-sizing: border-box; min-height: 112px; padding: 12px 14px;
  border-radius: 14px; border: 1px solid var(--block-line); font: inherit; line-height: 1.4; resize: vertical;
  color: inherit; background: color-mix(in srgb, currentColor 4%, transparent); }
.block-feedback-form textarea:focus { outline: 2px solid var(--brand-primary-color); outline-offset: 1px; }
.block-feedback-form textarea:disabled { opacity: .6; }
.block-feedback-note { margin: 0; font-size: 0.85em; }
.block-feedback-status { margin: 0; font-weight: 600; }
.block-feedback-status:empty { display: none; }
.block-feedback-thanks { margin: 0; padding: 18px 0; font-weight: 600; text-align: center; }
.block-feedback-thanks p { margin: 0; }
.block-feedback-thanks .block-call-hint { margin-top: 8px; font-weight: 400; }
.block-call-hint a { color: inherit; font-weight: 600; text-decoration: underline; }
/* The honeypot: out of sight and out of the tab order, there for bots alone. */
.block-feedback-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* Wider on large screens (after .block-bar, so its width wins there). */
@media (min-width: 1024px) { .block-card { max-width: 664px; } .block-bar { max-width: 640px; } }
/* A preview's Send (2026-10-18): the notice in place of a request. */
.block-preview-notice { margin-top: 12px; padding: 14px; border-radius: 16px; background: #FFF4C2; color: #141A23; }
.block-preview-notice p { margin: 0 0 10px; color: #141A23; }
.block-preview-notice .block-button { background: #141A23; color: #FFFFFF; }
