.aibc-entry-wrap {
  max-width: 1040px;
  margin: 40px auto;
  padding: 0 20px 48px;
  color: #1f2937;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}
.aibc-entry-hero {
  background: linear-gradient(135deg, #0f172a, #334155);
  color: #fff;
  border-radius: 18px;
  padding: 34px 32px;
  margin-bottom: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .16);
}
.aibc-entry-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: .08em;
}
.aibc-entry-hero p { margin: 0; opacity: .92; }
.aibc-entry-kicker { font-size: 14px; letter-spacing: .18em; font-weight: 700; margin-bottom: 8px !important; }
.aibc-notice {
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0;
  border: 1px solid #d1d5db;
  background: #f9fafb;
}
.aibc-notice.success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.aibc-notice.info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.aibc-copy-url { width: 100%; margin-top: 8px; padding: 10px; border: 1px solid #a7f3d0; border-radius: 8px; background:#fff; }
.aibc-entry-form {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}
.aibc-step-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 26px;
}
.aibc-step-nav button {
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: #374151;
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 700;
}
.aibc-step-nav button.active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}
.aibc-step { display: none; }
.aibc-step.active { display: block; }
.aibc-step h2 {
  font-size: 24px;
  margin: 0 0 18px;
  border-bottom: 2px solid #111827;
  padding-bottom: 10px;
}
.aibc-step h3 {
  font-size: 18px;
  margin: 28px 0 14px;
  padding-left: 12px;
  border-left: 4px solid #111827;
}
.aibc-grid { display: grid; gap: 16px; }
.aibc-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aibc-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aibc-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.aibc-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.aibc-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-weight: 700;
  font-size: 14px;
  min-width: 0;
}
.aibc-field.full { grid-column: 1 / -1; }
.aibc-field span em { color:#dc2626; font-style: normal; font-size: 12px; }
.aibc-field input[type="text"],
.aibc-field input[type="email"],
.aibc-field input[type="date"],
.aibc-field input[type="file"],
.aibc-field select,
.aibc-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 12px;
  min-height: 44px;
  font-size: 16px;
  background: #fff;
}
.aibc-field textarea { resize: vertical; min-height: 120px; }
.aibc-field small { color:#6b7280; font-weight: 400; }
.radio-field {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
}
.radio-field legend { font-weight: 700; padding: 0 6px; }
.aibc-inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-weight: 500;
}
.check-only {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
}
.check-only span { min-width: 80px; }
.check-only input { margin-top: 4px; }
.check-only b { font-weight: 500; }
.aibc-photo-preview {
  width: 96px;
  height: 128px;
  object-fit: cover;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  padding: 3px;
}
.aibc-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #e5e7eb;
  padding-top: 22px;
  margin-top: 28px;
}
.aibc-actions button {
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  font-weight: 800;
  font-size: 15px;
}
.aibc-actions .primary { background:#111827; color:#fff; }
.aibc-actions .secondary { background:#e5e7eb; color:#111827; }
.aibc-actions .aibc-prev,
.aibc-actions .aibc-next { background:#f3f4f6; color:#374151; }
@media (max-width: 860px) {
  .aibc-step-nav { grid-template-columns: 1fr; }
  .aibc-grid.two,
  .aibc-grid.three,
  .aibc-grid.four,
  .aibc-grid.five { grid-template-columns: 1fr; }
  .aibc-entry-form { padding: 18px; }
  .aibc-actions { justify-content: stretch; }
  .aibc-actions button { width: 100%; }
}
