#startup-screen{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:24px;text-align:center;color:var(--ink)}#startup-screen[hidden]{display:none}#startup-screen h1{font-size:32px;margin:0}#startup-message{max-width:430px;color:var(--muted);line-height:1.7}#startup-retry[hidden]{display:none}

.codavro-loader{display:inline-flex;align-items:center;flex-wrap:wrap;gap:9px;max-width:100%;font:12px/1.5 "Segoe UI",sans-serif;color:var(--muted);vertical-align:middle}.loader-nodes{display:inline-flex;gap:4px;align-items:center;height:19px}.loader-nodes i{width:5px;height:12px;border-radius:2px;background:var(--accent);animation:codavro-node 1.1s ease-in-out infinite}.loader-nodes i:nth-child(2){animation-delay:.13s;background:var(--good)}.loader-nodes i:nth-child(3){animation-delay:.26s}.loader-track{display:block;width:70px;height:3px;overflow:hidden;border-radius:3px;background:var(--line)}.loader-track i{display:block;width:35%;height:100%;background:var(--accent);border-radius:3px;animation:codavro-track 1.5s ease-in-out infinite}.loader-copy{font-size:11px}.editor-code-skeleton{padding:20px;color:var(--muted)}.editor-code-skeleton>div{display:flex;gap:14px;align-items:center;height:25px;animation:codavro-skeleton 1.6s ease-in-out infinite}.editor-code-skeleton>div:nth-child(2n){padding-left:28px;animation-delay:.15s}.editor-code-skeleton b{display:block;width:11px;height:6px;background:var(--line);margin-right:16px}.editor-code-skeleton i{display:block;width:16%;height:7px;border-radius:3px;background:color-mix(in srgb,var(--accent) 45%,var(--field))}.editor-code-skeleton i:last-child{width:30%;background:color-mix(in srgb,var(--good) 30%,var(--field))}
@keyframes codavro-node{0%,100%{transform:scaleY(.45);opacity:.5}50%{transform:scaleY(1);opacity:1}}@keyframes codavro-track{from{transform:translateX(-120%)}to{transform:translateX(390%)}}@keyframes codavro-skeleton{0%,100%{opacity:.4}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.loader-nodes i,.loader-track i,.editor-code-skeleton>div{animation:none!important}.loader-track i{width:100%;opacity:.5}}
#runtime-retry{font-size:11px;padding:4px 8px;min-height:28px}
[data-theme=light] .startup-terminal{background:var(--surface);border-color:var(--line)}

.saved-filter-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.saved-filter-copy strong,.saved-filter-copy small{display:block;line-height:1.45}
html[data-theme="light"] #startup-screen{color:#252338}html[data-theme="light"] #startup-screen p{color:#625d70}

#editor[aria-busy="false"] .editor-code-skeleton>div{animation:none;opacity:.35}

/* Full-page content needs a centred loading state, separate from toolbar micro-statuses. */
[data-loading-layout="panel"][aria-busy="true"]{display:grid;place-items:center;box-sizing:border-box;min-height:calc(var(--visible-height,100dvh) - 150px);width:100%;padding:32px 20px}
.codavro-loader--panel{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:center;gap:22px;width:min(360px,100%);box-sizing:border-box;min-height:230px;padding:36px 28px;border:1px solid var(--line);border-radius:22px;background:radial-gradient(ellipse at 50% 0%,var(--tint),transparent 75%),var(--surface);text-align:center;box-shadow:0 14px 50px color-mix(in srgb,var(--accent) 9%,transparent)}
.codavro-loader--panel .loader-nodes{height:60px;gap:10px}
.codavro-loader--panel .loader-nodes i{width:12px;height:42px;border-radius:5px}
.codavro-loader--panel .loader-copy{font-size:15px;line-height:1.6;color:var(--ink);font-weight:500}
.codavro-loader--panel .loader-track{width:160px;height:4px;max-width:100%}
@media(max-width:480px){[data-loading-layout="panel"][aria-busy="true"]{padding:24px 16px;min-height:calc(var(--visible-height,100dvh) - 130px)}.codavro-loader--panel{width:min(320px,100%);min-height:215px;padding:30px 24px}}
