.gpt5-fsc-wrap {
  max-width: 680px;
  margin: 24px auto;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  font-family: inherit;
}

.gpt5-fsc-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gpt5-fsc-field {
  display: flex;
  flex-direction: column;
}

.gpt5-fsc-field label {
  font-weight: 600;
  margin-bottom: 6px;
}

.gpt5-fsc-field input {
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}

.gpt5-fsc-actions {
  grid-column: 1 / -1;
  text-align: left;
  margin-top: 8px;
}

.gpt5-fsc-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}
.gpt5-fsc-btn:hover { background: #1d4ed8; }

.gpt5-fsc-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.gpt5-fsc-modal.is-open {
  display: flex;
}

.gpt5-fsc-modal__content {
  width: min(680px, 92vw);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.2);
  overflow: hidden;
}

.gpt5-fsc-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}

.gpt5-fsc-modal__header h3 {
  margin: 0;
  font-size: 16px;
}

.gpt5-fsc-modal__close {
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.gpt5-fsc-modal__body {
  padding: 16px;
}

.gpt5-fsc-result {
  margin-bottom: 8px;
}

.gpt5-fsc-warning {
  background: #fff4e5;
  color: #8a5a00;
  border: 1px solid #ffd8a8;
  padding: 10px;
  border-radius: 6px;
  margin-top: 12px;
}

.gpt5-fsc-loss {
  background: #ffe5e5;
  color: #7a0000;
  border: 1px solid #ffb3b3;
  padding: 10px;
  border-radius: 6px;
  margin-top: 12px;
}

.gpt5-fsc-results__list ul {
  margin: 8px 18px;
}