/* panel-customize.css — Customize (panel-customize.js), 2026-11-22.
 *
 * Claude's Customize page in Parallax's register: the column view's head
 * (CUSTOMIZE, its actions, ×), a search bar beside All | Connectors | Skills,
 * then "Your …" as a list and what can be added as a two-up grid once the
 * column is wide enough. Rows are rail rows: no ground until hovered.
 * Tokens only, so both themes are already here. */

.main.px-customize-open > :not(#customizeView) { visibility: hidden; }

.cz-view .search-view-col.cz-col { container-type: inline-size; max-width: 880px; }
.cz-view h1.pxpop-title { margin: 0; }
.cz-head-actions { display: flex; align-items: center; gap: 6px; }
.cz-add { gap: 4px; }
.cz-add svg { width: 12px; height: 12px; stroke: currentColor; }

/* ---- the search bar and the three tabs ---- */
.cz-bar {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 10px;
  margin: 0 16px 6px;
}
.cz-bar .find-box.cz-find { flex: 1; min-width: 0; margin: 0; }
.cz-tabs {
  flex: none; display: inline-flex; align-items: center; gap: 2px;
  height: var(--ctl-h); padding: 2px;
  border-radius: var(--r-ctl);
}
.cz-tab {
  height: calc(var(--ctl-h) - 4px); padding: 0 12px;
  border: 0; border-radius: calc(var(--r-ctl) - 2px);
  background: transparent; color: var(--t-meta);
  font: 400 var(--fs-md)/1 var(--sans);
  cursor: pointer; white-space: nowrap;
}
.cz-tab:hover { color: var(--t-primary); background: var(--s-quiet); }
.cz-tab.on { color: var(--t-primary); background: var(--s-inter); box-shadow: var(--lit-card); }
.cz-tab:focus-visible { outline: var(--focus-ring); outline-offset: -2px; }
@container (max-width: 460px) {
  .cz-bar { flex-wrap: wrap; }
  .cz-bar .find-box.cz-find { flex-basis: 100%; }
}

/* ---- the list ---- */
.cz-scroll {
  flex: 1; min-height: 0;
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  padding: 8px 16px 32px;
}
.cz-scroll::-webkit-scrollbar { display: none; }

.cz-section + .cz-section { margin-top: 22px; }
.cz-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 4px 6px 8px; }
.cz-show-all {
  display: inline-flex; align-items: center; gap: 6px;
  height: var(--ctl-h-sm); padding: 0 8px;
  border: 0; border-radius: var(--r-ctl); background: none;
  font: 400 var(--fs-md)/1 var(--sans); color: var(--t-secondary); cursor: pointer;
}
.cz-show-all:hover { color: var(--t-primary); background: var(--s-quiet); }
.cz-show-all:focus-visible { outline: var(--focus-ring); outline-offset: -2px; }
.cz-arrow { display: inline-grid; }
.cz-arrow svg { width: 13px; height: 13px; stroke: currentColor; }
.cz-arrow.is-up svg { transform: rotate(-90deg); }
.cz-section-title {
  margin: 0;
  font: 400 var(--fs-lg)/1.3 var(--serif);
  color: var(--t-primary);
}

.cz-list { display: flex; flex-direction: column; }
.cz-list .cz-row + .cz-row::before {
  content: ""; position: absolute; top: 0; left: 52px; right: 8px;
  height: 1px; background: var(--hair, rgba(255, 255, 255, .06));
}
.cz-grid { display: grid; grid-template-columns: 1fr; gap: 2px 14px; }
@container (min-width: 620px) { .cz-grid { grid-template-columns: 1fr 1fr; } }

.cz-row {
  position: relative;
  display: flex; align-items: flex-start;
  border-radius: var(--r-md);
}
.cz-row:hover, .cz-row:focus-within, .cz-row.menu-open { background: var(--s-quiet); }
.cz-list .cz-row:hover::before, .cz-list .cz-row:hover + .cz-row::before { opacity: 0; }

.cz-main {
  flex: 1; min-width: 0;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 8px; text-align: left;
  border: 0; background: none; color: inherit; cursor: pointer;
  border-radius: var(--r-md);
}
.cz-main:focus-visible { outline: var(--focus-ring); outline-offset: -2px; }

.cz-icon {
  flex: none; width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--s-inter);
  color: var(--t-secondary);
}
.cz-icon .cn-logo { width: 20px; height: 20px; }
.cz-icon .cn-logo-img { width: 20px; height: 20px; }
.cz-icon svg { width: 16px; height: 16px; stroke: currentColor; }
.cz-icon--skill { color: var(--rim); }

.cz-words { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cz-name {
  font: 400 var(--fs-body)/1.3 var(--sans); color: var(--t-primary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cz-slash { color: var(--t-faint); margin-right: 1px; }
.cz-desc {
  font: 400 var(--fs-md)/1.4 var(--sans); color: var(--t-secondary);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.cz-meta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font: 400 var(--fs-base)/1.4 var(--sans); color: var(--t-meta);
}
.cz-dot { color: var(--t-faint); }
.cz-warn { color: var(--rim); }

/* The row's one action at its right: + to add, … for what is yours. Shown on
   hover or focus, as the rail's "…" is; + is always there in the grid, faint. */
.cz-actions { flex: none; display: flex; align-items: center; padding: 10px 6px 0 0; }
.cz-act {
  width: var(--ctl-h-sm); height: var(--ctl-h-sm); padding: 0;
  display: inline-grid; place-items: center;
  border: 0; border-radius: var(--r-ctl);
  background: transparent; color: var(--t-meta); cursor: pointer;
}
.cz-act svg { width: 14px; height: 14px; stroke: currentColor; }
.cz-act:hover { background: var(--s-inter); color: var(--t-primary); }
.cz-act:focus-visible { outline: var(--focus-ring); outline-offset: -2px; }
.cz-act:disabled { opacity: .45; cursor: default; }
.cz-more { opacity: 0; }
.cz-row:hover .cz-more, .cz-row:focus-within .cz-more, .cz-row.menu-open .cz-more { opacity: 1; }
.cz-plus { color: var(--t-faint); box-shadow: inset 0 0 0 1px var(--hair, rgba(255, 255, 255, .08)); }
.cz-row:hover .cz-plus { color: var(--t-primary); background: var(--s-inter); box-shadow: var(--lit-card); }

.cz-empty, .cz-note {
  padding: 18px 8px;
  font: 400 var(--fs-md)/1.5 var(--sans); color: var(--t-meta);
}
.cz-note { padding: 8px; color: var(--rim); }

/* ---- a skill's text ---- */
.cz-back { display: inline-flex; width: auto; margin: 4px 0 14px; }
.cz-hero { display: flex; align-items: center; gap: 12px; padding: 0 8px 14px; }
.cz-hero .cz-icon { width: 40px; height: 40px; }
.cz-hero-name { font: 400 var(--fs-2xl)/1.25 var(--serif); color: var(--t-primary); }
.cz-block { padding: 12px 8px 0; }
.cz-k {
  margin-bottom: 6px;
  font: 400 var(--fs-2xs)/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--t-faint);
}
.cz-p { margin: 0; font: 400 var(--fs-body)/1.55 var(--sans); color: var(--t-secondary); }
.cz-pre {
  margin: 0; padding: 12px 14px;
  max-height: 420px; overflow: auto;
  white-space: pre-wrap; word-break: break-word;
  font: 400 var(--fs-md)/1.55 var(--mono); color: var(--t-secondary);
  background: var(--s-card); box-shadow: var(--lit-card);
  border-radius: var(--r-md);
}
.cz-files { margin: 0; padding-left: 18px; font: 400 var(--fs-md)/1.6 var(--mono); color: var(--t-secondary); }
.cz-delete { margin: 18px 8px 0; }
