@import "https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600&display=swap";:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#e2e8f0;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--bg:#0f172a;--panel:#0f172a99;--border:#94a3b81f;--text-strong:#f8fafc;--text-soft:#cbd5e1;--text-muted:#64748b;background:#0f172a;font-family:DM Sans,system-ui,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--bg);min-width:320px;min-height:100vh;color:var(--text-soft);margin:0}a{color:inherit}button,input,select{font:inherit}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:2px solid #94a3b880}img,canvas{max-width:100%}#root{width:min(1000px,100vw - 2rem);margin:0 auto;padding:2rem 0 3rem}h1,h2,h3,strong{color:var(--text-strong)}h1{letter-spacing:-.03em;margin:0;font-size:clamp(1.75rem,4vw,2.5rem);font-weight:600}h2{letter-spacing:.02em;text-transform:uppercase;color:var(--text-muted);margin:0;font-size:.9rem;font-weight:500}h3{font-size:1rem;font-weight:500}p{margin:0}::selection{background:#94a3b833}.app-shell{flex-direction:column;gap:2rem;display:flex}.hero-panel{padding:0 0 .25rem}.hero-panel h1{margin-bottom:.35rem}.hero-text{color:var(--text-muted);font-size:.95rem}.workspace-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:1.5rem;display:grid}.panel{border:1px solid var(--border);background:var(--panel);border-radius:12px;padding:1.25rem 1.5rem}.panel-heading{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.panel-heading h2{margin:0}.meta-item,.preview-card,.export-card,.dropzone,.status-strip{border:1px solid var(--border);background:#0f172a80;border-radius:10px}.meta-item{gap:.2rem;padding:.65rem .85rem;display:grid}.meta-item span,.preview-card__label{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;font-size:.7rem}.meta-item strong{color:var(--text-strong);font-size:.9rem;font-weight:500}.dropzone{text-align:left;width:100%;color:var(--text-strong);cursor:pointer;gap:.4rem;padding:1.25rem;transition:border-color .15s,background-color .15s;display:grid}.dropzone:hover,.dropzone.is-dragging{background:#0f172ab3;border-color:#94a3b840}.dropzone strong{font-size:.95rem;font-weight:500}.dropzone-badge{width:fit-content;color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;background:#94a3b826;border-radius:6px;padding:.25rem .5rem;font-size:.68rem}.status-strip{color:var(--text-soft);align-items:center;gap:.6rem;margin-top:.85rem;padding:.7rem .9rem;font-size:.875rem;display:flex}.status-dot{background:var(--text-muted);border-radius:50%;flex-shrink:0;width:6px;height:6px}.status-dot.is-busy{background:#38bdf8}.control-stack{gap:.9rem;margin-top:.9rem;display:grid}.control-row{gap:.4rem;display:grid}.control-row__header{color:var(--text-strong);justify-content:space-between;align-items:center;font-size:.875rem;display:flex}.control-row__header strong{color:var(--text-soft);font-weight:500}.control-row input[type=range]{appearance:none;background:#94a3b833;border-radius:999px;outline:none;width:100%;height:6px}.control-row input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--text-soft);cursor:pointer;border:0;border-radius:50%;width:14px;height:14px}.control-row input[type=range]::-moz-range-thumb{background:var(--text-soft);cursor:pointer;border:0;border-radius:50%;width:14px;height:14px}.segmented-control{border:1px solid var(--border);background:#0f172a80;border-radius:8px;gap:.25rem;padding:.2rem;display:inline-flex}.segmented-control button,.ghost-button,.primary-button{font:inherit;cursor:pointer;border:0;border-radius:6px;transition:opacity .15s,background-color .15s}.segmented-control button{color:var(--text-muted);text-transform:capitalize;background:0 0;padding:.4rem .75rem;font-size:.85rem}.segmented-control button.is-active{color:var(--text-strong);background:#94a3b833}.ghost-button,.primary-button{padding:.5rem .9rem;font-size:.875rem;font-weight:500}.ghost-button{color:var(--text-strong);border:1px solid var(--border);background:#ffffff0f}.primary-button{color:#0f172a;background:#f8fafc}.primary-button:hover:not(:disabled){background:#e2e8f0}.primary-button:disabled{opacity:.4;cursor:not-allowed}.meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin-top:.85rem;display:grid}.preview-panel{gap:1rem;display:grid}.preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.preview-card,.export-card{padding:.85rem}.preview-card{gap:.5rem;display:grid}.preview-surface,.sheet-preview,.empty-preview{background:#0f172a99;border-radius:8px;place-items:center;min-height:14rem;display:grid}.sheet-preview{min-height:16rem;overflow:hidden}.animated-preview,.source-preview{border-radius:8px;width:min(100%,16rem);height:auto}.animated-preview{background-image:linear-gradient(45deg,#94a3b814 25%,#0000 25%),linear-gradient(-45deg,#94a3b814 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#94a3b814 75%),linear-gradient(-45deg,#0000 75%,#94a3b814 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.sheet-preview img{width:100%;height:auto;display:block}.empty-preview{color:var(--text-muted);font-size:.8rem}.export-card{gap:.75rem;display:grid}.export-grid{grid-template-columns:1fr auto;align-items:start;gap:1rem;display:grid}.export-meta{gap:.5rem;min-width:10rem;display:grid}.guidance-panel{border-top:1px solid var(--border);grid-column:1/-1;padding:1rem 0 0}.guidance-panel h2{margin-bottom:.5rem}.instruction-list{color:var(--text-soft);margin:0;padding-left:1.25rem;font-size:.875rem;line-height:1.6}.instruction-list li{padding-left:.25rem}.instruction-list span{color:var(--text-strong)}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=900px){.workspace-grid,.preview-grid,.export-grid{grid-template-columns:1fr}.meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){#root{padding:1.25rem 0 2rem}.panel{padding:1rem 1.15rem}.panel-heading{flex-direction:column;align-items:flex-start}.meta-grid{grid-template-columns:1fr}.preview-surface,.sheet-preview,.empty-preview{min-height:12rem}.export-grid{grid-template-columns:1fr}}
