/* Pre-LLM /v1 archive shell: only applies while a descendant with .v1-archive-root exists. */
html:has(.v1-archive-root),
body:has(.v1-archive-root) {
  background-color: #f3f5f8 !important;
  background-image:
    radial-gradient(ellipse 105% 60% at 50% -15%, rgba(255, 255, 255, 0.92) 0%, transparent 55%),
    linear-gradient(165deg, #f9fafb 0%, #ffffff 42%, #f1f5f9 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23dce1e9' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat, no-repeat, repeat !important;
  background-size: 100% 320px, 100% 100%, auto !important;
  color-scheme: light !important;
  color: #111827 !important;
}

/* Archive footer — dark chrome (same family as default .forensai-footer). v1 markup keeps orange mark + /v1 links + no tagline. Reassert colors because html/body :has(.v1-archive-root) forces light body text. */
.forensai-footer.forensai-footer-v1-archive {
  background: #0f0f0f !important;
  color: #ffffff !important;
  padding: 56px 0 32px !important;
}

.forensai-footer-v1-archive .forensai-footer-contact {
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.forensai-footer-v1-archive .forensai-footer-headline {
  color: #ffffff !important;
}

.forensai-footer-v1-archive .forensai-form input,
.forensai-footer-v1-archive .forensai-form textarea {
  background: transparent !important;
  border-bottom-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.forensai-footer-v1-archive .forensai-form input::placeholder,
.forensai-footer-v1-archive .forensai-form textarea::placeholder {
  color: #a1a1aa !important;
}

.forensai-footer-v1-archive .forensai-form input:focus,
.forensai-footer-v1-archive .forensai-form textarea:focus {
  border-bottom-color: #ffffff !important;
}

.forensai-footer-v1-archive .forensai-footer-logo {
  color: #ffffff !important;
}

.forensai-footer-v1-archive .forensai-footer-logo:hover {
  opacity: 0.9;
}

.forensai-footer-v1-archive .forensai-footer-logo-icon {
  opacity: 1 !important;
  filter: none !important;
}

.forensai-footer-v1-archive .forensai-footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

.forensai-footer-v1-archive .forensai-footer-copyright {
  color: #a1a1aa !important;
}

.forensai-footer-v1-archive .forensai-footer-bottom-links a,
.forensai-footer-v1-archive .forensai-footer-bottom-right a {
  color: #a1a1aa !important;
}

.forensai-footer-v1-archive .forensai-footer-bottom-links a + a,
.forensai-footer-v1-archive .forensai-footer-bottom-right a + a {
  border-left-color: rgba(255, 255, 255, 0.2) !important;
}

.forensai-footer-v1-archive .forensai-footer-bottom-links a:hover,
.forensai-footer-v1-archive .forensai-footer-bottom-right a:hover {
  color: #ffffff !important;
}

.forensai-footer-v1-archive .forensai-footer .forensai-logo-forens,
.forensai-footer-v1-archive .forensai-footer .logo-ai {
  color: #ffffff !important;
}
