/* Native CTA buttons retain the site's own classes and appearance. */
:where(button[data-cta]) { appearance: none; background: transparent; border: 0; color: inherit; cursor: pointer; font: inherit; padding: 0; text-align: inherit; }
:where(button[data-cta]):focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* Ice Fishing — local, framework-free dashboard and editorial system. */
button:where([data-cta]) {
  -webkit-tap-highlight-color: transparent;
}
button:where([data-cta]) {
  color: var(--accent-light);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}
button:where([data-cta]):hover {
  color: #ffd4b8;
}
.header-nav button:where([data-cta]) {
  padding: 10px 12px;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
  border-radius: 6px;
}
.header-nav button:where([data-cta]):hover, .header-nav button:where([data-cta])[aria-current="page"] {
  color: var(--text);
  background: var(--card);
}
.page-toc button:where([data-cta]) {
  display: block;
  padding: 9px 0;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
  text-decoration: none;
}
.page-toc button:where([data-cta]):hover, .page-toc button:where([data-cta])[aria-current], .page-toc button:where([data-cta]).is-active {
  color: var(--accent-light);
}
#search-results button:where([data-cta]) {
  display: block;
  min-height: 44px;
  padding: 12px;
  border-radius: 5px;
  color: var(--text);
  font-size: 0.82rem;
  text-decoration: none;
  line-height: 1.5;
}
#search-results button:where([data-cta]):hover {
  background: #352a1f;
  color: var(--accent-light);
}
.drawer-nav button:where([data-cta]) {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px;
  margin: 3px 0;
  color: #c6beb2;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 6px;
}
.drawer-nav button:where([data-cta]):hover, .drawer-nav button:where([data-cta])[aria-current="page"] {
  background: #342313;
  color: var(--accent-light);
}
.site-footer button:where([data-cta]) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #c5b8aa;
}
@media (max-width: 767px) {
  .mobile-nav button:where([data-cta]) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 50px;
    padding: 5px 2px;
    color: #b6afa5;
    font-size: 0.65rem;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
  }
  .mobile-nav button:where([data-cta])[aria-current="page"] {
    background: #302114;
    color: var(--accent-light);
  }
}
@media (forced-colors: active) {
  .mobile-nav button:where([data-cta])[aria-current="page"] {
    outline: 2px solid Highlight;
  }
}
@media print {
  button:where([data-cta]) {
    color: black;
  }
}
/* Generated-markup integration: shell, dashboard details and image figures. */
.sidebar-bottom button:where([data-cta]) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.7rem;
}
.preview-caption button:where([data-cta]) {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}
/* Compact article navigation replaces the desktop rail below 1200px. */
@media (max-width: 1199px) {
  .page-toc-mobile nav button:where([data-cta]) {
    display: block;
    min-height: 44px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    color: #c9c1b5;
    font-size: 0.8rem;
    line-height: 1.55;
    text-decoration: none;
  }
  .page-toc-mobile nav button:where([data-cta]):last-child {
    border-bottom: 0;
  }
  .page-toc-mobile nav button:where([data-cta]):hover, .page-toc-mobile nav button:where([data-cta])[aria-current] {
    color: var(--accent-light);
  }
}
/* Home mobile actions remain visible before the full source introduction. */
/* Official transparent wordmark and in-context editorial photographs. */
/* Preserve diagram labels at their authored size inside a focusable scroller. */
/* Final touch sizing and natural-resolution single screenshots. */
