.props-panel {
  position: fixed;
  top: 44px; right: 0;
  width: 260px;
  height: calc(100% - 44px);
  background: #fff;
  border-left: 1px solid #e0ddd8;
  z-index: 320;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .2s ease;
}
.props-panel.open {
  transform: translateX(0);
}
.board.panel-open { right: 260px; }

.props-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid #e0ddd8;
}
.props-title {
  font-size: 12px;
  font-weight: 700;
  color: #333;
}
.props-close {
  font-size: 18px;
  color: #888;
  line-height: 1;
}
.props-close:hover { color: #333; }

.props-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prop-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.prop-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #888;
}
.prop-input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #e0ddd8;
  border-radius: 6px;
  font-size: 12px;
  color: #333;
  background: #fafaf8;
}
.prop-input:focus {
  outline: none;
  border-color: #4a90d9;
  box-shadow: 0 0 0 2px rgba(74,144,217,.15);
}
.prop-textarea {
  resize: vertical;
  min-height: 60px;
}
.prop-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.prop-color-swatch {
  width: 24px; height: 24px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .1s, transform .1s;
}
.prop-color-swatch:hover { transform: scale(1.15); }
.prop-color-swatch.active { border-color: #1a1a18; }

.prop-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  transition: background .1s;
}
.prop-btn-danger {
  background: #fce4ec;
  color: #c62828;
}
.prop-btn-danger:hover { background: #f8bbd0; }
