.in-ctl-locked {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 10px 12px;
  border-radius: 9px;
  margin-bottom: 1rem;
  font-size: 0.86rem;
  line-height: 1.5;
}
.in-ctl-locked[hidden] {
  display: none;
}
.in-ctl-locked i {
  margin-top: 3px;
}
.in-src {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.in-src-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 10px 12px;
  min-height: 54px;
  border-radius: 10px;
  border: 1.5px solid var(--border, #e2e8f0);
  background: #fff;
  color: #334155;
  cursor: pointer;
  font-family: inherit;
}
.in-src-btn i {
  font-size: 1.15rem;
  color: #64748b;
  flex: 0 0 auto;
}
.in-src-btn span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}
.in-src-btn b {
  font-size: 0.9rem;
}
.in-src-btn small {
  font-size: 0.74rem;
  color: #64748b;
}
.in-src-btn:hover {
  border-color: #93c5fd;
  background: #f8fbff;
}
.in-src-btn.on {
  border-color: var(--primary, #1e3a8a);
  background: #eff6ff;
  box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.12);
}
.in-src-btn.on i {
  color: var(--primary, #1e3a8a);
}
.in-nonote {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.in-nonote[hidden] {
  display: none;
}
.in-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.in-chip {
  border: 1px solid var(--border, #e2e8f0);
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.in-chip:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}
.in-chip.on {
  background: var(--primary, #1e3a8a);
  border-color: var(--primary, #1e3a8a);
  color: #fff;
}
.in-photos {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #fbfcfe;
}
.in-photos[hidden] {
  display: none;
}
.in-photo-lbl {
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
}
.in-photo-lbl small {
  font-weight: 400;
  color: #64748b;
}
.in-photo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.in-photo-list:empty {
  display: none;
}
.in-thumb {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border, #e2e8f0);
  background: #fff;
}
.in-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.in-thumb button {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
}
.in-photo-add {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 9px 14px;
  min-height: 40px;
  border-radius: 9px;
  border: 1.5px dashed #93c5fd;
  background: #fff;
  color: var(--primary, #1e3a8a);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}
.in-photo-add[hidden] {
  display: none;
}
.in-photo-add.busy {
  opacity: 0.55;
  pointer-events: none;
}
@media (max-width: 480px) {
  .in-src {
    grid-template-columns: 1fr;
  }
}
