:root{color:#f4f7fb;background:#08111f;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at top,#1b3b64 0,#08111f 44%,#050914 100%);min-height:100vh;margin:0}button,input,textarea{font:inherit}.app{width:min(100%,520px);padding:calc(env(safe-area-inset-top) + 76px) 14px 36px;margin:0 auto}.topbar{z-index:10;width:min(100%,520px);padding:calc(env(safe-area-inset-top) + 14px) 14px 14px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#08111feb;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;margin:0;display:flex;position:fixed;top:0;left:50%;transform:translate(-50%)}.topbar div{flex-direction:column;display:flex}.topbar .top-actions{flex-direction:row;gap:8px}.topbar small,.hero p,.card p,small{color:#9fb0c8}.topbar button,.ghost,.back{color:#f4f7fb;background:#ffffff0f;border:1px solid #ffffff24;border-radius:999px;padding:9px 13px}.hero{padding:22px 4px}.hero h1,.project-head h1{margin:0 0 8px;font-size:30px;line-height:1.08}.card{background:#0c182ad1;border:1px solid #ffffff1a;border-radius:24px;margin:12px 0;padding:18px;box-shadow:0 20px 60px #00000040}.auth{gap:10px;display:grid}.auth h2,.card h2{margin:0 0 8px}input,textarea{color:#fff;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:16px;outline:none;width:100%;padding:13px 14px}textarea{resize:vertical;min-height:118px}.primary{color:#06101e;background:linear-gradient(135deg,#64e2ff,#8b5cf6);border:0;border-radius:16px;padding:13px 16px;font-weight:800}.primary:disabled{opacity:.55}.link{text-align:center;text-decoration:none;display:block}.actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:14px;display:grid}.actions .ghost{place-items:center;display:grid}.error{color:#ff9b9b}.list{gap:10px;display:grid}.project-card{text-align:left;color:#fff;background:#0c182ad1;border:1px solid #ffffff1a;border-radius:22px;align-items:center;gap:12px;width:100%;padding:14px;display:flex}.project-card div:last-child{flex-direction:column;gap:4px;min-width:0;display:flex}.icon{background:linear-gradient(135deg,#1d4ed8,#7c3aed);border-radius:16px;flex:none;place-items:center;width:54px;height:54px;font-weight:900;display:grid;overflow:hidden}.icon img{object-fit:cover;width:100%;height:100%}.project-head{align-items:center;gap:14px;display:flex}.stats{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.stats span,.object-list span{text-align:center;color:#c9d7ee;background:#ffffff0f;border:1px solid #ffffff14;border-radius:14px;padding:10px}.object-list{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.object-list span{padding:8px 10px}.ai{gap:12px;display:grid}.task{background:#0000002e;border:1px solid #ffffff1a;border-radius:16px;padding:12px}.feedback-card{gap:10px;display:grid}.feedback-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.feedback-card p{white-space:pre-wrap;color:#eaf1ff;margin:0}.feedback-actions{gap:8px;display:flex}.feedback-card .ghost{justify-self:start}.preview-page{color:#d7dde6;touch-action:none;-webkit-user-select:none;user-select:none;background:#11151b;flex-direction:column;min-height:100vh;display:flex;overflow:hidden}.preview-top{background:#202630;border-bottom:1px solid #303947;flex:none;align-items:center;gap:12px;height:42px;padding:0 14px;display:flex}.preview-top span{color:#8f9bac;font-size:13px}#preview-canvas-page{touch-action:none;flex:1;justify-content:center;align-items:center;min-height:0;padding:18px;display:flex;overflow:hidden}#preview-canvas-page canvas{touch-action:none;image-rendering:auto;outline:none;width:auto!important;max-width:none!important;height:auto!important;max-height:none!important}.preview-error{color:#ffb0b0;margin:40px}.preview-errors{z-index:20;pointer-events:none;gap:8px;display:grid;position:fixed;bottom:16px;left:16px;right:16px}.preview-error-item{color:#ffd0d0;background:#231217f0;border:1px solid #75404a;border-radius:8px;max-height:170px;padding:9px 11px;overflow:auto;box-shadow:0 10px 30px #00000059}.preview-error-item strong{margin-bottom:5px;font-size:12px;display:block}.preview-error-item pre{white-space:pre-wrap;color:#ffb9b9;margin:0;font:11px/1.45 ui-monospace,Cascadia Mono,Menlo,Consolas,monospace}
