@font-face{font-family:Geist;src:url('/fonts/geist-latin.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
.kb-loading-screen{--loading-bg:#fff;--loading-text:#242229;--loading-muted:#71717a;--loading-border:#ebe7f2;position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:var(--loading-bg);color:var(--loading-text);font-family:Geist,Arial,sans-serif;padding:28px;box-sizing:border-box;transition:opacity .3s ease}
html[data-kanbiz-theme="dark"] .kb-loading-screen{--loading-bg:#17151c;--loading-text:#f4f1f8;--loading-muted:#a6a0b0;--loading-border:#342e40}
.kb-loading-body{width:100%;max-width:340px;text-align:center;box-sizing:border-box;animation:kb-loading-enter .45s ease-out both}
.kb-loading-mark{position:relative;display:grid;place-items:center;width:104px;height:104px;margin:0 auto 27px}


.kb-loading-logo{display:block;width:66px;height:66px;object-fit:contain;position:relative;z-index:1;border-radius:15px}
.kb-loading-name{font-family:inherit;font-size:28px;font-weight:700;letter-spacing:-1px;line-height:1.2;overflow-wrap:anywhere;margin:0 0 12px;color:var(--loading-text)}
.kb-loading-status{font-size:13px;font-weight:500;line-height:1.7;min-height:23px;color:var(--loading-muted);margin:0}
.kb-loading-track{width:176px;height:3px;border-radius:8px;background:var(--loading-border);overflow:hidden;margin:26px auto 0}
.kb-loading-segment{display:block;height:100%;width:42%;border-radius:8px;background:var(--za-accent,var(--brand,#7c3aed));animation:kb-loading-slide 1.65s cubic-bezier(.65,0,.35,1) infinite}
.kb-loading-caption{margin:24px 0 0;color:var(--loading-muted);font-size:10px;font-weight:500;letter-spacing:1px;line-height:1.8}
.kb-loading-ready .kb-loading-segment{width:100%;animation:none;transform:none}
.splash-hide{opacity:0;pointer-events:none}
@keyframes kb-loading-slide{0%{transform:translateX(-110%)}100%{transform:translateX(345%)}}
@keyframes kb-loading-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:480px){.kb-loading-mark{width:92px;height:92px}.kb-loading-logo{width:58px;height:58px}.kb-loading-name{font-size:26px}}
@media(prefers-reduced-motion:reduce){.kb-loading-body,.kb-loading-segment{animation:none}.kb-loading-segment{transform:none;margin:auto}.kb-loading-screen{transition:none}}

/* Supersede cached legacy splash theme rules without affecting other screens. */
html[data-kanbiz-theme] body #splash.kb-loading-screen{background:var(--loading-bg)!important;color:var(--loading-text)!important}
