.wf-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wf-row.wrap {
  flex-wrap: wrap;
}

.wf-card-head,
.wf-sect-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.wf-sect-head {
  margin-top: 22px;
}

.wf-sect-head:first-child {
  margin-top: 0;
}

.wf-sect-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}

.wf-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wf-form-field {
  display: grid;
  gap: 5px;
}

.wf-form-field + .wf-form-field {
  margin-top: 12px;
}

.wf-required,
.wf-field-error {
  color: var(--coral);
}

.wf-field-error {
  font-size: 11.5px;
  line-height: 1.4;
}

.wf-field.lg {
  min-height: 42px;
  font-size: 13.5px;
}

.wf-textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.55;
}

.wf-drop-zone {
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  background: var(--glass-bg);
  color: var(--ink);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.wf-drop-zone:hover {
  border-color: var(--ink);
  background: var(--glass-strong);
}

.wf-drop-zone[data-state="dragging"] {
  border-color: var(--ink);
  background: var(--glass-strong);
  box-shadow: 0 0 0 1px var(--ink) inset;
}

.wf-drop-zone[data-state="uploading"] {
  border-style: solid;
  border-color: var(--leaf);
  background: var(--glass-strong);
}

.wf-drop-zone-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-thin);
}

.wf-drop-zone-copy {
  min-width: 0;
}

.wf-drop-zone-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.wf-drop-zone-copy p {
  margin: 3px 0 0;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.4;
}

.wf-drop-zone-control {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.wf-drop-zone-control input[type="file"] {
  max-width: 240px;
  color: var(--ink-2);
  font-size: 12px;
}

.wf-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
  overflow-x: auto;
}

.wf-tab {
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 9px 14px;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  font-size: 12.5px;
  white-space: nowrap;
}

.wf-tab.active {
  border-bottom-color: var(--ink);
  color: var(--ink);
  font-weight: 600;
}

.wf-note {
  color: var(--ink-3);
  font-family: var(--font-hand);
  font-size: 20px;
  line-height: 1.1;
}

.wf-ph {
  border-radius: 999px;
  background: var(--line-2);
}

@media (max-width: 720px) {
  .wf-drop-zone {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .wf-drop-zone-control {
    justify-content: flex-start;
  }
}
