@import url("/research.css");

/* ---------- CSS Atlas case study (/work/css-atlas/) ---------- */
.toc { color: var(--dim); margin: -1em 0 1em; }
.toc a { color: var(--body); }

.diagram { margin: 1.5em 0 2em; }
.diagram svg { display: block; width: 100%; max-width: 46rem; height: auto; color: var(--body); }
.diagram .grp { fill: none; stroke: var(--underline); stroke-dasharray: 4 4; }
.diagram .grp-label { fill: var(--dim); font-size: 12px; }
.diagram .box { fill: var(--bg); stroke: var(--underline); }
.diagram .box.strong { stroke: var(--text); stroke-width: 1.5; }
.diagram text { font-family: inherit; text-anchor: middle; }
.diagram .t { fill: var(--text); font-size: 13px; font-weight: 500; }
.diagram .s, .diagram .s2 { fill: var(--body); font-size: 11px; }
.diagram .s2 { font-size: 12px; }
.diagram .lbl { fill: var(--body); font-size: 11px; }
.diagram .lbl.start { text-anchor: start; }
.diagram .arrows path { fill: none; stroke: currentColor; stroke-width: 1.2; marker-end: url(#ah); }
.diagram figcaption { color: var(--body); font-size: .8rem; line-height: 1.7; margin-top: 1em; max-width: 40rem; }
.diagram figcaption p { margin: 0; color: var(--dim); }
.diagram figcaption ol { margin: .25em 0 0; }

.record { border-top: 1px solid var(--rule); padding: .6rem 0; max-width: 52rem; }
.record:last-of-type { border-bottom: 1px solid var(--rule); }
.record summary { cursor: pointer; list-style-position: outside; }
.record summary .entry-meta { margin-left: .35rem; }
.record[open] summary { margin-bottom: .5rem; }
.record dl { display: grid; grid-template-columns: 9rem 1fr; gap: .4rem 1rem; margin: 0 0 .5rem; }
.record dt { color: var(--dim); }
.record dd { margin: 0; color: var(--body); }

@media (max-width: 600px) {
  .record dl { grid-template-columns: 1fr; gap: 0; }
  .record dd { margin-bottom: .6rem; }
}
