.cta-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 640px) { .cta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cta-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.cta-card {
  display: flex; flex-direction: column; text-align: left;
  border-radius: 0.75rem; border: 1px solid #e2e8f0; background: white;
  overflow: hidden;
  transition: border-color 150ms, transform 150ms, box-shadow 150ms;
}
.cta-card:hover:not(:disabled):not(.cta-card--disabled) {
  border-color: #cbd5e1; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06); transform: translateY(-1px);
}
.cta-card--disabled { opacity: 0.85; cursor: default; }
.cta-visual {
  min-height: 132px; background: #e8f4fd;
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem 1.5rem;
}
.cta-visual svg { width: 100%; max-width: 148px; height: auto; filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.12)); }
.cta-visual--manual { background: #f0f4f8; }
.cta-visual--manual svg { filter: drop-shadow(0 8px 16px rgba(100, 116, 139, 0.14)); }
.cta-body { padding: 1.25rem 1.375rem 1.375rem; background: white; flex: 1; }
.cta-body-icon { display: block; font-size: 0.875rem; color: #2563eb; margin-bottom: 0.625rem; line-height: 1; }
.cta-body-icon.slate { color: #64748b; }
.cta-body-icon.violet { color: #7c3aed; }
.cta-title { font-size: 0.9375rem; font-weight: 700; color: #0f172a; line-height: 1.35; margin: 0 0 0.375rem; }
.cta-desc { font-size: 0.8125rem; color: #64748b; line-height: 1.55; margin: 0; }
.cta-tag {
  display: inline-block; margin-top: 0.5rem;
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; color: #7c3aed;
}
.hub-section { margin-bottom: 2.75rem; }
.hub-section__head { margin-bottom: 1.25rem; }
.hub-section__title-row { display: flex; align-items: center; gap: 0.625rem; flex-wrap: wrap; }
.hub-section__icon { font-size: 1.125rem; color: #94a3b8; line-height: 1; }
.hub-section__title { font-size: 1.125rem; font-weight: 700; color: #0f172a; line-height: 1.3; margin: 0; }
.hub-section__subtitle { font-size: 0.875rem; color: #64748b; line-height: 1.55; margin: 0.375rem 0 0; max-width: 40rem; }
.page-head { margin-bottom: 2.5rem; }
.page-head__title-row { display: flex; align-items: center; gap: 0.75rem; }
.page-head__icon { font-size: 1.25rem; color: #94a3b8; line-height: 1; }
.page-head__title { font-size: 1.75rem; font-weight: 700; color: #0f172a; line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
.page-head__subtitle { font-size: 0.9375rem; color: #64748b; line-height: 1.55; margin: 0.5rem 0 0; max-width: 40rem; }
button.cta-card, a.cta-card { appearance: none; font: inherit; color: inherit; cursor: pointer; width: 100%; text-decoration: none; }
.parametrer-dropzone { transition: background-color 150ms, border-color 150ms; }
.parametrer-dropzone:hover, .parametrer-dropzone.drag { background: rgba(239, 246, 255, 0.5); border-color: #2563eb; }

.parametrer-review-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.parametrer-review-table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
}
.parametrer-review-table th,
.parametrer-review-table td {
  width: auto;
  vertical-align: middle;
}
.parametrer-review-table th {
  white-space: nowrap;
}
.parametrer-review-table thead th {
  transition: background-color 150ms ease;
}
.parametrer-review-table thead th:hover {
  background: #f8fafc;
}
.parametrer-review-table tbody tr.review-row > td {
  transition: background-color 150ms ease;
}
.parametrer-review-table tbody tr.review-row:hover > td {
  background: #f9fafb;
}
.parametrer-review-table tbody tr.review-row--needs-review > td {
  background: rgba(254, 243, 199, 0.4);
}
.parametrer-review-table tbody tr.review-row--needs-review:hover > td {
  background: rgba(253, 230, 138, 0.5);
}
.parametrer-review-table .parametrer-review-table__col--check {
  width: 2.5rem;
}
.parametrer-review-table .parametrer-review-table__col--actions {
  width: 1%;
  white-space: nowrap;
}
.parametrer-review-table .parametrer-review-field {
  box-sizing: border-box;
  field-sizing: content;
  min-width: 2.5rem;
  max-width: min(28rem, 40vw);
  width: auto;
  background: transparent;
  font-size: 0.875rem;
  color: #334155;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
}
.parametrer-review-table .parametrer-review-field:focus {
  background: #fff;
  border-color: #cbd5e1;
  outline: none;
}
.equip-review-name-col {
  width: 1%;
  white-space: nowrap;
  vertical-align: middle;
}
input.equip-review-name-field,
.parametrer-review-table .parametrer-review-field--name {
  field-sizing: content;
  width: auto;
  min-width: 10rem;
  max-width: min(40rem, 55vw);
  box-sizing: border-box;
}
.parametrer-review-table .parametrer-review-field--name {
  font-weight: 500;
  color: #0f172a;
}
.equip-cell.equip-review-name-field {
  max-width: min(40rem, 55vw);
}
.parametrer-review-table .parametrer-review-field--qty {
  field-sizing: fixed;
  width: 3.5rem;
  min-width: 3.5rem;
  max-width: 3.5rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.parametrer-review-table .parametrer-review-field--date {
  field-sizing: fixed;
  width: auto;
  min-width: 8.5rem;
}

.parametrer-dropzone--drag {
  background: rgba(239, 246, 255, 0.5);
  border-color: #2563eb;
}

.parametrer-field-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 4px;
  display: block;
}

.parametrer-field-source {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 2px;
}

.parametrer-conf-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 500;
  border: 1px solid;
}

.parametrer-conf-badge--high {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.parametrer-conf-badge--medium {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}

.parametrer-photo-tile {
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
}

.parametrer-photo-tile__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
}

.parametrer-photo-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.parametrer-photo-tile__img[src=""],
.parametrer-photo-tile__img:not([src]) {
  opacity: 0.35;
}

.parametrer-photo-tile__meta {
  padding: 0.375rem 0.5rem;
  border-top: 1px solid #f1f5f9;
}

.parametrer-photo-tile__role {
  font-size: 10px;
  font-weight: 500;
  color: #475569;
  margin: 0 0 2px;
}

.parametrer-photo-tile__name {
  font-size: 10px;
  font-family: ui-monospace, monospace;
  color: #64748b;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.parametrer-photo-tile__remove {
  position: absolute;
  top: 0.375rem;
  right: 0.375rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e8f0;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 150ms, color 150ms;
}

.parametrer-photo-tile:hover .parametrer-photo-tile__remove {
  opacity: 1;
}

.parametrer-photo-tile__remove:hover {
  color: #dc2626;
}
