.jc-wrap { margin: 18px 0; }
.jc-card {
  border: 1px solid #e7e7ea;
  border-radius: 14px;
  padding: 16px;
  background: #fff;
}
.jc-header { margin-bottom: 12px; }
.jc-title { font-size: 18px; font-weight: 700; }
.jc-title2 { font-size: 16px; font-weight: 700; }
.jc-sub { font-size: 13px; color: #6b7280; margin-top: 4px; }
.jc-req { color: #ef4444; }

.jc-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.jc-grid-2 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .jc-grid-2 { grid-template-columns: 1fr 1fr; } }

.jc-field { display: flex; flex-direction: column; gap: 8px; }
.jc-label { font-size: 13px; font-weight: 600; color: #111827; }
.jc-input, .jc-select {
  height: 42px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 0 12px;
  outline: none;
}
.jc-input:focus, .jc-select:focus { border-color: #111827; }

.jc-radio, .jc-check { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; }
.jc-radio input, .jc-check input { margin-right: 6px; }

.jc-inline { margin-top: 6px; }
.jc-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.jc-switch input { transform: translateY(1px); }

.jc-divider { border-top: 1px solid #eef2f7; margin: 14px 0; }
.jc-hide { display: none !important; }

.jc-player-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.jc-pill {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
}

.jc-accordion {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 10px;
}
.jc-acc-head {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px;
  background: #f9fafb;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}
.jc-acc-body { padding: 14px; background: #fff; }
.jc-acc-status {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-weight: 600;
}
.jc-acc-status[data-status="complete"] {
  border-color: #10b981;
  color: #065f46;
  background: #ecfdf5;
}
.jc-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.jc-note {
  font-size: 13px;
  color: #6b7280;
  padding: 12px 0;
}
.jc-row { margin-bottom: 10px; }
.jc-mt { margin-top: 10px; }


.jc-actions { margin-top: 12px; display: flex; justify-content: flex-end; }
.jc-actions .button { border-radius: 10px; }

.jc-total { margin-top: 8px; font-size: 13px; color: #111827; font-weight: 600; }

.jc-quote { margin-top: 14px; }
.jc-quote-inner {
  border: 1px dashed #d1d5db;
  border-radius: 14px;
  padding: 14px;
  background: #fafafa;
}
.jc-quote-title { font-weight: 800; font-size: 14px; }
.jc-quote-text { margin-top: 6px; font-size: 13px; color: #4b5563; }
.jc-quote-btn { margin-top: 10px; }

.jc-warning{
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #fca5a5;
  background: #fef2f2;
  color: #991b1b;
  font-size: 13px;
  font-weight: 600;
}


/* Preview */
.jc-preview {
  margin-top: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  padding: 12px;
}
.jc-preview-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px;
}
.jc-preview-head {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
.jc-preview-kv {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.jc-preview-body {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 10px;
  padding: 10px;
  max-height: 260px;
  overflow: auto;
}
.jc-preview-line {
  padding: 8px 6px;
  border-bottom: 1px dashed #eef2f7;
  font-size: 13px;
}
.jc-preview-line:last-child { border-bottom: 0; }

.jc-disabled { opacity: 0.55; }

/* Quote Modal */
body.jc-modal-open { overflow: hidden; }
.jc-modal { position: fixed; inset: 0; z-index: 99999; }
.jc-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(17, 24, 39, 0.55);
}
.jc-modal-card {
  position: relative;
  width: min(560px, calc(100vw - 28px));
  margin: 7vh auto 0;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 55px rgba(0,0,0,0.20);
  padding: 14px 14px 12px;
}
.jc-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef2f7;
}
.jc-modal-title { font-size: 16px; font-weight: 800; }
.jc-modal-x {
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.jc-modal-intro { margin: 10px 0 0; font-size: 13px; color: #4b5563; }
.jc-modal-form { margin-top: 12px; }
.jc-modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 10px; }
.jc-modal-msg { margin-top: 10px; padding: 10px 12px; border-radius: 12px; font-size: 13px; }
.jc-msg-error { border: 1px solid #fca5a5; background: #fef2f2; color: #991b1b; }
.jc-msg-success { border: 1px solid #86efac; background: #f0fdf4; color: #166534; }
