/* LeapCode 1.8.3 Set Z (Wave 3c, Lane A): SOCIETY™ (Trajectories Framework, F-025) page, /society/.
   Page-scoped, namespaced soc-. Stage hexes are the Registry's (11_Node_Database {tj}); they fill and border only.
   Light hexes fail text contrast, so text uses --vt, a darker shade of the same hue (DR-21.6). */
.soc { display: grid; gap: 22px; }
@media (min-width: 52em) { .soc { grid-template-columns: repeat(2, minmax(0, 1fr)); } .soc > .soc-c:last-child { grid-column: 1 / -1; } }
.soc-c { position: relative; border: 1px solid var(--line); border-top: 6px solid var(--vc); border-radius: 16px; background: #fff; padding: 24px 24px 20px; min-width: 0; }
.soc-hd { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 10px; }
.soc-ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--vc); border: 2px solid rgba(26,26,26,.12); font-size: 1.5rem; line-height: 1; }
.soc-c h3 { margin: 0; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); }
.soc-n { display: block; font: 700 .78rem var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: var(--vt); margin: 0 0 2px; }
.soc-ur { display: block; font-size: .85rem; color: var(--fg-muted); font-style: italic; margin: 2px 0 0; }
.soc-lv { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 4px 0 14px; }
.soc-lv i { height: 6px; border-radius: 3px; background: var(--bg-sunk, #EEF1F1); }
.soc-lv i.on { background: var(--vc); outline: 1px solid rgba(26,26,26,.1); }
.soc-k { margin: 14px 0 6px; font: 700 .78rem var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); }
.soc-here { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--bg-tint); font-size: .95rem; }
.soc-by { display: inline-block; margin-top: 12px; padding: 5px 12px; border-radius: 999px; border: 1.5px solid var(--vc); font-size: .88rem; font-weight: 600; background: #fff; }
.soc-3d { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-tint); }
.soc-3d > summary { cursor: pointer; list-style: none; min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-weight: 600; }
.soc-3d > summary::-webkit-details-marker { display: none; }
.soc-3d > summary::after { content: "+"; margin-left: auto; font: 700 1.2rem var(--font-heading); color: var(--fg-muted); }
.soc-3d[open] > summary::after { content: "\2212"; }
.soc-3d__b { padding: 0 14px 14px; display: grid; gap: 12px; }
.soc-s { border-left: 5px solid var(--vc); background: #fff; border-radius: 0 10px 10px 0; padding: 12px 14px; }
.soc-s h4 { margin: 0; font: 700 1.05rem var(--font-heading); color: var(--fg-heading); }
.soc-s p { margin: 4px 0 0; font-size: .92rem; }
.soc-ms { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: .88rem; }
.soc-ms li { display: grid; grid-template-columns: 3.4em 1fr; gap: 8px; align-items: baseline; }
.soc-ms b { font: 700 .82rem var(--font-heading); color: var(--vt); }
.soc-note { margin-top: 26px; }
.soc .soc-c > :last-child { margin-bottom: 0; }
/* the diagram: 7 stages on the left, who carries them on the right */
.soc-dgw { max-width: 560px; }
.soc-dgw .dg .ln3 { fill: none; stroke: #8E9AA0; stroke-width: 2; stroke-dasharray: 1 6; stroke-linecap: round; }
.soc-dgw .dg .rb { fill: var(--bg-tint); stroke: var(--line-strong); stroke-width: 1.2; }
.soc-dgw .dg .rb2 { fill: #fff; stroke: #B9C0C4; stroke-width: 1.2; stroke-dasharray: 4 4; }
.soc-map td:first-child + td { white-space: nowrap; }
@media (max-width: 40em) { .soc-ms li { grid-template-columns: 3em 1fr; } .soc-c { padding: 20px 18px 18px; } }
/* step titles hold a nested emphasis span; keep it inline (the shared .steps li b rule makes every b a block) */
.steps li b b { display: inline; margin: 0; }
