.consent-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(2px);
}

.consent-overlay.is-open {
  display: flex;
}

.consent-window {
  background: #fff;
  width: 100%;
  max-width: 1160px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 40px 40px;
  position: relative;
  animation: modalIn 0.22s ease;
  font-family: "Inter", sans-serif;
}

.consent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.consent-back {
  background: none;
  border: none;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  color: #222;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.consent-back:hover {
  opacity: 0.7;
}

.consent-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #666;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}

.consent-close:hover {
  color: #000;
}

.consent-title {
  font-size: 24px;
  font-weight: 600;
  color: #111;
  margin: 0 0 12px;
  line-height: 1.2;
}

.consent-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.consent-meta-sep {
  color: #ccc;
}

.consent-body p {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  margin: 0 0 12px;
}

.consent-body a {
  color: #1a5ce6;
  text-decoration: none;
}

.consent-body a:hover {
  text-decoration: underline;
}

.consent-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin: 28px 0 8px;
}

.consent-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0 0 16px;
}

.consent-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 16px;
}

.consent-table th {
  text-align: left;
  font-weight: 600;
  color: #555;
  padding: 8px 12px;
  border-bottom: 1px solid #e0e0e0;
  background: #f7f7f7;
}

.consent-table td {
  vertical-align: top;
  padding: 12px 12px;
  border-bottom: 1px solid #e0e0e0;
  color: #333;
  line-height: 1.7;
}

.consent-table td:first-child {
  width: 30%;
  font-weight: 500;
}

@media (max-width: 640px) {
  .consent-window {
    padding: 24px 20px 32px;
  }
  .consent-title {
    font-size: 18px;
  }
}

/* ---- Docs page layout ---- */
.dp-body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #fff;
  color: #222;
  min-height: 100vh;
}

.dp-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.dp-layout::after {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  left: 372px;
  width: 1px;
  background: #e8e8e8;
}

/* Sidebar */
.dp-sidebar {
  width: 372px;
  min-width: 372px;
  flex-shrink: 0;
  border-right: none;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.dp-main {
  margin-left: 372px;
}

.dp-nav {
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 40px;
  padding-top: 48px;
}

.dp-nav-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  background: none;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #898989;
  text-align: left;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  line-height: 1.4;
  transition: background 0.15s;
}

.dp-nav-item:hover {
  background: #f5f5f5;
}

.dp-nav-item--active,
.dp-nav-item--child.dp-nav-item--active {
  color: #000;
  font-weight: 600;
}

.dp-nav-arrow {
  flex-shrink: 0;
  margin-right: 6px;
  width: 20px;
  height: 20px;
}

.dp-nav-arrow--placeholder {
  visibility: hidden;
}

.dp-nav-arrow {
  transition: transform 0.2s ease;
}

.dp-nav-children {
  overflow: hidden;
  width: 100%;
}

.dp-nav-children--collapsed {
  display: none;
}

.dp-nav-item--child {
  padding-left: 38px;
  font-size: 14px;
  color: #898989;
}



/* Main */
.dp-main {
  flex: 1;
  padding: 48px 60px 48px 56px;
  max-width: none;
}

.dp-view--hidden {
  display: none;
}

.dp-title {
  font-size: 32px;
  font-weight: 500;
  color: Black;
  margin: 0 0 28px;
}

.dp-doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dp-doc-link {
  color: #4F68D4;
  font-size: 16px;
  text-decoration: none;
}

.dp-doc-link:hover {
  text-decoration: underline;
}

.dp-back {
  background: none;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  padding: 0;
  margin-bottom: 24px;
  display: block;
}

.dp-back:hover {
  color: #111;
}

.dp-doc-title {
  font-size: 32px;
  font-weight: 600;
  color: #111;
  margin: 0 0 16px;
}

.dp-meta-btn {
  background: none;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #888;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dp-meta-btn:hover {
  color: #333;
}

.dp-meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.dp-meta-sep {
  color: #ccc;
}

.dp-doc-body {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

@media (max-width: 700px) {
  .dp-layout {
    flex-direction: column;
  }
  .dp-sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
    padding: 16px 0;
  }
  .dp-main {
    padding: 24px 20px;
  }
}
