/* ADSage Suite white-label layer.
   Brand rule (tokens.json): orange #FF6100 is never text on white; it fails AA.
   Text accents use --adsage-orange-deep, which passes AA on white. */

:root {
	--adsage-orange: #ff6100;
	--adsage-orange-deep: #c24200;
	--adsage-ink: #0e1116;
	--primary: var(--adsage-orange-deep);
	--primary-color: var(--adsage-orange-deep);
}

/* Upstream product logos that are drawn from per-app hooks (apps screen, setup wizard)
   and cannot be overridden server-side. `content` on <img> replaces the rendered image
   in all current browsers; alt text stays as upstream sets it. */
img[src*="/assets/erpnext/images/erpnext-logo"],
img[src*="/assets/frappe/images/frappe-framework-logo"] {
	content: url("/assets/adsage_brand/images/adsage-mark.png");
}
img[src*="/assets/india_compliance/images/india-compliance"] {
	content: url("/assets/adsage_brand/images/gst-mark.svg");
}

/* /licenses page */
.adsage-licenses { max-width: 760px; margin: 0 auto; padding: 48px 16px 64px; }
.adsage-licenses__eyebrow {
	display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 99px;
	background: var(--adsage-ink); color: var(--adsage-orange);
	font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.adsage-licenses h1 { font-size: 32px; margin: 0 0 12px; }
.adsage-licenses__lede { font-size: 16px; line-height: 1.6; margin-bottom: 32px; }
.adsage-licenses__list { list-style: none; padding: 0; margin: 0; }
.adsage-licenses__item {
	border-left: 3px solid var(--adsage-orange); padding: 4px 0 4px 16px; margin-bottom: 28px;
	animation: adsage-rise .5s ease both;
}
.adsage-licenses__item:nth-child(2) { animation-delay: .06s; }
.adsage-licenses__item:nth-child(3) { animation-delay: .12s; }
.adsage-licenses__item:nth-child(4) { animation-delay: .18s; }
.adsage-licenses__item h2 { font-size: 20px; margin: 0 0 6px; }
.adsage-licenses__ver { font-size: 13px; font-weight: 500; opacity: .7; }
.adsage-licenses a { color: var(--adsage-orange-deep); overflow-wrap: anywhere; }
.adsage-licenses details { margin-top: 8px; }
.adsage-licenses summary { cursor: pointer; font-weight: 600; color: var(--adsage-orange-deep); }
.adsage-licenses pre {
	max-height: 360px; overflow: auto; white-space: pre-wrap; font-size: 12px;
	padding: 12px; border-radius: 8px; background: rgba(14, 17, 22, .05);
}
.adsage-licenses__note { font-size: 14px; opacity: .8; }

@keyframes adsage-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .adsage-licenses__item { animation: none; } }
