.sz-border-picker {
  position: fixed;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 8px;
  z-index: 5000;
  display: none;
  font-size: 12px;
  width: 200px;
}

.sz-border-picker.visible {
  display: block;
}

.sz-border-positions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.sz-border-pos-btn {
  width: 32px;
  height: 28px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sz-border-pos-btn:hover {
  background: #e0e0e0;
  border-color: #999;
}

.sz-border-sep {
  height: 1px;
  background: #e0e0e0;
  margin: 6px 0;
}

.sz-border-label {
  font-size: 10px;
  color: #666;
  margin-bottom: 4px;
}

.sz-border-styles {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sz-border-style-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 6px;
  cursor: pointer;
  border-radius: 3px;
}

.sz-border-style-row:hover {
  background: #e8e8e8;
}

.sz-border-style-row.selected {
  background: #cce4f7;
}

.sz-border-style-preview {
  width: 60px;
  height: 14px;
  display: flex;
  align-items: flex-end;
}

.sz-border-color-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sz-border-color-swatch {
  width: 24px;
  height: 18px;
  cursor: pointer;
}
