/* State layer for the copied Stitch resource pages. The layout itself comes
   from resource-pages.css (generated from the same markup). The rules below are
   the copied pages' own <style> block, scoped to the page container: the shell
   shares the document, so a bare .tab-active would leak into it. */

[data-resource-page] .tab-active {
  border-bottom: 2px solid #1c2dc5;
  color: #111827;
  font-weight: 600;
}

[data-resource-page] .tab-inactive {
  border-bottom: 2px solid transparent;
  color: #6b7280;
  font-weight: 500;
}

[data-resource-page] .tab-inactive:hover {
  color: #111827;
}

[data-resource-page] .custom-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

[data-resource-page] .custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

[data-resource-page] .custom-scrollbar::-webkit-scrollbar-thumb {
  background: #e5e7eb;
  border-radius: 4px;
}

[data-resource-page] .custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #d1d5db;
}

[data-resource-page] [data-view].is-active {
  background: #fff;
  color: #111827;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
}

[data-resource-page] [disabled] {
  cursor: not-allowed;
}

[data-resource-page] table tbody tr.hidden,
[data-resource-page] [data-empty].hidden {
  display: none;
}
