/* Anterra branding overrides */

:root {
  --anterra-red: #e11f26;
  --anterra-red-dark: #b8171d;
  --anterra-grey: #3d3d3e;
  --anterra-muted: #6f6f72;
  --anterra-line: #e3e3e3;
  --anterra-bg: #f7f7f7;
  --anterra-soft-red: #fff0f1;
}

body {
  background: var(--anterra-bg);
  color: var(--anterra-grey);
}

.sidebar {
  background: #ffffff;
  border-right: 1px solid var(--anterra-line);
}

.brand-block {
  padding: 8px 6px 18px;
  border-bottom: 1px solid var(--anterra-line);
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-block strong {
  color: var(--anterra-grey);
  font-size: 15px;
  letter-spacing: 0.01em;
}

.brand-block span {
  color: var(--anterra-muted);
  font-size: 13px;
}

.top-brand-strip {
  background: #ffffff;
  border-bottom: 3px solid var(--anterra-red);
  padding: 14px clamp(20px, 6vw, 72px);
}

.top-brand-banner {
  display: block;
  width: 100%;
  max-height: 105px;
  object-fit: contain;
  object-position: center;
}

.hero {
  background: #ffffff;
  border-bottom: 1px solid var(--anterra-line);
  padding-top: 26px;
  padding-bottom: 26px;
}

.hero h1,
h2,
h3 {
  color: var(--anterra-grey);
}

.hero p,
.card p,
.sidebar-note span,
.rules-grid span,
.summary-card span {
  color: var(--anterra-muted);
}

.eyebrow {
  color: var(--anterra-red);
}

.status-pill {
  background: var(--anterra-soft-red);
  color: var(--anterra-red-dark);
  border: 1px solid rgba(225, 31, 38, 0.22);
}

.card,
.summary-card,
.rules-grid div,
.sidebar-note {
  background: #ffffff;
  border: 1px solid var(--anterra-line);
}

.converter-item {
  background: #ffffff;
  border: 1px solid var(--anterra-line);
}

.converter-item:hover {
  border-color: rgba(225, 31, 38, 0.35);
  box-shadow: 0 8px 18px rgba(225, 31, 38, 0.08);
}

.converter-item.active {
  background: var(--anterra-soft-red);
  border-color: rgba(225, 31, 38, 0.35);
}

.converter-item.active span {
  color: var(--anterra-red-dark);
}

.nav-label {
  color: #8a8a8c;
}

.file-drop {
  background: #ffffff;
  border-color: #d7d7d9;
}

.file-drop:hover {
  border-color: rgba(225, 31, 38, 0.45);
  background: #fffafa;
}

.upload-icon {
  color: var(--anterra-red);
}

button,
.download-button {
  background: var(--anterra-red);
  color: #ffffff;
}

button:hover,
.download-button:hover {
  background: var(--anterra-red-dark);
}

.secondary,
.secondary-link {
  background: #f3f3f3;
  color: var(--anterra-grey);
  border: 1px solid #d8d8d8;
}

.secondary:hover,
.secondary-link:hover {
  background: #ebebeb;
}

th {
  background: #f3f3f3;
  color: var(--anterra-grey);
}

tbody tr:hover {
  background: #fffafa;
}

.status.eligible,
.status.manual {
  background: var(--anterra-soft-red);
  color: var(--anterra-red-dark);
}

.status.review {
  background: #fff8e6;
  color: #946200;
}

.status.disabled {
  background: #f2f2f2;
  color: #666666;
}

.approval-panel {
  background: #fffafa;
  border: 1px solid rgba(225, 31, 38, 0.2);
}

.approval-panel strong {
  color: var(--anterra-red-dark);
}

@media (max-width: 900px) {
  .top-brand-strip {
    padding: 12px 18px;
  }

  .top-brand-banner {
    max-height: 80px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }
}
