/* 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; }
