/* Optional operator brand color. Default colors remain in the existing theme. */
body[data-brand-color] .btn--base,
body[data-brand-color] .bg--base { background-color:var(--brand-primary) !important; color:var(--brand-primary-foreground) !important; }
body[data-brand-color] .text--base,
body[data-brand-color] .nav-link:hover { color:var(--brand-primary-link) !important; }

/* Shared public and investor Telegram contact control. */

body[data-presentation-shell="PUBLIC_SHELL"] .required-mark { color:#b42318 !important; }

/* Accessible public controls retain the green identity without template ornaments. */
body[data-presentation-shell="PUBLIC_SHELL"] .btn--base { background:var(--brand-primary-link,#146c43) !important; color:#fff !important; }
body[data-presentation-shell="PUBLIC_SHELL"] .btn::before,
body[data-presentation-shell="PUBLIC_SHELL"] .btn::after { display:none !important; }
body[data-presentation-shell="PUBLIC_SHELL"] main a:not(.btn) { color:var(--brand-primary-link,#176243); }
body[data-presentation-shell="PUBLIC_SHELL"] :is(.btn-outline--base,.text--base) { color:var(--brand-primary-link,#176243) !important; }

body[data-presentation-shell="PUBLIC_SHELL"] :is(.btn-outline--base,.btn--outline-base) { color:var(--brand-primary-link,#176243) !important; border-color:var(--brand-primary-link,#176243) !important; }
body[data-presentation-shell="PUBLIC_SHELL"] :is(.btn-outline--base,.btn--outline-base):is(:hover,:focus-visible) { background:var(--brand-primary-link,#176243) !important; color:#fff !important; }

/* Public copy needs AA contrast on the retained pale green section backgrounds. */
body[data-presentation-shell="PUBLIC_SHELL"] { --body-color: 150 10% 32%; min-height: 100vh; display: flex; flex-direction: column; }
body[data-presentation-shell="PUBLIC_SHELL"] > main { flex: 1; }
body[data-presentation-shell="PUBLIC_SHELL"] .header .nav-menu .nav-item.active .nav-link { color: var(--brand-primary-link,#176243) !important; }
body[data-presentation-shell="PUBLIC_SHELL"] .insights-categories a.active { color: #fff !important; }
body[data-presentation-shell="PUBLIC_SHELL"] main .text-muted { color: #53635b !important; }
