/* Post Manager add-on: Documents (the website). Each type has its badge colour; the site's --accent for links. */
.pm-docs { list-style: none; margin: 2em 0; padding: 0; display: grid; gap: .6em; }
.pm-docs--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1em; }
.pm-docs__item { display: flex; align-items: center; gap: .9em; padding: .8em 1em; border: 1px solid var(--pm-docs-line, rgba(0, 0, 0, .12)); border-radius: 6px; background: var(--surface, transparent); margin: 0; }
.pm-docs--cards .pm-docs__item { flex-wrap: wrap; align-content: flex-start; }
.pm-docs__badge { --c: #5f6368; flex: none; display: flex; align-items: center; justify-content: center; width: 2.9em; height: 3.5em; border-radius: 4px 12px 4px 4px; background: var(--c); color: #fff; font-size: .72em; font-weight: 800; letter-spacing: .03em; }
.pm-docs__item--pdf .pm-docs__badge { --c: #c5221f; }
.pm-docs__item--doc .pm-docs__badge { --c: #1a5fb4; }
.pm-docs__item--sheet .pm-docs__badge { --c: #1e7a3a; }
.pm-docs__item--image .pm-docs__badge { --c: #7b3fa0; }
.pm-docs__item--zip .pm-docs__badge { --c: #8a5a00; }
.pm-docs__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15em; }
.pm-docs__title { font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.pm-docs__about { font-size: .92em; line-height: 1.45; opacity: .85; }
.pm-docs__meta { font-size: .8em; opacity: .65; letter-spacing: .02em; }
.pm-docs__dl { flex: none; display: inline-flex; align-items: center; gap: .4em; padding: .5em .8em; border-radius: 4px; border: 1px solid currentColor; color: var(--accent, inherit); text-decoration: none; font-size: .9em; font-weight: 600; }
.pm-docs__dl:hover, .pm-docs__dl:focus-visible { background: var(--accent, #333); border-color: var(--accent, #333); color: #fff; }
.pm-docs__dl svg { width: 1.1em; height: 1.1em; }
.pm-docs--cards .pm-docs__dl { margin-left: auto; }
@media (max-width: 520px) { .pm-docs__dl span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .pm-docs__dl { padding: .6em; } }
/* Sites indent article lists: the documents line up with the text. */
.pm-docs.pm-docs { margin-left: 0; margin-right: 0; padding: 0; list-style: none; }
.pm-docs .pm-docs__item::marker { content: none; }
