/* System Settings */
.cs { display: flex; height: 100%; min-height: 0; }
.cs-sidebar {
  width: 205px; flex: none;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--separator);
  overflow-y: auto;
  padding: 10px 8px;
}
.cs-search { padding: 2px 4px 10px; }
.cs-cat {
  display: flex; align-items: center; gap: 11px;
  width: 100%;
  padding: 7px 10px;
  border-radius: var(--r-item);
  text-align: left;
}
.cs-cat:hover { background: rgba(48, 48, 48, .08); }
.cs-cat.selected { background: var(--hover-fill); font-weight: 700; }
.cs-cat svg { color: var(--text-secondary); flex: none; }
.cs-cat.selected svg { color: var(--accent); }
.cs-section-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: .4px;
  color: var(--text-secondary); text-transform: uppercase;
  padding: 12px 10px 4px;
}

.cs-panel { flex: 1; overflow-y: auto; padding: 22px 26px; }
.cs-panel h2 { font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.cs-panel h3 { font-size: 13.5px; font-weight: 700; margin: 20px 0 8px; color: var(--text-secondary); }

.set-row {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 11px 14px;
  background: var(--base-bg);
  border: 1px solid var(--separator);
  border-radius: var(--r-item);
  margin-bottom: 8px;
}
.set-row .sr-texts { min-width: 0; }
.set-row .sr-title { font-weight: 500; }
.set-row .sr-sub { font-size: var(--fs-xsmall); color: var(--text-secondary); margin-top: 1px; }
.set-row .sr-control { display: flex; align-items: center; gap: 10px; flex: none; }

.swatch-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid transparent;
  outline: 1px solid rgba(0,0,0,.15);
  position: relative;
}
.swatch.selected { border-color: var(--text); box-shadow: inset 0 0 0 2px #fff; }

.wp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.wp-thumb {
  border-radius: var(--r-item);
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--base-bg);
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
}
.wp-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.wp-thumb.selected { border-color: var(--accent); }
.wp-thumb .wp-name { font-size: var(--fs-xsmall); padding: 5px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.about-hero { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.about-table { width: 100%; border-collapse: collapse; font-size: var(--fs-ui); }
.about-table td { padding: 6px 4px; border-bottom: 1px solid var(--separator); }
.about-table td:first-child { color: var(--text-secondary); width: 40%; }

@media (max-width: 760px) {
  .cs-sidebar { width: 64px; }
  .cs-sidebar .cs-cat span, .cs-sidebar .cs-section-label, .cs-search { display: none; }
  .cs-cat { justify-content: center; padding: 9px 0; }
}
