:root{--ink:#17231d;--green:#214b37;--lime:#c7f06a;--orange:#ef7950;--paper:#fffdf8;--soft:#f2f0e9;--line:#dce0da;--muted:#758078}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--soft);font:14px Inter,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}header{height:66px;background:var(--ink);color:white;display:flex;align-items:center;padding:0 22px;gap:35px}.logo{color:white;text-decoration:none;font-size:20px;font-weight:800}.logo b{color:var(--lime)}header nav{display:flex;height:100%}header nav button{border:0;background:none;color:#afbbb4;padding:0 17px}header nav button:hover{color:white}.account{margin-left:auto;display:flex;align-items:center;gap:15px;font-size:11px;color:#9eaaa3}.account button,.ghost{border:1px solid #ffffff42;background:#ffffff0b;color:inherit;padding:9px 13px;border-radius:7px}.page{display:none}.page.active{display:grid}#create{grid-template-columns:280px minmax(450px,1fr) 245px;height:calc(100vh - 116px)}.sidebar,.palette-panel{background:var(--paper);padding:22px;border-right:1px solid var(--line);overflow:auto}.palette-panel{border-left:1px solid var(--line);border-right:0}.sidebar h1,.simple-page h1{font-size:25px;margin:0 0 5px}.sidebar>p,.palette-panel>p,.page-title p{color:var(--muted);font-size:12px;line-height:1.5}.sidebar label,.card label{display:flex;flex-direction:column;gap:8px;margin:18px 0;font-size:12px;font-weight:700}.sidebar label output{float:right;color:var(--green)}.sidebar select,.card select,.card textarea,.card input{border:1px solid var(--line);border-radius:7px;background:white;padding:10px}.drop{min-height:135px!important;border:1.5px dashed #a9b3ab;border-radius:10px;display:flex;align-items:center;justify-content:center;cursor:pointer;background:#fbfcf8}.drop input{display:none}.drop b{font-size:25px;color:var(--green)}.drop small{color:var(--muted)}.link{border:0;background:none;color:var(--green);font-size:11px;width:100%}.primary{border:0;background:var(--green);color:white;border-radius:8px;padding:12px 16px;font-weight:700}.primary:disabled{background:#b2bbb5}.sidebar>.primary{width:100%}.editor{min-width:0;display:grid;grid-template-rows:51px 1fr 40px}.toolbar{background:white;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 12px}.toolbar button{height:31px;min-width:31px;border:1px solid var(--line);background:white;border-radius:6px;margin:2px}.toolbar button.active{background:var(--green);color:white}.toolbar span{display:inline-block;min-width:43px;text-align:center;font-size:11px}.workarea{overflow:hidden;position:relative;display:grid;place-items:center;background-color:#e9e8e1;background-image:radial-gradient(#bec4bd 1px,transparent 1px);background-size:18px 18px}.workarea canvas{background:white;box-shadow:0 10px 35px #24352b30;touch-action:none}.blank{text-align:center;color:var(--muted)}.blank b{font-size:55px;color:#aeb8b0}.blank h2{color:#536057}.status{background:white;border-top:1px solid var(--line);display:flex;align-items:center;gap:19px;padding:0 14px;color:#69746d;font-size:11px}.status select{border:0;background:#f2f3ef}.panel-head{display:flex;align-items:center;justify-content:space-between}.panel-head h2{font-size:17px}.panel-head button{border:0;background:none;color:var(--green);font-size:10px}.swatch{display:grid;grid-template-columns:31px 1fr auto;align-items:center;gap:9px;width:100%;border:0;background:none;padding:7px;border-radius:7px;text-align:left}.swatch:hover,.swatch.active{background:#ecefe9}.swatch.focused{outline:2px solid var(--orange)}.swatch i{width:29px;height:29px;border-radius:50%;border:1px solid #0002}.swatch b{font-size:11px}.swatch small{color:var(--muted);font-size:9px}.simple-page{padding:44px;max-width:1150px;margin:auto}.simple-page.active{display:block}.page-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px}.page-title small{color:var(--orange);font-weight:800;letter-spacing:1.5px}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}.project{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.project img{width:100%;height:160px;object-fit:contain;background:#eeede6}.project div{padding:14px}.project h3{margin:0 0 6px}.project small{color:var(--muted)}.project button{margin-top:12px;border:0;background:var(--green);color:white;padding:8px;border-radius:5px}.empty-card{padding:60px;text-align:center;color:var(--muted);background:white;border:1px dashed #b6beb8;border-radius:12px}.ai-layout{display:grid;grid-template-columns:370px 1fr;gap:25px}.card,.ai-preview{background:white;border:1px solid var(--line);border-radius:13px;padding:24px}.card textarea{min-height:115px;resize:vertical}.note{font-size:10px;color:var(--muted);line-height:1.5}.ai-preview{min-height:420px;display:grid;place-items:center;text-align:center;color:var(--muted)}.ai-preview b{font-size:45px;color:var(--orange)}.ai-preview canvas{max-width:100%;image-rendering:pixelated}.compress-card{max-width:500px}.list{display:grid;gap:10px}.task{background:white;border:1px solid var(--line);padding:16px;border-radius:9px;display:flex;justify-content:space-between}.task span{color:var(--muted)}.bottom-actions{position:fixed;left:0;right:0;bottom:0;height:50px;background:white;border-top:1px solid var(--line);display:flex;align-items:center;padding:0 20px;gap:12px;z-index:5}.bottom-actions input{border:0;font-weight:700;width:220px}.bottom-actions span{color:var(--muted);font-size:10px}.bottom-actions button{margin-left:auto;border:1px solid var(--line);background:white;padding:8px 12px;border-radius:6px}.bottom-actions button+button{margin-left:0;background:var(--green);color:white}.bottom-actions.hidden{display:none}dialog{border:0;border-radius:14px;padding:0;box-shadow:0 20px 80px #0005}dialog::backdrop{background:#132019aa}dialog form{width:360px;padding:28px;position:relative}dialog .close{position:absolute;right:12px;top:10px;border:0;background:none;font-size:23px}dialog label{display:flex;flex-direction:column;gap:8px;margin:20px 0}dialog input{padding:11px;border:1px solid var(--line);border-radius:7px}dialog .primary{width:100%}@media(max-width:900px){#create{grid-template-columns:240px 1fr}.palette-panel{display:none}header nav button:nth-child(n+4){display:none}.ai-layout{grid-template-columns:1fr}}@media(max-width:650px){header{padding:0 10px}.logo{font-size:16px}header nav{display:none}#create{display:block;height:auto}.sidebar{height:auto}.editor{height:650px}.bottom-actions input,.bottom-actions span{display:none}.simple-page{padding:25px 14px}.page-title{align-items:start;gap:20px}.account span{display:none}}
