/* THE-BOT-PRODUCT-VERSIONS-1: the version line at the bottom of the menu and the «Что нового» dialog.
   Shell tokens only (shared-ui/shell.css), so light and dark themes follow the console. */
.pv-foot { margin-top: auto; padding: 10px 12px 14px; border-top: 1px solid var(--border);
  position: sticky; bottom: 0; z-index: 1; background: var(--surface); }
.pv-line {
  display: block; width: 100%; padding: 6px 8px; border: 0; border-radius: var(--radius-sm, 6px);
  background: transparent; color: var(--ink-muted); font: inherit; font-size: 12px; text-align: left; cursor: pointer;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pv-line:hover, .pv-line:focus-visible { background: var(--surface-alt); color: var(--ink); }
.pv-line-short { display: none; }
.pv-line-warn::after { content: " ·  !"; color: var(--warning-ink, var(--danger)); }
@media (max-width: 1100px) and (min-width: 761px) {
  .pv-foot { padding: 8px 4px 12px; }
  .pv-line { text-align: center; padding: 6px 2px; font-size: 11px; }
  .pv-line-full { display: none; }
  .pv-line-short { display: inline; }
}

.pv-backdrop {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 16px; background: rgba(4, 8, 16, 0.55); overflow-y: auto;
}
.pv-dialog {
  width: min(720px, 100%); max-width: 100%; box-sizing: border-box; background: var(--surface-raised, var(--surface));
  color: var(--ink); border: 1px solid var(--border); border-radius: var(--radius, 10px);
  box-shadow: 0 10px 40px var(--shadow-color); outline: none;
}
.pv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 8px; }
.pv-title { margin: 0; font-size: 19px; }
.pv-close { border: 0; background: transparent; color: var(--ink-muted); font-size: 24px; line-height: 1; cursor: pointer;
  padding: 4px 8px; border-radius: var(--radius-sm, 6px); }
.pv-close:hover, .pv-close:focus-visible { background: var(--surface-alt); color: var(--ink); }
.pv-body { padding: 4px 20px 20px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.pv-current { margin: 0 0 12px; }
.pv-current-version { margin: 0; font-size: 16px; font-weight: 700; }
.pv-current-date { margin: 2px 0 0; color: var(--ink-muted); font-size: 13px; }
.pv-notice, .pv-problems { margin: 0 0 14px; padding: 10px 12px; border-radius: var(--radius-sm, 6px);
  background: var(--warning-wash); color: var(--warning-ink, var(--ink)); font-size: 13px; }
.pv-problems p { margin: 0 0 4px; font-weight: 600; }
.pv-problems ul { margin: 0; padding-left: 18px; }
.pv-section-note { margin: 0 0 6px; color: var(--ink-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.pv-release { padding: 14px 0; border-top: 1px solid var(--border); }
.pv-release-top { border-top: 0; padding-top: 4px; }
.pv-release-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.pv-release-title { margin: 0; font-size: 15px; }
.pv-release-top .pv-release-title { font-size: 17px; }
.pv-badge { font-size: 11px; padding: 1px 8px; border-radius: var(--radius-pill, 999px); border: 1px solid var(--border);
  color: var(--ink-muted); white-space: nowrap; }
.pv-badge-current { color: var(--ink); border-color: var(--accent); }
.pv-badge-rolled_back, .pv-badge-prepared { color: var(--warning-ink, var(--ink)); background: var(--warning-wash); border-color: transparent; }
.pv-meta { margin: 2px 0 8px; color: var(--ink-muted); font-size: 12.5px; }
.pv-group { margin: 6px 0 0; }
.pv-group-title { margin: 0 0 2px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted); }
.pv-group-limitations .pv-group-title { color: var(--warning-ink, var(--ink-muted)); }
.pv-items { margin: 0; padding-left: 18px; }
.pv-items li { margin: 2px 0; }
.pv-guides { margin: 8px 0 0; font-size: 13px; }
.pv-guides-label { color: var(--ink-muted); }
.pv-guide { color: var(--ink-muted); }
a.pv-guide { color: var(--accent); }
.pv-marks { margin: 8px 0 0; padding: 0; list-style: none; color: var(--ink-muted); font-size: 12.5px; }
.pv-tech { margin: 8px 0 0; font-size: 12.5px; }
.pv-tech summary { cursor: pointer; color: var(--ink-muted); }
.pv-tech-build { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); }
.pv-tech-list { display: grid; grid-template-columns: minmax(110px, max-content) minmax(0, 1fr); gap: 4px 12px; margin: 8px 0 0; }
.pv-tech-list dt { color: var(--ink-muted); }
.pv-tech-list dd { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; overflow-wrap: anywhere; }
.pv-history-title { margin: 18px 0 0; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-muted); }

@media (max-width: 560px) {
  .pv-backdrop { padding: 0; }
  .pv-dialog { min-height: 100%; border-radius: 0; border: 0; }
  .pv-head { padding: 12px 16px 6px; position: sticky; top: 0; background: var(--surface-raised, var(--surface)); }
  .pv-body { padding: 4px 16px 24px; }
  .pv-tech-list { grid-template-columns: minmax(0, 1fr); gap: 0 0; }
  .pv-tech-list dd { margin-bottom: 6px; }
}
