.filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.catalog-layout{display:grid;grid-template-columns:minmax(260px,3fr) minmax(0,7fr);gap:20px;align-items:start;order:1}.catalog-layout .search-card,.catalog-layout .details{margin-top:20px}.filter-card{position:sticky;top:16px}.result-card{min-height:210px}.registry-card{order:2}.login-link{position:absolute;z-index:20;top:16px;right:clamp(12px,2vw,32px);padding:9px 16px;border:1px solid rgba(255,255,255,.55);border-radius:7px;color:#fff;text-decoration:none;font-weight:700;background:rgba(0,25,48,.25)}.login-link:hover{background:rgba(0,25,48,.5)}
@media(max-width:800px){.catalog-layout{grid-template-columns:1fr}.filter-card{position:static}}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.secondary {
  background: #e5edf4;
  color: #19324a;
}
.secondary:hover {
  background: #d4e1eb;
}
.table-wrap {
  background: #fff;
}
.table-wrap table {
  width: max-content;
  min-width: 100%;
  table-layout: auto;
}
.table-wrap th {
  min-width: 150px;
  max-width: 320px;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  white-space: normal;
}
.table-wrap td {
  min-width: 150px;
  max-width: 320px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.4;
}
.table-wrap th:first-child,
.table-wrap td:first-child {
  min-width: 90px;
}
.table-wrap tbody tr:nth-child(even) {
  background: #f7fafc;
}
.table-wrap tbody tr:hover {
  background: #eaf4fb;
}
.sync-panel {
  margin: 12px 0 18px;
  padding: 12px 14px;
  border: 1px solid #cdddea;
  border-radius: 10px;
  background: #f6faff;
}
.sync-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sync-heading .status {
  margin: 0;
}
.spinner {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid #b8ccdf;
  border-top-color: #176a9d;
  border-radius: 50%;
}
.sync-panel .spinner {
  display: none;
}
.sync-panel[data-state="loading"] .spinner,
.dataset-loading .spinner {
  display: inline-block;
  animation: spin 0.8s linear infinite;
}
.progress-track {
  height: 5px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: #dce8f1;
}
.progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #1b86b8;
  transition: width 0.35s ease;
}
.sync-panel[data-state="ready"] .progress-bar {
  width: 100% !important;
  background: #4a9a6d;
}
.dataset-loading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 12px 0;
  color: #27546f;
}
.dataset-loading[hidden] {
  display: none !important;
}
.download-button {
  display: inline-block;
  margin: 0 0 14px;
  padding: 10px 17px;
  border-radius: 7px;
  background: #075c9f;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.download-button:hover {
  background: #064d84;
}
#download-public-source[hidden],
#source-download[hidden] {
  display: none !important;
}
.registry-picker {
  max-width: 100%;
}
.registry-description {
  min-height: 24px;
  margin: 12px 0;
  color: #586674;
}
.public-source-table {
  max-height: min(58vh, 640px);
  margin-top: 14px;
  overflow: auto;
}
.public-source-table:has(thead:empty) {
  display: none;
}
.organization-field {
  position: relative;
  min-width: 0;
}
.organization-field label {
  display: block;
  margin-bottom: 6px;
}
.organization-field input {
  width: 100%;
  box-sizing: border-box;
}
.organization-menu {
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 300px;
  overflow: auto;
  margin-top: 4px;
  padding: 8px;
  border: 1px solid #b6cad9;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(20, 54, 75, 0.16);
}
.organization-count {
  margin: 2px 5px 7px;
  color: #607685;
  font-size: 0.85rem;
}
.organization-options {
  display: grid;
  gap: 2px;
}
.organization-option {
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #19324a;
  text-align: left;
  cursor: pointer;
}
.organization-option:hover,
.organization-option:focus {
  background: #e6f2f9;
  outline: 0;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
