/* Shared Copy Prompt / Full Report choice card + report output */
.prompt-choice-card,
.sac-choice-card {
  background: #FFFFFF; border-radius: 16px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.2);
  padding: 24px 26px 26px; margin-top: 20px;
}
.prompt-choice-title,
.sac-choice-title {
  font-size: 22px; font-weight: 700; color: #12263A; margin: 0 0 18px;
  text-align: center;
}
.prompt-choice-promo,
.sac-choice-promo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-bottom: 20px;
}
@media (max-width: 620px) {
  .prompt-choice-promo, .sac-choice-promo { grid-template-columns: 1fr; }
}
.promo-panel {
  border-radius: 14px; padding: 18px 18px 16px;
  border: 1.5px solid #E2EBEE;
  background: linear-gradient(165deg, #FAFCFD 0%, #F4F8F9 100%);
}
.promo-panel--report {
  border-color: rgba(224, 123, 57, 0.35);
  background: linear-gradient(165deg, #FFFAF6 0%, #FFF5EC 100%);
}
.promo-panel--copy {
  border-color: rgba(2, 128, 144, 0.3);
  background: linear-gradient(165deg, #F6FCFD 0%, #EDF7F8 100%);
}
.promo-panel-icon { font-size: 28px; line-height: 1; margin-bottom: 10px; }
.promo-panel h4 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: #12263A; }
.promo-panel p { margin: 0; font-size: 14px; line-height: 1.55; color: #4A6572; }
.promo-panel p + p { margin-top: 8px; }
.promo-panel-tag {
  display: inline-block; margin-top: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.promo-panel--copy .promo-panel-tag { background: rgba(2, 128, 144, 0.12); color: #01525C; }
.promo-panel--report .promo-panel-tag { background: rgba(224, 123, 57, 0.15); color: #9A4E12; }
.promo-credit-line { font-size: 13px; font-weight: 600; color: #9A4E12 !important; margin-top: 10px !important; }
.prompt-choice-actions,
.sac-choice-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (max-width: 560px) {
  .prompt-choice-actions, .sac-choice-actions { grid-template-columns: 1fr; }
}
.btn-choice-copy {
  padding: 14px 16px; background: #028090; color: #fff;
  border: none; border-radius: 12px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background 0.2s;
}
.btn-choice-copy:hover { background: #01525C; }
.btn-choice-copy.copied { background: #1E7A44; }
.btn-choice-report {
  padding: 14px 16px; background: #E07B39; color: #fff;
  border: none; border-radius: 12px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background 0.2s;
}
.btn-choice-report:hover:not(:disabled) { background: #c4682a; }
.btn-choice-report:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-choice-report-hint { display: block; font-size: 12px; font-weight: 500; opacity: 0.9; margin-top: 4px; }

.btn-build:disabled, .btn-build.busy { opacity: 0.82; cursor: wait; }
.btn-build.busy::before {
  content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 8px;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%;
  animation: sacSpin .7s linear infinite; vertical-align: -2px;
}

.sac-thinking-row {
  display: none; align-items: center; gap: 14px;
  padding: 20px 0; color: rgba(255,255,255,.85); font-size: 17px;
}
.sac-thinking-row.active { display: flex; }
.sac-thinking-spin {
  width: 32px; height: 32px; border: 3px solid rgba(255,255,255,.2);
  border-top-color: #2A9D8F; border-radius: 50%;
  animation: sacSpin .7s linear infinite; flex-shrink: 0;
}
@keyframes sacSpin { to { transform: rotate(360deg); } }

.sac-response-card {
  display: none; background: #fff; border-radius: 12px;
  margin-top: 16px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.15);
}
.sac-response-card.active { display: block; }
.sac-response-area { padding: 0; }

.sac-choice-root + .btn-clear {
  display: block;
  width: 100%;
  margin-top: 12px;
}

.report-wrap { background: #fff; border-radius: 12px; overflow: hidden; }
.report-mini-header {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 16px; background: linear-gradient(90deg, #0F395D, #01525C);
  color: #fff; font-size: 14px;
}
.report-mini-logo { height: 28px; width: auto; }
.report-summary {
  padding: 16px 18px 14px; background: linear-gradient(180deg, #F4F8F9 0%, #fff 100%);
  border-bottom: 2px solid #E2EBEE;
}
.report-brand-name { font-size: 22px; font-weight: 700; color: #1B3A6B; }
.report-summary-title { font-size: 20px; color: #1B3A6B; margin: 0 0 10px; font-weight: 700; }
.report-highlights { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 10px; }
.report-hi { padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(2, 125, 143, 0.25); }
.report-hi-location { background: rgba(42, 157, 143, 0.14); }
.report-hi-date { background: rgba(233, 196, 106, 0.28); }
.report-hi-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; color: #5a6a72; }
.report-hi-value { display: block; font-size: 16px; font-weight: 700; color: #1B3A6B; }
.report-details { font-size: 14px; color: #3d4f56; border-top: 1px solid #E2EBEE; padding-top: 10px; }
.report-detail-row { margin-bottom: 4px; }
.report-detail-row span { font-weight: 600; color: #1B3A6B; }
.resp-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 14px 18px 8px; }
.resp-header h3 { margin: 0; font-size: 18px; color: #1B3A6B; }
.resp-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.resp-actions button {
  padding: 8px 14px; border-radius: 8px; border: 1px solid #d0dce8;
  background: #f4f8f9; font-size: 14px; font-weight: 600; cursor: pointer; color: #1B3A6B;
}
.report-body { padding: 12px 18px 18px; font-size: 15px; line-height: 1.5; color: #2d3f48; }
.report-body h2 { background: rgba(42, 157, 143, 0.11); border-left: 5px solid #2A9D8F; padding: 0.2em 0.5em; border-radius: 0 8px 8px 0; }
.ai-response-error { color: #c53030; padding: 16px 18px; }
