/* Design Canvas (View 2) layout */

.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
}

.toolGroup {
  display: flex;
  gap: 4px;
}

.mainArea {
  display: flex;
  flex: 1;
  min-height: 0;
}

.canvasArea {
  flex: 1;
  min-width: 0;
  background: var(--code-bg);
  position: relative;
  overflow: hidden;
}

.panelArea {
  flex: 0 0 260px;
  border-left: 1px solid var(--border);
  background: var(--bg);
  overflow-y: auto;
  padding: 12px;
}

.panelPlaceholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text);
  font-size: 14px;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .mainArea {
    flex-direction: column;
  }

  .panelArea {
    flex: none;
    border-left: none;
    border-top: 1px solid var(--border);
    height: 200px;
  }
}
