/* Local presentation: light surfaces by default. */
:root{color-scheme:light}
html,body,#root{background:#f7f5fb!important;color:#1c1526}
.tca-stage{background:radial-gradient(circle at 75% 10%,#eee5ff,transparent 45%),#f7f5fb!important}
.tca-shell,.tca-shell-app,.tca-shell-flow,.tca-app-root,.tca-scroll{background:#f7f5fb!important;color:#1c1526}
.tca-shell{border-color:#ddd6eb!important;box-shadow:0 18px 60px #3924501a!important}
.tca-nav{background:#fff!important;border-color:#ddd6eb!important;color:#1c1526!important}
.tca-nav .tca-nav-link,.tca-nav-brand,.tca-nav-user{color:#4c4260!important}
.tca-nav .tca-nav-link.is-active,.tca-nav .tca-nav-link.is-active span:last-child{color:#5621a0!important;background:#efe6fa!important}
.tca-nav-user{background:#faf7fd!important;border-color:#ddd6eb!important}
.tca-nav-user p,.tca-nav-brand b{color:#1c1526!important}
.tca-nav-user small,.tca-nav-brand small{color:#655c78!important}
.tca-scroll>nav{background:#fff!important;color:#1c1526!important;border-bottom:1px solid #ddd6eb}
.tca-scroll>nav button{background:#f5effc!important;color:#5621a0!important;border:1px solid #ddd6eb;border-radius:10px;padding:8px 12px;margin:8px 16px;font-size:14px;font-weight:700}
.tca-login-form,.tca-locker-controls,.tca-studio-panel{background:#fff!important;color:#1c1526!important;border-color:#ddd6eb!important}
.tca-login-form h2,.tca-locker-controls-head h2,.tca-studio-panel h3{color:#1c1526!important}
.tca-login-form .tca-field{background:#fff!important;color:#1c1526!important;border-color:#bfb2d3!important}
.tca-login-form input{color:#1c1526!important}

/* Full-page member application: one document scroll, no empty sidebar. */
html:has(.tca-shell-app),body:has(.tca-shell-app),body:has(.tca-shell-app) #root{height:auto!important;min-height:100dvh!important;overflow-y:visible!important}
.tca-stage:has(.tca-shell-app){display:block!important;padding:0!important;min-height:100dvh!important}
.tca-shell-app{max-width:none!important;width:100%!important;height:auto!important;min-height:100dvh!important;border:0!important;border-radius:0!important;overflow:visible!important;box-shadow:none!important}
.tca-shell-app>.tca-app-root{display:flex!important;flex-direction:column!important;width:100%!important;height:auto!important;min-height:100dvh!important}
.tca-shell-app .tca-scroll{grid-column:auto!important;grid-row:auto!important;width:100%!important;min-width:0;flex:1 0 auto!important;overflow:visible!important;padding-bottom:100px!important}
.tca-shell-app .tca-page{width:100%!important;max-width:1440px!important;margin:0 auto!important}
.tca-shell-app .tca-nav{position:fixed!important;inset:auto 0 0!important;width:100%!important;min-height:80px;height:auto!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px;padding:10px 20px!important;border-right:0!important;border-top:1px solid #ddd6eb!important;z-index:60}
.tca-shell-app .tca-nav .tca-nav-brand{display:flex!important;flex:0 0 180px;align-items:center;padding:0 12px!important;min-width:0}
.tca-shell-app .tca-nav .tca-nav-links{display:flex!important;flex:1 1 auto!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;gap:6px!important;min-width:0}
.tca-shell-app .tca-nav .tca-nav-link{width:auto!important;min-width:0;flex:0 1 auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:10px 12px!important}
.tca-shell-app .tca-nav .tca-nav-link span:last-child{display:block!important;font-size:12px!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;letter-spacing:normal!important}
.tca-shell-app .tca-nav .tca-nav-user{display:flex!important;flex:0 0 auto!important;min-width:135px}
@media(max-width:1100px){.tca-shell-app .tca-nav .tca-nav-brand,.tca-shell-app .tca-nav .tca-nav-user{display:none!important}.tca-shell-app .tca-nav{padding:8px 10px!important}.tca-shell-app .tca-nav .tca-nav-links{justify-content:space-around!important}}
@media(max-width:760px){.tca-shell-app .tca-nav{min-height:70px!important;padding:6px 4px max(6px,env(safe-area-inset-bottom))!important;gap:0}.tca-shell-app .tca-nav .tca-nav-links{gap:0!important}.tca-shell-app .tca-nav .tca-nav-link{flex:1 1 0!important;flex-direction:column!important;gap:4px!important;padding:8px 2px!important}.tca-shell-app .tca-nav .tca-nav-link span:last-child{font-size:10px!important;white-space:normal!important;text-align:center}.tca-shell-app .tca-scroll{padding-bottom:90px!important}}

/* A full-page shell must not contain viewport-fixed navigation. */
.tca-shell-app{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
