/* Group B pages: /contact, /thank-you, /faq, /contractors. Tokens from faro.css only. */
.b-sec { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); }
.b-sec.alt { background: var(--paper); border-block: 1px solid var(--line); }
.b-phone-hero { display: none; }

/* ---------- Form ---------- */
.b-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.fm { display: grid; gap: 22px; }
.fm h2 { font-size: var(--step-2); }
.fm .fm-intro { color: var(--slate); margin-top: -10px; max-width: 52ch; }
.fm-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.fm-f { display: grid; gap: 7px; min-width: 0; align-content: start; }
.fm-f > label, .fm-f > .fm-lab { font-weight: 500; font-size: var(--step--1); color: var(--ink); }
.fm-f .opt { font-weight: 400; color: var(--slate); }
.fm-f input, .fm-f select, .fm-f textarea { width: 100%; min-width: 0; min-height: 52px; padding: 0 16px; border: 1px solid #8c8478; border-radius: 12px; background: #fff; color: var(--ink);
  font: 400 1rem/1.4 var(--sans); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.fm-f textarea { padding: 14px 16px; min-height: 140px; resize: vertical; }
.fm-f select { appearance: none; padding-right: 44px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2325221f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.fm-f input:hover, .fm-f select:hover, .fm-f textarea:hover { border-color: var(--ink); }
.fm-f input:focus-visible, .fm-f select:focus-visible, .fm-f textarea:focus-visible { outline: 2px solid var(--ember-deep); outline-offset: 2px; border-color: var(--ink); }
.fm-f .hint { font-size: .85rem; color: var(--slate); }
.fm-f [aria-invalid="true"] { border: 2px solid var(--ember-deep); background: var(--paper); }
.fm-err { display: flex; gap: 8px; align-items: flex-start; font-size: var(--step--1); font-weight: 500; color: var(--ink); }
.fm-err::before { content: "!"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--fog-0); display: grid; place-items: center; font: 600 .8rem/1 var(--sans); margin-top: 1px; }
.fm-err[hidden] { display: none; }
.fm-check { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding: 10px 0; min-height: 44px; cursor: pointer; }
.fm-check input { appearance: auto; width: 24px; height: 24px; min-height: 0; margin: 10px 0 0 2px; accent-color: var(--ink); cursor: pointer; }
.fm-check span { font-size: 1rem; padding-top: 8px; }
.fm-check small { display: block; color: var(--slate); font-size: .85rem; }
.fm-chip { padding: 14px 18px; border: 1px solid var(--line); background: var(--fog-1); border-radius: 10px; max-width: 60ch; }
.fm-chip[hidden] { display: none; }
.fm-hp, .fm-hp * { position: absolute !important; left: -9999px; width: 1px !important; height: 1px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.fm-actions { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.fm-actions .btn { min-width: 220px; }
.fm-actions .btn[aria-busy="true"] { cursor: progress; }
.fm-actions .btn[aria-busy="true"]::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: faro-spin 800ms linear infinite; }
.fm-fine { color: var(--slate); font-size: .9rem; max-width: 52ch; }
.fm-alert { padding: 16px 18px; border: 2px solid var(--ember-deep); border-radius: 12px; background: var(--paper); display: grid; gap: 6px; }
.fm-alert[hidden] { display: none; }
.fm-alert strong { font-weight: 600; }
.fm-alert a { font-weight: 600; }
.fm-captcha { margin-block: 8px 0; }
.fm-captcha:empty { display: none; }
.fm-sum { padding: 14px 18px; border: 2px solid var(--ember-deep); border-radius: 12px; background: var(--paper); font-weight: 500; }
.fm-sum[hidden] { display: none; }
.fm-sum:focus-visible { outline: 2px solid var(--ember-deep); outline-offset: 3px; }

/* ---------- Contact details ---------- */
.b-aside { display: grid; gap: 26px; padding: clamp(24px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; position: sticky; top: 24px; }
.b-aside h2 { font-size: var(--step-1); letter-spacing: -.01em; }
.b-call { display: inline-flex; align-items: center; gap: 12px; font-size: var(--step-2); font-weight: 400; letter-spacing: -.02em; text-decoration: none; min-height: 52px; }
.b-call svg { width: 26px; height: 26px; color: var(--ember-deep); }
.b-call:hover { text-decoration: underline; text-underline-offset: .2em; }
.b-block { display: grid; gap: 6px; padding-top: 22px; border-top: 1px solid var(--line); }
.b-block h3 { font: 500 .85rem/1 var(--mono); color: var(--ember-deep); letter-spacing: .02em; margin-bottom: 4px; }
.b-block p, .b-block ul { margin: 0; }
.b-block ul { list-style: none; padding: 0; }
.b-block a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
.b-hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; margin: 0; }
.b-hours dt { color: var(--slate); }
.b-hours dd { margin: 0; }
.b-areas { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.b-areas li { font-size: var(--step--1); padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--fog-0); }
.b-note { color: var(--slate); font-size: var(--step--1); }

/* ---------- Thank you ---------- */
.ty-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 720px; border-top: 1px solid var(--ink); }
.ty-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ty-steps svg { width: 28px; height: 28px; color: var(--ember-deep); margin-top: 2px; }
.ty-steps h2 { font-size: var(--step-1); letter-spacing: -.01em; }
.ty-steps p { color: var(--slate); grid-column: 2; }
.ty-more { display: grid; gap: 18px; margin-top: clamp(40px, 6vw, 64px); }
.ty-more h2 { font-size: var(--step-2); }
.ty-urgent { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 7vw, 112px); align-items: start; }
.faq-toc { position: sticky; top: 24px; display: grid; gap: 4px; }
.faq-toc h2 { font-size: var(--step-1); letter-spacing: -.01em; margin-bottom: 10px; }
.faq-toc a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--slate); border-bottom: 1px solid var(--line); }
.faq-toc a:hover { color: var(--ink); }
.faq-group { scroll-margin-top: 24px; }
.faq-group + .faq-group { margin-top: clamp(40px, 5vw, 64px); }
.faq-group > h2 { font-size: var(--step-2); margin-bottom: 8px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; font-size: var(--step-1); letter-spacing: -.01em; line-height: 1.25; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform var(--dur) var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--ember-deep); }
.qa summary:focus-visible { outline: 2px solid var(--ember-deep); outline-offset: 4px; border-radius: 6px; }
.qa .ans { padding: 0 0 22px; color: var(--slate); max-width: 62ch; display: grid; gap: 12px; }
.qa .ans a { color: var(--ink); font-weight: 500; }
.b-band { padding: clamp(48px, 7vw, 88px) 0; }
.b-band .in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.b-band h2 { font-size: var(--step-3); max-width: 20ch; }
.b-band p { color: var(--slate-light); margin-top: 10px; max-width: 48ch; }
.b-band .acts { display: flex; flex-wrap: wrap; gap: 12px 16px; }

/* ---------- Contractors ---------- */
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.why li { display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px; padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.why li:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--line); }
.why svg { width: 30px; height: 30px; color: var(--ember-deep); margin-top: 2px; }
.why h3 { font-size: var(--step-1); letter-spacing: -.01em; }
.why p { color: var(--slate); grid-column: 2; max-width: 44ch; }
.clients { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 44px; }
.clients li { display: flex; align-items: center; justify-content: center; min-height: 56px; }
.trade-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 60ch; }
.trade-head h2 { font-size: var(--step-3); }
.trade-head p { color: var(--slate); }
.trade-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 96px); align-items: start; }

@media (max-width: 960px) {
  .b-split, .faq-layout, .trade-wrap { grid-template-columns: 1fr; }
  .b-aside, .faq-toc { position: static; }
  .faq-toc { display: none; }
}
@media (max-width: 767px) {
  .page-hero { padding-top: 104px; padding-bottom: 24px; }
  .b-phone-hero { display: inline-flex; width: 100%; margin-top: 20px; }
  .fm-row { grid-template-columns: 1fr; gap: 22px; }
  .fm-f input, .fm-f select, .fm-f textarea { font-size: 16px; }
  .fm-actions .btn { width: 100%; }
  .fm-hide-phone, [data-page="faq"] .page-hero .lede { display: none; }
  .why { grid-template-columns: 1fr; }
  .why li, .why li:nth-child(even) { padding: 22px 0; border-left: 0; }
  .why p.long { display: none; }
  .clients { gap: 14px 28px; }
  .b-band .acts, .b-band .acts .btn, .ty-urgent .btn, .ty-more .btn { width: 100%; }
  .qa summary { font-size: var(--step-0); }
  .b-call { font-size: var(--step-1); }
  .qa .ans a, .b-note a, .fm-fine a, .fm-alert a { display: inline-block; padding-block: 12px; margin-block: -12px; }
}
@media (prefers-reduced-motion: reduce) {
  .fm-f input, .fm-f select, .fm-f textarea, .qa summary::after { transition: none; }
  .fm-actions .btn[aria-busy="true"]::after { animation: none; }
}

/* /contractors: the section line sits under its heading, not far right */
[data-page="contractors"] .sec-head { grid-template-columns: 1fr; gap: 12px; }

/* FAQ: the trade group moved to /contractors, one line points there */
.faq-trade { margin-top: clamp(32px, 4vw, 48px); padding-top: 22px; border-top: 1px solid var(--ink); max-width: 62ch; color: var(--slate); }
.faq-trade a { color: var(--ink); font-weight: 500; }

/* ====================================================================
   /contractors (2026-11-23): a working page for the trade. Tokens from faro.css only.
   ==================================================================== */
.ctr-sec { padding: clamp(48px, 6vw, 88px) 0; scroll-margin-top: 16px; }
.ctr-sec h2, .ctr-price h2 { font-size: var(--step-2); }

/* 1. Hero: copy on the left, a real job on the right */
.ctr-hero { padding: clamp(112px, 9vw, 140px) 0 clamp(36px, 4vw, 64px); }
.ctr-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.ctr-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.ctr-hero .lede { max-width: 46ch; }
.ctr-hero .hero-actions { margin-top: 26px; }
.ctr-get { list-style: none; margin: clamp(24px, 3vw, 40px) 0 0; padding: 20px 0 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; width: 100%; }
.ctr-get li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: var(--step--1); line-height: 1.5; color: var(--slate); }
.ctr-get svg { width: 24px; height: 24px; color: var(--ember-deep); margin-top: 1px; }
.ctr-get strong { font-weight: 500; color: var(--ink); }
.ctr-photo { margin: 0; position: relative; min-height: 420px; border-radius: 18px; overflow: hidden; background: var(--fog-1); }
.ctr-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.ctr-photo figcaption { position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px); padding: 8px 14px; border-radius: 10px; background: rgba(26,24,22,.82); color: var(--fog-0); font-size: var(--step--1); line-height: 1.4; }

/* In-page menu */
.ctr-jump { border-bottom: 1px solid var(--line); background: var(--fog-0); }
.ctr-jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 clamp(4px, 1.4vw, 22px); }
.ctr-jump a { display: flex; align-items: center; min-height: 52px; padding: 0 10px; margin-inline: -10px; text-decoration: none; color: var(--slate); font-weight: 500; font-size: var(--step--1); white-space: nowrap; }
.ctr-jump a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .3em; }

/* Section with a short explainer left and the working form right */
.ctr-split { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ctr-side { display: grid; gap: 18px; align-content: start; }
.ctr-act { display: grid; gap: 22px; justify-items: start; align-content: start; }
.ctr-btns { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.ctr-side > p { color: var(--slate); max-width: 46ch; }
.ctr-or { font-size: var(--step--1); }
.ctr-or a { display: inline-flex; align-items: center; min-height: 44px; }
.ctr-list, .lib-card ul, .tl-step ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ctr-list li, .lib-card li, .tl-step li { position: relative; padding-left: 26px; }
.ctr-list li::before, .lib-card li::before, .tl-step li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 11px; height: 6px; border-left: 2px solid var(--ember-deep); border-bottom: 2px solid var(--ember-deep); transform: translateY(-60%) rotate(-45deg); }
.ctr-steps { list-style: none; counter-reset: ctr; margin: 0; padding: 0; display: grid; gap: 14px; }
.ctr-steps li { counter-increment: ctr; display: grid; grid-template-columns: 32px 1fr; gap: 12px; color: var(--slate); max-width: 46ch; }
.ctr-steps li::before { content: counter(ctr); width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font: 500 .85rem/1 var(--mono); color: var(--ink); }
.ctr-steps strong { color: var(--ink); font-weight: 500; }
.ctr-steps a { display: inline-block; padding-block: 10px; margin-block: -10px; }
.ctr-side .btn { justify-self: start; }

/* File field */
.fm-f input[type="file"] { padding: 7px 10px; cursor: pointer; border-style: dashed; border-width: 2px; background: var(--paper); font-size: var(--step--1); }
.fm-f input[type="file"]::file-selector-button { min-height: 36px; margin-right: 14px; padding: 0 18px; border: 0; border-radius: var(--radius-pill); background: var(--ink); color: var(--fog-0); font: 500 var(--step--1)/1 var(--sans); cursor: pointer; }
.fm-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: var(--step--1); color: var(--ink); }
.fm-files:empty { display: none; }
.fm-files li { padding-left: 22px; position: relative; overflow-wrap: anywhere; }
.fm-files li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 10px; height: 5px; border-left: 2px solid var(--ember-deep); border-bottom: 2px solid var(--ember-deep); transform: rotate(-45deg); }

/* 4. Technical library */
.lib-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); }
.lib-card { padding: 28px 0 36px; border-top: 1px solid var(--ink); display: grid; gap: 14px; align-content: start; scroll-margin-top: 24px; }
.lib-card h3 { font-size: var(--step-1); letter-spacing: -.01em; }
.lib-card > p { color: var(--slate); max-width: 56ch; }
.lib-card ul { font-size: var(--step--1); line-height: 1.55; max-width: 56ch; }

/* Site-ready checklist: on screen a sheet, in print the only thing on the page */
.ready-sheet { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 3vw, 44px); display: grid; gap: clamp(22px, 3vw, 32px); }
.ready-head { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: end; justify-content: space-between; }
.ready-head h2 { margin-bottom: 8px; }
.ready-head p { color: var(--slate); max-width: 58ch; }
.ready-print-id, .ready-foot { display: none; }
.ck-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 48px); }
.ck-group { border: 0; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--ink); min-width: 0; display: grid; gap: 2px; align-content: start; }
.ck-group legend { float: left; width: 100%; padding: 0 0 8px; font: 500 .85rem/1.2 var(--mono); color: var(--ember-deep); letter-spacing: .02em; }
.ck-group legend + * { clear: both; }
.ck { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; min-height: 44px; padding: 8px 0; cursor: pointer; font-size: var(--step--1); line-height: 1.5; }
.ck input { width: 24px; height: 24px; margin: 0 0 0 2px; accent-color: var(--ink); cursor: pointer; }
.ck input:focus-visible { outline: 2px solid var(--ember-deep); outline-offset: 2px; }
.ck span { padding-top: 2px; }

/* 5. Timeline: a true sequence, so the numbers are real */
.tl { list-style: none; counter-reset: tl; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.tl-step { counter-increment: tl; padding: 24px clamp(14px, 1.6vw, 28px) 8px 0; display: grid; gap: 10px; align-content: start; }
.tl-step + .tl-step { padding-left: clamp(14px, 1.6vw, 28px); border-left: 1px solid var(--line); }
.tl-step::before { content: counter(tl); font: 500 .85rem/1 var(--mono); color: var(--ember-deep); }
.tl-step h3 { font-size: var(--step-1); letter-spacing: -.01em; }
.tl-when { color: var(--slate); font-size: var(--step--1); line-height: 1.5; }
.tl-ready-h { margin-top: 8px; font: 500 .85rem/1 var(--mono); color: var(--ink); }
.tl-step ul { font-size: var(--step--1); line-height: 1.5; }

/* 7. Pricing band */
.ctr-price .in { align-items: center; }
.ctr-price h2 { max-width: 26ch; }
.ctr-price p { max-width: 58ch; }

/* 8. Trade questions */
.ctr-faq .qa:first-child { border-top: 1px solid var(--ink); }

/* Inventory piece: the trade hold link */
.hold-link { margin-top: 18px; font-size: var(--step--1); color: var(--slate); }
.hold-link a { font-weight: 500; color: var(--ink); }

@media (max-width: 1100px) {
  .tl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-step:nth-child(3) { padding-left: 0; border-left: 0; }
  .tl-step:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
  .ck-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .ctr-hero-grid, .ctr-split, .lib-grid { grid-template-columns: 1fr; }
  .ctr-photo { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
  .ctr-hero { padding: 96px 0 28px; }
  .ctr-hero .eyebrow { display: none; }
  .ctr-hero .lede { display: block; font-size: var(--step-0); margin-top: 12px; }
  .ctr-hero .hero-actions { width: 100%; margin-top: 18px; }
  .ctr-get { display: none; }
  .ctr-photo { aspect-ratio: 4 / 3; }
  .ctr-jump ul { flex-wrap: nowrap; overflow-x: auto; gap: 0 18px; scrollbar-width: thin; }
  .ctr-jump a { flex: none; }
  .ck-grid, .tl { grid-template-columns: 1fr; }
  .tl-step, .tl-step + .tl-step { padding: 22px 0 8px; border-left: 0; }
  .tl-step + .tl-step { border-top: 1px solid var(--line); }
  .tl-step:nth-child(n+3) { margin-top: 0; }
  .ready-head .btn { width: 100%; }
  .ctr-price .acts, .ctr-price .acts .btn { width: 100%; }
  .ctr-or a, .hold-link a { display: inline-block; padding-block: 12px; margin-block: -12px; }
}
@media print {
  @page { margin: 16mm; }
  html.print-sheet body > :not(main), html.print-sheet main > :not(#site-ready) { display: none !important; }
  html.print-sheet, html.print-sheet body { background: #fff !important; }
  html.print-sheet #site-ready { padding: 0; background: #fff; border: 0; }
  html.print-sheet .ready-sheet { border: 0; padding: 0; border-radius: 0; gap: 14px; }
  html.print-sheet [data-print-sheet] { display: none; }
  html.print-sheet .ready-head h2 { font-size: 22pt; color: #000; }
  html.print-sheet .ready-head p, html.print-sheet .ck { color: #000; font-size: 11pt; }
  html.print-sheet .ready-print-id { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
  html.print-sheet .ready-print-id span { border-bottom: 1px solid #000; padding-top: 18px; font-size: 9pt; color: #333; }
  html.print-sheet .ck-grid { grid-template-columns: 1fr; gap: 16px; }
  html.print-sheet .ck-group { break-inside: avoid; border-top: 1px solid #000; }
  html.print-sheet .ck { min-height: 0; padding: 4px 0; }
  html.print-sheet .ck-group legend { color: #000; }
  html.print-sheet .ready-foot { display: block; font-size: 9pt; color: #333; border-top: 1px solid #000; padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Action forms in dialogs (CEO 2026-11-23): nothing is shown until the visitor picks an action */
html.dlg-open { overflow: hidden; }
.ctr-dlg { padding: 0; border: 0; border-radius: 18px; background: var(--fog-0); color: var(--ink); width: min(720px, calc(100% - 32px)); max-height: min(92vh, 960px); overflow: hidden; box-shadow: 0 24px 60px rgba(26,24,22,.3); }
.ctr-dlg[open] { display: flex; flex-direction: column; }
.ctr-dlg::backdrop { background: rgba(26,24,22,.55); }
.ctr-dlg-head { flex: none; display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; padding: 22px clamp(18px, 3vw, 32px) 16px; border-bottom: 1px solid var(--line); }
.ctr-dlg-head h2 { font-size: var(--step-2); }
.ctr-dlg-head p { color: var(--slate); font-size: var(--step--1); margin-top: 6px; }
.ctr-dlg-x { flex: none; width: 48px; height: 48px; margin: -6px -8px 0 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.ctr-dlg-x:hover { border-color: var(--ink); }
.ctr-dlg-x svg { width: 20px; height: 20px; }
.ctr-dlg .fm { display: flex; flex-direction: column; gap: 0; min-height: 0; flex: 1; }
.ctr-dlg .fm-body { display: grid; gap: 20px; align-content: start; overflow-y: auto; overscroll-behavior: contain; padding: 20px clamp(18px, 3vw, 32px) 24px; }
.ctr-dlg .fm-actions { flex: none; padding: 14px clamp(18px, 3vw, 32px); padding-bottom: max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); flex-wrap: nowrap; }
.ctr-dlg .fm-actions .btn { min-width: 0; flex: none; }
.ctr-dlg .fm-fine { font-size: .82rem; }
@media (max-width: 767px) {
  .ctr-dlg, .ctr-dlg[open] { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; border-radius: 0; }
  .ctr-dlg .fm-actions { flex-wrap: wrap; gap: 8px; }
  .ctr-dlg .fm-actions .btn { width: 100%; }
  .ctr-dlg .fm-fine { order: 2; }
}
