@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=JetBrains+Mono:wght@400;600&display=swap";html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}*{box-sizing:border-box}.editor-shell{background:#0f172a;flex-direction:column;width:100vw;min-width:0;height:100dvh;font-family:Inter,Segoe UI,sans-serif;display:flex;overflow:hidden}.editor-topbar{background:#0f172a;border-bottom:1px solid #1e293b;flex-shrink:0;grid-template-columns:minmax(0,1fr) minmax(0,auto) auto;grid-template-areas:"file status save";align-items:center;gap:12px;min-height:52px;padding:0 16px;display:grid}.editor-file-summary{grid-area:file;align-items:center;gap:10px;min-width:0;display:flex;overflow:hidden}.editor-file-icon{background:linear-gradient(135deg,#22d3ee,#6366f1);border-radius:6px;flex:0 0 28px;justify-content:center;align-items:center;width:28px;height:28px;font-size:14px;display:flex}.editor-file-name{color:#e2e8f0;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:600;overflow:hidden}.editor-sheet-count{color:#64748b;flex:none;font-family:JetBrains Mono,monospace;font-size:12px}.editor-dirty-dot{background:#f59e0b;border-radius:50%;flex:0 0 7px;width:7px;height:7px;display:inline-block;box-shadow:0 0 6px #f59e0b88}.status-banner{border:1px solid var(--status-border);background:var(--status-bg);min-width:0;max-width:min(44vw,560px);color:var(--status-color);-webkit-user-select:none;user-select:none;white-space:nowrap;border-radius:6px;grid-area:status;justify-self:center;align-items:center;gap:8px;padding:6px 14px;font-family:JetBrains Mono,monospace;font-size:13px;display:flex;overflow:hidden}.status-banner-icon{flex:none;display:inline-block}.status-banner-icon.is-spinning,.editor-save-spinner,.editor-loading-spinner{animation:.8s linear infinite rotate}.status-banner-message{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.editor-save-button{color:#64748b;cursor:pointer;letter-spacing:0;white-space:nowrap;background:#1e293b;border:0;border-radius:7px;grid-area:save;justify-content:center;align-items:center;gap:7px;min-width:0;padding:7px 18px;font-size:13px;font-weight:700;transition:background .2s,box-shadow .2s,color .2s;display:flex}.editor-save-button.is-dirty{color:#fff;background:linear-gradient(135deg,#22d3ee,#6366f1);box-shadow:0 0 0 1px #6366f1,0 4px 14px #6366f14d}.editor-save-button.is-busy{box-shadow:none;color:#475569;cursor:not-allowed;background:#1e293b}.editor-save-spinner{flex:none;display:inline-block}.editor-progress{background:#1e293b;flex-shrink:0;height:2px}.editor-progress-value{background:linear-gradient(90deg,#22d3ee,#6366f1);height:100%;transition:width .2s}.editor-workspace{flex:auto;min-width:0;min-height:0;position:relative;overflow:hidden}.editor-sheet-host{width:100%;height:100%;overflow:hidden}.editor-loading-overlay{z-index:9999;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172ae0;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:24px;display:flex;position:absolute;inset:0}.editor-loading-spinner{border:3px solid #1e293b;border-top-color:#22d3ee;border-radius:50%;width:40px;height:40px}.editor-loading-message{overflow-wrap:anywhere;color:#94a3b8;text-align:center;max-width:min(88vw,560px);margin:0;font-family:JetBrains Mono,monospace;font-size:14px}#luckysheet-container .luckysheet{background:#fff}@media (width<=760px){.editor-topbar{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"file save""status status";gap:0 10px;min-height:52px;padding:8px 12px}.editor-topbar--with-status{row-gap:8px}.status-banner{justify-content:center;justify-self:stretch;width:100%;max-width:none;padding:6px 10px;font-size:12px}.editor-save-button{min-height:34px;padding:7px 12px}}@media (width<=520px){.editor-topbar{padding:7px 10px}.editor-file-summary{gap:8px}.editor-file-icon{flex-basis:26px;width:26px;height:26px}.editor-file-name{font-size:13px}.editor-sheet-count{display:none}.editor-save-button{gap:6px;padding:7px 10px;font-size:12px}}@media (width<=360px){.editor-save-button span:last-child{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
