.editor-loading{display:flex;align-items:center;gap:32px;max-width:740px;min-height:360px;margin:32px auto;padding:32px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-sizing:border-box;animation:loading-appear .28s ease-out}
.editor-loading-body{flex:1;min-width:0}.editor-loading h2{font:28px/1.2 Georgia,serif;margin:4px 0 14px}.editor-loading .eyebrow{margin:0 0 8px;font-size:10px}.editor-loading-detail{min-height:3em;line-height:1.5;color:var(--muted);margin:0 0 16px}.editor-loading-art{width:108px;flex:none;position:relative;color:color-mix(in srgb,var(--action) 60%,var(--text))}.editor-loading-art svg{display:block;width:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.loading-pen{transform-origin:60px 30px;animation:loading-write 1.8s ease-in-out infinite}.loading-writing{stroke-dasharray:24;animation:loading-lines 2.4s ease-in-out infinite}.editor-loading-art>span{display:inline-block;width:5px;height:5px;background:currentColor;border-radius:50%;margin:8px 4px;animation:loading-dot 1.4s ease-in-out infinite}.editor-loading-art>span:nth-of-type(2){animation-delay:.16s}.editor-loading-art>span:nth-of-type(3){animation-delay:.32s}.editor-loading-art{text-align:center}.editor-loading-meter{display:grid;gap:7px;font-size:11px;color:var(--muted)}.editor-loading-meter progress{width:100%;height:6px;accent-color:var(--action);border:0;border-radius:8px;overflow:hidden;background:var(--surface-2)}.editor-loading-meter progress::-webkit-progress-bar{background:var(--surface-2)}.editor-loading-meter progress::-webkit-progress-value{background:var(--action);transition:width .28s ease}.editor-loading-meter progress::-moz-progress-bar{background:var(--action)}.editor-loading-steps{display:grid;gap:9px;list-style:none;padding:0;margin:20px 0 0;font-size:12px;color:var(--muted)}.editor-loading-steps li{display:flex;gap:10px;align-items:center;transition:color .2s}.editor-loading-steps li>span{width:20px;height:20px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:10px;flex:none}.editor-loading-steps .is-current{color:var(--text);font-weight:600}.editor-loading-steps .is-current>span{border-color:var(--action);box-shadow:0 0 0 3px color-mix(in srgb,var(--action) 12%,transparent);animation:loading-pulse 1.8s ease-in-out infinite}.editor-loading-steps .is-complete>span{background:var(--action);border-color:var(--action);color:var(--working-poem-ink,var(--on-action,#fff))}.editor-loading-compact{max-width:none;min-height:0;margin:0 0 18px;padding:20px;gap:18px}.editor-loading-compact .editor-loading-art{width:76px}.editor-loading-compact h2{font-size:23px}.editor-loading-compact .editor-loading-steps{display:flex;flex-wrap:wrap;gap:10px 20px}.editor-loading-compact .editor-loading-detail{min-height:0}.editor-loading[aria-busy=false] .editor-loading-art *{animation:none}.loading-retry{display:inline-block;margin-top:18px}#editor-host:not([hidden]){animation:loading-appear .24s ease-out}@keyframes loading-write{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(3px) rotate(3deg)}}@keyframes loading-lines{0%,100%{stroke-dashoffset:24;opacity:.45}55%,80%{stroke-dashoffset:0;opacity:1}}@keyframes loading-dot{0%,80%,100%{transform:translateY(0);opacity:.35}40%{transform:translateY(-4px);opacity:1}}@keyframes loading-pulse{50%{box-shadow:0 0 0 5px color-mix(in srgb,var(--action) 6%,transparent)}}@keyframes loading-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media(max-width:600px){.editor-loading{margin:16px 0;padding:22px 18px;gap:14px;align-items:flex-start}.editor-loading-art{width:62px;margin-top:24px}.editor-loading h2{font-size:24px}.editor-loading-compact .editor-loading-art{width:48px}.editor-loading-compact .editor-loading-steps{display:grid}}@media(prefers-reduced-motion:reduce){.editor-loading,.editor-loading *,#editor-host:not([hidden]){animation:none!important;transition:none!important}}
