/*
 * cm.forms visitor look (approved design: Claude Design page 90, built on pages 86 and 89).
 * Theme-inheriting: font and text colour come from the page, borders and fills are
 * currentColor mixed down. The only literal colours are status ones: low-places amber, error red, success green.
 * Optional brand hooks: --cmf-accent (filled buttons; default the site's --text) and --cmf-on-accent (default the site's --background).
 * Mobile first (375). Everything sits under .cmf.
 */
.cmf { max-width: 520px; font: inherit; font-size: 16px; line-height: 1.5; color: inherit; position: relative; }
.cmf * { box-sizing: border-box; }
.cmf-form { display: flex; flex-direction: column; gap: 1.25rem; }
.cmf-title { margin: 0; font: inherit; font-size: 1.5em; font-weight: 600; line-height: 1.25; }
/* A heading is a section question: bigger, with a hairline above and room to breathe. No boxes around sections. */
.cmf-heading { margin: 1rem 0 0; padding-top: 1.75rem; font: inherit; font-size: 1.25em; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
.cmf-heading.cmf-first { margin-top: 0; padding-top: 0; border-top: 0; }
.cmf-heading[hidden], .cmf-more[hidden] { display: none; }
.cmf-intro, .cmf-note, .cmf-help, .cmf-done p { margin: 0; }
.cmf-intro, .cmf-lead { opacity: .8; }
.cmf-help { font-size: .875em; opacity: .7; }
/* Rich text (bold, links, lists) in help, notes, the intro and the thank-you message. */
.cmf-rich > * { margin: 0; }
.cmf-rich > * + * { margin-top: .5em; }
.cmf-rich ul, .cmf-rich ol { padding-left: 1.25em; }
.cmf-rich a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cmf-field { display: flex; flex-direction: column; gap: .4rem; }
.cmf-field[hidden] { display: none; }
/* A follow-up question sits indented under the one that reveals it. */
.cmf-reveal { border-left: 2px solid color-mix(in srgb, currentColor 25%, transparent); padding-left: 14px; }
.cmf-label, .cmf-set legend { font-size: .9em; font-weight: 500; padding: 0; }
/* A list of choice rows is a question ("Which course?"): it reads as one, a step above the field labels. Segmented Yes/No stays a label. */
.cmf-set:has(.cmf-rows) > legend { font-size: 1.1em; font-weight: 600; margin-bottom: .25rem; }
/* Required questions carry no marker; optional ones say so, quietly. */
.cmf-optional { font-weight: 400; opacity: .65; }
.cmf-set { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: .4rem; }
.cmf-set:focus { outline: none; }
.cmf input[type="text"], .cmf input[type="email"], .cmf input[type="tel"], .cmf input[type="number"],
.cmf input[type="date"], .cmf input[type="time"], .cmf select, .cmf textarea {
  width: 100%; font: inherit; font-size: 16px; color: inherit; background: transparent; padding: .65rem .85rem; min-height: 46px;
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 8px;
}
.cmf select option { color: initial; }
.cmf textarea { resize: vertical; }
.cmf input:focus-visible, .cmf select:focus-visible, .cmf textarea:focus-visible, .cmf button:focus-visible, .cmf a:focus-visible {
  outline: 2px solid currentColor; outline-offset: 2px;
}
.cmf-choice { display: flex; align-items: flex-start; gap: .6rem; font-weight: 400; }
.cmf-choice input { margin-top: .3em; flex: none; }
.cmf-choice input:disabled + .cmf-opt-text { opacity: .55; }
.cmf-range { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.cmf-sub { display: flex; flex-direction: column; gap: .25rem; font-size: .875em; }

/* Visually hidden but still focusable: the real radio drives the styled row or segment beside it. */
.cmf-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; opacity: 0; }

/* Choice rows: ONE bordered group. Label and sub-line left, a chip, the radio dot on the right. The selected row is an ink ring, not the accent. */
.cmf-rows { display: flex; flex-direction: column; position: relative; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 12px; }
.cmf-row { display: block; cursor: pointer; }
.cmf-row + .cmf-row { border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
.cmf-rowbody { display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; min-height: 62px; border-radius: 12px; }
.cmf-rowtext { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.cmf-rowlabel { font-weight: 600; }
.cmf-sub2 { display: block; font-size: .875em; font-weight: 400; opacity: .7; }
.cmf-chip { flex: none; font-size: .75em; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, currentColor 10%, transparent); }
.cmf-chip[hidden] { display: none; }
.cmf-chip.cmf-low { background: #FBF1DE; color: #7A4F00; }
.cmf-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, currentColor 55%, transparent); }
.cmf-row input:checked + .cmf-rowbody { position: relative; z-index: 1; box-shadow: inset 0 0 0 2px currentColor; background: color-mix(in srgb, currentColor 6%, transparent); }
.cmf-row input:checked + .cmf-rowbody .cmf-dot { border: 6px solid currentColor; }
.cmf-row input:focus-visible + .cmf-rowbody { outline: 2px solid currentColor; outline-offset: 2px; }
.cmf-soldout { cursor: not-allowed; opacity: .5; }
.cmf-nodates { margin: 0; padding: .75rem .9rem; border: 1px dashed color-mix(in srgb, currentColor 40%, transparent); border-radius: 8px; }

/* Two or three short answers (Male / Female, Yes / No): a segmented control. Still real radio inputs. */
.cmf-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 8px; }
.cmf-segopt { display: block; cursor: pointer; }
.cmf-segopt + .cmf-segopt { border-left: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.cmf-segopt .cmf-opt-text { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 .5rem; border-radius: 8px; text-align: center; }
.cmf-segopt input:checked + .cmf-opt-text { position: relative; z-index: 1; box-shadow: inset 0 0 0 2px currentColor; background: color-mix(in srgb, currentColor 6%, transparent); font-weight: 600; }
.cmf-segopt input:focus-visible + .cmf-opt-text { outline: 2px solid currentColor; outline-offset: 2px; }
.cmf-segopt input:disabled + .cmf-opt-text { opacity: .5; cursor: not-allowed; }

/* Date of birth: day, month, year. */
.cmf-dob { display: grid; grid-template-columns: minmax(56px, 72px) minmax(0, 1fr) minmax(76px, 92px); gap: 10px; }

/* Searchable lists (country, dial code): the box is the search; the list opens under it. */
.cmf-picker { position: relative; }
.cmf-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); max-height: 280px; overflow: auto; margin: 0; padding: 4px; list-style: none;
  background: var(--cmf-surface, var(--background, Canvas)); color: inherit; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 10px; box-shadow: 0 8px 24px color-mix(in srgb, currentColor 18%, transparent); }
.cmf-list[hidden] { display: none; }
.cmf-opt { display: flex; justify-content: space-between; gap: .75rem; padding: .55rem .75rem; border-radius: 6px; cursor: pointer; }
.cmf-opt[aria-selected="true"] { background: color-mix(in srgb, currentColor 10%, transparent); }
.cmf-opthint { opacity: .65; flex: none; }
.cmf-optgroup { padding: .5rem .75rem .25rem; font-size: .72em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.cmf-optnone { padding: .6rem .75rem; opacity: .7; }

/* Phone: the dial code is fused to the number box. */
.cmf-phone { position: relative; }
.cmf-phonerow { display: flex; }
.cmf-dial { flex: none; min-height: 46px; padding: 0 .85rem; font: inherit; font-size: 15px; color: inherit; cursor: pointer; background: color-mix(in srgb, currentColor 6%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-right: 0; border-radius: 8px 0 0 8px; white-space: nowrap; }
.cmf-dial::after { content: ""; display: inline-block; margin-left: .5rem; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; vertical-align: middle; opacity: .6; }
.cmf .cmf-num { border-radius: 0 8px 8px 0; flex: 1; min-width: 0; }
.cmf-dialpop { position: absolute; z-index: 30; left: 0; top: calc(100% + 4px); width: min(340px, 100%); padding: 8px;
  background: var(--cmf-surface, var(--background, Canvas)); color: inherit; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 10px; box-shadow: 0 8px 24px color-mix(in srgb, currentColor 18%, transparent); }
.cmf-dialpop[hidden] { display: none; }
.cmf-dialpop .cmf-list { position: static; margin-top: 6px; border: 0; box-shadow: none; max-height: 240px; padding: 0; }

/* A section folded away behind "+ heading". */
.cmf-more { display: inline-flex; align-items: center; gap: .6rem; align-self: flex-start; min-height: 44px; padding: .25rem 0; font: inherit; font-weight: 500; color: inherit; background: none; border: 0; cursor: pointer; }
.cmf-plus { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); border-radius: 50%; font-size: 14px; line-height: 1; opacity: .8; }

/* Calendar: 7-column month grid, then the chosen day's times. */
.cmf-cal { display: flex; flex-direction: column; gap: .75rem; }
.cmf-calhead { display: flex; justify-content: space-between; align-items: center; font-size: .9em; }
.cmf-navs { display: inline-flex; gap: .25rem; }
.cmf-nav { font: inherit; font-size: 1.25em; line-height: 1; color: inherit; background: transparent; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 8px; width: 44px; height: 36px; cursor: pointer; }
.cmf-nav:disabled { opacity: .35; cursor: default; }
.cmf-vcal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; font-size: .9em; }
.cmf-wd { font-size: .8em; opacity: .65; }
.cmf-day { font: inherit; color: inherit; background: transparent; height: 44px; padding: 0; border-radius: 8px; border: 1px solid transparent; }
.cmf-day.cmf-ok { border-color: color-mix(in srgb, currentColor 30%, transparent); font-weight: 600; cursor: pointer; }
.cmf-day.cmf-no { opacity: .3; cursor: default; }
/* Filled states use the SITE's own text and background tokens (every CM site defines --text and
   --background). `currentColor` cannot be used for the fill: once `color` is set to the on-accent
   colour, currentColor IS that colour and the fill vanished (white on white, found 2026-10-03). */
.cmf-day.cmf-on { background: var(--cmf-accent, var(--text, CanvasText)); border-color: var(--cmf-accent, var(--text, CanvasText)); color: var(--cmf-on-accent, var(--background, Canvas)); }
.cmf-times { display: flex; flex-wrap: wrap; gap: .5rem; }
.cmf-times[hidden] { display: none; }
.cmf-time { font: inherit; color: inherit; background: transparent; min-height: 44px; padding: 0 1rem; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 8px; cursor: pointer; }
.cmf-time.cmf-on { border-color: currentColor; box-shadow: inset 0 0 0 1px currentColor; font-weight: 600; }
.cmf-time.cmf-gone { opacity: .45; text-decoration: line-through; cursor: default; }
.cmf-cal[aria-busy="true"] .cmf-vcal { opacity: .5; }

/* Mistakes: red text under the question, a red edge on the control, and a list at the top after Send. */
.cmf-error { margin: 0; font-size: .875em; font-weight: 500; color: var(--cmf-error, #B01B1B); }
.cmf-error[hidden] { display: none; }
.cmf input[aria-invalid="true"], .cmf select[aria-invalid="true"], .cmf textarea[aria-invalid="true"] { border-color: var(--cmf-error, #B01B1B); }
.cmf-rows.cmf-bad, .cmf-seg.cmf-bad { border-color: var(--cmf-error, #B01B1B); }
.cmf-errsum { display: flex; flex-direction: column; gap: .35rem; padding: 14px 16px; border: 1px solid var(--cmf-error, #B01B1B); border-radius: 10px; outline: none; }
.cmf-errsum[hidden] { display: none; }
.cmf-errsum-title { color: var(--cmf-error, #B01B1B); }
.cmf-errlink { color: var(--cmf-error, #B01B1B); text-decoration: underline; text-underline-offset: 2px; }
.cmf-status { min-height: 1.5em; font-weight: 600; }
.cmf-status:empty { min-height: 0; }

/* Send: one full-width button, a quiet note under it. On a phone the button pins to the bottom while the form is on screen. */
.cmf-submit {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 0 1.25rem;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border-radius: 10px;
  color: var(--cmf-on-accent, var(--background, Canvas)); background: var(--cmf-accent, var(--text, CanvasText)); border: 2px solid var(--cmf-accent, var(--text, CanvasText));
}
.cmf-submit:disabled { opacity: .55; cursor: not-allowed; }
.cmf-terms { gap: 0; }
.cmf-termsline { margin: 0; font-size: .875em; opacity: .8; }
.cmf-terms a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* A link inside a sentence must not rely on colour alone; site styles often remove underlines. */
.cmf .cmf-termsline a, .cmf .cmf-help a, .cmf label a { text-decoration: underline; text-underline-offset: 2px; }
.cmf-submitnote { margin: -.5rem 0 0; font-size: .875em; text-align: center; opacity: .75; }
.cmf-privacy { margin: 0; font-size: .8em; opacity: .65; text-align: center; }
.cmf-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) {
  /* The published form only: the builder draws the same form inside .cmf-look, where a pinned bar would float over the editor itself. */
  .cmf-actions:not(.cmf-look .cmf-actions) { position: sticky; bottom: 0; z-index: 20; padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--cmf-surface, var(--background, Canvas)); border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
  /* ContentMetric's "Website by" badge floats bottom right; lifted, it covered the fields as you scrolled. While the
     pinned button is on a phone screen the badge steps aside; it is back on the thank-you screen and every other page. */
  body:has(.cmf-actions) .cm-badge-credit { display: none; }
}

/* Thank-you screen: it replaces the form. Check, headline, one line, the booking card, what happens next, one way to chat. */
.cmf-done { display: flex; flex-direction: column; gap: 1.25rem; }
.cmf-check { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: #0B7A5A; background: color-mix(in srgb, #0B7A5A 12%, transparent); }
.cmf-donetitle { font-size: 1.85em; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; outline: none; }
.cmf-lead b { font-weight: 600; }
.cmf-ticket { border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 14px; overflow: hidden; }
.cmf-ticket-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: .75rem; padding: 18px 20px; }
.cmf-picks { display: flex; flex-direction: column; gap: .6rem; min-width: 0; flex: 1 1 14rem; }
.cmf-picks b { display: block; font-size: 1.05em; }
.cmf-pend { flex: none; font-size: .75em; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #FBF1DE; color: #7A4F00; white-space: nowrap; }
.cmf-kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; padding: 16px 20px; font-size: .9em; }
.cmf-ticket-top + .cmf-kv { border-top: 1px dashed color-mix(in srgb, currentColor 25%, transparent); }
.cmf-kv dt { opacity: .7; }
.cmf-kv dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.cmf-ref { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95em; }
.cmf-nexttitle { margin: .25rem 0 -.5rem; font: inherit; font-size: 1em; font-weight: 600; }
.cmf-next { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.cmf-next li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: .9em; line-height: 1.5; }
.cmf-next i { font-style: normal; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); font-size: .85em; font-weight: 600; }
.cmf-next .cmf-now i { color: var(--cmf-on-accent, var(--background, Canvas)); background: var(--cmf-accent, var(--text, CanvasText)); border-color: var(--cmf-accent, var(--text, CanvasText)); }
.cmf-next b { display: block; font-weight: 600; }
.cmf-next span { opacity: .75; }
.cmf-payment { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; padding: 1rem; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 10px; }
.cmf-paytext { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: .5rem; }
.cmf-qr { width: 160px; max-width: 100%; height: auto; }
.cmf-bank { margin: 0; font: inherit; font-size: .9em; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.cmf-acts { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
.cmf-wa { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cmf-again { font: inherit; font-size: .9em; color: inherit; opacity: .7; background: none; border: 0; padding: .5rem 0; min-height: 44px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
@media (max-width: 640px) {
  .cmf-acts { flex-direction: column; align-items: stretch; }
  .cmf-wa { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 1rem; font-weight: 600; text-decoration: none; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); border-radius: 10px; }
  .cmf-again { align-self: center; }
}
/* The host page can hide its own extras once the request is sent, and show a line only once a question is answered. */
.cmf-sent [data-cmf-hide-when-sent] { display: none !important; }
[data-cmf-show-when-answered][hidden] { display: none !important; }
@media (max-width: 480px) { .cmf-range { grid-template-columns: 1fr; } }

/* Photo or file: a pale filled box (no dashed edge), then a file row with a thumbnail, "Uploaded" and Remove. */
.cmf-slot { display: flex; flex-direction: column; gap: .5rem; }
.cmf-drop { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; min-height: 72px; padding: 14px 16px; border-radius: 10px; font-size: .9em; background: color-mix(in srgb, currentColor 6%, transparent); border: 2px solid transparent; }
.cmf-drop.cmf-over { border-color: currentColor; }
.cmf-choose { font: inherit; font-weight: 600; color: inherit; background: var(--cmf-surface, var(--background, Canvas)); min-height: 44px; padding: 0 1rem; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); border-radius: 8px; cursor: pointer; white-space: nowrap; }
.cmf-drophint { opacity: .7; }
.cmf-onlyphone { display: none; }
.cmf-file { display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 10px; font-size: .9em; }
.cmf-thumb { flex: none; width: 48px; height: 48px; border-radius: 6px; object-fit: cover; background: color-mix(in srgb, currentColor 14%, transparent); }
.cmf-fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmf-fname small { display: block; opacity: .75; font-size: .875em; }
.cmf-ok { color: #0B7A5A; font-weight: 600; }
.cmf-remove { font: inherit; font-size: .9em; color: inherit; opacity: .75; background: none; border: 0; padding: .5rem; min-height: 44px; text-decoration: underline; cursor: pointer; }
.cmf-choose:focus-visible, .cmf-remove:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (max-width: 480px) { .cmf-drophint:not(.cmf-onlyphone) { display: none; } .cmf-onlyphone { display: block; } }
/* Cloudflare Turnstile: nothing to see unless Cloudflare asks for a tick; then the one-line failure sits above the button. */
.cmf-cf:empty { display: none; }
.cmf-line { margin: 0; font-weight: 600; }
.cmf-line[hidden] { display: none; }

/* Summary card (design page 90): what the visitor has chosen so far. Wide: a card beside the form that stays in view while they scroll.
   Narrow (the form's own column under 908px, set by forms.ts as .cmf-wide): one strip at the top of the form. A form with no date or
   course gets no card at all. */
.cmf.cmf-withsum { max-width: none; }
.cmf-layout { display: flex; flex-direction: column; gap: 1.25rem; max-width: 520px; }
.cmf-sum { order: -1; display: flex; align-items: center; gap: .75rem; padding: 12px 14px; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 12px; font-size: .9em; }
.cmf-sum.cmf-sumblank { display: none; }
.cmf-sumey { margin: 0; font: inherit; font-size: .72em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cmf-accent, var(--text, currentColor)); }
.cmf-sumbody { flex: 1; min-width: 0; display: flex; align-items: center; gap: .75rem; }
.cmf-sumtext { flex: 1; min-width: 0; }
.cmf-sumtitle, .cmf-sumsub { margin: 0; }
.cmf-sumtitle { font-size: 1.05em; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmf-sumsub { display: none; }
.cmf-sumkv { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .8; }
.cmf-sumkv dd { display: inline; margin: 0; }
.cmf-sumkv dd ~ dd::before { content: " \00b7  "; }
.cmf-sumkv small { display: none; }
.cmf-sumkv .cmf-sumn { display: none; }
/* Strip: the heading stays for screen readers only, and each row's name is spoken but not drawn. */
.cmf-sumey, .cmf-sumkv dt { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cmf-sumchange { flex: none; font: inherit; color: inherit; background: none; border: 0; padding: 0 .25rem; min-height: 44px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.cmf-sumempty { margin: 0; opacity: .7; }

.cmf-wide .cmf-layout { display: grid; grid-template-columns: minmax(0, 520px) 340px; gap: 48px; max-width: none; align-items: start; }
.cmf-wide .cmf-sum, .cmf-wide .cmf-sum.cmf-sumblank { order: 0; display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 20px; position: sticky; top: var(--cmf-sticky-top, 24px); }
.cmf-wide .cmf-sumey { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }
.cmf-wide .cmf-sumbody { flex-direction: column; align-items: stretch; gap: 14px; }
.cmf-wide .cmf-sumtitle { font-size: 1.15em; white-space: normal; overflow: visible; }
.cmf-wide .cmf-sumsub { display: block; font-size: .9em; opacity: .75; margin-top: 2px; }
.cmf-wide .cmf-sumkv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; white-space: normal; overflow: visible; opacity: 1; margin-top: 14px; }
.cmf-wide .cmf-sumkv dt { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; opacity: .7; }
.cmf-wide .cmf-sumkv dd { display: block; text-align: right; overflow-wrap: anywhere; }
.cmf-wide .cmf-sumkv dd ~ dd::before { content: none; }
.cmf-wide .cmf-sumkv .cmf-sumn { display: block; }
.cmf-wide .cmf-sumkv small { display: block; opacity: .7; font-size: .875em; }
.cmf-wide .cmf-sumchange { align-self: flex-start; min-height: 32px; padding: 0; }
