/* Decorative motion is isolated from module themes and status/financial colors. */
:root{--day-ambient-gradient:linear-gradient(110deg,#285cc4 0%,#7446a7 34%,#b92448 67%,#285cc4 100%)}
#authSection .login-card{position:relative;overflow:hidden;border-top-color:transparent;--day-red:#285cc4}
#authSection .login-card::before{content:"";position:absolute;inset:0 0 auto;height:4px;background-image:var(--day-ambient-gradient);background-size:300% 100%;pointer-events:none;animation:day-ambient-flow 22s ease-in-out infinite alternate}
#authSection .login-submit{background-color:#285cc4;background-image:var(--day-ambient-gradient);background-size:300% 100%;color:#fff;animation:day-ambient-flow 22s ease-in-out infinite alternate;animation-delay:-5s}
#authSection .login-submit:hover{filter:brightness(.94)}
#authSection .login-submit:focus-visible{outline:3px solid #285cc4;outline-offset:3px}
#authSection .login-brand small{color:#285cc4}
#page-dashboard>.page-title{position:relative}
#page-dashboard>.page-title::after{content:"";position:absolute;inset:auto 0 0;height:3px;border-radius:3px;background-image:var(--day-ambient-gradient);background-size:300% 100%;animation:day-ambient-flow 26s ease-in-out infinite alternate;pointer-events:none}
#page-dashboard .day-dashboard-workspaces>section:first-child>h2{position:relative;padding-bottom:9px}
#page-dashboard .day-dashboard-workspaces>section:first-child>h2::after{content:"";position:absolute;bottom:0;inset-inline:14px;height:2px;border-radius:2px;background-image:var(--day-ambient-gradient);background-size:300% 100%;animation:day-ambient-flow 26s ease-in-out infinite alternate;animation-delay:-11s;pointer-events:none}
#authSection{position:relative}
@keyframes day-ambient-flow{from{background-position:0% 50%}to{background-position:100% 50%}}
html:not([data-ambient-running="true"]) #authSection .login-card::before,
html:not([data-ambient-running="true"]) #authSection .login-submit,
html:not([data-ambient-running="true"]) #page-dashboard>.page-title::after,
html:not([data-ambient-running="true"]) #page-dashboard .day-dashboard-workspaces>section:first-child>h2::after{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){
 #authSection .login-card::before,#authSection .login-submit,#page-dashboard>.page-title::after,#page-dashboard .day-dashboard-workspaces>section:first-child>h2::after{animation:none}
}
@media print{#page-dashboard>.page-title::after,#page-dashboard .day-dashboard-workspaces>section:first-child>h2::after{display:none!important}}
