/* Dossier peek (dossier-peek.js): Policy Atlas brief in a side panel. Below the MEP card drawer
   (z-index 1200), so an MEP opened from a brief lands on top. */
.dp-peek { position: fixed; inset: 0; z-index: 1100; }
.dp-peek[hidden] { display: none; }
.dp-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.32); opacity: 0; transition: opacity 200ms cubic-bezier(0.22, 1, 0.36, 1); }
.dp-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); display: flex; flex-direction: column;
  background: var(--ma-surface-raised, #fff); box-shadow: -12px 0 32px rgba(15, 23, 42, 0.18);
  transform: translateX(24px); opacity: 0; transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.dp-peek.is-open .dp-backdrop { opacity: 1; }
.dp-peek.is-open .dp-panel { transform: none; opacity: 1; }
.dp-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--ma-page-line, rgba(83,103,94,.14)); background: linear-gradient(180deg, #f1f7ff 0%, #ffffff 100%); }
.dp-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #145ea8; }
.dp-brand img { width: 26px; height: auto; }
.dp-close { border: 0; background: none; font-size: 1rem; color: var(--ma-page-muted, #566861); cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.dp-close:focus-visible { outline: 2px solid var(--ma-action, #276ef1); }
.dp-body { overflow-y: auto; padding: 16px 20px 24px; color: var(--ma-page-ink, #16211d); }
.dp-kicker { margin: 0 0 4px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.74rem; color: var(--ma-page-muted, #566861); }
.dp-title { margin: 0 0 6px; font-family: var(--font-display, inherit); font-size: 1.15rem; font-weight: 600; line-height: 1.35; }
.dp-status { display: flex; align-items: center; gap: 7px; margin: 0 0 6px; font-size: 0.84rem; font-weight: 600; }
.dp-dot { width: 8px; height: 8px; border-radius: 50%; background: #145ea8; }
.dp-facts { margin: 0 0 6px; font-size: 0.78rem; color: var(--ma-page-muted, #566861); }
.dp-sec { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ma-page-line, rgba(83,103,94,.14)); }
.dp-sec h3 { margin: 0 0 6px; font-size: 0.88rem; font-weight: 600; }
.dp-sec p { margin: 0 0 6px; font-size: 0.84rem; line-height: 1.55; }
.dp-plain, .dp-steps { margin: 0; padding: 0; list-style: none; }
.dp-plain li, .dp-steps li { padding: 4px 0; font-size: 0.82rem; line-height: 1.45; }
.dp-steps li { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.dp-date { color: var(--ma-page-muted, #566861); font-variant-numeric: tabular-nums; }
.dp-role { display: inline-block; min-width: 130px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ma-page-muted, #566861); }
.dp-tag { display: inline-block; padding: 0 5px; border: 1px solid var(--ma-page-line-strong, rgba(83,103,94,.25)); border-radius: 4px; font-size: 0.66rem; color: var(--ma-page-muted, #566861); }
.dp-faint { font-size: 0.74rem; color: var(--ma-page-muted, #566861); }
.dp-link { padding: 0; border: 0; background: none; font: inherit; color: var(--ma-action-strong, #1859cc); text-decoration: underline; cursor: pointer; }
.dp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dp-actions a { text-decoration: none; }
.dp-asof { margin-top: 12px; }
.dp-skel { height: 70px; margin: 10px 0; border-radius: 8px; background: var(--ma-surface-soft, #eef2f0); }
.dp-skel--short { height: 24px; width: 60%; }
@media (prefers-reduced-motion: reduce) { .dp-backdrop, .dp-panel { transition: none; } }
