.uapply-review {
  --bg: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --accent: #0ea5e9;
  --bar: #e2e8f0;
  --ok: #22c55e;
  --warn: #f59e0b;

  background: var(--bg);
  color: var(--ink);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  max-width: 860px;
  box-shadow: 0 2px 10px rgba(2,6,23,0.04);
  margin: 16px auto;
  font: 500 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
}

.uapply-review__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}

.uapply-review h2 { margin: 0 0 4px; font-size: 1.25rem; }
.uapply-review__brand, .uapply-review__updated { margin: 0; color: var(--muted); font-size: 0.9rem; }

.uapply-review__score {
  text-align: right;
  display: grid;
  gap: 2px;
}
.uapply-review__score-value { font-size: 2rem; font-weight: 700; }
.uapply-review__stars { letter-spacing: 1px; }

.uapply-review__meta {
  display: grid;
  gap: 12px;
  padding: 12px 0;
}

.uapply-review__proscons {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 6px;
}
.uapply-review__proscons li { padding-left: 28px; position: relative; }
.uapply-review__proscons .pro::before {
  content: "✔"; position: absolute; left: 0; color: var(--ok);
}
.uapply-review__proscons .con::before {
  content: "⚠"; position: absolute; left: 0; color: var(--warn);
}

.uapply-review__cta { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
  display: inline-block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { filter: brightness(0.95); }
.btn-secondary { background: #f1f5f9; color: var(--ink); }
.btn-secondary:hover { background: #e2e8f0; }

.uapply-breakdown { display: grid; gap: 10px; margin-top: 6px; }
.uapply-row { display: grid; grid-template-columns: 1fr minmax(140px, 1fr) auto auto; gap: 8px; align-items: center; }
.uapply-row__label { font-size: 0.95rem; }
.uapply-row__bar { background: var(--bar); height: 10px; border-radius: 999px; overflow: hidden; }
.uapply-row__bar > span { display: block; height: 100%; width: 0%; background: var(--accent); transition: width 0.6s ease; }
.uapply-row__score, .uapply-row__weight { color: var(--muted); font-size: 0.9rem; }

.uapply-review__foot {
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  margin-top: 8px;
}
.uapply-method { color: var(--accent); text-decoration: none; }
.uapply-method:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .uapply-row { grid-template-columns: 1fr 1fr auto; grid-template-areas:
    "label label label" "bar bar score" "weight weight weight";
  }
  .uapply-row__label { grid-area: label; }
  .uapply-row__bar { grid-area: bar; }
  .uapply-row__score { grid-area: score; justify-self: end; }
  .uapply-row__weight { grid-area: weight; }
}