.creation-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 2px #10182806;
  overflow: hidden;
  padding: 24px 24px 0;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
}
.card-heading h2 {
  font-size: 16px;
  font-weight: 600;
}
.required-note {
  font-size: 13px;
  color: var(--muted);
  padding: 2px 7px;
  background: var(--surface-2);
  border-radius: 5px;
}
.upload-zone {
  min-height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #bdcbdc;
  border-radius: 10px;
  background: #f9fbfe;
  transition:
    background 0.15s,
    border-color 0.15s;
  cursor: pointer;
}
.upload-zone:hover,
.upload-zone.dragging {
  border-color: var(--highlight);
  background: var(--accent-soft);
}
.upload-zone.has-source {
  border-style: solid;
  cursor: default;
  min-height: 150px;
}
.upload-zone.has-source:hover {
  border-color: #bdcbdc;
  background: #f9fbfe;
}
#upload-empty {
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 9px;
}
.upload-icon {
  width: 28px;
  height: 28px;
  color: var(--highlight);
  margin-bottom: 2px;
}
#upload-empty strong {
  font-size: 15px;
  font-weight: 500;
}
#upload-empty span {
  font-size: 13px;
  color: var(--muted);
}
#choose-upload {
  font-size: 13px;
  min-height: 36px;
  padding: 6px 20px;
  margin-top: 2px;
}
.source-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 11px 0 24px;
}
#upload-status {
  color: var(--success);
  font-size: 13px;
}
.attachment {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 14px 20px;
}
.attachment img {
  width: 76px;
  height: 108px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
}
.attachment > div {
  min-width: 0;
  flex: 1;
}
.attachment strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attachment span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}
.attachment small {
  display: block;
  color: var(--success);
  font-size: 13px;
  margin-top: 7px;
}
.field-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  margin: 20px 0 10px;
}
.field-label span {
  font-size: 13px;
  font-weight: 400;
  color: var(--faint);
}
textarea {
  display: block;
  width: 100%;
  resize: vertical;
  min-height: 90px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 14px 16px;
  line-height: 1.8;
  background: #fff;
  font-size: 14px;
}
textarea::placeholder,
input::placeholder {
  color: #8a94a3;
  opacity: 1;
}
textarea:focus,
input:focus,
select:focus {
  border-color: #7c90ab;
  box-shadow: 0 0 0 2px #1f3a5c14;
  outline: none;
}
.creation-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 22px;
}
.template-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
}
.template-chip small {
  color: var(--faint);
  font-size: 13px;
  border-left: 1px solid var(--line);
  padding-left: 8px;
}
.template-chip:hover {
  border-color: var(--accent-border);
}
.advanced {
  margin: 0 -24px;
  padding: 14px 24px;
  background: #fbfcfe;
  border-top: 1px solid var(--line);
}
.advanced summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
}
.advanced summary span {
  margin-left: 12px;
  color: var(--faint);
  font-size: 13px;
}
.advanced-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  padding: 19px 0 7px;
}
.advanced-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}
.advanced-grid input:not([type="checkbox"]),
.advanced-grid select {
  width: 100%;
  height: 39px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 6px 10px;
  background: #fff;
}
.advanced-grid label.check-field {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.check-field input {
  accent-color: var(--accent);
}
.creation-card > .form-message {
  margin: 0 0 18px;
}
.platform-label {
  font-size: 13px;
  color: var(--faint);
}
.field-help {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 10px 0;
}

.attachment > .source-controls {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  white-space: nowrap;
}

textarea:focus::placeholder, input:focus::placeholder { color: transparent; }
