/* Knightsbridge Luxury Vault UK - Commercial Audit & Machine-Readable Luxury Leather Register */
:root {
  --navy: #1e3a8a;
  --navy-dark: #0f172a;
  --blue-accent: #2563eb;
  --green-accent: #059669;
  --gold-accent: #b45309;
  --border-strong: #334155;
  --border-grid: #94a3b8;
  --bg-head: #f1f5f9;
  --bg-stripe: #f8fafc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #000000;
  background: #ffffff;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}

/* Header */
header {
  background: #ffffff;
  border-bottom: 3px solid #1e3a8a;
  padding: 12px 24px;
}
.header-container {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-box {
  background: #1e3a8a;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 2px solid #000000;
  font-family: "Georgia", serif;
}
.brand-name-text {
  font-size: 21px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
}
.brand-tagline {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Nav Bar */
.core-nav-bar {
  display: flex;
  gap: 6px;
}
.core-nav-link {
  text-decoration: none;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
  border: 2px solid #1e3a8a;
  background: #f8fafc;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.core-nav-link.active, .core-nav-link:hover {
  background: #1e3a8a;
  color: #ffffff;
}

.entity-info-card {
  border: 2px solid #1e3a8a;
  background: #eff6ff;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  color: #1e3a8a;
  text-align: right;
  line-height: 1.35;
}

/* Main Layout */
.page-body {
  max-width: 1360px;
  margin: 0 auto;
  padding: 18px 24px;
}

/* Audit Top Panel */
.audit-headline-box {
  background: #ffffff;
  border: 2px solid #0f172a;
  border-radius: 4px;
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.audit-headline-box h1 {
  font-size: 20px;
  font-weight: 900;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}
.audit-headline-box p {
  font-size: 12px;
  color: #334155;
  font-weight: 700;
  margin-top: 2px;
}
.audit-verified-badge {
  background: #059669;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Machine-Readable Big Numbers (KPI) */
.ocr-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.ocr-metric-item {
  background: #ffffff;
  border: 2px solid #334155;
  border-radius: 4px;
  padding: 12px 16px;
  border-left: 6px solid #1e3a8a;
}
.ocr-metric-title {
  font-size: 11px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.ocr-metric-number {
  font-size: 28px;
  font-weight: 900;
  color: #000000;
  line-height: 1.1;
  margin-bottom: 4px;
}
.ocr-metric-footnote {
  font-size: 11px;
  font-weight: 800;
  color: #059669;
}

/* Structured Machine-Readable Table Panel */
.audit-table-container {
  border: 2px solid #0f172a;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #ffffff;
}
.audit-table-header {
  background: #1e3a8a;
  color: #ffffff;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
table.registry-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
table.registry-table th {
  background: #e2e8f0;
  color: #000000;
  font-weight: 900;
  padding: 9px 12px;
  border-bottom: 2px solid #334155;
  border-right: 1px solid #94a3b8;
  text-transform: uppercase;
}
table.registry-table th:last-child { border-right: none; }
table.registry-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #cbd5e1;
  border-right: 1px solid #e2e8f0;
  color: #000000;
  vertical-align: middle;
}
table.registry-table td:last-child { border-right: none; }
table.registry-table tr:nth-child(even) { background: #f8fafc; }
table.registry-table tr:hover { background: #eff6ff; }

/* Status Badges */
.badge-entrupy {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #b45309;
  font-weight: 900;
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 3px;
  white-space: nowrap;
}
.badge-grade-aplus {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #059669;
  font-weight: 900;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 4px;
}
.badge-grade-a {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #0284c7;
  font-weight: 900;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 4px;
}
.badge-pass {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #059669;
  font-weight: 900;
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

/* Footer */
footer.registry-footer {
  border-top: 2px solid #0f172a;
  background: #f1f5f9;
  padding: 14px 24px;
  margin-top: 25px;
}
.footer-bar {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #334155;
}