/* Canonical Issues extras on top of lab-items + tasklist demo.css */

.field-row-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .field-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.filter-pills {
  display: flex;
  gap: 0.35rem;
}

.filter-pills .btn.is-on {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 16%, transparent);
}

.pri-high {
  color: #ef4444;
  font-weight: 600;
}

.pri-med {
  color: var(--accent);
  font-weight: 600;
}

.issue-resolved td {
  opacity: 0.68;
}

.status-pill {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.blog-download {
  margin: 0 0 1.4rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elevated, var(--bg));
}

.dl-count {
  margin-left: 0.55rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Access-style tab control (tabIssue / tabNotes) */
.tab-ctl {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.25rem;
}

.tab-ctl-bar {
  display: flex;
  gap: 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.tab-ctl-tab {
  appearance: none;
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.tab-ctl-tab:hover {
  color: var(--text);
}

.tab-ctl-tab.is-on {
  background: var(--bg-elevated);
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--primary);
}

.tab-ctl-page {
  display: block;
  padding: 1rem 1rem 0.35rem;
}

.tab-ctl-page[hidden],
.tab-ctl-page.is-off {
  display: none !important;
}

.tab-ctl-page.is-idle {
  opacity: 0.78;
}

.tab-ctl fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

/* Page-wide tab control: one related pair (datasheet | form) per page. */
.tab-ctl-pagewide {
  overflow: visible;
  background: var(--bg-elevated);
}

.tab-ctl-pagewide .tab-ctl-bar {
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.tab-ctl-pagewide .tab-ctl-tab {
  font-size: 0.95rem;
  padding: 0.7rem 1.25rem;
}

.tab-ctl-pagewide .tab-ctl-page {
  padding: 1.15rem 1.15rem 1.3rem;
  background: color-mix(in srgb, var(--bg-alt) 40%, var(--bg));
}

.tab-ctl-pagewide .tab-ctl-page.is-idle {
  opacity: 0.78;
}

/* Visible feature notes (humans, search, and AI crawlers — same HTML for everyone) */
.demo-features {
  max-width: 46rem;
}
.demo-features h2 {
  margin-bottom: 0.4rem;
}
.demo-features h3 {
  font-size: 1.08rem;
  margin: 1.35rem 0 0.4rem;
}
.demo-features ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}
.demo-features li {
  margin: 0.4rem 0;
}
.demo-features-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
