/* No matching attribute means exactly the existing MYID default styles. */
html[data-company-theme=active] body{background:var(--company-background);color:var(--company-text)}
html[data-company-theme=active] header{background:var(--company-header);color:#fff;border-bottom:3px solid var(--company-accent)}
html[data-company-theme=active] .chat-toolbar{background:var(--company-surface);color:var(--company-text)}
html[data-company-theme=active] #messages,html[data-company-theme=active] #chat{background:var(--company-background)}
html[data-company-theme=active] .bubble,html[data-company-theme=active] .form-card,html[data-company-theme=active] .assistant-card{background:var(--company-surface);color:var(--company-text)}
html[data-company-theme=active] .turn.user .bubble,html[data-company-theme=active] #send,html[data-company-theme=active] .form-card button[type=submit]{background:var(--company-primary);color:#fff}
html[data-company-theme=active] .choice,html[data-company-theme=active] .factor-option,html[data-company-theme=active] .quiet-link{color:var(--company-text);border-color:var(--company-primary)}
html[data-company-theme=active] .factor-option:has(input:checked){background:var(--company-background);border-color:var(--company-primary)}
html[data-company-theme=active] .steps .active,html[data-company-theme=active] .step.active{color:var(--company-primary)}
html[data-company-theme=active] .mobile-setup-dialog{background:var(--company-surface);color:var(--company-text)}
html[data-company-theme=active][data-theme-motif=glow] body{background-image:radial-gradient(ellipse at top right,color-mix(in srgb,var(--company-accent) 9%,transparent),transparent 60%)}
html[data-company-theme=active][data-theme-motif=geometric] header{background-image:linear-gradient(135deg,transparent 70%,#ffffff0a 70%)}
html[data-company-theme=active][data-theme-motif=stars] header{background-image:radial-gradient(circle at 85% 20%,#ffffff44 1px,transparent 2px),radial-gradient(circle at 92% 70%,#ffffff33 1px,transparent 2px)}
#company-theme-greeting{background:var(--company-surface);color:var(--company-text);font-size:13px;text-align:center;padding:8px 16px;border-bottom:1px solid #00000012;flex-shrink:0}
/* Security states remain unchanged by company accents. */
html[data-company-theme=active] .turn.failure .bubble{background:#fff5f4;color:#7d2525;border-color:#eab3af}
html[data-company-theme=active]{--cds-background:var(--company-background);--cds-layer:var(--company-surface);--cds-text-primary:var(--company-text);--cds-link-primary:var(--company-primary);--cds-interactive:var(--company-primary);--cds-focus:var(--company-primary);--blue:var(--company-primary)}
html[data-company-theme=active] .brand-panel{background:var(--company-header);border-bottom:3px solid var(--company-accent)}
html[data-company-theme=active] .preview{background:var(--company-surface);color:var(--company-text)}
html[data-company-theme=active] .turn.success .bubble{background:#effbf4;border-color:#9ed6b4;color:#17384d}
html[data-company-theme=active] .turn.notice .bubble{background:#fff9eb;border-color:#e2cd9f;color:#17384d}
html[data-company-theme=active] .step-kicker span{background:var(--company-background);color:var(--company-primary)}
html[data-company-theme=active] .intent-group label:has(input:checked){background:var(--company-background);border-color:var(--company-primary)}

/* Decorative only: never intercept a recovery control or screen-reader focus. */
.myid-fall-leaves{position:fixed;inset:0;overflow:hidden;pointer-events:none!important;z-index:2147483000;contain:strict}
.myid-fall-leaves span{position:absolute;top:0;left:0;font:29px/1 "Apple Color Emoji","Segoe UI Emoji",sans-serif;pointer-events:none;user-select:none;will-change:transform}
@media(prefers-reduced-motion:reduce){.myid-fall-leaves{display:none}}
