/* ── Detail page ─────────────────────────────────────────────────────── */
.detail-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 32px 60px;
}
@media (max-width: 760px) { .detail-page { padding: 16px 16px 48px; } }

.detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 10px;
  flex-wrap: wrap;
}
.detail-topbar__left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.detail-topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hero: two-column — left = title/byline, right = launch button.
   The row/stack switch is driven ONLY by the viewport media query below
   (nowrap here), never by content width. Previously flex-wrap:wrap let the
   right column wrap to a new line whenever its intrinsic width grew — which
   happens for locked/shared artifacts because "Enter Password to Launch" is
   wider than "Launch Artifact". That made the shared detail page stack while
   an owner's page stayed in a row at the same width. nowrap makes every
   artifact's detail page render identically at a given width. */
.detail-hero {
  background: var(--wh);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-top: 5px solid var(--vb);
  padding: 28px 32px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
}
.detail-hero__main { flex: 1 1 400px; min-width: 0; }
.detail-hero__side {
  /* PI-116 — cap the action column so a growing toolbar wraps onto a second
     row instead of squeezing the title/byline column into a sliver. */
  flex: 0 1 560px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  /* Stretch so the launch button and the action row below it always share the
     same width and edges. Using flex-end here made the (narrow) launch button
     float to the right of the (wider) action row, which read as misaligned at
     any width where the column was not forced full-width. */
  align-items: stretch;
  gap: 10px;
  padding-top: 4px;
}
.detail-hero__badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.detail-hero__title {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.2;
  margin-bottom: 12px;
}
.detail-hero__byline {
  font-size: .83rem;
  color: var(--st);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.detail-hero__byline span { display: flex; align-items: center; gap: 4px; }
/* Action row under the launch button (Download / Share / Clone / Edit).
   Right-aligned under the launch button on wide screens; the responsive
   block below left-aligns it once the hero stacks. */
.detail-hero__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ── PI-3 — Detail page preview block ─────────────────────────────────── */
/* 16:9 clickable preview (matches the A4 auto-thumbnail capture ratio).
   Shows the artifact thumbnail, or a domain-tinted placeholder when none
   exists; clicking anywhere launches the artifact (precedence handled in
   js/detail.js). */
.detail-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 320px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  cursor: pointer;
  background: var(--wash);
  box-shadow: 0 1px 3px rgba(18, 39, 74, .06);
}
.detail-preview:focus-visible { outline: 3px solid var(--vb); outline-offset: 2px; }
.detail-preview__img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.detail-preview__ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-preview__ph-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 20px 24px;
  max-width: 90%;
}
.detail-preview__ph-mono {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .38);
  font-family: "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--on-brand);
  text-transform: uppercase;
}
.detail-preview__ph-title {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--on-brand);
  line-height: 1.3;
  word-break: break-word;
}
.detail-preview__ph-cap {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .82);
}
.detail-preview__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 31, 64, 0);
  transition: background .15s;
}
.detail-preview:hover .detail-preview__overlay,
.detail-preview:focus-visible .detail-preview__overlay { background: rgba(10, 31, 64, .45); }
.detail-preview__cta {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .15s, transform .15s;
  background: var(--or);
  color: var(--on-brand);
  padding: 12px 26px;
  border-radius: 7px;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
  font-size: .95rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(233, 97, 39, .4);
}
.detail-preview:hover .detail-preview__cta,
.detail-preview:focus-visible .detail-preview__cta { opacity: 1; transform: translateY(0); }

/* PI-3 — owner-only call-to-action shown when description/tags are empty. */
.detail-owner-prompt {
  color: var(--accent) !important;
  font-style: normal !important;
}

/* Body: 3-column on wide screens */
.detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr 260px;
  gap: 16px;
  align-items: start;
  margin-bottom: 20px;
}
@media (max-width: 900px) {
  .detail-body { grid-template-columns: 1fr 260px; }
  /* Stack the hero cleanly BEFORE the launch/actions column can wrap into an
     awkward, indented, shrink-to-fit box at mid widths. The side column spans
     full width, the launch button goes full width, and the action row
     left-aligns — a consistent stacked layout on every detail page. */
  .detail-hero { flex-direction: column; }
  .detail-hero__side {
    align-items: stretch;
    width: 100%;
    padding-top: 0;
  }
  .detail-hero__side .btn-launch,
  .detail-hero__side .btn-launch-locked { width: 100%; }
  .detail-hero__actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .detail-body { grid-template-columns: 1fr; }
}

.detail-description {
  background: var(--wh);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 24px;
}
.detail-description h3 {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--accent);
  margin-bottom: 12px;
}
.detail-description p {
  font-size: .92rem;
  color: var(--gr);
  line-height: 1.75;
  margin: 0;
}
.detail-description .no-desc {
  font-size: .86rem;
  color: var(--muted);
  font-style: italic;
}

/* Tags panel */
.detail-tags-panel {
  background: var(--wh);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 24px;
}
.detail-tags-panel h3 {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--accent);
  margin-bottom: 12px;
}
.detail-tags-panel .tag { font-size: .8rem; padding: 4px 12px; }

.detail-meta-card {
  background: var(--wh);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 22px;
}
.detail-meta-card h3 {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--accent);
  margin-bottom: 14px;
}
.detail-meta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.detail-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.detail-meta-item__label {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}
.detail-meta-item__value {
  font-size: .86rem;
  color: var(--gr);
  word-break: break-word;
}
.detail-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.detail-changelog {
  background: var(--wh);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 20px;
}
.detail-changelog h3 {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--accent);
  margin-bottom: 14px;
}
.changelog-entry {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--wash);
}
.changelog-entry:last-child { border-bottom: none; }

/* PI-38 — Collection membership panel on the detail page. */
.detail-collection {
  background: var(--wh);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 20px;
}
.detail-collection__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.detail-collection__head h3 {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  margin: 0;
}
.detail-collection__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.detail-collection__eff {
  font-size: .82rem;
  color: var(--fg);
  margin: 10px 0 0;
}
.detail-collection__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.detail-collection__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--wash);
}
.detail-collection__item:last-child { border-bottom: none; }
.detail-collection__link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  word-break: break-word;
}
.detail-collection__link:hover { text-decoration: underline; }
.detail-collection__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.detail-collection__domain {
  font-size: .72rem;
  color: var(--fg);
}
.detail-collection__editor {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--wash);
}
.changelog-entry__version {
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--wash-blue);
  border-radius: 4px;
  padding: 2px 8px;
  white-space: nowrap;
  height: fit-content;
  margin-top: 1px;
}
.changelog-entry__info {}
.changelog-entry__date {
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: 3px;
}
.changelog-entry__notes {
  font-size: .86rem;
  color: var(--gr);
  line-height: 1.6;
}

/* Launch bar */
.detail-launch-bar {
  background: linear-gradient(135deg, var(--dn) 0%, var(--dn) 100%);
  border-radius: 12px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.detail-launch-bar__text {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
}
.detail-launch-bar__text strong {
  display: block;
  font-size: 1.05rem;
  color: var(--on-brand);
  margin-bottom: 3px;
}
.btn-launch {
  padding: 13px 32px;
  background: var(--or);
  color: var(--on-brand);
  border: none;
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 700;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
  cursor: pointer;
  transition: background .12s, transform .1s;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(233,97,39,.35);
}
.btn-launch:hover { background: var(--or); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(233,97,39,.5); }
.btn-launch-locked {
  padding: 13px 32px;
  background: var(--vb);
  color: var(--on-brand);
  border: none;
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 700;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
  cursor: pointer;
  transition: background .12s, transform .1s;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,113,175,.25);
}
.btn-launch-locked:hover { background: var(--accent-strong); transform: translateY(-1px); }

/* ── Governance section on detail page ───────────────────────────────── */
.governance-bar {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.governance-bar--draft    { border-left: 4px solid var(--solid-draft); }
.governance-bar--in-review{ border-left: 4px solid var(--su); background: var(--warning-tint); }
.governance-bar--published{ border-left: 4px solid var(--success); }
.governance-bar--retired  { border-left: 4px solid var(--danger); background: var(--danger-tint); }

.governance-bar__info {}
.governance-bar__title {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 4px;
}
.governance-bar__sub {
  font-size: .8rem;
  color: var(--st);
  line-height: 1.5;
}
.governance-bar__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.btn-gov-primary {
  padding: 8px 18px;
  background: var(--vb);
  color: var(--on-brand);
  border: none;
  border-radius: 5px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .12s, opacity .12s;
}
.btn-gov-primary:hover { background: var(--accent-strong); }
.btn-gov-primary:disabled,
.btn-gov-primary.is-disabled,
.btn-gov-primary[disabled] {
  background: var(--border);
  color: var(--muted);
  cursor: not-allowed;
  opacity: .75;
  pointer-events: none;
}
.btn-gov-approve {
  padding: 8px 18px;
  background: var(--solid-success);
  color: var(--on-brand);
  border: none;
  border-radius: 5px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .12s;
}
.btn-gov-approve:hover { background: var(--solid-success); }
.btn-gov-return {
  padding: 8px 18px;
  background: none;
  color: var(--danger);
  border: 1.5px solid var(--danger);
  border-radius: 5px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .12s, color .12s;
}
.btn-gov-return:hover { background: var(--danger-tint); }
.btn-gov-withdraw {
  padding: 8px 18px;
  background: var(--solid-danger);
  color: var(--on-brand);
  border: none;
  border-radius: 5px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .12s;
  white-space: nowrap;
}
.btn-gov-subtle {
  padding: 6px 12px;
  background: none;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: .75rem;
  cursor: pointer;
  font-family: inherit;
  transition: color .1s, border-color .1s;
}
.btn-gov-subtle:hover { color: var(--heading); border-color: var(--st); }
.review-feedback-callout {
  background: var(--warning-tint);
  border: 1px solid var(--su);
  border-radius: 7px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: .84rem;
  color: var(--gr);
}
.review-feedback-callout strong {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--warning);
  margin-bottom: 4px;
}

/* ── PI-96 (GV-10) — "Who has access" panel ─────────────────────────────────
   Read-only access roster on the detail page, visible to everyone with
   access. Card chrome matches the sibling detail panels; tokens only. */
.detail-access-panel {
  background: var(--wh);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 22px;
  margin-bottom: 20px;
}
.detail-access-panel h3 {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--accent);
  margin-bottom: 6px;
}
.detail-access-panel__sub {
  font-size: .8rem;
  color: var(--muted);
  margin: 0 0 12px;
}
.detail-access-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.detail-access-list__row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text);
  padding: 6px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
}
.detail-access-list__who { overflow-wrap: anywhere; }
.detail-access-pill {
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: .03em;
  white-space: nowrap;
}
.detail-access-pill--owner {
  color: var(--info);
  background: var(--info-tint);
  border: 1px solid var(--info-border);
}
.detail-access-pill--coedit {
  color: var(--success);
  background: var(--success-tint);
  border: 1px solid var(--success-border);
}
.detail-access-pill--forward {
  color: var(--neutral-fg);
  background: var(--neutral-bg);
  border: 1px solid var(--neutral-border);
}

/* PI-116 — "What changed" block-diff panel (owner-only, detail page).
   Mirrors the .detail-access-panel surface; status pills reuse the layer-3
   text/tint token pairs per the Brand & Theme Standard. */

/* Hero-toolbar entry point — info-tinted so the feature button reads as a
   distinct capability among the neutral Clone/Edit chips. */
#blocks-diff-btn {
  color: var(--info);
  background: var(--info-tint);
  border: 1px solid var(--info-border);
}
#blocks-diff-btn:hover { background: var(--wash-blue); }

.detail-blocks-panel {
  background: var(--wh);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 22px;
  margin-bottom: 20px;
}
.detail-blocks-panel h3 {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--accent);
}
.detail-blocks-panel__sub {
  font-size: .8rem;
  color: var(--muted);
  margin: 0 0 14px;
}
/* Version pickers sit in a chip-track strip: FROM [v…] → TO [v…] [Compare] */
.detail-blocks-panel__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--wash);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  margin-bottom: 16px;
}
.detail-blocks-panel__label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
}
.detail-blocks-panel__arrow {
  font-size: .95rem;
  font-weight: 700;
  color: var(--accent);
}
.detail-blocks-panel__select {
  font-size: .85rem;
  font-weight: 600;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--wh);
  color: var(--text);
  max-width: 34%;
  cursor: pointer;
}
.detail-blocks-panel__compare {
  font-size: .82rem;
  margin-left: auto;
}
.detail-blocks-panel__summary {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
}
.detail-blocks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}
/* Each row carries a colored status edge matching its pill, so the kind of
   change scans at a glance even before reading the pill. */
.detail-blocks-list__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .85rem;
  color: var(--text);
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-left-width: 4px;
  border-radius: 8px;
}
.detail-blocks-list__row--added    { border-left-color: var(--success); }
.detail-blocks-list__row--removed  { border-left-color: var(--danger); }
.detail-blocks-list__row--modified { border-left-color: var(--warning); }
.detail-blocks-list__row--accepted {
  opacity: .76;
}
.detail-blocks-list__row--rejected {
  opacity: .72;
}
.detail-blocks-list__row--empty {
  color: var(--muted);
  font-style: italic;
}
.detail-blocks-list__type {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--muted);
  background: var(--chip);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 3px 8px;
  white-space: nowrap;
}
.detail-blocks-list__body {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.45;
}
.detail-blocks-list__before,
.detail-blocks-list__after {
  display: block;
}
/* BEFORE/AFTER prefixes make the edit read as a change, not two stray lines. */
.detail-blocks-list__before::before,
.detail-blocks-list__after::before {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  margin-right: 8px;
  vertical-align: 1px;
}
.detail-blocks-list__before {
  color: var(--muted);
  text-decoration: line-through;
}
.detail-blocks-list__before::before {
  content: 'BEFORE';
  color: var(--danger);
  text-decoration: none;
  display: inline-block;
}
.detail-blocks-list__after::before {
  content: 'AFTER';
  color: var(--success);
}
.detail-blocks-list__attr {
  font-size: .74rem;
  font-style: italic;
  color: var(--muted);
  margin-top: 2px;
}
.detail-blocks-list__actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}
.detail-blocks-list__decision {
  font-size: .74rem;
  padding: 5px 10px;
  border-color: var(--success-border);
  color: var(--success);
  background: var(--success-tint);
}
.detail-blocks-list__decision--reject {
  border-color: var(--danger-border);
  color: var(--danger);
  background: var(--danger-tint);
}
.detail-blocks-list__decision-note {
  font-size: .74rem;
  font-weight: 700;
  color: var(--success);
  white-space: nowrap;
}
.detail-blocks-list__decision-note--reject {
  color: var(--danger);
}
.detail-blocks-pill {
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 0;
  min-width: 72px;
  text-align: center;
  border-radius: 999px;
  letter-spacing: .03em;
  white-space: nowrap;
  margin-top: 1px;
  flex: 0 0 auto;
}
.detail-blocks-pill--added {
  color: var(--success);
  background: var(--success-tint);
  border: 1px solid var(--success-border);
}
.detail-blocks-pill--removed {
  color: var(--danger);
  background: var(--danger-tint);
  border: 1px solid var(--danger-border);
}
.detail-blocks-pill--modified {
  color: var(--warning);
  background: var(--warning-tint);
  border: 1px solid var(--warning-border);
}
/* Stack the strip on narrow widths so the pickers never overflow. */
@media (max-width: 640px) {
  .detail-blocks-panel__select { max-width: 100%; flex: 1 1 100%; }
  .detail-blocks-panel__arrow { display: none; }
  .detail-blocks-panel__compare { margin-left: 0; width: 100%; }
  .detail-blocks-list__row { flex-wrap: wrap; }
  .detail-blocks-list__actions { width: 100%; margin-left: 0; }
}
