@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700&display=swap";:root{color:#17171a;font-synthesis:none;--ink:#17171a;--muted:#77777f;--line:#e7e7eb;--card:#fff;--accent:#7257f5;--accent2:#8f78ff;background:#f4f5f7;font-family:Inter,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,textarea,select,input{font:inherit}.app-shell{min-height:100vh;display:flex}.sidebar{color:#ddd;z-index:20;background:#101012;flex-direction:column;width:245px;padding:18px 14px;display:flex;position:fixed;inset:0 auto 0 0}.brand{color:#fff;align-items:center;gap:10px;padding:0 6px 20px;font-family:Manrope;font-weight:700;display:flex}.brand-mark{background:linear-gradient(145deg,#846bff,#5f47e8);border-radius:10px;place-items:center;width:34px;height:34px;display:grid}.mobile-close{color:#fff;background:0 0;border:0;margin-left:auto;display:none}.new-create{color:#161618;cursor:pointer;background:#fff;border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:18px;padding:11px 12px;font-weight:650;display:flex}nav{flex-direction:column;gap:5px;display:flex}nav a,.sidebar-bottom>a{color:#a9a9af;cursor:pointer;border-radius:9px;align-items:center;gap:10px;padding:10px 11px;font-size:14px;text-decoration:none;display:flex}nav a.active,nav a:hover,.sidebar-bottom>a:hover{color:#fff;background:#222226}.nav-label{letter-spacing:.13em;color:#66666e;text-transform:uppercase;padding:22px 11px 7px;font-size:10px;font-weight:700}.pill{background:#2b2b31;border-radius:20px;margin-left:auto;padding:2px 6px;font-size:9px}.sidebar-bottom{margin-top:auto}.user{border-top:1px solid #29292d;align-items:center;gap:9px;margin-top:12px;padding:17px 6px 0;display:flex}.user .avatar{color:#fff;background:#2d2d33;border-radius:50%;place-items:center;width:34px;height:34px;font-weight:700;display:grid}.user div:nth-child(2){flex-direction:column;flex:1;display:flex}.user strong{color:#fff;font-size:13px}.user span{color:#777;font-size:11px}.main{width:calc(100% - 245px);margin-left:245px}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;height:86px;padding:0 34px;display:flex}.eyebrow{letter-spacing:.15em;color:#999;margin-bottom:3px;font-size:10px;font-weight:700}.topbar h1{margin:0;font:700 20px Manrope}.engine{border:1px solid var(--line);color:#64646b;background:#fafafa;border-radius:20px;align-items:center;gap:7px;padding:8px 12px;font-size:12px;display:flex}.dot{background:#35b56f;border-radius:50%;width:7px;height:7px;display:inline-block}.dot.bad{background:#e15e5e}.menu{background:0 0;border:0;display:none}.workspace{grid-template-columns:minmax(0,1.02fr) minmax(400px,.98fr);gap:24px;max-width:1230px;margin:0 auto;padding:32px;display:grid}.card{background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 30px #14141e09}.composer{padding:24px}.section-head{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.section-head>div{align-items:center;gap:9px;display:flex}.section-head strong{font-size:14px}.step{color:#664dde;background:#f0edff;border-radius:7px;place-items:center;width:22px;height:22px;font-size:11px;font-weight:700;display:grid}.muted{color:#97979e;font-size:11px}.composer textarea{resize:vertical;background:#fbfbfc;border:1px solid #dddde3;border-radius:11px;outline:none;width:100%;min-height:135px;padding:14px;line-height:1.55}.composer textarea:focus,.composer input:focus,.composer select:focus{border-color:#9482f4;box-shadow:0 0 0 3px #f0edff}.prompt-footer{color:#aaa;justify-content:space-between;margin-top:7px;font-size:10px;display:flex}.prompt-footer button{color:#777;cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;display:flex}.divider{border-top:1px solid var(--line);margin:22px 0}.field-label,.advanced-panel label{color:#6d6d73;margin-bottom:7px;font-size:11px;font-weight:600;display:block}.select-wrap{position:relative}.select-wrap select{appearance:none;background:#fff;border:1px solid #dddde3;border-radius:10px;outline:none;width:100%;padding:11px 38px 11px 12px}.select-wrap svg{color:#888;pointer-events:none;position:absolute;top:12px;right:12px}.notice{color:#806d2a;background:#fff8df;border:1px solid #f4e4a5;border-radius:9px;margin-top:8px;padding:10px 11px;font-size:11px}.size-grid{grid-template-columns:repeat(4,1fr);gap:9px;display:grid}.size-grid button{cursor:pointer;color:#606067;background:#fff;border:1px solid #e0e0e5;border-radius:11px;flex-direction:column;align-items:center;gap:5px;padding:12px 8px;display:flex}.size-grid button.selected{color:#4f3ac6;background:#f7f5ff;border-color:#826cf3;box-shadow:inset 0 0 0 1px #826cf3}.size-grid strong{font-size:11px}.size-grid small{color:#aaa;font-size:9px}.ratio-box{border:1.5px solid;border-radius:3px;width:26px;max-height:32px;margin-bottom:2px;display:block}.advanced-toggle{border:0;border-top:1px solid var(--line);color:#5f5f67;cursor:pointer;background:0 0;align-items:center;gap:8px;width:100%;margin-top:18px;padding:16px 2px 3px;font-size:12px;display:flex}.advanced-toggle svg:last-child{margin-left:auto;transition:all .2s}.advanced-toggle .flip{transform:rotate(180deg)}.advanced-panel{padding:14px 0 2px}.small-area{min-height:72px!important}.advanced-panel input{border:1px solid #dddde3;border-radius:9px;outline:none;width:100%;margin-top:6px;padding:10px}.two-col{grid-template-columns:1fr 1fr;gap:10px;margin-top:10px;display:grid}.generate{color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent2));cursor:pointer;border:0;border-radius:11px;justify-content:center;align-items:center;gap:8px;width:100%;margin-top:18px;padding:13px;font-weight:700;display:flex;box-shadow:0 8px 20px #7257f53b}.generate:disabled{opacity:.45;cursor:not-allowed}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.error{color:#a44343;background:#fff0f0;border:1px solid #f1c7c7;border-radius:9px;margin-top:10px;padding:10px;font-size:11px}.preview{height:max-content;padding:20px;position:sticky;top:20px}.preview-head{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.preview-head>div{flex-direction:column;gap:2px;display:flex}.preview-head strong{font-size:13px}.preview-head span{color:#999;font-size:10px}.success{background:#eaf9f0;border-radius:20px;padding:5px 8px;color:#2e9c60!important}.canvas{background:#f6f6f8;border:1px dashed #d7d7dd;border-radius:13px;place-items:center;width:100%;min-height:420px;max-height:620px;display:grid;overflow:hidden}.canvas.has-image{background:#111;border-style:solid}.canvas img{object-fit:contain;width:100%;height:100%}.empty-state,.progress-state{text-align:center;flex-direction:column;align-items:center;max-width:330px;padding:30px;display:flex}.empty-icon,.orb{color:#7057e7;background:#ece9ff;border-radius:16px;place-items:center;width:54px;height:54px;margin-bottom:15px;display:grid}.empty-state strong,.progress-state strong{margin-bottom:7px;font-size:13px}.empty-state span{color:#999;font-size:11px;line-height:1.5}.orb{border-radius:50%;animation:1.6s ease-in-out infinite pulse}@keyframes pulse{50%{transform:scale(1.07);box-shadow:0 0 0 12px #7257f514}}.progress-track{background:#e3e3e7;border-radius:9px;width:220px;height:5px;margin:12px 0 5px;overflow:hidden}.progress-track span{background:linear-gradient(90deg,var(--accent),#a08dff);height:100%;transition:all .3s;display:block}.progress-state small{color:#888}.status-row{border:1px solid var(--line);color:#85858c;border-radius:9px;align-items:center;gap:8px;margin-top:14px;padding:10px 11px;font-size:10px;display:flex}.status-row b{color:#666;margin-left:auto}.result-actions{grid-template-columns:1fr 1fr;gap:9px;margin-top:11px;display:grid}.result-actions a,.result-actions button{border:1px solid var(--line);color:#555;cursor:pointer;background:#fff;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:9px;font-size:11px;text-decoration:none;display:flex}.result-actions .download{color:#fff;background:#17171a;border-color:#17171a}@media (width<=1000px){.workspace{grid-template-columns:1fr}.preview{position:static}.canvas{min-height:350px}}@media (width<=760px){.sidebar{transition:all .25s;transform:translate(-100%)}.sidebar.open{transform:none}.mobile-close,.menu{display:block}.main{width:100%;margin-left:0}.topbar{padding:0 18px}.engine{display:none}.workspace{padding:16px}.size-grid{grid-template-columns:repeat(2,1fr)}.canvas{min-height:300px}.composer{padding:18px}}
