/* ── LAYOUT ───────────────────────────────────────────────────────────────── */
.body-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  min-height: calc(100vh - 64px);
}

/* ── HEADER ───────────────────────────────────────────────────────────────── */
.site-header {
  background: #00a19d;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0, 161, 157, 0.3);
  overflow: hidden;
}

.site-header::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  background: url('/brand/asset-rings.svg') no-repeat center / contain;
  opacity: 0.2;
  pointer-events: none;
}

.site-header::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #004b46 0%, #00bab4 50%, #004b46 100%);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
}

.header-title-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.header-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.header-edition {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: #004b46;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.header-badge {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: #004b46;
  border: 1px solid rgba(0, 75, 70, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.btn-back {
  font-family: 'Proxima Nova Arabic', 'Proxima Nova', system-ui, sans-serif;
  font-size: 13px; font-weight: 500;
  color: #004b46;
  text-decoration: none;
  border: 1px solid rgba(0,75,70,0.3);
  padding: 6px 14px; border-radius: 20px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-back:hover { color: #003633; border-color: rgba(0,75,70,0.5); }

.btn-print {
  font-family: 'Proxima Nova Arabic', 'Proxima Nova', system-ui, sans-serif;
  font-size: 13px; font-weight: 600;
  color: #004b46;
  background: #fff;
  border: none; padding: 7px 16px;
  border-radius: 20px; cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-print:hover { background: #e0f2f1; box-shadow: 0 2px 8px rgba(0,75,70,0.15); }

/* ── MAIN COLUMN ──────────────────────────────────────────────────────────── */
.main-col {
  padding: 2.5rem 2.5rem 5rem;
  border-right: 1px solid #e1e6ef;
}

/* ── SIDEBAR ──────────────────────────────────────────────────────────────── */
.sidebar {
  padding: 2rem 1.75rem 4rem;
  background: #fff;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
}

.sidebar-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #e1e6ef;
}

.sidebar-footer {
  font-size: 11px;
  color: #9aa5bb;
  text-align: center;
  margin-top: 1rem;
  line-height: 1.6;
}

/* ── PAGE TITLE ───────────────────────────────────────────────────────────── */
.page-title-block {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #e1e6ef;
}

.page-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: #00a19d;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.eyebrow-bar {
  width: 3px;
  height: 14px;
  background: #00a19d;
  border-radius: 2px;
  flex-shrink: 0;
}

.page-heading {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  color: #004b46;
  line-height: 1.2;
  margin-bottom: 6px;
}

.page-heading em {
  font-style: italic;
  color: #00a19d;
}

.page-description {
  color: #5a6880;
  font-size: 13.5px;
  max-width: 560px;
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .body-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    border-top: 1px solid #e1e6ef;
  }
}

@media (max-width: 600px) {
  .main-col { padding: 1.5rem 1rem 4rem; }
  .page-heading { font-size: 22px; }
  .header-badge { display: none; }
}
