.appearance-grid{
  display:flex;
  gap:16px;
  margin-top:14px;
}
.pane-option{
  width:180px;
  border:2px solid var(--border);
  border-radius:12px;
  overflow:hidden;
  cursor:pointer;
  transition:border-color .2s;
  background:#fff;
}
.pane-option.selected{border-color:#3b82f6;}
.pane-preview{
  height:90px;
  display:flex;
  overflow:hidden;
}
.dark-sidebar-preview{
  width:40px;
  background:#1e2535;
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:8px 6px;
}
.dark-sidebar-preview .bar{
  height:4px;
  border-radius:2px;
  background:#3b4a6b;
}
.dark-sidebar-preview .bar.accent{background:#3b82f6;width:70%;}
.dark-main-preview{
  flex:1;
  background:#f6f7fb;
  padding:8px;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.dark-main-preview .mini-bar{
  height:6px;
  border-radius:3px;
  background:#e2e8f0;
}
.dark-main-preview .mini-bar.short{width:50%;}
.light-sidebar-preview{
  width:40px;
  background:#f1f5f9;
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:8px 6px;
}
.light-sidebar-preview .bar{
  height:4px;
  border-radius:2px;
  background:#cbd5e1;
}
.light-sidebar-preview .bar.accent{background:#3b82f6;width:70%;}
.light-main-preview{
  flex:1;
  background:#ffffff;
  padding:8px;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.light-main-preview .mini-bar{
  height:6px;
  border-radius:3px;
  background:#e2e8f0;
}
.light-main-preview .mini-bar.short{width:50%;}
.pane-label{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:8px;
  font-size:12px;
  font-weight:700;
  color:#374151;
  border-top:1px solid var(--border);
}
.pane-option.selected .pane-label{color:#2563eb;}

.accent-grid{
  display:flex;
  gap:10px;
  margin-top:14px;
  flex-wrap:wrap;
}
.swatch{
  position:relative;
  width:80px;
  height:38px;
  border-radius:8px;
  border:2px solid transparent;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:700;
  color:#fff;
  transition:transform .15s, box-shadow .15s;
}
.swatch:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(0,0,0,.15);
}
.swatch.selected{border-color:#111827;}
.swatch.selected::after{
  content:'v';
  position:absolute;
  top:-8px;
  right:-8px;
  width:18px;
  height:18px;
  background:#111827;
  border-radius:50%;
  font-size:10px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.swatch-blue{background:#3b82f6;}
.swatch-green{background:#22c55e;}
.swatch-red{background:#ef4444;}
.swatch-orange{background:#f97316;}
.swatch-custom{
  background:linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f97316 100%);
}

.branding-note{
  margin-top:16px;
  font-size:13px;
  color:#6b7280;
  padding-top:16px;
  border-top:1px solid var(--border);
}
.branding-note strong{color:#111827;}
