/* Site-layer extras on top of the cmz-dev theme CSS. */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
[role="status"] { min-height: 1.4em; margin-top: 0.75rem; }
[role="status"][data-state="ok"] { color: var(--green, #1d6a3f); font-weight: 600; }
[role="status"][data-state="error"] { color: var(--closed, var(--accent, #a02d24)); font-weight: 600; }
[role="status"][data-state="busy"] { color: var(--muted, var(--slate, #4a5562)); }

.lead-form { display: grid; gap: var(--s4, 1rem); margin-top: var(--s5, 1.5rem); max-width: 36rem; }
.lead-form label, .lead-form .field { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.95rem; }
.lead-form .field span, .lead-form label > span { color: var(--ink, inherit); }
.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form input[type="search"],
.lead-form select,
.lead-form textarea {
  font: inherit;
  font-weight: 400;
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line, var(--rule, #d9d4ca));
  border-radius: var(--r, 6px);
  background: var(--surface, var(--white, #fff));
  color: var(--ink, inherit);
}
.lead-form textarea { min-height: 8rem; resize: vertical; }
.lead-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400;
  font-size: 0.95rem;
}
.lead-form .consent input { margin-top: 0.3rem; width: 1.15rem; height: 1.15rem; flex: none; }
.lead-form .hint { font-weight: 400; color: var(--fine, var(--slate, #4a5562)); font-size: 0.9rem; }

.empty-slot, .ad-slot {
  border: 1px dashed var(--line-strong, var(--rule, #cfc8bb));
  background: var(--tint, var(--paper-2, #f3f0e9));
  padding: var(--s5, 1.5rem);
  border-radius: var(--r, 6px);
}
.ad-slot { background: var(--sp-bg, #f6eed8); border-style: solid; border-left: 4px solid var(--sp-text, #6a4a00); }
.ad-slot .kicker, .empty-slot .kicker { margin-bottom: 0.4rem; }
.ad-label { color: var(--sp-text, #6a4a00); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }

.resource-list { display: grid; gap: 0; }
.resource-row {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line, #e2ddd3);
  background: var(--surface, #fff);
}
.resource-row:first-child { border-top: 0; }
.resource-row a.res-name { font-weight: 750; font-size: 1.1rem; text-decoration: none; }
.resource-meta { color: var(--muted, #4d535b); font-size: 0.95rem; }

.t-local .callbar { display: none; }
@media (max-width: 759px) {
  .t-local body.has-quote-bar { padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px)); }
  .t-local .callbar.callbar-quote {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 30;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: var(--deep, #10263d);
  }
  .t-local .callbar.callbar-quote .btn { flex: 1; justify-content: center; }
}

.prose { max-width: 42rem; }
.prose h2, .prose h3 { margin-top: var(--s6, 2rem); margin-bottom: var(--s3, 0.75rem); }
.prose p, .prose li { margin-bottom: 0.85rem; }
.prose ul, .prose ol { padding-left: 1.2rem; list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--red-deep, var(--accent-dark, #9a3412)); }

.ext-note { font-size: 0.9rem; color: var(--fine, #5f656c); }

.llm-yaml {
  background: var(--tint, var(--paper-2, #f3f0e9));
  border: 1px solid var(--line, var(--rule, #d9d4ca));
  padding: 1rem 1.1rem;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.5;
  white-space: pre;
}

.swatch-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0; }
.swatch { width: 7.5rem; }
.swatch i { display: block; height: 3rem; border: 1px solid var(--line, #e2ddd3); border-radius: 4px; }
.swatch span { display: block; font-size: 0.8rem; margin-top: 0.3rem; color: var(--muted, #4d535b); }

@media (max-width: 759px) {
  .t-dir .site-nav, .t-local .site-nav { display: none; }
  .js.t-dir .site-nav.is-open, .js.t-local .site-nav.is-open { display: block; }
  .t-dir .site-nav a, .t-dir .foot-grid a, .t-local .foot-grid a, .t-local .crumbs a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

.t-dir .page { padding-block: var(--s7, 3rem) var(--s9, 6.5rem); }
.t-dir .page-head { padding-block: var(--s7, 3rem) var(--s5, 1.5rem); }
.t-dir .page-head h1, .t-dir .about-hero h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.04em; font-weight: 800; }
.t-dir .page-head .lede, .t-dir .about-hero .lede { margin-top: var(--s4, 1rem); color: var(--muted); max-width: 42rem; }
.t-dir .article-page { padding-bottom: var(--s9, 6.5rem); }
.t-local .sec { padding-block: var(--s9, 7rem); }
.t-local article.wrap { padding-bottom: var(--s9, 7rem); }
.t-local .lh-grid { display: grid; gap: var(--s6, 2rem); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: var(--s5, 1.5rem); }
.logo-mark { display: block; width: 32px; height: 32px; }
