@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#f3f4f6;background:#111318;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 18% 0%,#202431 0,#111318 48%);color:#f3f4f6}
button{font:inherit;cursor:pointer}
.topbar{height:76px;padding:0 4.5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #292d36;background:#15171d}
.brand{display:flex;align-items:center;gap:11px}.brand-mark{width:38px;height:38px;border-radius:12px;background:#a78bfa;color:#171322;display:grid;place-items:center;font-size:23px}.brand strong{display:block;font:800 17px Manrope}.brand small{display:block;color:#818895;font-size:9px;letter-spacing:2px;margin-top:2px}
.top-actions{display:flex;gap:10px}.button{border:1px solid #383d49;border-radius:9px;padding:10px 15px;color:#e8e9ee;background:#222630;font-weight:600;font-size:12px}.button:disabled{opacity:.4;cursor:not-allowed}.button.primary{background:#a78bfa;border-color:#a78bfa;color:#171322}.button.subtle{background:transparent}
.workspace{max-width:1440px;margin:0 auto;padding:34px 4.5%;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:26px;min-height:calc(100vh - 76px)}
.stage{min-width:0;display:flex;flex-direction:column}.stage-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.eyebrow{font-size:9px;letter-spacing:2px;color:#9b8bc9;font-weight:700}.stage h1{font:700 21px Manrope;margin:5px 0 0}.status{font-size:11px;color:#9299a6;background:#20242d;padding:7px 10px;border-radius:20px}
.canvas-wrap{flex:1;min-height:420px;border:1px dashed #414653;border-radius:15px;background:repeating-linear-gradient(45deg,#1b1e26,#1b1e26 10px,#1d2029 10px,#1d2029 20px);display:flex;align-items:center;justify-content:center;overflow:hidden;padding:24px}
#canvas{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 15px 50px #0008}
.empty-state{text-align:center;max-width:360px}.upload-icon{width:55px;height:55px;margin:0 auto 18px;border-radius:17px;background:#29253a;color:#c4b5fd;display:grid;place-items:center;font-size:28px}.empty-state h2{font:700 19px Manrope;margin:0 0 8px}.empty-state p{font-size:12px;line-height:1.6;color:#969daa;margin:0 0 20px}.empty-state small{display:block;font-size:10px;color:#727987;margin-top:17px}.stage-foot{display:flex;justify-content:space-between;padding-top:14px;color:#68707d;font-size:9px;letter-spacing:1px}
.panel{background:#1a1d25;border:1px solid #2c303a;border-radius:14px;padding:20px 18px;align-self:start}.panel-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.panel-title h2{font:700 18px Manrope;margin:5px 0 0}.sliders-icon{color:#b7a6f7;font-size:22px}
.upload-card{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid #393d49;border-radius:10px;background:#222630;cursor:pointer}.upload-plus{width:30px;height:30px;border-radius:8px;background:#342d4b;color:#c4b5fd;display:grid;place-items:center;font-size:19px}.upload-card strong,.upload-card small{display:block}.upload-card strong{font-size:11px}.upload-card small{font-size:9px;color:#8d94a1;margin-top:3px}.chevron{margin-left:auto;color:#969daa;font-size:22px}
.section-label{font-size:9px;letter-spacing:1.7px;color:#858d9b;font-weight:700;margin:23px 0 15px}.control{margin:0 0 17px}.control-head{display:flex;justify-content:space-between;margin-bottom:9px}.control-head label{font-size:11px;color:#d8dae1}.control-head output{font-size:10px;color:#b9a8ff;font-variant-numeric:tabular-nums}
input[type=range]{width:100%;accent-color:#a78bfa;height:4px;cursor:pointer}
.filters{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.filter{background:transparent;border:1px solid #383d49;border-radius:8px;color:#aeb4bf;padding:7px 3px 8px;font-size:9px}.filter.active{border-color:#a78bfa;color:#d4c7ff;background:#29243a}.filter-swatch{display:block;width:29px;height:29px;border-radius:7px;margin:0 auto 6px;background:linear-gradient(135deg,#d6a17d,#6b7d9b 55%,#d9c5a0)}.filter-swatch.mono{filter:grayscale(1)}.filter-swatch.warm{filter:sepia(1)}.filter-swatch.vivid{filter:saturate(2)}
.transform-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.tool-button{border:1px solid #383d49;border-radius:8px;background:#222630;color:#e1e2e8;padding:10px;font-size:19px}.tool-button span{font-size:10px;margin-left:5px}
.tip{display:flex;gap:10px;padding:12px;margin-top:22px;background:#272438;border-radius:9px;color:#c4b5fd}.tip>span{font-size:16px}.tip p{margin:0;color:#aaa4bd;font-size:9px;line-height:1.6}.tip strong{color:#e4dcff;font-size:10px}
@media(max-width:900px){.workspace{grid-template-columns:1fr}.panel{width:100%}.canvas-wrap{min-height:380px}}
@media(max-width:520px){.topbar{padding:0 16px}.workspace{padding:22px 16px}.top-actions{gap:6px}.button{padding:9px;font-size:10px}.stage-foot{font-size:8px}}
