html:has(.space-check-page), .space-check-page {
  background: var(--bw-paper);
  color: var(--bw-ink);
  scrollbar-color: var(--bw-line) var(--bw-paper);
}
.space-check-page { --green: var(--bw-ink); }
.space-check-page :focus-visible { outline: 2px solid var(--bw-focus); outline-offset: 4px; }
.space-check-page ::selection { background: var(--bw-ink); color: var(--bw-paper); }
.space-check-page .leasing-masthead__inner { grid-template-columns: minmax(0, 1fr) auto; }
.check-wrap {
  width: min(100% - clamp(40px, 8vw, 128px), 1000px);
  margin: 0 auto;
}
.check-opening {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 27%);
  gap: 5%;
  align-items: center;
  padding: clamp(38px, 5.2vw, 76px) 0 clamp(28px, 3vw, 42px);
}
.check-opening h1, .check-wrap :is(h2, h3) {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.04em;
}
.check-opening h1 { font-size: clamp(3.1rem, 5.2vw, 5.35rem); line-height: 1.01; }
.check-opening h1 em { display: block; }
.check-opening p { margin-top: 16px; max-width: 53ch; }
.check-wrap p { color: var(--bw-muted); line-height: 1.55; }
.check-sketch { width: min(100%, 230px); height: auto; justify-self: end; mix-blend-mode: multiply; }
#space-check-form { padding-block: 23px 15px; border-block: 1px solid var(--bw-line); }
.check-fields { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.75fr) minmax(0,1fr) auto; align-items: end; gap: 20px; }
.check-fields label { display: grid; gap: 6px; min-width: 0; font-size: .83rem; font-weight: 580; }
.check-fields :is(input, select) { width: 100%; min-width: 0; min-height: 48px; border-radius: 4px; padding: 9px 11px; border: 1px solid var(--bw-wordmark); background: var(--bw-surface); color: var(--bw-ink); font-size: 1rem; }
.check-fields select { height: max(46px, 2.875rem); }
.check-fields input::placeholder { color: var(--bw-muted); }
.check-primary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 18px; color: var(--bw-paper); background: var(--bw-ink); border: 0; border-radius: 5px; font-size: .93rem; font-weight: 590; }
.check-primary:hover { background: var(--bw-ink-hover); }
.check-wrap :is(.check-examples, .check-actions) { display: flex; align-items: center; flex-wrap: wrap; gap: 0 19px; }
.check-wrap :is(.check-examples a, #check-list a, #check-save, .check-call, .static-brief a, .check-footer a) { color: var(--bw-link); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.check-wrap .check-examples { font-size: .82rem; margin-top: 9px; }
.check-examples a, .check-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.check-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#space-check-result { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px clamp(28px, 6vw, 90px); padding-top: clamp(35px, 4vw, 58px); }
.check-kicker { font-size: .81rem; font-weight: 580; }
.check-result-heading h2 { font-size: clamp(2.1rem, 3.4vw, 3.6rem); line-height: 1.05; margin: 8px 0 12px; }
.check-result-heading p, .check-handoff p { max-width: 48ch; }
.check-match + .check-match { margin-top: 23px; padding-top: 18px; border-top: 1px solid var(--bw-line); }
.check-wrap .check-match h3 { font-size: clamp(1.8rem, 2.2vw, 2.45rem); line-height: 1.15; margin: 0 0 8px; }
.check-match p + p { margin-top: 8px; }
.check-match a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; font-weight: 550; }
.check-handoff { grid-column: 1 / -1; border-top: 1px solid var(--bw-line); padding-top: 24px; }
.check-handoff h3, .static-brief h2 { font-size: clamp(1.75rem, 2.25vw, 2.35rem); margin-bottom: 6px; }
.check-handoff p { max-width: 70ch; }
.check-wrap .check-actions { margin-top: 16px; gap: 8px 20px; }
.check-call { display: inline-flex; align-items: center; min-height: 44px; font-size: .93rem; }
#check-save { background: transparent; padding: 8px 0; min-height: 44px; border: 0; font-size: .93rem; }
.check-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; margin-top: 32px; padding-block: 12px 28px; border-top: 1px solid var(--bw-line); }
.check-footer > p:first-child { flex-basis: 100%; }
.check-contact-options { display: flex; flex-wrap: wrap; gap: 0 20px; }
.check-footer :is(p,a) { font-size: .79rem; }
.static-brief { max-width: 64ch; }
@media (max-width: 860px) {
  .check-fields { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 20px; }
}
@media (max-width: 660px) {
  .check-opening { grid-template-columns: minmax(0,1fr); padding-block: 33px 26px; }
  .check-sketch { display: none; }
  #space-check-result { grid-template-columns: minmax(0,1fr); gap: 24px; }
  #check-list:empty { display: none; }
  .check-wrap .check-examples { column-gap: 14px; }
  .check-examples a { min-height: 40px; }
}
@media (max-width: 490px) {
  .check-fields { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .check-fields .check-primary { justify-self: start; margin-top: 3px; }
  .check-examples { line-height: 1.25; }
  .check-examples a { max-width: 100%; }
}
.check-match-next strong { display: block; color: var(--bw-ink); font-size: .85rem; margin-top: 14px; }
.check-edit, .check-script summary {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--bw-link);
  font-size: .9rem; font-weight: 550; text-decoration: underline; text-underline-offset: .25em;
}
.check-script summary { cursor: pointer; list-style: none; }
.check-script summary::-webkit-details-marker { display: none; }
.check-script summary::after { content: "+"; margin-left: 8px; }
.check-script[open] summary::after { content: "−"; }
.check-script p { border-left: 2px solid var(--bw-action); padding-left: 12px; }
