.web-image-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.web-image-col {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.web-image-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.web-thumb {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  flex: 0 0 auto;
  background: var(--surface-2);
}

.web-thumb-sm {
  width: 44px;
  height: 34px;
}

.web-thumb-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.web-sec-head {
  margin-top: 18px;
  margin-bottom: 8px;
}

.web-sec-head h5 {
  margin: 0 0 2px;
  font-size: 15px;
}

.web-sec-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.web-sec-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  flex-wrap: wrap;
}

.web-sec-name {
  flex: 1 1 160px;
  min-width: 0;
  font-weight: 600;
}

.web-sec-visible {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.web-sec-order {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.web-sec-order .input {
  width: 84px;
}

.web-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px 16px;
  margin-bottom: 12px;
}

.web-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.web-meta-label {
  font-size: 12px;
  color: var(--muted);
}

.web-meta-value {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.web-text-box {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 11px;
  background: var(--surface-2);
  min-height: 44px;
}

.web-sub {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .web-sec-row {
    gap: 8px;
  }

  .web-sec-name {
    flex-basis: 100%;
  }

  .web-thumb {
    width: 56px;
    height: 44px;
  }
}
