.scp-calendar-wrap {
  max-width: 1100px;
  margin: 24px auto;
  background: #fff;
}
#scp-calendar {
  font-size: 14px;
}
#scp-calendar .fc-daygrid-day-events {
  min-height: 2em;
}
#scp-calendar .fc-daygrid-event {
  white-space: normal;
  line-height: 1.25;
  padding: 2px 4px;
}
.scp-form {
  max-width: 760px;
  margin: 24px auto;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
}
.scp-form label {
  display: block;
  font-weight: 600;
  margin: 0 0 16px;
}
.scp-form span {
  color: #dc2626;
}
.scp-form input,
.scp-form textarea,
.scp-form select {
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
}
.scp-checkbox {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.scp-checkbox input {
  width: auto;
  margin: 0;
}
.scp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.scp-button {
  display: inline-block;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  background: #2563eb;
  color: #fff !important;
  text-decoration: none;
  cursor: pointer;
}
.scp-danger {
  background: #dc2626;
}
.scp-notice,
.scp-error {
  max-width: 760px;
  margin: 16px auto;
  padding: 12px 14px;
  border-radius: 10px;
}
.scp-notice {
  background: #ecfdf5;
  border: 1px solid #10b981;
}
.scp-error {
  background: #fef2f2;
  border: 1px solid #ef4444;
}
.scp-modal {
  display: none;
  position: fixed;
  z-index: 999999;
  inset: 0;
  background: rgba(0,0,0,.45);
  padding: 24px;
}
.scp-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.scp-modal-box {
  position: relative;
  width: min(720px, 96vw);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.scp-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}
.scp-detail-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}
.scp-detail-description {
  margin: 16px 0;
  padding: 14px;
  background: #f9fafb;
  border-radius: 12px;
}
.scp-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
@media (max-width: 640px) {
  .scp-grid,
  .scp-detail-row {
    grid-template-columns: 1fr;
  }
  .scp-form {
    padding: 16px;
  }
}
