/*
 * den-ui What's new: the release notes pop-up (whatsnew.js). Tokens only.
 *   <link rel="stylesheet" href="/kit/whatsnew.css">
 */
.cl-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--kit-veil);
  display: none;
  align-items: center;
  justify-content: center;
}
.cl-overlay.open {
  display: flex;
}
.cl-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: min(580px, 92vw);
  max-height: 78vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cl-hdr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cl-hdr h3 {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
  margin: 0;
}
.cl-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 3px;
  transition:
    color 0.1s,
    background 0.1s;
}
.cl-close:hover {
  color: var(--text);
  background: var(--border);
}
.cl-body {
  overflow-y: auto;
  padding: 16px 18px;
  flex: 1;
}
.cl-entry {
  margin-bottom: 18px;
}
.cl-ver-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.cl-ver {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-text);
}
.cl-date {
  font-size: 11px;
  color: var(--muted);
}
.cl-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px;
  font-style: italic;
}
.cl-sec {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin: 8px 0 4px;
}
.cl-items {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cl-items li {
  font-size: 12px;
  color: var(--text);
  padding: 2px 0 2px 14px;
  position: relative;
  line-height: 1.5;
}
.cl-items li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: var(--muted);
}
.cl-subitems {
  list-style: none;
  padding: 0;
  margin: 2px 0 0 0;
}
.cl-subitems li {
  font-size: 11.5px;
  padding: 1px 0 1px 14px;
  color: var(--muted);
}
.cl-subitems li::before {
  content: "–";
  position: absolute;
  left: 2px;
}
.cl-items code {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--accent-text);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  padding: 1px 4px;
  border-radius: 3px;
}
.cl-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 14px 0;
}
.cl-copy-group {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
.cl-copy-btn,
.cl-slack-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 3px 6px;
  border-radius: 4px;
  line-height: 0;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.1s,
    border-color 0.1s;
}
.cl-more-btn {
  padding: 4px 12px;
  font: inherit;
  font-size: 11px;
  color: var(--muted);
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
}
.cl-more-btn:hover {
  color: var(--accent-text);
  border-color: var(--accent);
}
.cl-copy-btn:hover {
  color: var(--accent-text);
  border-color: var(--accent);
}
.cl-copy-btn.copied {
  color: var(--ok);
  border-color: var(--ok);
}
.cl-slack-btn:hover {
  color: var(--accent-text);
  border-color: var(--accent);
}
.cl-slack-btn.copied {
  color: var(--ok);
  border-color: var(--ok);
}
.cl-footer .den-rb {
  margin-right: auto;
}
.cl-footer {
  padding: 10px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 8px;
  background: var(--surface);
}
.cl-got-it {
  background: var(--accent-fill);
  border: none;
  color: var(--on-accent);
  padding: 5px 16px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.cl-got-it:hover {
  filter: brightness(0.92);
}
.cl-none {
  color: var(--muted);
  font-size: 12px;
}
/* A copy's helper element: on the page for the copy, never seen. */
.kit-offscreen {
  position: fixed;
  opacity: 0;
  top: 0;
  left: 0;
  pointer-events: none;
}
