.admin-ground-panel {
  padding: 20px 22px;
  border: 1px solid rgba(118, 153, 204, 0.18);
  background: rgba(18, 24, 29, 0.88);
}

.admin-ground-header,
.admin-ground-section-head,
.admin-ground-detail-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.admin-ground-header h3 {
  margin: 6px 0 8px;
}

.admin-ground-header p,
.admin-ground-section-head h4,
.admin-ground-detail-section h5,
.admin-ground-review-section h5 {
  margin: 0;
}

.admin-ground-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  margin-top: 18px;
  border-block: 1px solid rgba(118, 153, 204, 0.14);
}

.admin-ground-kpi {
  min-width: 0;
  padding: 14px 12px;
  border-right: 1px solid rgba(118, 153, 204, 0.1);
}

.admin-ground-kpi:last-child {
  border-right: 0;
}

.admin-ground-kpi span,
.admin-ground-definition dt {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-ground-kpi strong {
  display: block;
  margin-top: 5px;
  color: var(--text-strong);
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}

.admin-ground-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) repeat(3, minmax(150px, 190px));
  gap: 12px;
  align-items: end;
  margin-top: 18px;
}

.admin-ground-search {
  min-width: 0;
}

.admin-ground-workspace {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(480px, 1.22fr);
  min-height: 620px;
  margin-top: 18px;
  border: 1px solid rgba(118, 153, 204, 0.14);
}

.admin-ground-list-shell,
.admin-ground-detail-shell {
  min-width: 0;
  padding: 16px;
}

.admin-ground-list-shell {
  border-right: 1px solid rgba(118, 153, 204, 0.14);
  background: rgba(9, 14, 18, 0.48);
}

.admin-ground-list {
  display: grid;
  align-content: start;
  max-height: 760px;
  margin-top: 12px;
  overflow-y: auto;
  border-top: 1px solid rgba(118, 153, 204, 0.1);
}

.admin-ground-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 68px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid rgba(118, 153, 204, 0.1);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-ground-row:hover,
.admin-ground-row:focus-visible {
  background: rgba(118, 153, 204, 0.08);
  outline: none;
}

.admin-ground-row.is-selected {
  box-shadow: inset 3px 0 0 var(--gold-300);
  background: rgba(205, 178, 119, 0.08);
}

.admin-ground-row-identity {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-ground-row-identity strong {
  color: var(--text-strong);
  overflow-wrap: anywhere;
}

.admin-ground-row-identity small,
.admin-ground-map-copy small,
.admin-ground-map-asset small {
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.admin-ground-row-counts,
.admin-ground-chip-list,
.admin-ground-map-assets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-ground-row-counts {
  max-width: 230px;
  justify-content: flex-end;
}

.admin-ground-badge,
.admin-ground-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(118, 153, 204, 0.18);
  border-radius: 4px;
  background: rgba(13, 18, 22, 0.76);
  color: #c7d3e4;
  font-size: 0.72rem;
  line-height: 1.3;
}

.admin-ground-badge--success {
  border-color: rgba(92, 178, 128, 0.3);
  color: #a8e1ba;
  background: rgba(22, 62, 40, 0.48);
}

.admin-ground-badge--warning {
  border-color: rgba(213, 155, 71, 0.32);
  color: #f4c77a;
  background: rgba(67, 43, 13, 0.5);
}

.admin-ground-badge--danger {
  border-color: rgba(217, 105, 89, 0.34);
  color: #f5b0a7;
  background: rgba(65, 24, 20, 0.54);
}

.admin-ground-badge--muted {
  color: var(--text-muted);
  opacity: 0.78;
}

.admin-ground-detail {
  display: grid;
  align-content: start;
  gap: 20px;
  margin-top: 12px;
}

.admin-ground-definition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: rgba(118, 153, 204, 0.12);
  border: 1px solid rgba(118, 153, 204, 0.12);
}

.admin-ground-definition {
  min-width: 0;
  padding: 12px;
  background: rgba(13, 18, 22, 0.95);
}

.admin-ground-definition dd {
  margin: 5px 0 0;
  color: var(--text-strong);
  overflow-wrap: anywhere;
}

.admin-ground-detail-section,
.admin-ground-review-section {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(118, 153, 204, 0.14);
}

.admin-ground-infographic-preview {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.admin-ground-infographic-image-link {
  display: grid;
  place-items: center;
  min-height: 140px;
  padding: 8px;
  border: 1px solid rgba(205, 178, 119, 0.24);
  border-radius: 10px;
  background: rgba(6, 10, 13, 0.8);
}

.admin-ground-infographic-image {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.admin-ground-infographic-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.admin-ground-infographic-copy strong {
  color: var(--text-strong);
}

.admin-ground-infographic-copy span,
.admin-ground-infographic-copy small,
.admin-ground-infographic-missing {
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.admin-ground-infographic-missing {
  margin: 0;
  padding: 13px 14px;
  border: 1px dashed rgba(213, 155, 71, 0.36);
  border-radius: 10px;
  background: rgba(67, 43, 13, 0.22);
}

.admin-ground-map-list {
  display: grid;
}

.admin-ground-map-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(118, 153, 204, 0.1);
}

.admin-ground-map-row:last-child {
  border-bottom: 0;
}

.admin-ground-map-copy,
.admin-ground-map-asset {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-ground-map-link {
  color: var(--gold-300);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.admin-ground-review-form {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.admin-ground-review-note textarea {
  min-height: 88px;
  resize: vertical;
}

.admin-ground-empty,
.admin-ground-empty-inline {
  color: var(--text-muted);
}

.admin-ground-empty {
  margin: 0;
  padding: 18px 12px;
}

@media (max-width: 1280px) {
  .admin-ground-summary {
    grid-template-columns: repeat(4, minmax(100px, 1fr));
  }

  .admin-ground-kpi:nth-child(4n) {
    border-right: 0;
  }

  .admin-ground-toolbar {
    grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(140px, 1fr));
  }

  .admin-ground-workspace {
    grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
  }
}

@media (max-width: 980px) {
  .admin-ground-toolbar,
  .admin-ground-review-form {
    grid-template-columns: 1fr 1fr;
  }

  .admin-ground-workspace {
    grid-template-columns: 1fr;
  }

  .admin-ground-list-shell {
    border-right: 0;
    border-bottom: 1px solid rgba(118, 153, 204, 0.14);
  }

  .admin-ground-list {
    max-height: 420px;
  }
}

@media (max-width: 640px) {
  .admin-ground-panel {
    padding: 16px;
  }

  .admin-ground-header {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-ground-summary,
  .admin-ground-toolbar,
  .admin-ground-review-form,
  .admin-ground-definition-grid {
    grid-template-columns: 1fr;
  }

  .admin-ground-kpi,
  .admin-ground-kpi:nth-child(4n) {
    border-right: 0;
    border-bottom: 1px solid rgba(118, 153, 204, 0.1);
  }

  .admin-ground-row,
  .admin-ground-map-row {
    grid-template-columns: 1fr;
  }

  .admin-ground-row-counts {
    max-width: none;
    justify-content: flex-start;
  }
}

.admin-ground-summary {
  grid-template-columns: minmax(260px, 1.7fr) repeat(4, minmax(110px, 0.65fr));
}

.admin-ground-progress-overview {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(180px, 1.3fr);
  gap: 18px;
  align-items: center;
  padding: 14px 16px;
  border-right: 1px solid rgba(118, 153, 204, 0.1);
}

.admin-ground-progress-copy {
  display: grid;
  gap: 3px;
}

.admin-ground-progress-copy span,
.admin-ground-progress-copy small {
  color: var(--text-muted);
}

.admin-ground-progress-copy span {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-ground-progress-copy strong {
  color: var(--text-strong);
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
}

.admin-ground-progress-track {
  height: 10px;
  overflow: hidden;
  border: 1px solid rgba(118, 153, 204, 0.18);
  background: #0a1014;
}

.admin-ground-progress-fill {
  display: block;
  height: 100%;
  background: #5caf80;
  transition: width 180ms ease;
}

button.admin-ground-kpi {
  appearance: none;
  border: 0;
  border-right: 1px solid rgba(118, 153, 204, 0.1);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

button.admin-ground-kpi:not(:disabled) {
  cursor: pointer;
}

button.admin-ground-kpi:not(:disabled):hover,
button.admin-ground-kpi:not(:disabled):focus-visible {
  background: rgba(118, 153, 204, 0.07);
  outline: none;
}

.admin-ground-toolbar {
  grid-template-columns: minmax(280px, 1fr) minmax(190px, 230px) auto;
}

.admin-ground-sort {
  min-width: 0;
}

.admin-ground-progress-filter {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(118, 153, 204, 0.18);
  background: #0a1014;
}

.admin-ground-progress-option {
  min-height: 40px;
  padding: 7px 12px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.admin-ground-progress-option:hover,
.admin-ground-progress-option:focus-visible {
  color: var(--text-strong);
  outline: none;
}

.admin-ground-progress-option.is-active {
  background: #24352b;
  color: #c9edd4;
  box-shadow: inset 0 0 0 1px rgba(92, 178, 128, 0.32);
}

.admin-ground-workspace {
  grid-template-columns: minmax(290px, 0.55fr) minmax(620px, 1.45fr);
}

.admin-ground-workspace.is-map-editing {
  grid-template-columns: minmax(0, 1fr);
}

.admin-ground-workspace.is-map-editing .admin-ground-list-shell {
  display: none;
}

.admin-ground-workspace.is-map-editing .admin-ground-detail-shell {
  padding: 18px;
}

.admin-ground-catalog-details {
  border: 1px solid rgba(118, 153, 204, 0.14);
  background: rgba(13, 18, 22, 0.42);
}

.admin-ground-catalog-details summary {
  padding: 12px 14px;
  color: var(--text-muted);
  font-weight: 650;
  cursor: pointer;
}

.admin-ground-catalog-details[open] summary {
  border-bottom: 1px solid rgba(118, 153, 204, 0.12);
  color: var(--text-strong);
}

.admin-ground-catalog-details-body {
  display: grid;
  gap: 16px;
  padding: 14px;
}

@media (max-width: 1320px) {
  .admin-ground-summary {
    grid-template-columns: repeat(4, minmax(110px, 1fr));
  }

  .admin-ground-progress-overview {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid rgba(118, 153, 204, 0.1);
  }

  .admin-ground-workspace {
    grid-template-columns: 1fr;
  }

  .admin-ground-list-shell {
    border-right: 0;
    border-bottom: 1px solid rgba(118, 153, 204, 0.14);
  }

  .admin-ground-list {
    max-height: 360px;
  }
}

@media (max-width: 760px) {
  .admin-ground-toolbar,
  .admin-ground-summary {
    grid-template-columns: 1fr;
  }

  .admin-ground-progress-overview {
    grid-template-columns: 1fr;
  }

  .admin-ground-progress-filter {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .admin-ground-progress-filter {
    grid-template-columns: 1fr;
  }
}
.admin-ground-view-tabs {
  display: inline-flex;
  margin-top: 18px;
  border: 1px solid rgba(118, 153, 204, 0.18);
  background: rgba(9, 14, 18, 0.56);
}

.admin-ground-view-tab {
  min-height: 42px;
  padding: 8px 16px;
  border: 0;
  border-right: 1px solid rgba(118, 153, 204, 0.14);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.admin-ground-view-tab:last-child {
  border-right: 0;
}

.admin-ground-view-tab:hover,
.admin-ground-view-tab:focus-visible {
  color: var(--text-strong);
  background: rgba(118, 153, 204, 0.08);
  outline: none;
}

.admin-ground-view-tab.is-active {
  color: #e8f2ea;
  background: rgba(38, 91, 57, 0.58);
  box-shadow: inset 0 -2px 0 #78b68a;
}

.admin-ground-view-count {
  display: inline-flex;
  min-width: 22px;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  padding: 1px 6px;
  border: 1px solid rgba(168, 225, 186, 0.28);
  border-radius: 4px;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.admin-ground-view[hidden] {
  display: none !important;
}

.admin-ground-publish-view {
  margin-top: 18px;
  border: 1px solid rgba(118, 153, 204, 0.14);
  background: rgba(9, 14, 18, 0.4);
}

.admin-ground-publish-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid rgba(118, 153, 204, 0.14);
}

.admin-ground-publish-header h4,
.admin-ground-publish-header p,
.admin-ground-publication-history h4 {
  margin: 0;
}

.admin-ground-publish-header p {
  margin-top: 6px;
}

.admin-ground-queue-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  border-bottom: 1px solid rgba(118, 153, 204, 0.14);
}

.admin-ground-queue-stat {
  padding: 14px 16px;
  border-right: 1px solid rgba(118, 153, 204, 0.1);
}

.admin-ground-queue-stat:last-child {
  border-right: 0;
}

.admin-ground-queue-stat span,
.admin-ground-queue-stat strong {
  display: block;
}

.admin-ground-queue-stat span {
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.admin-ground-queue-stat strong {
  margin-top: 4px;
  color: var(--text-strong);
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}

.admin-ground-queue-list,
.admin-ground-history-list {
  display: grid;
}

.admin-ground-queue-card {
  display: grid;
  grid-template-columns: 104px minmax(220px, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(118, 153, 204, 0.12);
}

.admin-ground-queue-infographic {
  display: grid;
  place-items: center;
  width: 104px;
  min-height: 76px;
  overflow: hidden;
  border: 1px solid rgba(92, 178, 128, 0.26);
  border-radius: 8px;
  background: rgba(6, 10, 13, 0.8);
  color: var(--text-muted);
  font-size: 0.72rem;
  text-align: center;
}

.admin-ground-queue-infographic.is-missing {
  border-color: rgba(217, 105, 89, 0.34);
  background: rgba(65, 24, 20, 0.3);
  color: #efb2ae;
}

.admin-ground-queue-infographic img {
  display: block;
  width: 100%;
  height: 76px;
  object-fit: cover;
}

.admin-ground-queue-identity,
.admin-ground-history-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-ground-queue-identity strong,
.admin-ground-history-copy strong {
  color: var(--text-strong);
}

.admin-ground-queue-identity span,
.admin-ground-queue-identity small,
.admin-ground-history-copy span,
.admin-ground-history-copy small {
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.admin-ground-queue-actions {
  display: flex;
  gap: 8px;
}

.admin-ground-queue-issue {
  grid-column: 1 / -1;
  margin: 0;
  padding: 9px 11px;
  border-left: 3px solid #b85b57;
  background: rgba(103, 32, 31, 0.24);
  color: #efb2ae;
}

.admin-ground-publication-history {
  padding: 18px;
}

.admin-ground-history-list {
  margin-top: 12px;
  border-top: 1px solid rgba(118, 153, 204, 0.12);
}

.admin-ground-history-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(118, 153, 204, 0.1);
}

.admin-ground-history-error {
  grid-column: 1 / -1;
  color: #efb2ae;
  overflow-wrap: anywhere;
}
.admin-ground-list .admin-ground-row {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.admin-ground-list .admin-ground-row-counts {
  max-width: none;
  justify-content: flex-start;
}

.admin-ground-requirement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.admin-ground-requirement {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 112px;
  padding: 12px;
  border: 1px solid rgba(118, 153, 204, 0.18);
  border-radius: 8px;
  background: rgba(13, 18, 22, 0.5);
}

.admin-ground-requirement.is-complete {
  border-color: rgba(86, 178, 112, 0.28);
  background: rgba(34, 93, 54, 0.14);
}

.admin-ground-requirement.is-missing {
  border-color: rgba(205, 178, 119, 0.28);
  background: rgba(108, 76, 28, 0.12);
}

.admin-ground-requirement .admin-ground-badge {
  justify-self: start;
}

.admin-ground-requirement strong {
  color: var(--text-strong);
}

.admin-ground-requirement > span:last-child {
  color: var(--text-muted);
  line-height: 1.4;
}

.admin-ground-requirement-error {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-left: 3px solid #b85b57;
  background: rgba(103, 32, 31, 0.2);
  color: #efb2ae;
}
.admin-ground-requirement-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}


@media (max-width: 820px) {
  .admin-ground-publish-header,
  .admin-ground-queue-card,
  .admin-ground-history-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .admin-ground-infographic-preview {
    grid-template-columns: 1fr;
  }

  .admin-ground-queue-infographic {
    width: min(180px, 100%);
  }

  .admin-ground-publish-header {
    display: grid;
  }

  .admin-ground-queue-summary {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
  }

  .admin-ground-queue-stat:nth-child(2) {
    border-right: 0;
  }

  .admin-ground-queue-actions {
    flex-wrap: wrap;
  }
}
