
.ver-row { display: flex; align-items: center; gap: 5px; }
.ver-info {
  flex-shrink: 0; width: 13px; height: 13px; padding: 0; border: 0;
  background: none; cursor: pointer;
  color: var(--petrol-400); transition: color var(--duration-fast) var(--ease-standard);
  display: grid; place-items: center;
}
.ver-info:hover { color: #7dd4d8; }
.ver-info svg { width: 13px; height: 13px; display: block; }

.cl-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.45);
  display: grid; place-items: center;
}
.cl-modal {
  width: 560px; height: 620px; max-width: calc(100vw - 32px); max-height: calc(100vh - 32px);
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  background: var(--surface-card);
}

.cl-head {
  background: var(--sidebar-bg); padding: 20px 22px 16px;
  flex-shrink: 0; position: relative; overflow: hidden;
}
.cl-head .deko { position: absolute; border-radius: 50%; pointer-events: none; }
.cl-head .d1 { top: -40px; right: -40px;  width: 160px; height: 160px; background: rgba(0, 119, 127,0.35); }
.cl-head .d2 { top: 10px;  right: 60px;   width: 90px;  height: 90px;  background: rgba(77,184,190,0.18); }
.cl-head .d3 { bottom: -30px; right: 20px; width: 70px; height: 70px;  background: rgba(0, 119, 127,0.22); }
.cl-head .d4 { top: -20px; right: 140px;  width: 50px;  height: 50px;  background: rgba(77,184,190,0.12); }
.cl-head-inner { position: relative; z-index: 1; }

.cl-titlerow { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.cl-eyebrow {
  font-size: 9px; color: rgba(255,255,255,0.45); text-transform: uppercase;
  letter-spacing: 0.14em; font-family: var(--font-body); margin-bottom: 3px;
}
.cl-title { font-family: var(--font-display); font-size: 20px; font-weight: var(--fw-bold); color: var(--surface-card); }
.cl-close {
  background: rgba(255,255,255,0.12); border: 0; color: var(--surface-card);
  width: 26px; height: 26px; border-radius: var(--radius-sm);
  cursor: pointer; display: grid; place-items: center; flex-shrink: 0;
  transition: background var(--duration-fast) var(--ease-standard);
}
.cl-close:hover { background: rgba(255,255,255,0.25); }
.cl-close svg { width: 13px; height: 13px; }

.cl-facts { display: flex; align-items: stretch; }
.cl-facts > div:first-child { padding-right: 16px; margin-right: 16px; border-right: 1px solid rgba(255,255,255,0.15); }
.cl-big  { font-family: var(--font-mono); font-size: 18px; font-weight: var(--fw-bold); letter-spacing: -0.01em; }
.cl-big.is-version { color: var(--petrol-400); }
.cl-big.is-date    { color: rgba(255,255,255,0.70); }
.cl-cap {
  font-size: 9px; color: rgba(255,255,255,0.40); text-transform: uppercase;
  letter-spacing: 0.08em; font-family: var(--font-body); margin-top: 2px;
}

.cl-list {
  overflow-y: auto; flex: 1; min-height: 0;
  background: var(--surface-page);
  display: flex; flex-direction: column; gap: 8px; padding: 12px;
}
.cl-card {
  background: var(--surface-card); border-radius: 6px; overflow: hidden; flex-shrink: 0;
  border: 1.5px solid var(--border-default);
}
.cl-card.is-current { border-color: var(--warning); }
.cl-row {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; cursor: pointer; user-select: none;
  background: var(--surface-card);
}
.cl-card.is-current .cl-row { background: var(--warning-soft); }
.cl-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--color-draft); }
.cl-card.is-current .cl-dot { background: var(--warning); }
.cl-ver { font-family: var(--font-mono); font-size: 13px; font-weight: var(--fw-bold); color: var(--text-strong); }
.cl-tag {
  font-size: 9px; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: 0.08em;
  padding: 2px 7px; border-radius: var(--radius-pill);
  background: var(--warning-soft); color: var(--warning);
  font-family: var(--font-body); flex-shrink: 0;
}
.cl-when { font-size: 11px; color: var(--text-subtle); font-family: var(--font-mono); }
.cl-chev { flex-shrink: 0; margin-left: 4px; width: 12px; height: 12px; color: var(--text-subtle); }

.cl-entries { border-top: 1px solid var(--border-subtle); }
.cl-entry {
  display: grid; grid-template-columns: 100px 1fr;
  border-bottom: 1px solid var(--border-subtle);
}
.cl-entry:last-child { border-bottom: 0; }
.cl-entry .k { padding: 8px 10px 8px 12px; display: flex; align-items: flex-start; }
.cl-entry .k span {
  font-size: 9px; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: 0.08em;
  padding: 2px 6px; border-radius: 3px; font-family: var(--font-body); white-space: nowrap;
}
.cl-entry .t { padding: 8px 12px 8px 6px; font-size: 11px; color: var(--text-body); line-height: 1.55; }

.k-NEW     span { background: var(--success-soft);      color: var(--success); }
.k-IMPROVE span { background: var(--color-draft-soft);  color: var(--color-draft); }
.k-FIX     span { background: var(--danger-soft);       color: var(--danger); }
.k-REMOVE  span { background: var(--color-depr-soft);   color: var(--color-depr); }

.cl-none { padding: 10px 16px; font-size: 11px; color: var(--text-subtle); font-style: italic; }
.cl-empty { padding: 32px; text-align: center; color: var(--text-subtle); font-size: var(--text-xs); }

.set-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; height: 44px;
  border-bottom: 1px solid var(--border-subtle);
}
.set-row:last-of-type { border-bottom: 0; }
.set-key { font-size: var(--text-xs); font-weight: var(--fw-semibold); color: var(--text-muted); }

.set-block { border-bottom: 1px solid var(--border-subtle); padding-bottom: 10px; }
.set-block:last-child { border-bottom: 0; padding-bottom: 0; }
.set-block > .set-row { border-bottom: 0; }
.set-block > .hint { margin-top: 2px; }

.conn-extra {
  opacity: 0.7;
  font-family: var(--font-mono);
  padding-left: 2px;
}

.spin {
  display: inline-block; width: 12px; height: 12px; flex-shrink: 0;
  border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%;
  animation: spin-round 0.8s linear infinite;
  vertical-align: -2px;
}
@keyframes spin-round { to { transform: rotate(360deg); } }

.pill-count.is-busy::after {
  content: ""; display: inline-block; width: 8px; height: 8px;
  margin-left: 5px; vertical-align: -1px;
  border: 1.5px solid currentColor; border-right-color: transparent;
  border-radius: 50%;
  animation: spin-round 0.8s linear infinite;
}
