  @font-face {
    font-family: 'NHG Display';
    src: url('/fonts/NeueHaasDisplayRoman.ttf') format('truetype');
    font-weight: 400;
  }
  @font-face {
    font-family: 'NHG Display';
    src: url('/fonts/NeueHaasDisplayBold.ttf') format('truetype');
    font-weight: 700;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: 'NHG Display', -apple-system, system-ui, sans-serif;
    background: #FAFAFA;
    color: #000;
    min-height: 100vh;
    padding: 32px 32px 64px;
  }
  .header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 8px;
  }
  h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
  }
  .subhead {
    font-size: 13px;
    color: #666;
    margin-bottom: 32px;
    max-width: 720px;
    line-height: 1.5;
  }

  .form-card {
    border: 1px solid #000;
    background: #FFF;
    padding: 24px 28px;
    max-width: 760px;
    margin-bottom: 24px;
  }

  .field {
    margin-bottom: 20px;
  }
  .field-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #666;
    margin-bottom: 6px;
    font-weight: 700;
  }
  .field-help {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
  }

  /* Branch toggle */
  .branch-toggle {
    display: flex;
    border: 1px solid #000;
    width: fit-content;
    margin-bottom: 24px;
  }
  .branch-toggle button {
    padding: 10px 20px;
    font-family: 'NHG Display', -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #FFF;
    color: #000;
    border: none;
    cursor: pointer;
    border-right: 1px solid #000;
  }
  .branch-toggle button:last-child { border-right: none; }
  .branch-toggle button.active {
    background: #000;
    color: #FAFAFA;
  }

  /* Inputs */
  input[type="text"],
  input[type="email"],
  input[type="url"],
  textarea,
  select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #000;
    background: #FFF;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    color: #000;
  }
  textarea {
    min-height: 100px;
    resize: vertical;
    font-family: 'SF Mono', ui-monospace, Menlo, monospace;
    font-size: 13px;
  }
  input:focus, textarea:focus, select:focus {
    outline: 2px solid #000;
    outline-offset: -1px;
  }

  /* Combobox */
  .combo {
    position: relative;
  }
  .combo-input {
    width: 100%;
  }
  .combo-list {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: #FFF;
    border: 1px solid #000;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10;
    display: none;
  }
  .combo-list.open { display: block; }
  .combo-item {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #E5E5E5;
    font-size: 13px;
  }
  .combo-item:last-child { border-bottom: none; }
  .combo-item:hover, .combo-item.highlighted {
    background: #000;
    color: #FAFAFA;
  }
  .combo-item-sub {
    font-size: 11px;
    opacity: 0.6;
    margin-top: 2px;
  }
  .combo-empty {
    padding: 10px 14px;
    color: #999;
    font-size: 13px;
    font-style: italic;
  }

  /* Chips */
  .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    min-height: 4px;
  }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid #000;
    background: #FFF;
    font-size: 12px;
    font-weight: 700;
  }
  .chip.new {
    background: #FFF7E0;
    border-color: #B8860B;
    color: #5C4A00;
  }
  .chip-x {
    cursor: pointer;
    opacity: 0.6;
    font-weight: 700;
    border: none;
    background: none;
    padding: 0 2px;
    color: inherit;
    font-size: 14px;
    line-height: 1;
  }
  .chip-x:hover { opacity: 1; }

  /* Buttons */
  .btn {
    padding: 10px 20px;
    font-family: 'NHG Display', -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid #000;
    background: #FFF;
    color: #000;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background 0.1s, color 0.1s;
  }
  .btn:hover:not(:disabled) {
    background: #000;
    color: #FAFAFA;
  }
  .btn-primary {
    background: #000;
    color: #FAFAFA;
  }
  .btn-primary:hover:not(:disabled) {
    background: #FAFAFA;
    color: #000;
  }
  .btn:disabled { opacity: 0.4; cursor: not-allowed; }
  .btn-small {
    padding: 6px 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  /* New curator inline form */
  .new-curator-form {
    display: none;
    border: 1px dashed #B8860B;
    background: #FFF7E0;
    padding: 16px;
    margin-top: 12px;
  }
  .new-curator-form.open { display: block; }
  .new-curator-form .field { margin-bottom: 12px; }
  .new-curator-form .field:last-child { margin-bottom: 0; }
  .new-curator-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
  }

  /* Toast */
  .toast {
    margin-top: 16px;
    padding: 12px 16px;
    border: 1px solid #000;
    font-size: 13px;
    background: #FFF;
    display: none;
  }
  .toast.success {
    border-color: #16A34A;
    background: #F0FDF4;
    color: #166534;
    display: block;
  }
  .toast.error {
    border-color: #DA3633;
    background: #FFF5F5;
    color: #DA3633;
    display: block;
  }
  .toast.info {
    border-color: #B8860B;
    background: #FFF7E0;
    color: #5C4A00;
    display: block;
  }
  .toast pre {
    font-family: 'SF Mono', ui-monospace, Menlo, monospace;
    font-size: 11px;
    margin-top: 6px;
    white-space: pre-wrap;
  }

  .branch-section { display: none; }
  .branch-section.active { display: block; }

  .form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #E5E5E5;
  }

  /* Social branch — per-curator pitch row */
  .pitch-row {
    border: 1px solid #000;
    background: #FFF;
    padding: 14px 16px;
    margin-top: 10px;
  }
  .pitch-row.new-curator {
    background: #FFF7E0;
    border-color: #B8860B;
  }
  .pitch-row-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #E5E5E5;
  }
  .pitch-row-name {
    font-weight: 700;
    font-size: 14px;
  }
  .pitch-row-name .badge {
    font-size: 10px;
    background: #B8860B;
    color: #FFF;
    padding: 2px 6px;
    margin-right: 6px;
    letter-spacing: 0.04em;
  }
  .pitch-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
  }
  .pitch-row-grid .field { margin-bottom: 0; }
  .pitch-row-grid .field.full { grid-column: 1 / -1; }
  .pitch-row input[type="number"],
  .pitch-row input[type="text"],
  .pitch-row input[type="date"],
  .pitch-row select,
  .pitch-row textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #000;
    background: #FFF;
    font-family: inherit;
    font-size: 13px;
    color: #000;
  }
  .pitch-row textarea {
    min-height: 60px;
    font-family: 'SF Mono', ui-monospace, Menlo, monospace;
    font-size: 12px;
  }
  .ct-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .ct-checks label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    border: 1px solid #000;
    padding: 4px 8px;
    cursor: pointer;
    background: #FFF;
    user-select: none;
  }
  .ct-checks label.active {
    background: #000;
    color: #FAFAFA;
  }
  .ct-checks input { display: none; }
  .pitch-row-remove {
    border: 1px solid #DA3633;
    background: #FFF;
    color: #DA3633;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.04em;
  }
  .pitch-row-remove:hover {
    background: #DA3633;
    color: #FFF;
  }
  .pitch-mini-meta {
    font-size: 11px;
    color: #666;
    margin-top: 4px;
  }

  .back-link {
    display: inline-block;
    margin-top: 32px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    border: 1px solid #E5E5E5;
    padding: 8px 16px;
  }
  .back-link:hover { border-color: #000; color: #000; }
