/* Illustrations (templates/graphics.html, T23): topic sections + the HTML chips over a picture.
   Colours only via tokens.css. Phone: heading, picture, icon list. Desktop (≥900): picture on one side, heading + 2-column list
   on the other; .flip puts the picture on the right. Posters (tools/export-graphics.js) restyle the same markup. */
.art{display:block;width:100%;height:auto}

.gfx{display:grid;gap:18px;padding:40px 0 8px;grid-template-areas:"head" "art" "list"}
.gfx-head{grid-area:head;display:grid;gap:6px}
.gfx-head h2{max-width:24ch;text-wrap:balance}
.gfx-k{display:flex;align-items:center;gap:8px;color:var(--accent-ink);font-weight:600;font-size:14px}
.gfx-art{grid-area:art;margin:0;min-width:0;position:relative;border-radius:28px;overflow:hidden;background:var(--rose-50)}
.gfx-list{grid-area:list;list-style:none;padding:0;display:grid;gap:14px;min-width:0}
.gfx-list li{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:start}
.gfx-list li>div{display:grid;gap:1px;min-width:0}
.gfx-list b{font-weight:600;line-height:1.4}
.gfx-ic{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--rose-50);color:var(--accent)}
@media (min-width:900px){
  .gfx{grid-template-columns:minmax(0,5fr) minmax(0,6fr);grid-template-areas:"art head" "art list";gap:20px 56px;align-items:center;padding-top:56px}
  .gfx-head{align-self:end}
  .gfx-list{align-self:start;grid-template-columns:1fr 1fr;gap:18px 28px}
  .gfx.flip{grid-template-columns:minmax(0,6fr) minmax(0,5fr);grid-template-areas:"head art" "list art"}
}

/* real UI chips over the picture: 1 top-left, 2 lower-right (off the faces), 3 bottom-left */
.gfx-chips{list-style:none;margin:0;padding:0}
.gchip{position:absolute;display:flex;align-items:center;gap:6px;max-width:70%;padding:6px 12px;border-radius:var(--r-pill);
  background:var(--glass);box-shadow:var(--shade-sm);font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gchip .i-sm{flex:none;color:var(--accent)}
.gchip-1{top:12px;left:12px} .gchip-2{bottom:24%;right:12px} .gchip-3{bottom:12px;left:12px}
