/* R50.28 — consistent reading rhythm and usable form controls.
   An editorial surface: restrained rules, generous type, no card grid. */
:root {
  --ac28-ink: #172b31;
  --ac28-muted: #52636a;
  --ac28-accent: #86613e;
  --ac28-line: #d6cdbf;
  --ac28-paper: #fcfaf6;
}

/* Hidden workflow sections must stay hidden even under a layout rule. */
[hidden]:not([hidden="until-found"]) { display: none !important; }
html { scroll-padding-top: 108px; }
main :is(section[id], form[id]) { scroll-margin-top: 108px; }
body.ac26-page :is(button, a, input, select, textarea):focus-visible {
  outline: 2px solid var(--ac28-accent);
  outline-offset: 4px;
}
body.ac26-page :is(button, input, select, textarea) { accent-color: var(--ac28-ink); }
body.ac26-page :is(.site-nav a, .site-header__cta) { font-size: 13px !important; }
body.ac26-page .site-footer__legal { font-size: 12px; line-height: 1.7; }

/* Instrument introductions and document preparation notes. */
body.instrument-acquisition-page .acq-hero { padding-block: clamp(44px, 5vw, 72px) 38px !important; }
body.instrument-acquisition-page .acq-hero h1 {
  max-width: 21ch;
  font-size: clamp(36px, 5.4vw, 72px) !important;
  line-height: 1.04 !important;
  letter-spacing: -.035em !important;
  text-wrap: balance;
}
body.instrument-acquisition-page .acq-hero .ac26-lead {
  max-width: 65ch !important;
  margin-top: 20px !important;
  color: var(--ac28-muted) !important;
  font-size: clamp(17px, 1.55vw, 21px) !important;
  line-height: 1.6 !important;
}
.acq-photo-first-note {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  align-items: start;
  gap: 12px 24px;
  max-width: 850px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--ac28-line);
  color: var(--ac28-muted);
  font: 400 15px/1.65 var(--ac-font-ui, Arial, sans-serif);
}
.acq-photo-first-note strong { color: var(--ac28-ink); font-weight: 650; }
.acq-photo-first-note span { min-width: 0; }
.acq-request-error { margin-block: 20px; padding: 16px 18px; border-left: 3px solid #9a3e2d; background: #fff2eb; color: #6a2b20; font-size: 16px; line-height: 1.6; }
body.instrument-acquisition-page .acq-context-grid strong { font-size: 18px !important; line-height: 1.35 !important; }
body.instrument-acquisition-page .acq-context-grid span { max-width: 44ch; color: var(--ac28-muted) !important; font-size: 14px !important; line-height: 1.65 !important; }

/* Questions read as one continuous list with a clear next action. */
.acq-workspace-section { padding-block: 48px 76px !important; }
.acq-workspace {
  max-width: 940px !important;
  padding: 30px 0 !important;
  border-inline: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.acq-workspace h2 { max-width: 28ch; margin-block: 18px 24px !important; font-size: clamp(28px, 3.2vw, 40px) !important; line-height: 1.16 !important; letter-spacing: -.025em; color: var(--ac28-ink) !important; }
.acq-workspace :is([class*="kicker"], [class*="tag"]) { color: var(--ac28-accent) !important; font-size: 11px !important; line-height: 1.5; letter-spacing: .11em !important; }
.acq-workspace [class*="options"] { gap: 0 !important; margin-block: 24px !important; border-top: 1px solid var(--ac28-line); }
.acq-workspace [data-answer] {
  min-height: 70px;
  padding: 18px 8px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ac28-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ac28-ink) !important;
  font-size: 17px !important;
  line-height: 1.5;
  transition: background-color .16s ease, border-color .16s ease;
}
.acq-workspace [data-answer]:hover { background: rgba(201, 173, 130, .12) !important; border-bottom-color: var(--ac28-accent) !important; }
.acq-workspace [data-answer]:focus-visible { outline-offset: -3px; }
.acq-workspace [data-answer] small { color: var(--ac28-accent) !important; font-size: 12px !important; line-height: 1.5; }
.acq-workspace [class*="nav"] { align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.acq-workspace [class*="nav"] button { min-height: 44px; padding: 8px 0; font-size: 14px; }
.acq-workspace [class*="nav"] button:disabled { opacity: .5; }
.acq-workspace article { padding: 22px 0 !important; border-inline: 0 !important; border-radius: 0 !important; background: transparent !important; }
.acq-workspace [class*="cta"] { padding: 22px 0 22px 22px !important; border-left: 2px solid var(--ac28-accent) !important; border-radius: 0 !important; background: transparent !important; }

/* The continuation, upload and contracting steps use the same field rhythm. */
.acq-continuation-wrap { padding-block: 60px 80px !important; }
.acq-continuation-card { width: 100%; min-width: 0; margin-inline: auto; color: var(--ac28-ink); }
.acq-continuation-card h1 { max-width: 23ch; margin-block: 16px 22px; font-size: clamp(34px, 4.6vw, 56px) !important; line-height: 1.1 !important; letter-spacing: -.028em; color: var(--ac28-ink) !important; }
.acq-continuation-card .ac26-lead { max-width: 62ch; font-size: 18px; line-height: 1.65; color: var(--ac28-muted); }
.acq-continuation-card form { gap: 24px !important; }
.acq-continuation-card fieldset { padding: 24px 0 !important; border: 0 !important; border-top: 1px solid var(--ac28-line) !important; border-radius: 0 !important; background: transparent !important; }
.acq-continuation-card fieldset legend { padding: 0 16px 0 0; font: 500 25px/1.25 var(--ac-font-display, Georgia, serif); color: var(--ac28-ink); }
.acq-continuation-card form > label, .acq-continuation-card fieldset > label { gap: 9px; font-size: 15px; line-height: 1.55; font-weight: 600; }
.acq-continuation-card :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) {
  min-height: 48px;
  border-color: #a99f91;
  border-radius: 5px;
  background: #fffdfa;
  color: var(--ac28-ink);
  font-size: 16px;
  line-height: 1.5;
}
.acq-continuation-card textarea { min-height: 116px; resize: vertical; }
.acq-continuation-card :is(input, select, textarea):focus-visible { outline-offset: 2px; }
.acq-continuation-card input::file-selector-button { min-height: 36px; margin-right: 12px; padding: 7px 12px; border: 1px solid var(--ac28-line); border-radius: 3px; background: #f2eadf; color: var(--ac28-ink); font: inherit; cursor: pointer; }
.acq-continuation-card :is(input[type="checkbox"], input[type="radio"]) { width: 19px; height: 19px; min-width: 19px; }
.acq-continuation-actions { align-items: center; gap: 14px; margin-top: 10px; }
.acq-continuation-actions .btn { min-height: 48px; padding: 13px 24px; font-size: 15px; white-space: normal; line-height: 1.45; }
.acq-continuation-card :is(.acq-continuation-note, small) { color: var(--ac28-muted); line-height: 1.65; }
.caj-reader-intro h1 { max-width: 23ch; }
.caj-reader-toc { top: 86px; }
.acq-continuation-card [data-error] { border-left-width: 3px; padding: 14px 16px; font-size: 15px; line-height: 1.55; font-weight: 500; }

/* Contact intake: readable at a normal desktop zoom and on a phone. */
body.ac29-r14.appointment-page #formular { padding-block: 64px !important; }
body.ac29-r14.appointment-page #formular .ac26-copy { max-width: 66ch; margin-block: 16px 28px !important; font-size: 16px !important; line-height: 1.65 !important; color: var(--ac28-muted) !important; }
body.ac29-r14.appointment-page #formular .p2-intake-progress__meta { font-size: 12px !important; line-height: 1.5 !important; }
body.ac29-r14.appointment-page #formular .p2-intake-progress { margin-bottom: 28px !important; }
body.ac29-r14.appointment-page #formular .p2-intake-step > legend { font-size: clamp(25px, 2.5vw, 32px) !important; line-height: 1.25 !important; }
body.ac29-r14.appointment-page #formular .p2-field-intro { margin-bottom: 22px !important; font-size: 15px !important; line-height: 1.65 !important; }
body.ac29-r14.appointment-page #formular .p2-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0 !important; }
body.ac29-r14.appointment-page #formular .p2-choice-grid label { border: 0 !important; border-bottom: 1px solid var(--ac28-line) !important; }
body.ac29-r14.appointment-page #formular .p2-choice-grid label:nth-child(odd) { border-right: 1px solid var(--ac28-line) !important; }
body.ac29-r14.appointment-page #formular .p2-choice-grid label > span { min-height: 110px !important; padding: 20px 36px 20px 18px !important; }
body.ac29-r14.appointment-page #formular .p2-choice-grid strong { font-size: 18px !important; line-height: 1.3 !important; }
body.ac29-r14.appointment-page #formular .p2-choice-grid small { margin-top: 6px !important; color: var(--ac28-muted) !important; font-size: 13px !important; line-height: 1.55 !important; }
body.ac29-r14.appointment-page #formular .p2-field label,
body.ac29-r14.appointment-page #formular .p2-subfieldset > legend { font-size: 15px !important; line-height: 1.5 !important; }
body.ac29-r14.appointment-page #formular .p2-field :is(input,select,textarea):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) { min-height: 48px !important; padding: 12px 14px !important; font-size: 16px !important; line-height: 1.5 !important; }
body.ac29-r14.appointment-page #formular .p2-field textarea { min-height: 160px !important; }
body.ac29-r14.appointment-page #formular :is(.p2-field-help, .p2-field-error) { font-size: 13px !important; line-height: 1.6 !important; }
body.ac29-r14.appointment-page #formular .p2-intake-nav { margin-top: 26px !important; padding-top: 22px !important; }
body.ac29-r14.appointment-page #formular .p2-intake-nav .p2-btn { min-height: 48px !important; padding: 12px 24px !important; font-size: 15px !important; }
body.ac29-r14.appointment-page #formular .p2-consent { font-size: 14px !important; line-height: 1.65 !important; }
body.ac29-r14.appointment-page #formular .p2-check-grid label { min-height: 44px; font-size: 14px !important; line-height: 1.5 !important; }
body.ac29-r14.appointment-page #formular .p2-aside-card { padding-block: 20px !important; }
body.ac29-r14.appointment-page #formular .p2-aside-card p { font-size: 14px !important; line-height: 1.65 !important; color: var(--ac28-muted) !important; }
body.ac29-r14.appointment-page #formular .p2-aside-card strong { color: var(--ac28-ink); }

@media (max-width: 900px) {
  .acq-photo-first-note { grid-template-columns: 1fr; gap: 6px; }
  .acq-workspace-section { padding-block: 32px 56px !important; }
  .acq-continuation-wrap { padding-block: 38px 60px !important; }
  body.ac29-r14.appointment-page #formular { padding-block: 42px !important; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 86px; }
  main :is(section[id], form[id]) { scroll-margin-top: 86px; }
  .acq-context-grid { gap: 18px !important; }
  .acq-workspace [data-answer] { align-items: center !important; min-height: 72px; padding: 18px 4px !important; gap: 12px !important; font-size: 16px !important; }
  .acq-workspace [class*="nav"] { flex-direction: row !important; align-items: center !important; }
  .acq-continuation-actions > * { width: 100%; }
  .acq-continuation-card .ac26-lead { font-size: 17px; }
  .caj-reader-toc { top: 68px; }
  body.ac29-r14.appointment-page #formular .p2-choice-grid { grid-template-columns: 1fr !important; }
  body.ac29-r14.appointment-page #formular .p2-choice-grid label:nth-child(odd) { border-right: 0 !important; }
  body.ac29-r14.appointment-page #formular .p2-choice-grid label > span { min-height: 96px !important; }
  body.ac29-r14.appointment-page #formular .p2-two-col { grid-template-columns: minmax(0, 1fr) !important; }
  body.ac29-r14.appointment-page #formular .p2-intake-nav { flex-wrap: wrap; }
  body.ac29-r14.appointment-page #formular .p2-intake-nav .p2-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .acq-workspace [data-answer] { transition: none; }
  html { scroll-behavior: auto !important; }
}
