:root {
  --bg: #f4f1ea;
  --panel: #ffffff;
  --ink: #2b2b2b;
  --muted: #8a8a8a;
  --line: #e3ddd0;
  --accent: #e2553b;
  --accent-2: #3f7fd6;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(1200px 600px at 85% -10%, #fdeee6 0%, rgba(253,238,230,0) 60%),
    linear-gradient(180deg, #f7f3ec 0%, #efe9dd 100%);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* Header */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px rgba(60,40,20,.06);
  gap: 16px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo {
  font-size: 26px; color: var(--accent);
  animation: spin 6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.app-header h1 { font-size: 18px; margin: 0; display: flex; align-items: baseline; gap: 8px; }
.slogan { font-size: 12px; color: var(--muted); margin: 2px 0 0; }
.ver { font-size: 11px; font-weight: 600; color: #fff; background: var(--accent, #c0392b); padding: 1px 7px; border-radius: 999px; vertical-align: middle; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab {
  border: 1px solid var(--line);
  background: #fff;
  padding: 7px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink);
  transition: .15s;
}
.tab:hover { border-color: var(--accent); }
.tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Layout */
.layout {
  flex: 1;
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 12px;
  padding: 12px;
  min-height: 0;
}
.panel { overflow-y: auto; padding-right: 4px; }
.panel::-webkit-scrollbar { width: 8px; }
.panel::-webkit-scrollbar-thumb { background: #d8d2c4; border-radius: 8px; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.card h2 { font-size: 14px; margin: 0 0 10px; }
.hint { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 6px 0; }
hr { border: none; border-top: 1px dashed var(--line); margin: 12px 0; }

.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; margin-bottom: 10px; }
.field.checkbox { flex-direction: row; align-items: center; gap: 6px; }
.field.checkbox.inline { margin: 0; }
.field span { color: var(--muted); }
.field input[type="number"], .field input[type="text"], .field select, .search-row input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 13px;
  width: 100%;
  background: #fff;
}
.field input:focus, .search-row input:focus { outline: 2px solid var(--accent-2); border-color: transparent; }

/* Buttons */
.btn, .upload-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  border: 1px solid var(--accent);
  background: #fff;
  color: var(--accent);
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  margin-bottom: 8px;
  transition: .15s;
}
.btn:hover, .upload-btn:hover { background: #fff3ef; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: #cf482f; }
.btn.ghost { border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { background: #f6f3ec; }
.upload-btn { border-style: dashed; }

.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.tool {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
}
.tool.active { border-color: var(--accent); background: #fff3ef; color: var(--accent); }
.history-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* Share boxes */
.share-box {
  width: 100%;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  font-size: 11px;
  resize: vertical;
  font-family: monospace;
  margin-bottom: 8px;
}

/* Palette */
.search-row { margin-bottom: 8px; }
.edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.inline-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  background: #faf8f3;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
}
.inline-row > div { display: flex; flex-direction: column; gap: 3px; }
.inline-row input[type="number"] { width: 64px; }
.inline-row input[type="color"] { width: 44px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; }
.inline-row .btn { width: auto; margin: 0 0 0 auto; padding: 8px 14px; }
.rep-row { display: flex; align-items: center; gap: 4px; }
.btn.sm { width: auto; padding: 6px 9px; margin: 0; font-size: 12px; }
#repFromPick.active, #repToPick.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.palette.capturing .swatch { box-shadow: inset 0 0 0 2px var(--accent); }
.palette.capturing { outline: 2px dashed var(--accent); outline-offset: 2px; border-radius: 8px; }

.palette {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  max-height: 220px;
  overflow-y: auto;
  padding: 2px;
}
.swatch {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
  position: relative;
}
.swatch:hover { transform: scale(1.08); }
.swatch.selected { border-color: var(--ink); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
.swatch .del {
  display: none;
  position: absolute;
  top: -5px; right: -5px;
  width: 15px; height: 15px;
  line-height: 13px;
  text-align: center;
  font-size: 10px;
  color: #fff;
  background: #c0392b;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.swatch:hover .del { display: block; }
.current-color { font-size: 13px; margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.current-color .swatch { width: 20px; height: 20px; }

/* Workspace */
.workspace {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  min-height: 0;
}
.canvas-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.canvas-toolbar .btn.ghost { width: auto; margin: 0; padding: 4px 12px; }
.canvas-info { font-size: 12px; color: var(--muted); margin-left: auto; }
.canvas-wrap {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background:
    linear-gradient(45deg, #efe9dd 25%, transparent 25%) -10px 0/20px 20px,
    linear-gradient(-45deg, #efe9dd 25%, transparent 25%) -10px 0/20px 20px,
    linear-gradient(45deg, transparent 75%, #efe9dd 75%) -10px 0/20px 20px,
    linear-gradient(-45deg, transparent 75%, #efe9dd 75%) -10px 0/20px 20px,
    #f8f4ec;
}
#board { background: transparent; cursor: crosshair; box-shadow: 0 4px 18px rgba(0,0,0,.12); border-radius: 4px; }

/* Legend */
.legend { display: flex; flex-direction: column; gap: 6px; max-height: 300px; overflow-y: auto; }
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 4px 6px;
  border-radius: 6px;
}
.legend-item:hover { background: #f6f3ec; }
.legend-item .swatch { width: 18px; height: 18px; cursor: default; }
.legend-item .name { flex: 1; }
.legend-item .count { font-weight: 600; }
.legend-item .bar { height: 6px; background: var(--accent); border-radius: 3px; opacity: .35; }
.total-row { margin-top: 10px; font-size: 13px; text-align: right; }
.total-row strong { color: var(--accent); font-size: 16px; }

/* Gallery */
.gallery-list { display: flex; flex-direction: column; gap: 8px; }
.gallery-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
}
.gallery-item canvas { border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.gallery-item .meta { flex: 1; font-size: 12px; }
.gallery-item .meta b { display: block; font-size: 13px; }
.gallery-item .row { display: flex; gap: 6px; margin-top: 4px; }
.gallery-item button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  cursor: pointer;
}
.gallery-item button.danger { color: #c0392b; border-color: #e8b4ad; }

/* Footer */
.app-footer {
  padding: 8px 20px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--panel);
}

/* Print */
@media print {
  .app-header, .panel, .canvas-toolbar, .app-footer { display: none !important; }
  .layout { display: block; padding: 0; }
  .workspace { border: none; box-shadow: none; }
}

/* 拼豆过程（步骤引导） */
.proc-controls { display: flex; gap: 8px; margin: 4px 0 10px; }
.proc-controls .btn { flex: 1; margin: 0; padding: 8px 6px; }
.proc-progress { height: 8px; background: var(--bg); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.proc-progress-bar { height: 100%; width: 0%; background: var(--accent); border-radius: 999px; transition: width .3s ease; }
.proc-step-line { font-size: 13px; color: var(--muted); margin: 8px 0 6px; }
.proc-step-line strong { color: var(--ink); font-size: 15px; }
.proc-current { display: flex; align-items: center; gap: 10px; background: #faf8f3; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; min-height: 48px; }
.proc-current .swatch { width: 26px; height: 26px; border-radius: 6px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.1) inset; }
.proc-current-meta { line-height: 1.3; }
.proc-current-name { font-weight: 600; }
.proc-current-sub { font-size: 12px; color: var(--muted); }
.proc-speed { align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin: 10px 0 4px; }
.proc-speed input { width: 64px; }
.proc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.proc-chip { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 3px 8px 3px 4px; cursor: pointer; font-size: 12px; color: var(--ink); }
.proc-chip .swatch { width: 16px; height: 16px; border-radius: 50%; }
.proc-chip.done { opacity: .55; }
.proc-chip.active { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(226,85,59,.25); background: #fff3ef; }
.proc-chip.active .swatch { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--accent); }
.proc-actions { display: flex; gap: 8px; margin-top: 6px; }
.proc-actions .btn { flex: 1; margin: 0; }

/* 会员 / 作品广场 / 后台审核 */
.account-bar { margin-left: auto; align-self: center; }
.account-bar .acc-user { font-size: 13px; color: var(--muted); margin-right: 8px; }
.btn.sm { padding: 5px 10px; font-size: 12px; margin: 0; }
.auth-forms { display: flex; gap: 16px; flex-wrap: wrap; }
.auth-form { flex: 1; min-width: 220px; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #faf8f3; }
.auth-form h3 { margin: 0 0 10px; font-size: 15px; }
.user-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; background: #faf8f3; margin-bottom: 12px; }
.gallery-item.cloud .vers { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0; }
.badge { font-size: 11px; padding: 1px 7px; border-radius: 999px; color: #fff; }
.badge.pending { background: #d9a441; }
.badge.approved { background: #2e9e5b; }
.badge.rejected { background: #c0392b; }
.ver-chip { font-size: 11px; padding: 1px 6px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.ver-chip.approved { border-color: #2e9e5b; color: #2e9e5b; }
.ver-chip.rejected { border-color: #c0392b; color: #c0392b; }
.ver-chip.pending { border-color: #d9a441; color: #b9842a; }
.review-list { display: flex; flex-direction: column; gap: 12px; }
.review-item { display: flex; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; background: #fff; }
.review-item canvas { width: 120px; height: 120px; image-rendering: pixelated; border: 1px solid var(--line); background: #fff; flex: none; }
.review-meta { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.review-meta .row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.review-note { flex: 1; min-width: 120px; }
.gallery-item.square canvas { width: 100%; max-width: 160px; image-rendering: pixelated; border: 1px solid var(--line); background: #fff; }

/* ===== 悬浮工具条 ===== */
.workspace { position: relative; }
.canvas-wrap { padding-top: 64px; }
#toolBar.canvas-toolbar {
  position: absolute;
  top: 12px; left: 50%; transform: translateX(-50%);
  width: auto; max-width: calc(100% - 24px);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center;
  margin: 0; padding: 7px 10px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(40,30,20,.18);
  z-index: 20;
}
#toolBar .tb-group { display: flex; align-items: center; gap: 4px; }
#toolBar .tb-sep { width: 1px; height: 24px; background: rgba(0,0,0,.12); margin: 0 3px; }
#toolBar .tbtn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 7px; margin: 0;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 12px; cursor: pointer; font-size: 17px; line-height: 1;
  transition: transform .12s, background .15s, border-color .15s, box-shadow .15s; gap: 2px;
}
#toolBar .tbtn span { font-size: 9px; transform: scale(.9); color: var(--muted); }
#toolBar .tbtn:hover { border-color: var(--accent); background: #fff3ef; transform: translateY(-1px); }
#toolBar .tbtn.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(226,85,59,.35); }
#toolBar .tbtn.active span { color: rgba(255,255,255,.92); }
#toolBar .tbtn.danger { color: #c0392b; }
#toolBar .tbtn.danger:hover { background: #fdeceb; border-color: #c0392b; }
#toolBar .tb-info { font-size: 12px; color: var(--muted); margin-left: 8px; padding-left: 10px; border-left: 1px solid rgba(0,0,0,.12); white-space: nowrap; }

/* ===== 会员登录 / 注册 弹出窗 ===== */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.modal[hidden] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(30,22,15,.45); backdrop-filter: blur(3px); }
.modal-box {
  position: relative; z-index: 1; width: min(420px, 92vw);
  background: #fff; border-radius: 18px; padding: 22px 22px 24px;
  box-shadow: 0 24px 70px rgba(0,0,0,.32); animation: modalPop .18s ease;
}
@keyframes modalPop { from { transform: translateY(14px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-x { position: absolute; top: 12px; right: 14px; border: none; background: none; font-size: 18px; color: var(--muted); cursor: pointer; line-height: 1; }
.modal-x:hover { color: var(--ink); }
.modal-head h2 { margin: 0 0 4px; font-size: 18px; }
.modal-tabs { display: flex; gap: 6px; margin: 16px 0 18px; background: #f4f1ea; padding: 4px; border-radius: 12px; }
.mtab { flex: 1; border: none; background: transparent; padding: 9px; border-radius: 9px; cursor: pointer; font-size: 14px; color: var(--muted); transition: .15s; }
.mtab.active { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.08); font-weight: 600; }
.modal-box .auth-form { border: none; background: transparent; padding: 0; }
.modal-box .auth-form .field span { font-size: 12px; }
.modal-box .auth-form .btn { margin-top: 8px; }
.auth-prompt { text-align: center; padding: 14px 0; }
.auth-prompt .btn { width: auto; padding: 10px 28px; }

/* ===== 舞台（中央画布区） ===== */
.stage {
  flex: 1;
  position: relative;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 50% 40%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%),
    radial-gradient(1200px 600px at 12% -10%, #fdeee6 0%, rgba(253,238,230,0) 55%),
    radial-gradient(1000px 600px at 100% 110%, #e9f0fb 0%, rgba(233,240,251,0) 55%);
}
/* 覆盖旧 .workspace 的面板样式，使其成为透明舞台 */
.workspace {
  position: absolute;
  inset: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  display: block;
}
.canvas-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 78px 24px 56px;
  background:
    radial-gradient(rgba(0,0,0,.06) 1px, transparent 1.4px) 0 0 / 22px 22px,
    radial-gradient(700px 360px at 50% 45%, rgba(255,255,255,.6), transparent 70%);
  overflow: hidden;
}
#board {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(40,30,20,.22), 0 2px 0 rgba(255,255,255,.6) inset;
  cursor: crosshair;
  transition: transform .04s linear;
}
.stage-hint {
  position: absolute;
  left: 50%; bottom: 14px; transform: translateX(-50%);
  font-size: 12px; color: var(--muted);
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.6);
  padding: 6px 14px; border-radius: 999px;
  max-width: calc(100% - 40px); text-align: center;
  box-shadow: 0 6px 18px rgba(40,30,20,.1);
  pointer-events: none;
}

/* ===== 启动栏（顶部功能开关） ===== */
.launcher {
  display: flex;
  gap: 6px;
  flex: 1 1 auto;
  justify-content: center;
  flex-wrap: wrap;
}
.lchip {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(6px);
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink);
  transition: .15s;
  white-space: nowrap;
}
.lchip:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(226,85,59,.18); }
.lchip.active {
  background: linear-gradient(135deg, var(--accent), #f0824f);
  color: #fff; border-color: transparent;
  box-shadow: 0 6px 16px rgba(226,85,59,.35);
}
.app-header { padding: 8px 16px; }

/* ===== 悬浮窗口 ===== */
.float-win {
  display: none;
  position: absolute;
  width: 274px;
  max-height: calc(100vh - 116px);
  flex-direction: column;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(140%) blur(16px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(40,30,20,.22);
  z-index: 30;
  overflow: hidden;
  animation: winPop .16s ease;
}
.float-win.open { display: flex; }
@keyframes winPop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.float-win.dragging { box-shadow: 0 26px 70px rgba(40,30,20,.32); }
.float-win .win-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px;
  cursor: grab;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.55));
  border-bottom: 1px solid rgba(0,0,0,.06);
  user-select: none;
}
.float-win.dragging .win-bar { cursor: grabbing; }
.float-win .win-tt { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: .3px; }
.float-win .win-x {
  border: none; background: rgba(0,0,0,.05); color: var(--muted);
  width: 22px; height: 22px; border-radius: 50%; cursor: pointer;
  font-size: 12px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: .15s;
}
.float-win .win-x:hover { background: #e2553b; color: #fff; }
.float-win .win-body {
  padding: 14px;
  overflow-y: auto;
  min-height: 0;
}
.float-win .win-body::-webkit-scrollbar { width: 8px; }
.float-win .win-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); border-radius: 8px; }

/* 初始停靠位置（可拖拽改位） */
.float-win[data-side="left"] { left: 16px; }
.float-win[data-side="right"] { right: 16px; }
.float-win[data-win="setup"] { top: 86px; }
.float-win[data-win="upload"] { top: 300px; }
.float-win[data-win="blank"] { top: 430px; }
.float-win[data-win="edit"] { top: 520px; }
.float-win[data-win="colors"] { top: 770px; }
.float-win[data-win="palette"] { top: 1060px; }
.float-win[data-win="stats"] { top: 86px; }
.float-win[data-win="export"] { top: 360px; }
.float-win[data-win="share"] { top: 640px; }
.float-win[data-win="gallery"] { top: 840px; }
.float-win[data-win="process"] { top: 1070px; }
.float-win[data-win="account"] { top: 1320px; }
.float-win[data-win="square"] { top: 1540px; }

/* 让 win-body 内复用既有卡片观感（圆角内分区） */
.float-win .win-body hr { border: none; border-top: 1px dashed var(--line); margin: 12px 0; }
.float-win .win-body .hint { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 6px 0; }

/* 旧布局类不再使用，避免干扰 */
.layout, .panel, .tabs, .tab { display: none !important; }

@media print {
  .app-header, .float-win, .canvas-toolbar, .app-footer, .stage-hint { display: none !important; }
  .stage { position: static; }
  .workspace { position: static; }
  .canvas-wrap { position: static; }
  #board { box-shadow: none; }
}
