* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background: #0d1117;
  color: #e6edf3;
}

button,
input,
textarea,
select {
  font: inherit;
}

.layout {
  min-height: 100vh;
  display: flex;
}

/* Sidebar */

.sidebar {
  width: 290px;
  min-height: 100vh;
  padding: 26px 18px;

  background: #161b22;
  border-right: 1px solid #30363d;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
}

.sidebar-subtitle {
  margin-top: 5px;
  margin-bottom: 25px;

  color: #8b949e;
  font-size: 13px;
}

.games-title {
  margin-top: 30px;
  margin-bottom: 10px;

  color: #8b949e;
  font-size: 11px;
  font-weight: 700;

  letter-spacing: 1.5px;
}

.game-item {
  padding: 13px 14px;
  margin-bottom: 6px;

  border-radius: 9px;
  cursor: pointer;

  transition: 0.15s;
}

.game-item:hover {
  background: #21262d;
}

.game-item.active {
  background: #30363d;
}

.game-item-name {
  font-weight: 600;
}

.game-item-meta {
  margin-top: 4px;
  font-size: 12px;
  color: #8b949e;
}

/* Main */

.main {
  flex: 1;
  padding: 40px;
}

.empty-state {
  margin-top: 180px;
  text-align: center;
  color: #8b949e;
}

.empty-state h1 {
  color: #e6edf3;
}

.hidden {
  display: none !important;
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 30px;
}

.game-header h1 {
  margin: 0 0 8px;
}

.status {
  color: #8b949e;
}

/* Sections */

.section {
  margin-bottom: 34px;
}

.section h2 {
  font-size: 17px;
  margin-bottom: 15px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Cards */

.cards {
  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));

  gap: 12px;
}

.card,
.config-card,
.optimization-card {
  background: #161b22;

  border: 1px solid #30363d;

  border-radius: 12px;

  padding: 18px;
}

.platform {
  font-size: 12px;
  color: #58a6ff;

  font-weight: 700;
}

.package {
  margin-top: 7px;

  font-family: monospace;

  color: #c9d1d9;
}

.optimization-state {
  color: #8b949e;

  font-size: 14px;
  font-weight: 800;

  margin-bottom: 6px;
}

/* Config */

.config-card {
  margin-bottom: 10px;

  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.config-title {
  font-weight: 700;
}

.config-key {
  margin-top: 3px;

  color: #8b949e;

  font-family: monospace;

  font-size: 12px;
}

.config-description {
  margin-top: 10px;

  color: #8b949e;

  font-size: 13px;
}

.config-values {
  display: flex;
  gap: 15px;

  margin-top: 10px;

  font-size: 13px;
}

.config-value {
  color: #79c0ff;
}

.config-disabled {
  opacity: 0.45;
}

.config-actions {
  min-width: 120px;
  text-align: right;
}

/* Buttons */

.primary-button,
.secondary-button,
.danger-button {
  border: 0;

  padding: 10px 15px;

  border-radius: 8px;

  cursor: pointer;

  font-weight: 600;
}

.primary-button {
  background: #238636;
  color: white;
}

.primary-button:hover {
  background: #2ea043;
}

.secondary-button {
  background: #21262d;

  color: #e6edf3;

  border: 1px solid #30363d;
}

.secondary-button:hover:not(:disabled) {
  background: #30363d;
}

.secondary-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.danger-button {
  background: #21262d;
  color: #f85149;

  border: 1px solid #30363d;
}

.full {
  width: 100%;
}

/* Modal */

.modal {
  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.75);

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 20px;

  z-index: 100;
}

.modal-card {
  width: 520px;
  max-width: 100%;

  background: #161b22;

  border: 1px solid #30363d;

  border-radius: 14px;

  padding: 24px;
}

.modal-header {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-bottom: 20px;
}

.modal-header h2 {
  margin: 0;
}

.close {
  background: transparent;
  border: none;

  color: #8b949e;

  font-size: 28px;

  cursor: pointer;
}

label {
  display: block;

  margin-top: 14px;
  margin-bottom: 6px;

  color: #8b949e;

  font-size: 13px;
}

input,
textarea,
select {
  width: 100%;

  background: #0d1117;

  border: 1px solid #30363d;

  color: #e6edf3;

  border-radius: 8px;

  padding: 10px 12px;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

.row {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 10px;
}

.error {
  margin: 12px 0;

  min-height: 18px;

  color: #f85149;

  font-size: 13px;
}

.muted {
  color: #8b949e;
  margin-bottom: 15px;
}

@media (max-width: 800px) {
  .sidebar {
    width: 220px;
  }

  .main {
    padding: 25px;
  }
}

/* ============================================================
   Experiment Wizard
   ============================================================ */

.modal-large {
  width: 850px;
  max-height: 90vh;
  overflow-y: auto;
}

.wizard-section {
  display: flex;
  gap: 18px;

  padding: 22px 0;

  border-bottom: 1px solid #30363d;
}

.wizard-number {
  width: 34px;
  height: 34px;

  min-width: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #21262d;

  color: #58a6ff;

  font-weight: 800;
}

.wizard-content {
  flex: 1;
}

.wizard-content h3 {
  margin: 4px 0 16px;
}

.info-box {
  margin-top: 12px;

  padding: 14px;

  background: #0d1117;

  border: 1px solid #30363d;

  border-radius: 9px;

  display: flex;
  gap: 20px;
  flex-wrap: wrap;

  color: #8b949e;

  font-size: 13px;
}

.value-pill {
  display: inline-block;

  padding: 3px 8px;

  border-radius: 6px;

  margin-left: 6px;

  background: #21262d;

  color: #79c0ff;

  font-family: monospace;
}

.control-pill {
  background: rgba(35, 134, 54, 0.2);
  color: #3fb950;
}

.platform-target {
  padding: 15px;

  margin-bottom: 10px;

  border: 1px solid #30363d;

  border-radius: 10px;

  background: #0d1117;
}

.checkbox-line,
.radio-line {
  display: flex;

  align-items: flex-start;

  gap: 10px;

  cursor: pointer;

  margin-bottom: 12px;
}

.checkbox-line input,
.radio-line input {
  width: auto;

  margin-top: 4px;
}

.checkbox-line span,
.radio-line span {
  display: flex;

  flex-direction: column;

  gap: 3px;
}

.checkbox-line small,
.radio-line small {
  color: #8b949e;
}

.target-version {
  display: grid;

  grid-template-columns: 180px 1fr 1fr;

  gap: 8px;

  margin-top: 10px;
}

.input-with-unit {
  display: flex;

  align-items: center;

  gap: 10px;
}

.input-with-unit input {
  width: 120px;
}

.input-with-unit span {
  color: #8b949e;

  font-size: 13px;
}

.small-input {
  margin-top: 10px;
}

.control-preview {
  padding: 13px;

  margin-bottom: 15px;

  border-radius: 9px;

  border: 1px solid #238636;

  background: rgba(35, 134, 54, 0.08);

  display: flex;

  align-items: center;

  gap: 10px;
}

.control-preview small {
  margin-left: auto;

  color: #8b949e;
}

.field-help {
  margin-top: 6px;

  color: #8b949e;

  font-size: 12px;
}

.modal-actions {
  display: flex;

  justify-content: flex-end;

  gap: 10px;

  margin-top: 20px;
}

/* ============================================================
   Experiment
   ============================================================ */

.experiment-row {
  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 14px 16px;

  margin-bottom: 8px;

  background: #161b22;

  border: 1px solid #30363d;

  border-radius: 9px;

  cursor: pointer;
}

.experiment-row:hover {
  background: #21262d;
}

.experiment-status {
  padding: 5px 9px;

  border-radius: 6px;

  font-size: 11px;

  font-weight: 800;
}

.status-draft {
  background: #30363d;
  color: #c9d1d9;
}

.status-exploring {
  background: rgba(46, 160, 67, 0.18);
  color: #3fb950;
}

.status-refining {
  background: rgba(88, 166, 255, 0.18);
  color: #58a6ff;
}

.status-confirming {
  background: rgba(210, 153, 34, 0.18);
  color: #d29922;
}

.status-optimized {
  background: rgba(163, 113, 247, 0.18);
  color: #a371f7;
}

.status-cancelled {
  background: rgba(248, 81, 73, 0.12);
  color: #f85149;
}

.active-state {
  color: #3fb950;
}

.optimization-title {
  font-size: 18px;

  font-weight: 700;

  margin-bottom: 16px;
}

.optimization-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 10px;

  margin-bottom: 16px;
}

.optimization-grid div {
  background: #0d1117;

  border-radius: 8px;

  padding: 11px;
}

.optimization-grid small {
  display: block;

  color: #8b949e;

  margin-bottom: 4px;
}

.optimization-grid strong {
  font-size: 13px;
}

/* ============================================================
   Review
   ============================================================ */

.review-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 10px;

  margin: 20px 0;
}

.review-card {
  background: #0d1117;

  border: 1px solid #30363d;

  border-radius: 9px;

  padding: 13px;

  display: flex;

  flex-direction: column;

  gap: 5px;
}

.review-card small {
  color: #8b949e;
}

.review-card span {
  color: #8b949e;

  font-size: 12px;
}

.review-targets {
  display: flex;

  gap: 8px;

  margin-bottom: 20px;
}

.review-target {
  padding: 10px 13px;

  background: #0d1117;

  border: 1px solid #30363d;

  border-radius: 8px;
}

.arm-list {
  margin-bottom: 20px;
}

.arm-row {
  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 11px 13px;

  margin-bottom: 7px;

  background: #0d1117;

  border: 1px solid #30363d;

  border-radius: 8px;
}

.control-badge,
.candidate-badge {
  display: inline-block;

  margin-right: 10px;

  padding: 3px 7px;

  border-radius: 5px;

  font-size: 10px;

  font-weight: 800;
}

.control-badge {
  background: rgba(46, 160, 67, 0.18);
  color: #3fb950;
}

.candidate-badge {
  background: rgba(88, 166, 255, 0.15);
  color: #58a6ff;
}

.guardrail-row {
  display: flex;

  justify-content: space-between;

  padding: 11px 13px;

  margin-bottom: 8px;

  background: #0d1117;

  border: 1px solid #30363d;

  border-radius: 8px;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  .optimization-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .target-version {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   AI Candidate Planner
   ============================================================ */

.ai-planner {
  margin-top: 25px;

  padding-top: 22px;

  border-top: 1px solid #30363d;
}

.ai-planner-header {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.ai-planner-header h3 {
  margin-bottom: 5px;
}

.ai-status {
  margin: 12px 0;

  color: #8b949e;

  font-size: 13px;
}

.ai-suggestion-list {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 10px;

  margin-bottom: 14px;
}

.ai-suggestion-card {
  display: flex;

  gap: 11px;

  padding: 14px;

  margin: 0;

  background: #0d1117;

  border: 1px solid #30363d;

  border-radius: 10px;

  cursor: pointer;
}

.ai-suggestion-card:hover {
  border-color: #58a6ff;
}

.ai-suggestion-card input {
  width: auto;

  margin-top: 5px;
}

.ai-suggestion-content {
  flex: 1;
}

.ai-suggestion-top {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 10px;
}

.ai-value {
  font-family: monospace;

  font-size: 17px;

  color: #79c0ff;
}

.ai-rationale {
  margin-top: 8px;

  color: #8b949e;

  font-size: 12px;

  line-height: 1.5;
}

.risk-badge {
  padding: 3px 7px;

  border-radius: 5px;

  font-size: 10px;

  font-weight: 800;
}

.risk-low {
  background: rgba(46, 160, 67, 0.18);

  color: #3fb950;
}

.risk-medium {
  background: rgba(210, 153, 34, 0.18);

  color: #d29922;
}

.risk-high {
  background: rgba(248, 81, 73, 0.18);

  color: #f85149;
}

@media (max-width: 800px) {
  .ai-suggestion-list {
    grid-template-columns: 1fr;
  }
}

.candidate-mode {
  margin: 15px 0;
}

.ai-run-summary {
  display: flex;

  align-items: center;

  gap: 12px;

  flex-wrap: wrap;

  margin: 10px 0 15px;

  font-size: 12px;

  color: #8b949e;
}

.ai-route-badge {
  padding: 4px 8px;

  border-radius: 6px;

  background: rgba(88, 166, 255, 0.16);

  color: #58a6ff;

  font-weight: 800;
}

.ai-route-badge.deep {
  background: rgba(163, 113, 247, 0.18);

  color: #a371f7;
}

.ai-working-status {
  margin: 12px 0;

  padding: 12px 14px;

  border: 1px solid #30363d;

  border-radius: 9px;

  background: #0d1117;
}

.ai-working-title {
  display: flex;

  align-items: center;

  gap: 8px;

  font-weight: 700;

  color: #58a6ff;
}

.ai-working-message {
  margin-top: 7px;

  color: #c9d1d9;

  font-size: 13px;
}

.ai-working-worker {
  margin-top: 6px;

  color: #8b949e;

  font-size: 11px;
}

.ai-spinner {
  width: 14px;
  height: 14px;

  display: inline-block;

  border: 2px solid #30363d;

  border-top-color: #58a6ff;

  border-radius: 50%;

  animation: ai-spin 0.8s linear infinite;
}

@keyframes ai-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   V0.4E — EARLY LAUNCH DIAGNOSTIC
   ============================================================ */

.launch-diagnostic-section {
  margin-top: 24px;
}

.launch-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 22px;
}

.launch-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}

.launch-title-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.launch-title-line h3 {
  margin: 0;
}

.launch-subtitle {
  opacity: 0.65;
  margin-top: 5px;
  font-size: 13px;
}

.launch-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.launch-status,
.launch-severity {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
}

.launch-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.launch-metric {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
}

.launch-metric span {
  display: block;
  opacity: 0.65;
  font-size: 12px;
  margin-bottom: 7px;
}

.launch-metric strong {
  display: block;
  font-size: 20px;
}

.launch-metric small {
  opacity: 0.6;
}

.launch-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.launch-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.launch-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
}

.launch-panel h4 {
  margin-top: 0;
}

.launch-ai-working-title {
  display: flex;
  align-items: center;
  gap: 9px;
}

.launch-ai-working-title span:last-child {
  margin-left: auto;
}

.launch-ai-progress-track,
.launch-funnel-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.launch-ai-progress-track {
  margin: 12px 0;
}

.launch-ai-progress-fill,
.launch-funnel-fill {
  height: 100%;
  background: currentColor;
  border-radius: 999px;
}

.launch-ai-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: launch-spin 0.8s linear infinite;
}

@keyframes launch-spin {
  to {
    transform: rotate(360deg);
  }
}

.launch-health {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.launch-health-score {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.launch-health-label,
.launch-confidence,
.launch-model-mode {
  opacity: 0.7;
  margin-top: 6px;
}

.launch-summary {
  margin-top: 16px;
  line-height: 1.5;
}

.launch-finding {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 14px 0;
}

.launch-finding:first-of-type {
  border-top: 0;
}

.launch-finding-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.launch-finding-severity {
  font-size: 10px;
  font-weight: 700;
}

.launch-finding-description {
  margin-top: 7px;
  opacity: 0.8;
  line-height: 1.45;
}

.launch-evidence {
  margin-top: 10px;
}

.launch-evidence-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  padding: 6px 0;
  font-size: 12px;
}

.launch-funnel-row {
  display: grid;
  grid-template-columns: 65px 1fr 55px 55px;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 12px;
}

.launch-actions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.launch-action-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
}

.launch-action-priority {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.launch-action-item p {
  margin: 5px 0;
  opacity: 0.75;
}

.launch-dont-change {
  border-style: dashed;
}

.launch-dont-item {
  margin: 8px 0;
  line-height: 1.4;
}

.launch-empty,
.launch-empty-large {
  opacity: 0.65;
}

.launch-empty-large {
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.launch-severity-critical {
  background: rgba(255, 255, 255, 0.13);
}

.launch-severity-warning {
  background: rgba(255, 255, 255, 0.11);
}

.launch-severity-watch {
  background: rgba(255, 255, 255, 0.09);
}

.launch-severity-healthy {
  background: rgba(255, 255, 255, 0.07);
}

@media (max-width: 900px) {
  .launch-main-grid {
    grid-template-columns: 1fr;
  }

  .launch-header {
    flex-direction: column;
  }
}

/* ============================================================
   V0.4F-B — AUTO MONITORING
   ============================================================ */

.launch-monitoring-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  margin-bottom: 18px;

  padding: 14px 16px;

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.025);
}

.launch-monitoring-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.launch-monitoring-dot {
  width: 10px;
  height: 10px;

  flex: 0 0 auto;

  border-radius: 50%;

  background: currentColor;

  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);

  animation: launch-monitor-pulse 2s ease-in-out infinite;
}

@keyframes launch-monitor-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

.launch-monitoring-subtitle {
  margin-top: 4px;

  font-size: 12px;

  opacity: 0.65;
}

.launch-monitoring-stats {
  display: flex;
  gap: 24px;
}

.launch-monitoring-stats > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.launch-monitoring-stats span {
  font-size: 11px;
  opacity: 0.55;
}

.launch-monitoring-stats strong {
  font-size: 13px;
}

@media (max-width: 760px) {
  .launch-monitoring-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .launch-monitoring-stats {
    width: 100%;
  }
}
/* ============================================================
   V0.4F-C — HEALTH TREND & HISTORY
   ============================================================ */

.launch-history-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.launch-report-history-panel {
  margin-top: 16px;
}

.launch-trend-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.launch-trend-status {
  margin-top: 5px;
  font-size: 12px;
  opacity: 0.75;
}

.launch-trend-current {
  text-align: right;
  font-size: 11px;
  opacity: 0.65;
}

.launch-trend-current strong {
  display: block;
  font-size: 24px;
  opacity: 1;
}

.launch-health-chart {
  width: 100%;
  height: 180px;
  overflow: visible;
}

.launch-chart-grid {
  stroke: currentColor;
  opacity: 0.08;
  stroke-width: 1;
}

.launch-chart-line {
  stroke: currentColor;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.launch-chart-point {
  fill: currentColor;
}

.launch-health-history-values {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 5px;
  font-size: 11px;
  opacity: 0.65;
}

.launch-report-history-row {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.launch-report-history-row:first-child {
  border-top: 0;
}

.launch-history-score {
  font-size: 28px;
  font-weight: 800;
}

.launch-history-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.launch-history-summary {
  margin-top: 7px;
  line-height: 1.4;
  opacity: 0.8;
}

.launch-history-meta {
  margin-top: 7px;
  font-size: 11px;
  opacity: 0.55;
}

.launch-model-runs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.launch-model-run {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
}

.launch-model-run > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.launch-model-run-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 7px;
  font-size: 11px;
  opacity: 0.65;
}

@media (max-width: 900px) {
  .launch-history-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   V0.4G-B — LAUNCH DECISION
   ============================================================ */

.launch-decision-card {
  margin-bottom: 20px;

  padding: 18px;

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 16px;

  background: rgba(255, 255, 255, 0.025);
}

.launch-decision-header {
  display: flex;

  justify-content: space-between;

  align-items: flex-start;

  gap: 24px;
}

.launch-decision-eyebrow {
  margin-bottom: 5px;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  opacity: 0.55;
}

.launch-decision-card h3 {
  margin: 0;
}

.launch-decision-description {
  max-width: 680px;

  margin-top: 7px;

  line-height: 1.45;

  font-size: 13px;

  opacity: 0.72;
}

.launch-readiness {
  min-width: 130px;

  text-align: right;
}

.launch-readiness-score {
  font-size: 38px;

  line-height: 1;

  font-weight: 800;
}

.launch-readiness-label {
  margin-top: 4px;

  font-size: 11px;

  opacity: 0.6;
}

.launch-readiness-confidence {
  margin-top: 5px;

  font-size: 11px;

  opacity: 0.6;
}

.launch-readiness-track {
  width: 100%;

  height: 8px;

  margin-top: 16px;

  border-radius: 999px;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.08);
}

.launch-readiness-fill {
  height: 100%;

  border-radius: 999px;

  background: currentColor;

  transition: width 0.35s ease;
}

.launch-decision-reasons {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

  gap: 8px 18px;

  margin-top: 16px;
}

.launch-decision-reason {
  font-size: 12px;

  line-height: 1.4;
}

.launch-decision-blockers {
  margin-top: 16px;
}

.launch-decision-blocker-title {
  margin-bottom: 8px;

  font-size: 11px;

  font-weight: 700;

  opacity: 0.55;
}

.launch-decision-blocker-list {
  display: flex;

  flex-wrap: wrap;

  gap: 7px;
}

.launch-decision-blocker-list span {
  padding: 5px 9px;

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 999px;

  font-size: 10px;

  font-weight: 700;
}

.launch-decision-footer {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 18px;

  margin-top: 18px;

  padding-top: 14px;

  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.launch-decision-safety {
  max-width: 620px;

  font-size: 11px;

  line-height: 1.4;

  opacity: 0.5;
}

@media (max-width: 700px) {
  .launch-decision-header {
    flex-direction: column;
  }

  .launch-readiness {
    text-align: left;
  }

  .launch-decision-footer {
    align-items: flex-start;

    flex-direction: column;
  }
}
