/* Versteckt normalen Cursor für custom Brush */
  .brush-cursor {
    position: absolute; pointer-events: none; z-index: 20;
    border: 2px solid var(--accent); border-radius: 50%;
    display: none; transform: translate(-50%, -50%);
  }
  .brush-cursor.active { display: block; }
  .slice-controls {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 10px 12px;
    background: linear-gradient(to top, rgba(15,17,20,0.95), rgba(15,17,20,0.4));
    display: flex; align-items: center; gap: 10px; z-index: 10;
  }
  .slice-slider {
    flex: 1; -webkit-appearance: none; appearance: none;
    height: 4px; background: var(--border-hi); outline: none; cursor: pointer;
  }
  .slice-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 12px; height: 16px; background: var(--accent);
    cursor: pointer; border-radius: 1px;
  }
  .slice-slider::-moz-range-thumb {
    width: 12px; height: 16px; background: var(--accent);
    cursor: pointer; border-radius: 1px; border: none;
  }
  .slice-readout {
    font-family: "SF Mono", Menlo, Consolas, monospace;
    font-size: 11px; color: var(--text);
    min-width: 68px; text-align: right; letter-spacing: 0.04em;
  }
  
  #canvas3d { display: block; width: 100%; height: 100%; touch-action: none; }
  
  aside {
    background: var(--panel); position: relative;
    border-left: 1px solid var(--border); padding: 16px; overflow-y: auto; min-height: 0;
    display: flex; flex-direction: column; gap: 20px;
  }
  .sidebar-resize-handle {
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 5px; cursor: ew-resize; z-index: 100;
    background: transparent;
    transition: background 0.2s;
  }
  .sidebar-resize-handle:hover {
    background: var(--accent);
  }
  .sidebar-section h3 {
    font-size: 10px; font-weight: 500; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px;
  }
  .mesh-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 0; border-bottom: 1px solid var(--border);
    cursor: pointer; user-select: none;
  }
  .mesh-item:last-child { border-bottom: none; }
  .mesh-dot { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
  .mesh-name { font-size: 12px; flex: 1; }
  .mesh-check {
    width: 14px; height: 14px; border: 1px solid var(--border-hi);
    position: relative; flex-shrink: 0;
  }
  .mesh-item.on .mesh-check { background: var(--accent); border-color: var(--accent); }
  .mesh-item.on .mesh-check::after {
    content: ""; position: absolute; left: 3px; top: 1px;
    width: 4px; height: 8px; border: solid var(--bg);
    border-width: 0 2px 2px 0; transform: rotate(45deg);
  }
  .mesh-item.off .mesh-name { color: var(--text-dim); }
  
  .info-row {
    display: flex; justify-content: space-between;
    font-size: 11px; padding: 3px 0;
    font-family: "SF Mono", Menlo, Consolas, monospace;
  }
  .info-row .k { color: var(--text-dim); }
  .info-row .v { color: var(--text); }
  
  