.app-shell-wide {
  width: min(1480px, calc(100vw - 24px));
}

.vsc-panel {
  padding-bottom: 14px;
}

.vsc-title {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.vsc-subtitle {
  margin-top: 12px;
}

.vsc-controls {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.vsc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.vsc-row-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vsc-row-publication {
  padding: 8px 10px;
  border: 1px solid rgba(76, 53, 27, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.vsc-row-actions {
  padding-top: 4px;
}

.vsc-label {
  font-size: 12px;
  font-weight: 700;
  color: #6b5a49;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vsc-radio,
.vsc-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #2f2418;
}

.vsc-radio input,
.vsc-checkbox input {
  width: 15px;
  height: 15px;
}

.vsc-field {
  display: grid;
  gap: 6px;
}

.vsc-field > span {
  font-size: 12px;
  font-weight: 700;
  color: #6b5a49;
}

.vsc-field input {
  min-height: 42px;
  border: 1px solid rgba(76, 53, 27, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #2f2418;
  padding: 10px 12px;
  font: inherit;
}

.vsc-row-actions button {
  border: 1px solid rgba(156, 63, 19, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: #2f2418;
  padding: 8px 13px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.vsc-row-actions button:hover {
  background: #ffffff;
}

#fetchButton {
  border-color: #9c3f13;
  background: #9c3f13;
  color: #ffffff;
}

#fetchButton:hover {
  background: #883710;
}

.vsc-row-actions button:disabled {
  opacity: 0.55;
  cursor: default;
}

.vsc-page-status {
  font-size: 12px;
  color: #6b5a49;
  margin-left: 4px;
}

.vsc-status {
  margin: 10px 0 0;
  font-size: 13px;
  color: #4a3827;
}

.vsc-status-detail {
  color: #6b5a49;
}

.vsc-status-bridge {
  margin-top: 6px;
  color: #83511d;
}

.vsc-status-error {
  color: #a4262c;
}

.vsc-status-ok {
  color: #1c5f3f;
}

.vsc-results-panel {
  min-height: 380px;
}

.vsc-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 10px;
}

.vsc-empty {
  grid-column: 1 / -1;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b5a49;
  border: 1px dashed rgba(156, 63, 19, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  padding: 18px;
}

.vsc-card {
  border: 1px solid rgba(76, 53, 27, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
}

.vsc-image-wrap {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.06);
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vsc-image-wrap-empty {
  color: #8a7460;
  font-size: 12px;
  padding: 10px;
  text-align: center;
}

.vsc-hero {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
}

.vsc-content {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: start;
}

.vsc-headline {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 20px;
  line-height: 1.15;
}

.vsc-meta {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #6b5a49;
  word-break: break-word;
}

.vsc-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.vsc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid rgba(76, 53, 27, 0.2);
  border-radius: 8px;
  text-decoration: none;
  color: #2f2418;
  padding: 0 10px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.9);
}

.vsc-link:hover {
  background: #ffffff;
}

@media (max-width: 920px) {
  .vsc-row-split {
    grid-template-columns: 1fr;
  }

  .vsc-results {
    grid-template-columns: 1fr;
  }

  .vsc-card {
    grid-template-columns: 1fr;
  }
}
