/* Internet of Conservation page: a live corner of the graph beside the opening text, then the four layers, principles, status and partners. Tokens come from site.css. */
figure.graph { min-width: 0; }
.graph svg { width: 100%; height: auto; display: block; overflow: visible; }
.graph .edge line { stroke: var(--muted); stroke-width: 1.2; opacity: 0.45; transition: opacity .2s, stroke .2s; }
.graph .edge text { font: 500 11px var(--mono); fill: var(--muted); opacity: 0; transition: opacity .2s; paint-order: stroke; stroke: var(--halo); stroke-width: 4px; stroke-linejoin: round; }
.graph .edge.on line { opacity: 1; stroke: var(--forest); stroke-width: 1.6; }
.graph .edge.on text { opacity: 1; fill: var(--forest); }
.graph .node { cursor: pointer; }
.graph .node circle { stroke: var(--halo); stroke-width: 3; }
.graph .node text { font: 500 12.5px var(--body); fill: var(--ink); paint-order: stroke; stroke: var(--halo); stroke-width: 4px; stroke-linejoin: round; }
.graph .node.dim { opacity: 0.4; }
.graph .node.sel text { font-weight: 600; }
.graph .node:focus { outline: none; }
.graph .node:focus-visible circle { stroke: var(--river); }
.graph #arrow path { fill: var(--forest); }
.graph figcaption { margin-top: 10px; border-top: 1px solid var(--rule); padding-top: 12px; min-height: 9.5em; color: var(--ink); font-size: 15px; }
.graph figcaption .hint { font-size: 13px; color: var(--muted); }
.graph ul.facts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.graph ul.facts b { font-weight: 600; color: var(--forest); }
.graph ul.facts i { font-style: normal; font-family: var(--mono); font-size: 13px; color: var(--sage); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c); margin-right: 6px; }

.thesis { font-family: var(--display); font-size: clamp(22px, 2.4vw, 27px); line-height: 1.35; color: var(--forest); border-left: 3px solid var(--leaf); padding-left: 20px; }
.kg-def { margin-top: 22px; max-width: 44em; }
.kg-def em { font-style: normal; font-family: var(--mono); font-size: 0.88em; color: var(--sage); }
ol.layers { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 2px; }
ol.layers li { display: grid; grid-template-columns: 64px minmax(0, 15em) minmax(0, 1fr); gap: 8px 24px; align-items: baseline; padding: 22px 24px; background: var(--paper-2); }
ol.layers li:first-child { border-radius: 10px 10px 0 0; }
ol.layers li:last-child { border-radius: 0 0 10px 10px; }
ol.layers .n { font: 500 13px var(--mono); color: var(--sage); }
ol.layers h3 { font-size: 21px; }
.schematic { margin-top: 36px; }
.schematic img { background: #fff; border-radius: 10px; border: 1px solid var(--rule); padding: 12px; width: 100%; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; margin-top: 36px; }
.principles > div { border-top: 2px solid var(--leaf); padding-top: 14px; }
.principles h3 { font: 600 17px/1.3 var(--body); color: var(--forest); }
.principles p { margin-top: 6px; font-size: 16px; }
.status-lists { display: grid; gap: 28px; align-content: start; }
.status-lists h3 { font: 600 15px/1.3 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); }
.status-lists ul { margin: 10px 0 0; padding-left: 1.1em; display: grid; gap: 8px; }
.status-lists li::marker { color: var(--leaf); }
.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.partner { border: 1px solid var(--rule); border-radius: 10px; padding: 20px; display: grid; gap: 6px; align-content: start; }
.partner h3 { font: 600 17px/1.3 var(--body); }
.partner p { font-size: 15.5px; color: var(--muted); }
.community { margin-top: 24px; max-width: 46em; }

@media (max-width: 880px) {
  .principles, .partners { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  ol.layers li { grid-template-columns: 48px minmax(0, 1fr); }
  ol.layers li p { grid-column: 2; }
}
@media (max-width: 600px) {
  .principles, .partners { grid-template-columns: minmax(0, 1fr); }
  ol.layers li { padding: 18px 16px; }
}
