:root{font-family:"Segoe UI","Microsoft YaHei",sans-serif;color:#252331;background:#fff;font-synthesis:none;--accent:#6741d9;--line:#e4e1eb;--muted:#686374;--soft:#f5f2fc}*{box-sizing:border-box}body{margin:0}::selection{background:#ded2ff;color:#302050}a{color:var(--accent);text-underline-offset:4px}header{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:20px}.brand{font-size:20px;font-weight:700;color:#292333;text-decoration:none}.brand span{font-weight:400;color:var(--muted);font-size:14px;margin-left:14px}nav{display:flex;align-items:center;gap:20px}nav a{font-size:14px}h1{font-size:23px;letter-spacing:-.02em;margin:0 0 8px}h2{font-size:17px;margin:0}h3{font-size:20px;margin:20px 0 10px}p{line-height:1.7}.muted{color:var(--muted);font-size:14px;margin:0 0 26px}.workspace{display:grid;grid-template-columns:356px minmax(0,1fr);min-height:calc(100vh - 76px)}aside{padding:30px 26px;background:#fcfaff;border-right:1px solid var(--line)}label{display:block;font-size:14px;font-weight:600;margin:0 0 23px}input,select,textarea,button{font:inherit}input,select,textarea{width:100%;padding:12px;border:1px solid #cfc9da;border-radius:9px;background:white;color:inherit;caret-color:var(--accent)}select,input,textarea{margin-top:9px}textarea{resize:vertical;line-height:1.8;font-weight:400}input::placeholder,textarea::placeholder{color:#716b7e}button{cursor:pointer;border:1px solid var(--line);border-radius:9px;padding:11px 18px;background:white;color:inherit}button:hover{background:#f1ecfc}button:disabled{opacity:.6;cursor:wait}.primary{background:var(--accent);color:#fff;border-color:var(--accent);font-weight:600}.primary:hover{background:#5532bd}.primary:disabled{background:#75658f}#generate{width:100%;margin-top:8px}fieldset{border:0;padding:0;margin:0 0 24px}legend{font-size:14px;font-weight:600;margin:0 0 12px}.choices{display:flex;gap:8px}.choices.wrap{flex-wrap:wrap}.choices label{margin:0;position:relative;flex:1;min-width:60px}.choices input{position:absolute;opacity:0;width:1px;height:1px}.choices span{display:block;border:1px solid #d5cfdf;border-radius:8px;text-align:center;padding:10px 7px;cursor:pointer;font-weight:400;background:white}.choices input:checked+span{color:#5630c0;border-color:var(--accent);background:#eee7ff;font-weight:600}.choices input:focus-visible+span{outline:3px solid #b9a3f4;outline-offset:2px}.upload{position:relative;text-align:center;padding:23px 8px;border:1px dashed #b7a5dc;border-radius:12px;background:#f4efff;cursor:pointer}.upload:hover,.upload.drag{background:#eae0ff}.upload input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0}.upload strong,.upload span{display:block}.upload span{font-size:11px;color:#65577f;margin-top:7px;font-weight:400}svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.upload svg{width:25px;height:25px;color:var(--accent);margin-bottom:10px}.thumbs{display:flex;gap:9px;flex-wrap:wrap;margin:-10px 0 23px}.thumb{position:relative;width:61px}.thumb img{width:61px;height:69px;object-fit:cover;border-radius:7px}.thumb button{display:block;padding:3px;width:100%;font-size:11px}.thumb .view{padding:0;border:0;background:none}.canvas{padding:28px 38px;min-width:0;display:flex;flex-direction:column}.canvashead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.badge{border-radius:20px;background:#f2edf9;color:#675081;font-size:12px;padding:6px 12px;white-space:nowrap}.stage{background:#f6f5f8;flex:1;min-height:520px;border-radius:14px;display:flex;align-items:center;justify-content:center;padding:30px;overflow:hidden}.stage>img{max-height:75vh;max-width:100%;object-fit:contain;border-radius:4px}.stage>img[hidden]{display:none}#empty{text-align:center;color:var(--muted)}#empty svg{width:62px;height:62px;color:#9a83c9}#empty h3{color:#46395e}#empty p{font-size:14px}.canvasnote{font-size:12px;color:var(--muted);text-align:center;margin-bottom:0}.message{font-size:14px;color:#694611;white-space:pre-wrap}.message.success{color:#28634d}.admin{max-width:900px;margin:45px auto;padding:0 26px 60px}#login{max-width:430px;margin:75px auto}.formfoot{display:flex;align-items:center;justify-content:space-between;gap:15px}.formfoot .muted{margin:0}.integration{border-top:1px solid var(--line);margin-top:40px;padding-top:26px}.integration h2{display:inline-block;margin-right:12px}.integration p{color:var(--muted);font-size:14px;max-width:70ch}[hidden]{display:none!important}:focus-visible{outline:3px solid #b9a3f4;outline-offset:3px}*{scrollbar-color:#b7a5d7 #f5f2fc;scrollbar-width:thin}#preview{animation:reveal .3s ease-out}@keyframes reveal{from{clip-path:inset(0 0 10% 0)}to{clip-path:inset(0)}}@media(prefers-reduced-motion:reduce){#preview{animation:none}}@media(max-width:820px){header{padding:0 18px;height:66px}.brand{font-size:17px}.brand span{display:none}.workspace{grid-template-columns:310px minmax(0,1fr)}aside{padding:24px 18px}.canvas{padding:24px 18px}.canvashead{align-items:flex-start;flex-direction:column}.stage{min-height:440px;padding:15px}}@media(max-width:620px){.workspace{display:flex;flex-direction:column}aside{border-right:0;border-bottom:1px solid var(--line)}.canvas{min-height:460px}.stage{min-height:340px}.canvashead{flex-direction:row;align-items:center}.admin{margin-top:30px}.canvasnote{text-align:left}.stage>img{max-height:65vh}}
