:root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}@media (prefers-color-scheme: dark){:root{--color-background: var(--vt-c-black);--color-background-soft: var(--vt-c-black-soft);--color-background-mute: var(--vt-c-black-mute);--color-border: var(--vt-c-divider-dark-2);--color-border-hover: var(--vt-c-divider-dark-1);--color-heading: var(--vt-c-text-dark-1);--color-text: var(--vt-c-text-dark-2)}}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100vh;color:var(--color-text);background:var(--color-background);transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#app{max-width:1280px;margin:0 auto;padding:2rem;font-weight:400}a,.green{text-decoration:none;color:#00bd7e;transition:.4s;padding:3px}@media (hover: hover){a:hover{background-color:#00bd7e33}}@media (min-width: 1024px){body{display:flex;place-items:center}#app{display:grid;grid-template-columns:1fr 1fr;padding:0 2rem}}html,body{background:#fff!important;margin:0;padding:0}#app{background:#fff}.shell{display:grid;grid-template-columns:360px minmax(0,1fr);gap:24px;margin:2rem 20rem 2rem 0rem;padding:0;width:calc(100vw - 20rem);box-sizing:border-box;min-height:100vh;background:#fff}@media (max-width: 980px){.shell{grid-template-columns:1fr;margin:0;width:100%;min-height:100vh;padding:1rem .5rem}.viewer-pane{height:400px}}.left{display:flex;flex-direction:column;gap:12px}.right{display:flex;width:100%;min-width:0}h1{font-size:2rem;margin:0;color:#000}p{margin:0 0 .5rem;color:#333}.mode-group{display:flex;gap:14px;background:#e9ecef;padding:.6rem .8rem;border-radius:8px;width:max-content}.toggle{display:flex;align-items:center;gap:.5rem;cursor:pointer}.toggle input{margin:0}.toggle span{line-height:1.05;color:#000}.row{display:flex;align-items:center;gap:.5rem}.label{color:#555}.select{padding:.25rem .4rem;border:1px solid #ccc;border-radius:6px;background:#fff;color:#000}.primary{padding:.6rem 1.2rem;background:#007bff;color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:1rem}.primary:disabled{background:#aaa;cursor:not-allowed}.newdesign{align-self:flex-start;background:linear-gradient(135deg,#ff7a59,#ff3cac 60%,#784ba0);color:#fff;border:none;border-radius:999px;padding:.5rem 1rem;font-weight:600;box-shadow:0 6px 16px #784ba040;transition:transform .06s ease,box-shadow .2s ease;cursor:pointer}.newdesign:hover{transform:translateY(-1px);box-shadow:0 8px 20px #784ba059}.sid{font-size:.85rem;color:#666;word-break:break-all}textarea{width:100%;padding:.6rem;font-size:1rem;border-radius:8px;border:1px solid #ccc;background:#fff;color:#000;font-family:inherit}.status-panel{background:#f7f7f7;padding:1rem;border-radius:8px}.status-panel p{color:#000}.download-button{display:inline-block;margin-top:.5rem;padding:.5rem 1rem;background:#28a745;color:#fff;text-decoration:none;border-radius:8px;min-width:150px;text-align:center}.download-button.secondary{background:#28a745;margin-left:.5rem}.download-button.secondary:hover{background:#218838}.history ul{list-style:none;padding:0;margin:.5rem 0 0}.history h3{color:#000}.history li{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;padding:.35rem .5rem;margin:.25rem 0;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#000}.history button{background:#007bff;color:#fff;padding:.25rem .55rem;border:none;border-radius:6px;cursor:pointer}.viewer-pane{flex:1;width:100%;min-width:0;height:600px;border:1px dashed #cbd5e1;background:#f9f9f9;border-radius:10px;position:relative}@media (max-width: 980px){.viewer-pane{height:400px}.download-button{display:block;width:100%;margin-left:0!important;margin-top:.5rem}}canvas{width:100%!important;height:100%!important;display:block}.progress-wrap{margin:.5rem 0 1rem}.progress-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:.35rem}.progress-msg{font-size:.95rem;color:#111}.progress-badge{font-size:.85rem;background:#111827;color:#fff;padding:.15rem .5rem;border-radius:999px;min-width:3rem;text-align:center}.progress-track{width:100%;height:10px;background:#e5e7eb;border-radius:999px;overflow:hidden;box-shadow:inset 0 0 0 1px #0000000a}.progress-fill{height:100%;width:0%;background:linear-gradient(90deg,#60a5fa,#34d399,#a78bfa);border-radius:999px;transition:width .25s ease}
