@import url('pixel-tokens.css');
/* 新WEB静态工作区基础样式。 */
*{box-sizing:border-box}[hidden]{display:none!important}html{height:100%}body{margin:0;color:#49333d;font:14px/1.5 'Microsoft YaHei',sans-serif}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;min-height:36px;border:1px solid #b595ab;background:#fffaf0;padding:7px 10px;border-radius:5px}button:disabled{opacity:.45;cursor:default}input,select,textarea{padding:8px;border:1px solid #c3a8ba;background:#fffaf0;border-radius:5px}input:not([type=radio]):not([type=checkbox]),textarea{width:100%}button:focus-visible,input:focus-visible{outline:3px solid #b58dc4;outline-offset:2px}h1,h2,h3,p{margin:0 0 10px}h2{font-size:19px}h3{font-size:14px}.heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.primary{background:#ef85a4}.frame{background:#fffaf0;border:8px solid transparent;border-image:var(--frame) 12 fill / 8px;padding:12px}.drawing{display:flex;flex-direction:column;min-height:0;min-width:0}.drawing>.heading,.drawing>.tools,#region-actions,#view-controls{flex-shrink:0}#stage{position:relative;flex:1;min-height:70px;height:0;overflow:hidden;touch-action:none;background:#f0eafa}#diagram{position:absolute;left:0;top:0;transform-origin:0 0;image-rendering:pixelated}.diagram-labels{position:absolute;left:0;top:0;pointer-events:none;image-rendering:auto;z-index:1}#empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;pointer-events:none}#empty button{pointer-events:auto}.tools,#view-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap}#view-controls{margin-top:8px}.library,.colors{min-width:0;min-height:0;overflow:auto}#projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.project{display:flex;flex-direction:column;gap:5px;min-width:0}.project canvas{width:100%;height:auto;image-rendering:pixelated}.project strong{font-size:12px}.project small{font-size:10px}#palette,#swatches{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.color{font-size:10px;min-width:0;padding:4px}.color span,#selected i{display:block;width:28px;height:28px;background:var(--color);margin:0 auto 4px;border:1px solid #c7b0bf}#selected{display:flex;align-items:center;gap:9px}#selected i{margin:0}#region-actions{display:flex;gap:8px;align-items:center;padding:7px;font-size:12px}dialog{width:min(900px,94vw);max-height:92dvh;overflow:auto;background:#fffaf0;border:2px solid #664759;border-radius:8px;padding:18px}dialog::backdrop{background:#37263788}dialog label{display:block;font-size:12px;margin:10px 0}dialog input,dialog select{display:block;width:100%;margin-top:5px}.import-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}#source-preview{max-width:100%;max-height:160px}#source-preview:not([src]){display:none}#import-preview{width:100%;height:auto;display:block;image-rendering:pixelated;background:repeating-conic-gradient(#eee5f3 0 25%,#fffaf0 0 50%) 0/16px 16px}.import-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.effects-compare{display:grid;grid-template-columns:1fr 1fr;gap:15px}.effects-compare figure{margin:0;min-width:0}.effects-compare canvas{width:100%;height:auto}.effects-compare figcaption{font-size:12px;text-align:center;margin:9px}#effects-tabs{display:flex;gap:8px;flex-wrap:wrap}#effects-tabs button{font-size:12px}#effects-note{font-size:12px;margin:12px 0}#wm-preview{width:100%;height:auto}#watermark-dialog input[type=checkbox]{display:inline-block;width:auto}
.web-booting .pixel-shell,.web-booting .pixel-brand-footer,.web-booting .pixel-mobile-tools{display:none!important}#web-boot{min-height:100dvh;display:grid;place-items:center;background:#fff8ef;color:#85556f}#web-boot>div{padding:30px;text-align:center}#web-boot span{display:block;font-size:25px;font-weight:800;margin-bottom:15px}#web-boot p{font-size:13px;color:#a5879c}
@media(max-width:650px){.effects-compare{grid-template-columns:1fr}.import-fields{grid-template-columns:repeat(2,minmax(0,1fr))}dialog{padding:12px}}
