/* Fixed, noninteractive brand signature. Kept below navigation and dialogs. */
:root{--brand-watermark:url('/static/brand-logo.svg?v=kline-1');--brand-watermark-opacity:.045}
:root[data-theme="dark"]{--brand-watermark:url('/static/brand-watermark.svg?v=kline-1');--brand-watermark-opacity:.035}
.app-shell::after,body.admin-body::after{content:'';position:fixed;inset:78px 0 calc(82px + env(safe-area-inset-bottom));z-index:15;pointer-events:none;user-select:none;background-image:var(--brand-watermark);background-repeat:no-repeat;background-position:center 44%;background-size:clamp(230px,65vw,390px);opacity:var(--brand-watermark-opacity)}
body.chat-view .app-shell::after{display:none}
.chat-page::after{content:'';position:absolute;inset:95px 0 calc(72px + env(safe-area-inset-bottom));z-index:2;pointer-events:none;user-select:none;background:var(--brand-watermark) center 42%/min(65vw,340px) no-repeat;opacity:var(--brand-watermark-opacity)}
/* Auth keeps its own decorative layer so no watermarks leak from the hidden app. */
.auth-screen:not(.auth-admin)::after{background-image:var(--brand-watermark)!important;background-size:clamp(240px,70vw,390px)!important;background-position:center 72%!important;background-repeat:no-repeat!important;mask-image:none!important;-webkit-mask-image:none!important;opacity:var(--brand-watermark-opacity)!important;filter:none!important;z-index:1!important;pointer-events:none}
.auth-screen.auth-admin{position:relative;isolation:isolate}
.auth-screen.auth-admin::after{content:'';position:absolute;inset:0;pointer-events:none;background:var(--brand-watermark) center 70%/320px no-repeat;opacity:.035;z-index:1}
body.admin-body::after{inset:90px 0 25px}
@media(prefers-reduced-motion:reduce){.app-shell::after,.chat-page::after,.auth-screen::after{animation:none;transition:none}}
