.lf74-presets {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(245,248,251,.92));
  overflow-x: auto;
  scrollbar-width: none;
}

.lf74-presets::-webkit-scrollbar {
  display: none;
}

.lf74-kicker {
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #0f766e;
  white-space: nowrap;
}

.lf74-preset-btn,
.lf74-action-btn,
.lf74-mini-btn {
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 999px;
  background: #fff;
  color: #134e4a;
  font: inherit;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.lf74-preset-btn,
.lf74-action-btn {
  padding: 7px 12px;
}

.lf74-mini-btn {
  padding: 5px 9px;
  font-size: .68rem;
}

.lf74-preset-btn:hover,
.lf74-action-btn:hover,
.lf74-mini-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(13, 148, 136, .38);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

#cine-panel-gaffer .lf74-wrap {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

#cine-panel-gaffer .lf74-stage {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

#cine-diagram-wrap.lf74-diagram {
  background:
    linear-gradient(180deg, rgba(255,255,255,.80), rgba(249,250,251,.95)),
    radial-gradient(circle at top, rgba(45, 212, 191, .08), transparent 42%);
}

#cine-diagram-wrap.lf74-diagram[data-lf74-grid="on"]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13, 148, 136, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 148, 136, .08) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .55;
}

#cine-gaffer-right.lf74-right {
  width: 330px !important;
  min-width: 280px !important;
  background: linear-gradient(180deg, rgba(250,250,249,.98), rgba(244,244,245,.98));
}

.lf74-card {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.98));
}

.lf74-card:last-child {
  border-bottom: none;
}

.lf74-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.lf74-title {
  font-size: .78rem;
  font-weight: 900;
  color: #0f172a;
}

.lf74-sub {
  font-size: .68rem;
  color: #64748b;
  line-height: 1.45;
}

.lf74-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.lf74-stat {
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255,255,255,.9);
}

.lf74-stat strong {
  display: block;
  font-size: 1rem;
  color: #111827;
}

.lf74-stat span {
  display: block;
  margin-top: 3px;
  font-size: .65rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.lf74-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.lf74-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lf74-field.full {
  grid-column: 1 / -1;
}

.lf74-field span {
  font-size: .64rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.lf74-field input,
.lf74-field select,
.lf74-field textarea {
  width: 100%;
  border: 1.5px solid rgba(148, 163, 184, .35);
  border-radius: 9px;
  padding: 8px 10px;
  font: inherit;
  font-size: .75rem;
  background: #fff;
  color: #0f172a;
  box-sizing: border-box;
}

.lf74-checkrow {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.lf74-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .69rem;
  font-weight: 700;
  color: #334155;
}

.lf74-chiprow {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.lf74-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(13, 148, 136, .08);
  color: #115e59;
  font-size: .67rem;
  font-weight: 800;
}

.lf74-cues {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.lf74-cue {
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255,255,255,.88);
}

.lf74-cue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.lf74-cue-tag {
  font-size: .64rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #0f766e;
}

.lf74-power-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.lf74-power-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: .71rem;
  color: #334155;
}

.lf74-power-row strong {
  color: #111827;
}

.lf74-divider {
  height: 1px;
  background: rgba(148, 163, 184, .22);
  margin: 10px 0;
}

#cine-fixture-props .lf74-props-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

#cine-fixture-props .lf74-props-grid .lf74-field.full {
  grid-column: 1 / -1;
}

.lf74-export-note {
  margin-top: 8px;
  font-size: .66rem;
  color: #64748b;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  #cine-gaffer-right.lf74-right {
    width: 300px !important;
    min-width: 250px !important;
  }
}

@media (max-width: 760px) {
  .lf74-presets {
    padding-bottom: 8px;
  }

  #cine-gaffer-body {
    flex-direction: column !important;
  }

  #cine-gaffer-right.lf74-right {
    width: 100% !important;
    min-width: 0 !important;
    border-left: none !important;
    border-top: 1px solid var(--line);
    max-height: 56vh;
  }

  .lf74-form-grid,
  #cine-fixture-props .lf74-props-grid,
  .lf74-stats {
    grid-template-columns: 1fr;
  }
}
