/*
 * den-ui What's new: the release notes inside the pop-up (whatsnew.js).
 * The pop-up itself is the kit's dialog frame (dialog.css, issue 793):
 * its box, header, footer, buttons and font are the frame's. Tokens only.
 *   <link rel="stylesheet" href="/kit/whatsnew.css">
 */
/* The release notes read best a little narrower than a large dialog. */
.dk-dlg.cl-dlg {
  width: min(580px, calc(100vw - 32px));
}
.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); /* issue 1137: a row divider stays solid */
  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 var(--edge-style, 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-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-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;
}
