* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.5;
}
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 40px 0 36px;
  margin-bottom: 24px;
}
.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.16);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.pill.pro { background: #fef3c7; color: #92400e; }
h1 { font-size: 28px; margin-bottom: 8px; }
h2 { font-size: 18px; margin-bottom: 12px; }
h3 { font-size: 15px; margin-bottom: 6px; }
.subtitle { color: #cbd5e1; max-width: 720px; font-size: 15px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
@media (max-width: 820px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid label { display: flex; flex-direction: column; font-size: 12px; font-weight: 600; color: #334155; gap: 4px; }
.form-grid input, .form-grid select {
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
}
.full { grid-column: 1 / -1; }
.btn {
  border: none;
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.btn-primary { background: #2563eb; color: #ffffff; }
.btn-secondary { background: #e2e8f0; color: #0f172a; }
.btn-accent { background: #0f766e; color: #ffffff; }
.btn-ghost { background: transparent; color: #64748b; border: 1px solid #cbd5e1; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.muted { color: #64748b; font-size: 13px; margin-bottom: 12px; }
.upload-box { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.status { font-size: 13px; color: #1d4ed8; min-height: 20px; margin-bottom: 12px; }
.pro-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 14px;
  margin-top: 8px;
}
.pro-box p { font-size: 12px; color: #475569; margin-bottom: 10px; }
.summary-section { margin-bottom: 20px; }
.section-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.btn-row { display: flex; gap: 8px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
@media (max-width: 720px) { .kpi-grid { grid-template-columns: 1fr 1fr; } }
.kpi { background: #f1f5f9; border-radius: 8px; padding: 12px; }
.kpi span { display: block; font-size: 12px; color: #475569; }
.kpi strong { font-size: 18px; color: #0f172a; }
.recommendation { font-size: 13px; font-weight: 600; color: #0f766e; margin-bottom: 12px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { border-bottom: 1px solid #e2e8f0; padding: 8px; text-align: left; white-space: nowrap; }
th { background: #f8fafc; font-weight: 600; }
.empty { text-align: center; color: #64748b; padding: 18px; }
.affiliate-link { display: inline-block; margin-top: 10px; color: #2563eb; font-weight: 600; font-size: 13px; text-decoration: none; }
.footer { text-align: center; padding: 20px 0 36px; font-size: 12px; color: #64748b; }
