    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      background: #FAFBFC;
      color: #1A1A2E;
      padding: 40px;
    }

    h1 {
      font-size: 17px;
      font-weight: 600;
      color: #1A1A2E;
      letter-spacing: -0.01em;
    }

    .page-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 24px;
    }

    .collapse-btn {
      background: none;
      border: 1px solid #E4E4EC;
      border-radius: 10px;
      cursor: pointer;
      color: #8E8EA0;
      font-size: 13px;
      padding: 4px 10px;
      transition: all 0.2s ease;
      line-height: 1;
    }

    .collapse-btn:hover {
      border-color: #153159;
      color: #153159;
    }

    .ci-input {
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      padding: 10px 12px;
      border: 1px solid #E4E4EC;
      border-radius: 10px;
      outline: none;
      background: #fff;
      color: #153159;
    }

    .ci-select {
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      padding: 8px 10px;
      border: 1px solid #E4E4EC;
      border-radius: 10px;
      outline: none;
      background: #fff;
      color: #153159;
      appearance: none;
      background-image:
        linear-gradient(45deg, transparent 50%, #8E8EA0 50%),
        linear-gradient(135deg, #8E8EA0 50%, transparent 50%),
        linear-gradient(to right, #fff, #fff);
      background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px),
        0 0;
      background-size:
        6px 6px,
        6px 6px,
        100% 100%;
      background-repeat: no-repeat;
      padding-right: 28px;
    }

    .ci-btn {
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      font-weight: 600;
      padding: 8px 14px;
      border-radius: 10px;
      border: 1px solid #E4E4EC;
      background: #FF6B35;
      color: #fff;
      cursor: pointer;
      transition: all 0.2s ease;
      box-shadow: none;
    }

    .ci-btn:hover {
      background: #FF8555;
      box-shadow: none;
      transform: none;
    }

    .ci-btn-muted {
      background: #F0F2F5;
      color: #8E8EA0;
      border-color: #E4E4EC;
      cursor: default;
    }

    .ci-btn-active {
      background: #FF6B35;
      color: #fff;
      border-color: #FF6B35;
      cursor: pointer;
    }

    .contact-list {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .contact-wrap {
      display: flex;
      flex-direction: column;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid #E4E4EC;
      background: #FFFFFF;
      transition: box-shadow 0.2s ease;
    }


    .contact-wrap:hover {
      box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    }

    .contact-wrap.add-wrap {
      border-style: dashed;
      border-color: #E4E4EC;
      background: #FAFBFC;
    }

    .contact-row {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 12px 16px;
    }

    .contact-row input {
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      font-weight: 400;
      border: none;
      outline: none;
      background: transparent;
      padding: 6px 10px;
      border-radius: 10px;
      border: 1px solid transparent;
      transition: all 0.15s;
      color: #1A1A2E;
    }

    .contact-row input:focus {
      border-color: #FF6B35;
      box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
      background: #fff;
    }

    .contact-row input.dirty {
      border-color: rgba(255,107,53,0.3);
    }

    .input-company { min-width: 150px; font-weight: 500; color: #1A1A2E; }
    .input-name    { min-width: 130px; color: #3D3D56; }
    .input-email   { flex: 1; color: #8E8EA0; }

    .input-company::placeholder { color: #8E8EA0; font-weight: 400; }
    .input-name::placeholder    { color: #8E8EA0; }
    .input-email::placeholder   { color: #8E8EA0; }

    .status-circles {
      display: flex;
      gap: 6px;
      align-items: center;
      flex-shrink: 0;
    }

    .circle {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #E4E4EC;
      cursor: pointer;
      transition: transform 0.15s ease, background 0.15s ease;
      border: none;
      padding: 0;
      flex-shrink: 0;
    }

    .circle:hover { transform: scale(1.3); }

    .circle.filled {
      background: #FF6B35;
    }

    .remind-btn {
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      font-weight: 600;
      padding: 4px 12px;
      border-radius: 10px;
      border: 1px solid #E4E4EC;
      background: transparent;
      color: #8E8EA0;
      cursor: default;
      white-space: nowrap;
      flex-shrink: 0;
      letter-spacing: 0.02em;
      transition: all 0.2s ease;
    }

    .remind-btn.due {
      border-color: #FF6B35;
      color: #FF6B35;
      cursor: pointer;
      animation: glow 1.5s ease-in-out infinite;
    }

    @keyframes glow {
      0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,53,0); }
      50%       { box-shadow: 0 0 0 6px rgba(255,107,53,0.2), 0 2px 16px rgba(255,107,53,0.25); }
    }

    @media (prefers-reduced-motion: reduce) {
      .remind-btn.due { animation: none; box-shadow: 0 2px 16px rgba(255,107,53,0.25); }
    }

    .save-btn {
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      font-weight: 600;
      padding: 4px 14px;
      border-radius: 10px;
      border: 1px solid #E4E4EC;
      background: transparent;
      color: #E4E4EC;
      cursor: default;
      transition: all 0.2s ease;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .save-btn.active {
      border-color: #FF6B35;
      color: #FF6B35;
      cursor: pointer;
      box-shadow: 0 2px 16px rgba(255,107,53,0.25);
    }

    .save-btn.active:hover {
      background: #FF6B35;
      color: #fff;
      box-shadow: 0 4px 24px rgba(255,107,53,0.35);
      transform: translateY(-2px);
    }

    .arrow-btn {
      background: none;
      border: none;
      cursor: pointer;
      color: #8E8EA0;
      font-size: 14px;
      padding: 0 4px;
      transition: transform 0.2s ease, color 0.15s;
      flex-shrink: 0;
      line-height: 1;
    }

    .arrow-btn:hover { color: #153159; }
    .arrow-btn.open  { transform: rotate(90deg); color: #FF6B35; }

    .detail-panel {
      display: none;
      background: #FAFBFC;
      border-top: 1px solid #E4E4EC;
      padding: 20px 24px;
      gap: 16px;
      flex-wrap: nowrap;
      overflow-x: auto;
    }

    .detail-panel.open { display: flex; }

    .detail-field {
      display: flex;
      flex-direction: column;
      gap: 6px;
      min-width: 180px;
      flex: 1;
    }

    .detail-field label {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #8E8EA0;
      font-weight: 600;
    }

    .detail-field input,
    .detail-field textarea {
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      border: none;
      border-bottom: 1px solid #E4E4EC;
      outline: none;
      background: transparent;
      padding: 6px 0;
      color: #1A1A2E;
      transition: border-color 0.15s;
    }

    .detail-field input:focus,
    .detail-field textarea:focus { border-bottom-color: #FF6B35; }

    .detail-field textarea {
      resize: vertical;
      min-height: 60px;
      line-height: 1.6;
    }

    .multi-select {
      position: relative;
    }

    .multi-select-toggle {
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      border: 1px solid #E4E4EC;
      border-radius: 10px;
      padding: 8px 10px;
      background: #fff;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .multi-select-toggle span {
      color: #3D3D56;
    }

    .multi-select-menu {
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      right: 0;
      background: #fff;
      border: 1px solid #E4E4EC;
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
      padding: 8px;
      z-index: 50;
      display: none;
      max-height: 240px;
      overflow-y: auto;
    }

    .multi-select.open .multi-select-menu {
      display: block;
    }

    .multi-select-option {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px 8px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 13px;
      color: #3D3D56;
    }

    .multi-select-option:hover {
      background: #F0F2F5;
    }

    .multi-select-option input {
      accent-color: #FF6B35;
    }

    .remind-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.remind-step {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid #E4E4EC;
  background: transparent;
  color: #8E8EA0;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  padding: 0;
  flex-shrink: 0;
}

.remind-step:hover {
  border-color: #153159;
  color: #153159;
}

.remind-days-input {
  width: 36px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1A1A2E;
  border: 1px solid #E4E4EC !important;
  border-radius: 6px !important;
  padding: 3px 4px !important;
  box-shadow: none !important;
  background: transparent;
  -moz-appearance: textfield;
}

.remind-days-input::-webkit-outer-spin-button,
.remind-days-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.remind-days-input:focus {
  border-color: #FF6B35 !important;
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1) !important;
  outline: none;
}

.remind-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.remind-step {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid #E4E4EC;
  background: transparent;
  color: #8E8EA0;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  padding: 0;
  flex-shrink: 0;
}

.remind-step:hover {
  border-color: #153159;
  color: #153159;
}

.remind-days-input {
  width: 36px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1A1A2E;
  border: 1px solid #E4E4EC !important;
  border-radius: 6px !important;
  padding: 3px 4px !important;
  box-shadow: none !important;
  background: transparent;
  -moz-appearance: textfield;
}

.remind-days-input::-webkit-outer-spin-button,
.remind-days-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.remind-days-input:focus {
  border-color: #FF6B35 !important;
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1) !important;
  outline: none;
}

.add-agent-btn {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: none;
  background: #FF6B35;
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px rgba(255,107,53,0.25);
  transition: all 0.2s ease;
  line-height: 1;
  flex-shrink: 0;
}

.add-agent-btn:hover {
  background: #FF8555;
  box-shadow: 0 4px 24px rgba(255,107,53,0.35);
  transform: translateY(-2px);
}

.delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #E4E4EC;
  font-size: 20px;
  line-height: 1;
  padding: 0 4px;
  flex-shrink: 0;
  transition: color 0.15s;
  font-weight: 300;
}

.delete-btn:hover { color: #e53935; }

.send-bar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
}

.blast-textarea {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1A1A2E;
  background: #fff;
  border: 1px solid #E4E4EC;
  border-radius: 10px;
  padding: 10px 14px;
  flex: 1;
  resize: vertical;
  min-height: 80px;
  outline: none;
  transition: all 0.15s;
}

.blast-textarea:focus {
  border-color: #FF6B35;
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

.tag-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 0;
  border-bottom: 1px solid #E4E4EC;
  align-items: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,107,53,0.08);
  color: #153159;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 100px;
}

.tag-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #8E8EA0;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  transition: color 0.15s;
}

.tag-remove:hover { color: #e53935; }

.tag-input {
  border: none !important;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #1A1A2E;
  background: transparent;
  padding: 2px 4px;
  min-width: 80px;
  box-shadow: none !important;
}

.ci-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.ci-modal {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #E4E4EC;
  width: min(420px, 92vw);
  padding: 20px 22px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.ci-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #153159;
  margin-bottom: 6px;
}

.ci-modal-body {
  font-size: 13px;
  color: #3D3D56;
  line-height: 1.5;
}

.ci-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.ci-btn {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #E4E4EC;
  background: #fff;
  color: #3D3D56;
  cursor: pointer;
}

.ci-btn-primary {
  background: #FF6B35;
  border-color: #FF6B35;
  color: #fff;
}
