/* APEX TRADING UK - MACHINE-READABLE OCR STYLESHEET */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #000000;
  background: #ffffff;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}
.topbar {
  background: #065f46;
  color: #ffffff;
  padding: 8px 24px;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
}
header {
  background: #ffffff;
  border-bottom: 3px solid #065f46;
  padding: 14px 24px;
}
.h-wrap {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-badge {
  background: #065f46;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000000;
}
.brand-name {
  font-size: 22px;
  font-weight: 900;
  color: #065f46;
}
.brand-sub {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 8px;
}
.nav-btn {
  text-decoration: none;
  color: #000000;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 16px;
  border: 2px solid #065f46;
  background: #f0fdf4;
}
.nav-btn.active, .nav-btn:hover {
  background: #065f46;
  color: #ffffff;
}
.entity-card {
  font-size: 11px;
  font-weight: 700;
  color: #065f46;
  text-align: right;
  border-left: 2px solid #065f46;
  padding-left: 12px;
}
.main-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 24px;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.kpi-card {
  background: #ffffff;
  border: 2px solid #065f46;
  padding: 12px 16px;
  border-top: 6px solid #065f46;
}
.kpi-title { font-size: 11px; font-weight: 800; color: #475569; text-transform: uppercase; }
.kpi-val { font-size: 22px; font-weight: 900; color: #000000; margin: 4px 0; }
.kpi-sub { font-size: 11px; font-weight: 700; color: #059669; }

.section-title {
  font-size: 15px;
  font-weight: 900;
  color: #000000;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #000000;
  padding-bottom: 6px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-bottom: 24px;
}
.data-table th {
  background: #065f46;
  color: #ffffff;
  font-weight: 900;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid #000000;
  font-size: 11px;
  text-transform: uppercase;
}
.data-table td {
  padding: 9px 12px;
  border: 1px solid #94a3b8;
  font-weight: 700;
  color: #000000;
}
.data-table tr:nth-child(even) {
  background: #f0fdf4;
}
.thumb-img {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border: 1px solid #000000;
  display: block;
}
.pill-grade {
  background: #065f46;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 6px;
  border-radius: 2px;
  display: inline-block;
}
.pill-stock {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #16a34a;
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 900;
}
.review-slip {
  border: 2px solid #065f46;
  background: #ffffff;
  padding: 14px 18px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 260px 1fr 180px;
  gap: 16px;
  align-items: center;
}
.rev-name { font-size: 13px; font-weight: 900; color: #065f46; }
.rev-stars { color: #d97706; font-size: 13px; font-weight: 900; margin-bottom: 4px; }
.rev-text { font-size: 12px; font-weight: 700; color: #1e293b; line-height: 1.4; }
.rev-badge {
  background: #f0fdf4;
  border: 1px dashed #065f46;
  padding: 6px 10px;
  text-align: right;
  font-size: 10px;
  font-weight: 800;
  color: #065f46;
}
footer {
  background: #f0fdf4;
  border-top: 2px solid #065f46;
  padding: 18px 24px;
  margin-top: 40px;
  font-size: 11px;
  font-weight: 700;
  color: #065f46;
  text-align: center;
}
