/* ============================================================
   TradeRail Field Portal -- Tenant Readiness Engine (PR367)
   Setup Readiness widget + checklist + Go Live gate styles.
   Brand: accent #FF6B00, ink #1A1A2E. No emoji.
   ============================================================ */

.pr367-widget {
  border: 1px solid rgba(26, 26, 46, 0.12);
  border-radius: 12px;
  padding: 16px 18px;
  background: #ffffff;
  color: #1A1A2E;
  font-family: 'Barlow', system-ui, sans-serif;
  max-width: 420px;
}

.pr367-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pr367-widget-title {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 15px;
  color: #1A1A2E;
}

.pr367-score-ring {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 107, 0, 0.08);
  border: 2px solid #FF6B00;
}

.pr367-score-value {
  font-size: 28px;
  font-weight: 700;
  color: #FF6B00;
  line-height: 1;
}

.pr367-score-max {
  font-size: 13px;
  color: rgba(26, 26, 46, 0.6);
}

.pr367-score-caption {
  margin: 10px 0 14px;
  font-size: 13px;
  color: rgba(26, 26, 46, 0.75);
}

.pr367-checklist {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.pr367-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(26, 26, 46, 0.06);
  font-size: 14px;
}

.pr367-item-status {
  font-family: 'Barlow', monospace;
  color: rgba(26, 26, 46, 0.6);
}

.pr367-item.is-done .pr367-item-label {
  text-decoration: line-through;
  color: rgba(26, 26, 46, 0.45);
}

.pr367-item-label {
  flex: 1;
}

.pr367-item-action,
.pr367-item-dismiss {
  font-size: 12px;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  border: 1px solid transparent;
}

.pr367-item-action {
  background: #FF6B00;
  color: #ffffff;
  text-decoration: none;
}

.pr367-item-dismiss {
  background: transparent;
  color: rgba(26, 26, 46, 0.6);
  border-color: rgba(26, 26, 46, 0.2);
}

.pr367-golive {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.pr367-golive-btn,
.pr367-golive-confirm,
.pr367-golive-cancel {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  border: none;
}

.pr367-golive-btn,
.pr367-golive-confirm {
  background: #FF6B00;
  color: #ffffff;
}

.pr367-golive-btn[disabled] {
  background: rgba(26, 26, 46, 0.15);
  color: rgba(26, 26, 46, 0.5);
  cursor: not-allowed;
}

.pr367-golive-cancel {
  background: transparent;
  color: #1A1A2E;
  border: 1px solid rgba(26, 26, 46, 0.25);
}

.pr367-golive.is-live {
  background: rgba(26, 26, 46, 0.06);
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  color: #1A1A2E;
}

.pr367-golive-hint,
.pr367-threshold-note {
  font-size: 12px;
  color: rgba(26, 26, 46, 0.6);
  margin: 6px 0 0;
}
