/* The enquiry form (includes/enquiry-form.php, assets/enquiry.js) in its two places: the product dialog (.scope-enq: a
   centred panel on larger screens, a full-height sheet on phones, the heading fixed and the form scrolling inside it)
   and the enquiry page (.scope-enqp: the form beside the visitor's enquiry list and the showroom). One field style:
   the same box, 16px text (iOS does not zoom), 44px or more to tap, the same focus ring. Selectors start at the dialog
   or the page so the theme's own input, legend and button rules cannot restyle one field. The confirmation card further
   down is the delivery and service forms' too: this sheet is on every page. */
:is(.scope-enq, .scope-enqp, .scope-confirm) [hidden] { display: none !important; }
:is(.scope-enq, .scope-enqp) .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:is(.scope-enq, .scope-enqp) :is(button, a, summary, select, input, textarea):focus-visible { outline: 3px solid var(--s-focus, #1a5fd0); outline-offset: 2px; }

/* ---------------------------------------------------------------- The dialog */
html.scope-enq-open { overflow: hidden; }
.scope-enq { box-sizing: border-box; width: min(720px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: var(--s-radius, 4px); background: #fff; color: var(--s-ink, #1d1d1b); font-family: var(--s-font, sans-serif); box-shadow: 0 24px 60px -20px rgba(29, 29, 27, .5); overscroll-behavior: contain; overflow: hidden; }
.scope-enq[open] { display: flex; flex-direction: column; }
.scope-enq::backdrop { background: rgba(29, 29, 27, .55); }
.scope-enq__panel { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.scope-enq__head { flex: 0 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 12px 24px; border-bottom: 1px solid var(--s-line, #e4dfd6); }
.scope-enq__title { margin: 0; color: var(--s-ink, #1d1d1b); font: 600 20px/1.3 var(--s-font, sans-serif); letter-spacing: 0; text-transform: none; }
.scope-enq__title:focus { outline: none; }
.scope-enq__lead { margin: 2px 0 0; color: var(--s-muted, #6b6762); font-size: 14px; line-height: 1.4; }
.scope-enq .scope-enq__close { flex: 0 0 auto; width: 44px; height: 44px; margin: -6px -8px -6px 0; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: none; color: inherit; font-size: 30px; line-height: 1; cursor: pointer; }
.scope-enq .scope-enq__close:hover { background: var(--s-soft, #f3efe8); }
.scope-enq__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 18px 24px 0; }
.scope-enq .scope-enqd { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
.scope-enq:has(.scope-enqd:not([hidden])) { border-top: 3px solid var(--s-accent, #8a5a34); } /* sent: the dialog wears the confirmation card's oak rule */

/* The piece: its picture, brand, name and choices, read at a glance. */
.scope-enq__about { margin: 0 0 18px; padding: 14px; border: 1px solid var(--s-line, #e4dfd6); border-radius: var(--s-radius, 4px); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.scope-enq__card { display: flex; align-items: flex-start; gap: 16px; }
.scope-enq__thumb { flex: 0 0 96px; width: 96px; aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: var(--s-tile, #f2f0ec); }
.scope-enq__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.scope-enq__card-text { flex: 1 1 auto; min-width: 0; }
.scope-enq__brand { margin: 0 0 2px; color: var(--s-muted, #6b6762); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.scope-enq__item { margin: 0; color: var(--s-ink, #1d1d1b); font-size: 16px; font-weight: 600; line-height: 1.35; }
.scope-enq__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 6px 16px; margin: 8px 0 0; padding: 0; }
.scope-enq__opt { min-width: 0; }
.scope-enq__opts dt { margin: 0; color: var(--s-muted, #6b6762); font-size: 13px; font-weight: 400; }
.scope-enq__opts dd { margin: 0; font-weight: 500; }
.scope-enq__note { margin: 10px 0 0; }
.scope-enq__card + .scope-enq__note { padding-top: 10px; border-top: 1px solid var(--s-line, #e4dfd6); }
.scope-enq__listnote { margin: 0 0 18px; padding: 10px 14px; border-radius: var(--s-radius, 4px); background: var(--s-soft, #f3efe8); font-size: 14px; line-height: 1.5; }
.scope-enq__listnote a { color: var(--s-ink, #1d1d1b); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- The form */
.scope-enqf { margin: 0; color: var(--s-ink, #1d1d1b); font-family: var(--s-font, sans-serif); font-size: 15px; line-height: 1.5; }
.scope-enqf :is(fieldset) { min-width: 0; margin: 0; padding: 0; border: 0; }
/* Floated, a legend leaves the fieldset's top border and sits inside its padding, so a boxed group (the ring box) holds its own heading. */
.scope-enqf :is(legend) { float: left; width: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit; font-size: inherit; letter-spacing: normal; text-transform: none; }
.scope-enqf :is(legend) + * { clear: both; }
.scope-enqf .scope-enqf__set { margin: 0 0 22px; }
.scope-enqf .scope-enqf__legend { display: block; margin: 0 0 10px; font: 600 17px/1.35 var(--s-font, sans-serif); }
.scope-enqf .scope-enqf__sub { margin: 0 0 14px; }
.scope-enqf .scope-enqf__set > .scope-enqf__sub:last-child { margin-bottom: 0; }
.scope-enqf .scope-enqf__label, .scope-enqf .scope-enqf__field > label, .scope-enqf .scope-enqf__field--dim > label { display: block; margin: 0 0 6px; padding: 0; color: var(--s-ink, #1d1d1b); font-size: 14px; font-weight: 600; line-height: 1.4; }
.scope-enqf .scope-enqf__label--plain { font-weight: 500; }
.scope-enqf__opt { color: var(--s-muted, #6b6762); font-size: 14px; font-weight: 400; }
.scope-enqf__field { margin: 0 0 14px; }
.scope-enqf__hint { display: block; margin: -2px 0 8px; color: var(--s-muted, #6b6762); font-size: 14px; line-height: 1.45; }
.scope-enqf__hint a { color: var(--s-ink, #1d1d1b); text-decoration: underline; text-underline-offset: 3px; }
.scope-enqf__note { margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid var(--s-accent, #8a5a34); background: var(--s-accent-soft, #f1e7dc); color: var(--s-text, #34322f); font-size: 14px; line-height: 1.5; }
.scope-enqf__note:empty { display: none; }
.scope-enqf__pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
:is(.scope-enq, .scope-enqp) .scope-enqf :is(input[type="text"], input[type="email"], input[type="tel"], textarea, select) { box-sizing: border-box; display: block; width: 100%; height: auto; min-height: 48px; margin: 0; padding: 11px 12px; border: 1px solid var(--s-control, #8a867f); border-radius: var(--s-radius, 4px); background-color: #fff; box-shadow: none; color: var(--s-ink, #1d1d1b); font: 400 16px/1.4 var(--s-font, sans-serif); letter-spacing: normal; text-transform: none; -webkit-appearance: none; appearance: none; transition: border-color .15s ease, box-shadow .15s ease; }
:is(.scope-enq, .scope-enqp) .scope-enqf select { padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M2 5l5 5 5-5' fill='none' stroke='%231d1d1b' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; cursor: pointer; }
:is(.scope-enq, .scope-enqp) .scope-enqf textarea { min-height: 96px; resize: vertical; }
:is(.scope-enq, .scope-enqp) .scope-enqf :is(input[type="text"], input[type="email"], input[type="tel"], textarea, select):hover { border-color: var(--s-ink, #1d1d1b); }
:is(.scope-enq, .scope-enqp) .scope-enqf :is(input[type="text"], input[type="email"], input[type="tel"], textarea, select):focus { border-color: var(--s-ink, #1d1d1b); outline: 2px solid transparent; box-shadow: 0 0 0 1px var(--s-ink, #1d1d1b), 0 0 0 4px rgba(26, 95, 208, .35); }
:is(.scope-enq, .scope-enqp) .scope-enqf [aria-invalid="true"] { border-color: var(--s-red-dark, #a00d24); }
:is(.scope-enq, .scope-enqp) .scope-enqf [aria-invalid="true"]:focus { box-shadow: 0 0 0 1px var(--s-red-dark, #a00d24), 0 0 0 4px rgba(160, 13, 36, .22); }
/* A browser's autofill paints its own pale blue under the text, which no background colour reaches: a white inset shadow covers it. */
:is(.scope-enq, .scope-enqp) .scope-enqf :is(input[type="text"], input[type="email"], input[type="tel"]):is(:-webkit-autofill, :autofill) { box-shadow: 0 0 0 40px #fff inset; -webkit-text-fill-color: var(--s-ink, #1d1d1b); caret-color: var(--s-ink, #1d1d1b); }
:is(.scope-enq, .scope-enqp) .scope-enqf :is(input[type="text"], input[type="email"], input[type="tel"]):is(:-webkit-autofill, :autofill):focus { box-shadow: 0 0 0 40px #fff inset, 0 0 0 1px var(--s-ink, #1d1d1b), 0 0 0 4px rgba(26, 95, 208, .35); }
/* The errors are the site's dark red, as the delivery and service forms' (service.css). */
.scope-enqf__err { display: block; margin-top: 4px; color: var(--s-red-dark, #a00d24); font-size: 14px; font-weight: 500; }
.scope-enqf__err:empty { display: none; }

/* Choices as chips: the real radio button or tick box sits under its label, so keys, screen readers and forms work as usual. */
.scope-enqf__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.scope-enqf__chip { position: relative; display: inline-flex; }
.scope-enqf__chip input { position: absolute; top: 50%; left: 50%; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
.scope-enqf .scope-enqf__chip label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 0; padding: 0 16px; border: 1px solid var(--s-line-strong, #cbc5bb); border-radius: 999px; background: #fff; color: var(--s-ink, #1d1d1b); font-size: 15px; font-weight: 500; line-height: 1.25; cursor: pointer; user-select: none; }
.scope-enqf .scope-enqf__chip label:hover { border-color: var(--s-ink, #1d1d1b); }
.scope-enqf .scope-enqf__chip input:checked + label { border-color: var(--s-ink, #1d1d1b); background: var(--s-ink, #1d1d1b); color: #fff; }
.scope-enqf .scope-enqf__chip input:checked + label::before { content: "\2713"; font-weight: 700; }
.scope-enqf .scope-enqf__chip input:focus-visible + label { outline: 3px solid var(--s-focus, #1a5fd0); outline-offset: 2px; }
@media (forced-colors: active) { .scope-enqf .scope-enqf__chip input:checked + label { border-width: 3px; } }

/* The problems, listed at the top with a link to each field. */
.scope-enqf__problems { margin: 0 0 20px; padding: 14px 16px; border: 2px solid var(--s-red-dark, #a00d24); border-radius: var(--s-radius, 4px); background: #fff; }
.scope-enqf__problems:focus { outline: 3px solid var(--s-focus, #1a5fd0); outline-offset: 2px; }
.scope-enqf .scope-enqf__problems-title { margin: 0 0 6px; color: var(--s-ink, #1d1d1b); font: 600 16px/1.35 var(--s-font, sans-serif); letter-spacing: 0; text-transform: none; }
.scope-enqf__problems ul { margin: 0; padding: 0 0 0 18px; }
.scope-enqf__problems li { margin: 2px 0; }
.scope-enqf__problems a { color: var(--s-red-dark, #a00d24); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* The callback time, under the reply choice. */
.scope-enqf__ring { padding: 14px 16px 2px !important; border-radius: var(--s-radius, 4px) !important; background: var(--s-soft, #f3efe8) !important; }
.scope-enqf__ring .scope-enqf__hint { margin: 0 0 12px; }

/* The closed sections: room sizes and files; timescale and budget. */
.scope-enqf__more { margin: 0; border-top: 1px solid var(--s-line, #e4dfd6); }
.scope-enqf__more:not(:has(+ .scope-enqf__more)) { border-bottom: 1px solid var(--s-line, #e4dfd6); }
.scope-enqf__summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 4px 0; list-style: none; cursor: pointer; font-size: 16px; font-weight: 600; }
.scope-enqf__summary::-webkit-details-marker { display: none; }
.scope-enqf__summary::before { content: "+"; flex: 0 0 24px; width: 24px; height: 24px; border: 1px solid var(--s-line-strong, #cbc5bb); border-radius: 50%; font-size: 18px; font-weight: 400; line-height: 22px; text-align: center; }
.scope-enqf__more[open] > .scope-enqf__summary::before { content: "\2212"; }
.scope-enqf__summary-title { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.scope-enqf__summary:hover .scope-enqf__summary-title { text-decoration-color: currentColor; }
.scope-enqf__summary-title .scope-enqf__opt { display: inline-block; } /* Not underlined with the title. */
.scope-enqf__more-body { padding: 4px 0 10px; }
.scope-enqf__more + .scope-enqf__field--message { margin-top: 20px; }
.scope-enqf__dims { margin: 0 0 4px; }
.scope-enqf .scope-enqf__dim { margin: 0 0 12px; }
.scope-enqf__dim-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 0 10px; }
.scope-enqf__field--dim { margin: 0; }
.scope-enqf .scope-enqf__field--dim > label { color: var(--s-muted, #6b6762); font-weight: 400; }
.scope-enqf__times { padding-bottom: 12px; color: var(--s-muted, #6b6762); }
.scope-enqf__measure { position: relative; display: block; }
:is(.scope-enq, .scope-enqp) .scope-enqf .scope-enqf__measure input { padding-right: 44px; }
.scope-enqf__unit { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); color: var(--s-muted, #6b6762); font-size: 15px; pointer-events: none; }

/* Files: each one as a small card (a thumbnail, or "PDF"), then the button that adds another. */
.scope-enqf__files { position: relative; margin: 0 0 18px; }
.scope-enqf__thumbs { display: grid; gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
.scope-enqf__thumbs:empty { display: none; }
.scope-enqf__thumb { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 0; padding: 8px 8px 8px 8px; border: 1px solid var(--s-line, #e4dfd6); border-radius: var(--s-radius, 4px); background: #fff; }
.scope-enqf__thumb img { display: block; width: 56px; height: 56px; border-radius: 2px; object-fit: cover; }
.scope-enqf__thumb-pdf { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 2px; background: var(--s-soft, #f3efe8); color: var(--s-ink, #1d1d1b); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.scope-enqf__thumb-text { display: grid; min-width: 0; }
.scope-enqf__thumb-name { overflow-wrap: anywhere; font-size: 14px; font-weight: 500; }
.scope-enqf__thumb-size { color: var(--s-muted, #6b6762); font-size: 13px; }
.scope-enqf .scope-enqf__thumb-remove { min-height: 44px; padding: 0 8px; border: 0; background: none; box-shadow: none; color: var(--s-ink, #1d1d1b); font: 500 14px/1 var(--s-font, sans-serif); letter-spacing: normal; text-decoration: underline; text-transform: none; text-underline-offset: 3px; cursor: pointer; }
.scope-enqf__file { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; opacity: 0; }
.scope-enqf .scope-enqf__file-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 0 18px; border: 1px solid var(--s-ink, #1d1d1b); border-radius: var(--s-radius, 4px); background: #fff; color: var(--s-ink, #1d1d1b); font-size: 15px; font-weight: 500; cursor: pointer; }
.scope-enqf .scope-enqf__file-btn::before { content: "+"; font-size: 20px; font-weight: 400; line-height: 1; }
.scope-enqf .scope-enqf__file-btn:hover { background: var(--s-soft, #f3efe8); }
.scope-enqf__file:focus-visible + .scope-enqf__file-btn { outline: 3px solid var(--s-focus, #1a5fd0); outline-offset: 2px; }

/* The foot: consent, the check, the button and the other ways to reach us. */
.scope-enqf__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.scope-enqf__consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 12px; align-items: start; margin: 18px 0 16px; font-size: 14px; line-height: 1.5; }
.scope-enqf__consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--s-ink, #1d1d1b); }
.scope-enqf .scope-enqf__consent label { margin: 0; padding: 0; font-weight: 400; }
.scope-enqf__consent .scope-enqf__err { grid-column: 2; }
.scope-enqf__consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.scope-enqf__turnstile { margin: 0 0 14px; }
.scope-enqf__turnstile:empty { display: none; }
.scope-enqf__status { margin: 0 0 12px; font-size: 14px; }
.scope-enqf__status:empty { display: none; }
.scope-enqf__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0; }
/* Keep Send enquiry pinned cleanly at the bottom of the dialog scrollport so it is immediately reachable on 1440x900 screens. */
.scope-enq .scope-enqf__actions { position: sticky; bottom: 0; z-index: 2; margin: 12px -24px 0; padding: 12px 24px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--s-line, #e4dfd6); background: #fff; }
.scope-enq .scope-enqf__talk { margin: 12px 0 calc(20px + env(safe-area-inset-bottom)); }
.scope-enqf .scope-enqf__send { flex: 0 1 auto; min-width: 220px; min-height: var(--s-btn-h, 48px); padding: 0 28px; border: 1px solid var(--s-btn, #1d1d1b); border-radius: var(--s-radius, 4px); background: var(--s-btn, #1d1d1b); box-shadow: none; color: var(--s-btn-ink, #fff); font: 500 var(--s-btn-fs, 15px)/1 var(--s-font, sans-serif); letter-spacing: normal; text-transform: none; cursor: pointer; }
.scope-enqf .scope-enqf__send:hover:not(:disabled):not([aria-disabled="true"]) { background: var(--s-btn-hover, #000); }
.scope-enqf .scope-enqf__send:is(:disabled, [aria-disabled="true"]) { opacity: .6; cursor: default; }
.scope-enqf__or { font-size: 14px; }
.scope-enqf__or a { display: inline-block; padding: 12px 2px; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.scope-enqf__talk { margin: 14px 0 0; color: var(--s-muted, #6b6762); font-size: 14px; }
.scope-enqf__talk a { color: var(--s-ink, #1d1d1b); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- The confirmation (all three forms) */
/* One thank-you for the three forms: the enquiry form's, drawn by enquiry.js (.scope-enqd: framed on the enquiry page, the
   dialog its own frame), and the delivery and service forms' card, drawn by the Worker in the form's place (.scope-confirm,
   src/lib/forms/confirm.ts). A white card on the paper under an oak rule: the tick and what was received, the heading, what
   happens next as numbered steps, a word about spam folders, what was sent as a summary (label beside value once the card is
   520 px wide), then the way on. The card is the container its layout reads, so the dialog, the page and a phone agree. */
:is(.scope-confirm, .scope-enqd) { container: scope-confirm / inline-size; color: var(--s-text, #34322f); font-family: var(--s-font, sans-serif); font-size: 15px; line-height: 1.6; overflow-wrap: break-word; }
:is(.scope-confirm, .scope-enqp .scope-enqd) {
  margin: 0; padding: clamp(22px, 4.4vw, 44px); border: 1px solid var(--s-line, #e4dfd6); border-top: 3px solid var(--s-accent, #8a5a34); border-radius: var(--s-radius, 4px);
  background: #fff; box-shadow: 0 1px 2px rgba(29, 29, 27, .04), 0 24px 48px -34px rgba(29, 29, 27, .32);
}
.scope-confirm { scroll-margin-top: 24px; } /* below the room chrome.css keeps for the header (html scroll-padding-top) */

/* The head: the tick in an oak disc beside what was received, in small capitals (oak on white, 5.8:1 at the least in every
   theme; the tick on its tint, 4.8:1). */
:is(.scope-confirm__status, .scope-enqd__status) { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; color: var(--s-accent, #8a5a34); font: 600 13px/1.3 var(--s-font, sans-serif); letter-spacing: .08em; text-transform: uppercase; }
:is(.scope-confirm__mark, .scope-enqd__mark) { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: var(--s-accent-soft, #f1e7dc); color: var(--s-accent, #8a5a34); }
:is(.scope-confirm__mark, .scope-enqd__mark) svg { display: block; width: 22px; height: 22px; stroke-width: 2.2; }
@media (prefers-reduced-motion: no-preference) { :is(.scope-confirm__mark, .scope-enqd__mark) svg { animation: scope-confirm-tick .45s .15s cubic-bezier(.3, 1.45, .55, 1) both; } }
@keyframes scope-confirm-tick { from { opacity: 0; transform: scale(.4); } }
.scope-confirm .scope-confirm__title { margin: 0; color: var(--s-ink, #1d1d1b); font: 600 clamp(26px, 1.1vw + 18px, 34px)/1.18 var(--s-font, sans-serif); letter-spacing: -.015em; text-transform: none; text-wrap: balance; }
.scope-confirm__title:focus { outline: none; } /* focused on arrival (service.js) so it is read first; it is not a control */
.scope-confirm__lead { max-width: 38em; margin: 12px 0 0; color: var(--s-text, #34322f); font-size: 17px; line-height: 1.6; }
/* The enquiry's head: its heading is the page's or the dialog's own, so the tick sits beside the reference to quote. */
.scope-enqd__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.scope-enqd__head .scope-enqd__status { margin: 0; }
.scope-enqd__ref { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 2px 10px; margin: 0; padding: 12px 16px; border: 1px dashed var(--s-line-strong, #cbc5bb); border-radius: var(--s-radius, 4px); background: var(--s-surface, #faf8f4); color: var(--s-text, #34322f); font-size: 14px; line-height: 1.4; }
.scope-enqd__ref strong { color: var(--s-ink, #1d1d1b); font: 600 19px/1.2 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .14em; }
.scope-enqd__hint { grid-column: 1 / -1; color: var(--s-muted, #6b6762); font-size: 13px; }

/* The parts, each under a hairline: what happens next, what was sent, how to reach us. */
.scope-confirm__part { margin: 30px 0 0; padding: 30px 0 0; border-top: 1px solid var(--s-line, #e4dfd6); }
:is(.scope-confirm, .scope-enqd) :is(.scope-confirm__h, .scope-enqd__h) { margin: 0 0 16px; color: var(--s-ink, #1d1d1b); font: 600 18px/1.3 var(--s-font, sans-serif); letter-spacing: 0; text-transform: none; }
.scope-enqd .scope-enqd__h { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--s-line, #e4dfd6); }

/* What happens next: numbered discs joined by a thread. */
:is(.scope-confirm__steps, .scope-enqd__next) { margin: 0; padding: 0; list-style: none; counter-reset: scope-step; }
:is(.scope-confirm__steps, .scope-enqd__next) > li { position: relative; min-height: 32px; margin: 0; padding: 4px 0 22px 48px; counter-increment: scope-step; }
:is(.scope-confirm__steps, .scope-enqd__next) > li:last-child { padding-bottom: 0; }
:is(.scope-confirm__steps, .scope-enqd__next) > li::before { content: counter(scope-step); position: absolute; top: 0; left: 0; display: grid; place-items: center; box-sizing: border-box; width: 32px; height: 32px; border: 1px solid var(--s-line-strong, #cbc5bb); border-radius: 50%; background: #fff; color: var(--s-ink, #1d1d1b); font: 600 13px/1 var(--s-font, sans-serif); }
:is(.scope-confirm__steps, .scope-enqd__next) > li:not(:last-child)::after { content: ""; position: absolute; top: 36px; bottom: 4px; left: 16px; width: 1px; background: var(--s-line-strong, #cbc5bb); }
.scope-confirm__steps strong { display: block; margin: 0 0 2px; color: var(--s-ink, #1d1d1b); font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.scope-enqd__where { display: block; margin-top: 4px; color: var(--s-ink, #1d1d1b); font-weight: 500; }
.scope-enqd__route { display: inline-block; margin-top: 2px; padding: 8px 0; color: var(--s-ink, #1d1d1b); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* A reply in a spam folder: ink on the oak tint behind an oak rule, the site's notice (chrome.css .scope-notice), with an envelope. */
:is(.scope-confirm__note, .scope-enqd__note) { display: flex; align-items: flex-start; gap: 14px; margin: 26px 0 0; padding: 16px 18px; border-left: 3px solid var(--s-accent, #8a5a34); border-radius: 0 var(--s-radius, 4px) var(--s-radius, 4px) 0; background: var(--s-accent-soft, #f1e7dc); color: var(--s-ink, #1d1d1b); font-size: 15px; line-height: 1.55; }
:is(.scope-confirm__note, .scope-enqd__note) svg { display: block; flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; color: var(--s-accent, #8a5a34); }
:is(.scope-confirm__note, .scope-enqd__note) p { margin: 0; }
:is(.scope-confirm__note, .scope-enqd__note) strong { display: block; margin: 0 0 2px; font-weight: 600; }

/* What was sent: the pieces as small cards, then the rest as a summary, label beside value on a wide card. */
.scope-enqd__items { display: grid; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.scope-enqd__item { display: flex; align-items: center; gap: 16px; margin: 0; padding: 12px; border: 1px solid var(--s-line, #e4dfd6); border-radius: var(--s-radius, 4px); background: #fff; }
.scope-enqd__item img { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 2px; object-fit: contain; background: var(--s-tile, #f2f0ec); mix-blend-mode: multiply; }
.scope-enqd__item-text { min-width: 0; }
.scope-enqd__item-text p { margin: 0; }
.scope-enqd__brand { color: var(--s-muted, #6b6762); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.scope-enqd__name { color: var(--s-ink, #1d1d1b); font-weight: 600; }
.scope-enqd__facts { color: var(--s-text, #34322f); font-size: 14px; }
:is(.scope-confirm__summary, .scope-enqd__sent) { display: block; margin: 0; padding: 2px 20px; border: 1px solid var(--s-line, #e4dfd6); border-radius: var(--s-radius, 4px); background: var(--s-surface, #faf8f4); }
:is(.scope-confirm__summary, .scope-enqd__sent) > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 24px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--s-line, #e4dfd6); }
:is(.scope-confirm__summary, .scope-enqd__sent) > div:last-child { border-bottom: 0; }
:is(.scope-confirm__summary, .scope-enqd__sent) dt { margin: 0; color: var(--s-muted, #6b6762); font-size: 14px; font-weight: 500; line-height: 1.5; }
:is(.scope-confirm__summary, .scope-enqd__sent) dd { margin: 0; color: var(--s-ink, #1d1d1b); font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-line; }
:is(.scope-confirm__keep, .scope-enqd__keep) { margin: 14px 0 0; color: var(--s-muted, #6b6762); font-size: 14px; line-height: 1.5; }

/* How to reach us: the showroom's phone, the service address and the opening hours, each with its line icon. */
.scope-confirm__ways { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.scope-confirm__ways li { display: flex; align-items: flex-start; gap: 12px; margin: 0; color: var(--s-text, #34322f); font-size: 15px; line-height: 1.55; }
.scope-confirm__ways li > span { min-width: 0; overflow-wrap: anywhere; } /* the service address is wider than a 320 px card's line */
.scope-confirm__ways svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; color: var(--s-accent, #8a5a34); }
.scope-confirm__ways a { color: var(--s-ink, #1d1d1b); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.scope-confirm__ways a[href^="tel:"] { white-space: nowrap; } /* a phone number is never split */

/* The way on: the site's buttons, the dark one first, then print as a quiet text button. */
:is(.scope-confirm__actions, .scope-enqd__actions) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 32px 0 0; padding: 28px 0 0; border-top: 1px solid var(--s-line, #e4dfd6); }
.scope-confirm__actions .scope-button { flex: 0 0 auto; }
.scope-confirm .scope-confirm__print { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; font-size: 15px; }
.scope-enqd .scope-enqd__btn { display: inline-flex; align-items: center; justify-content: center; min-height: var(--s-btn-h, 48px); padding: 0 28px; border: 1px solid var(--s-btn, #1d1d1b); border-radius: var(--s-radius, 4px); background: var(--s-btn, #1d1d1b); box-shadow: none; color: var(--s-btn-ink, #fff); font: 600 var(--s-btn-fs, 15px)/1.2 var(--s-font, sans-serif); letter-spacing: .01em; text-decoration: none; text-transform: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.scope-enqd .scope-enqd__btn:hover { background: var(--s-btn-hover, #000); border-color: var(--s-btn-hover, #000); }
.scope-enqd .scope-enqd__btn--outline { border-color: var(--s-line-strong, #cbc5bb); background: #fff; color: var(--s-ink, #1d1d1b); }
.scope-enqd .scope-enqd__btn--outline:hover { border-color: var(--s-ink, #1d1d1b); background: #fff; }
.scope-enqd__link { padding: 12px 0; color: var(--s-ink, #1d1d1b); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@container scope-confirm (min-width: 520px) {
  :is(.scope-confirm__summary, .scope-enqd__sent) > div { grid-template-columns: minmax(0, 12.5em) minmax(0, 1fr); align-items: baseline; }
  :is(.scope-confirm__summary, .scope-enqd__sent) dd { grid-column: 2; }
}
@container scope-confirm (max-width: 479px) {
  :is(.scope-confirm__actions, .scope-enqd__actions) > :is(.scope-button, .scope-enqd__btn) { flex: 1 1 100%; }
  :is(.scope-confirm .scope-confirm__print, .scope-enqd__link) { margin: 0 auto; }
  :is(.scope-confirm__summary, .scope-enqd__sent) { padding: 2px 16px; }
}

/* ---------------------------------------------------------------- The enquiry page */
.scope-enqp__head { margin-bottom: 28px; }
.scope-enqp__title:focus, .scope-enqp .scope-service__title:focus { outline: none; }
.scope-enqp__nojs { max-width: 46em; margin: 0 0 32px; padding: 16px 20px; background: var(--s-soft, #f3efe8); color: var(--s-ink, #1d1d1b); font-size: 16px; }
.scope-enqp__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.scope-enqp__main { min-width: 0; max-width: 680px; }
.scope-enqp .scope-enqf .scope-enqf__legend { font: 600 20px/1.3 var(--s-font, sans-serif); } /* "Your details" as large as "Your enquiry list" beside it (QC 10 Nov) */
.scope-enqp .scope-enqp__h2 { margin: 0 0 12px; color: var(--s-ink, #1d1d1b); font: 600 20px/1.3 var(--s-font, sans-serif); letter-spacing: 0; text-transform: none; }
.scope-enqp__count { color: var(--s-muted, #6b6762); font-weight: 400; }
.scope-enqp__empty { margin: 0 0 12px; color: var(--s-text, #34322f); font-size: 15px; line-height: 1.6; }
.scope-enqp.has-list .scope-enqp__empty { display: none; }
.scope-enqp__more { margin: 14px 0 0; font-size: 15px; }
.scope-enqp__undo { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--s-radius, 4px); background: var(--s-soft, #f3efe8); font-size: 14px; }
.scope-enqp__undo:empty { display: none; }
.scope-enqp .scope-enql__undo { min-height: 44px; margin: -12px 0; padding: 0 4px; border: 0; background: none; box-shadow: none; color: var(--s-ink, #1d1d1b); font: 600 14px/1 var(--s-font, sans-serif); letter-spacing: normal; text-decoration: underline; text-transform: none; text-underline-offset: 3px; cursor: pointer; }

/* The list: one piece a row, with its picture, brand, name, choices and the tools to change it. */
.scope-enql { margin: 0; padding: 0; border-top: 1px solid var(--s-line, #e4dfd6); list-style: none; }
.scope-enql:not(:has(> li)) { border-top: 0; }
.scope-enql__item { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--s-line, #e4dfd6); }
.scope-enql__thumb { width: 88px; aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: var(--s-tile, #f2f0ec); }
.scope-enql__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.scope-enql__body { min-width: 0; font-size: 14px; line-height: 1.45; }
.scope-enql__body p { margin: 0; }
.scope-enql__brand { color: var(--s-muted, #6b6762); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.scope-enql__name { color: var(--s-ink, #1d1d1b); font-size: 16px; font-weight: 600; }
.scope-enql__name a { color: inherit; text-decoration: none; }
.scope-enql__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.scope-enql__opts { display: flex; flex-wrap: wrap; gap: 0 14px; margin: 4px 0 0; padding: 0; }
.scope-enql__opts div { display: flex; gap: 4px; }
.scope-enql__opts dt { color: var(--s-muted, #6b6762); font-weight: 400; }
.scope-enql__opts dt::after { content: ":"; }
.scope-enql__opts dd { margin: 0; color: var(--s-text, #34322f); }
.scope-enql__sample { margin-top: 2px !important; color: var(--s-text, #34322f); }
.scope-enql__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin: 8px 0 0; }
.scope-enql__qty-wrap { display: inline-flex; align-items: center; gap: 8px; }
.scope-enqp .scope-enql__qty-label { margin: 0; color: var(--s-muted, #6b6762); font-size: 14px; font-weight: 400; }
.scope-enqp select.scope-enql__qty { box-sizing: border-box; width: auto; min-height: 40px; margin: 0; padding: 0 32px 0 12px; border: 1px solid var(--s-control, #8a867f); border-radius: var(--s-radius, 4px); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 14 14'%3E%3Cpath d='M2 5l5 5 5-5' fill='none' stroke='%231d1d1b' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 10px center; color: var(--s-ink, #1d1d1b); font: 400 16px/1.2 var(--s-font, sans-serif); -webkit-appearance: none; appearance: none; cursor: pointer; }
.scope-enqp .scope-enql__tool { min-height: 44px; padding: 0; border: 0; background: none; box-shadow: none; color: var(--s-ink, #1d1d1b); font: 500 14px/1 var(--s-font, sans-serif); letter-spacing: normal; text-decoration: underline; text-transform: none; text-underline-offset: 3px; cursor: pointer; }
.scope-enql__note { margin: 6px 0 0 !important; }
.scope-enqp .scope-enql__note label { display: block; margin: 0 0 4px; color: var(--s-ink, #1d1d1b); font-size: 14px; font-weight: 600; }
.scope-enqp .scope-enql__note textarea { box-sizing: border-box; display: block; width: 100%; min-height: 64px; margin: 0; padding: 10px 12px; border: 1px solid var(--s-control, #8a867f); border-radius: var(--s-radius, 4px); background: #fff; box-shadow: none; color: var(--s-ink, #1d1d1b); font: 400 16px/1.4 var(--s-font, sans-serif); resize: vertical; }

/* The showroom: drop in, free design help, most samples to see. */
.scope-enqp__showroom { padding: clamp(20px, 3vw, 32px); background: var(--s-soft, #f3efe8); }
.scope-enqp__visit { margin: 0 0 10px; color: var(--s-text, #34322f); font-size: 15px; line-height: 1.6; }
.scope-enqp__visit:first-of-type { color: var(--s-ink, #1d1d1b); font-weight: 600; }
.scope-enqp__address { margin: 18px 0 14px; color: var(--s-ink, #1d1d1b); font-size: 16px; line-height: 1.6; }
.scope-enqp__showroom .scope-hours { width: 100%; margin: 0; font-size: 15px; }
.scope-enqp__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 18px 0 0; font-size: 15px; }

@media (min-width: 600px) {
  .scope-enqf__pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .scope-enqf__dims { display: grid; grid-template-columns: minmax(0, 1fr); }
}
/* W-16 (owner, 13 Nov 2026; fix round): the heading, the intro and the grid in ONE centred box, as wide as the grid needs for the form to
   keep the width it has on main: the form's 680 px + the 97 px the grid gives between the columns at 1440 + the aside's 503 px = 1280 px.
   Under 768 px the page is as it was (a phone keeps its edge-to-edge rail and panel). */
@media (min-width: 768px) { .scope-enqp > * { max-width: 1280px; margin-left: auto; margin-right: auto; } }
@media (min-width: 1024px) {
  .scope-enqp__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "main list" "main aside"; grid-template-rows: auto 1fr; gap: 32px clamp(40px, 5vw, 72px); align-items: start; }
  .scope-enqp__list { grid-area: list; }
  .scope-enqp__main { grid-area: main; }
  .scope-enqp__showroom { grid-area: aside; }
  .scope-enqp.is-sent .scope-enqp__grid { grid-template-areas: "main aside"; grid-template-rows: auto; }
}
@media (max-width: 1023px) {
  /* With nothing in the list, the form comes first on a phone; the empty list and its hint follow it. */
  .scope-enqp:not(.has-list) .scope-enqp__list { order: 2; }
  .scope-enqp__showroom { order: 3; }
}
@media (max-width: 599px) {
  .scope-enq { width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .scope-enq__head { padding: 14px 12px 10px 20px; }
  .scope-enq__body { padding: 14px 20px 0; }
  .scope-enq .scope-enqf__actions { margin: 12px -20px 0; padding: 10px 20px calc(12px + env(safe-area-inset-bottom)); }
  .scope-enq .scope-enqd { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .scope-enq__about { padding: 12px; }
  .scope-enq__thumb { flex-basis: 72px; width: 72px; }
  .scope-enql__item { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .scope-enql__thumb { width: 72px; }
  .scope-enqf .scope-enqf__send { flex: 1 1 100%; min-width: 0; }
  .scope-enqf .scope-enqf__chip label { padding: 0 14px; }
}
@media (max-width: 767px), (pointer: coarse) {
  .scope-enqp__links a, .scope-enqp__more a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media print {
  .scope-enqd__actions, .scope-confirm__actions, .scope-enqp__links, .scope-enqp__more { display: none !important; }
  .scope-enqd__item, .scope-enqd__ref, :is(.scope-confirm__note, .scope-enqd__note), :is(.scope-confirm__summary, .scope-enqd__sent) > div, :is(.scope-confirm__steps, .scope-enqd__next) > li { break-inside: avoid; }
  :is(.scope-confirm, .scope-enqp .scope-enqd) { box-shadow: none; }
  :is(.scope-confirm__mark, .scope-enqd__mark) svg { animation: none; }
  /* A printed confirmation is the visitor's copy: the logo and the card, without the search, the menus and the footer. */
  body:has(.scope-confirm, .scope-enqp.is-sent) :is(.ssh-burger, .ssh-search, .ssh-actions, .ssh-nav, .ssf, .scope-strip) { display: none !important; }
}
