:root {
  color-scheme: light;
  --bg: #f3f1eb;
  --surface: #fffefa;
  --surface-2: #e7f0ec;
  --surface-3: #eef1ed;
  --ink: #183234;
  --muted: #596866;
  --line: #d4dad4;
  --brand: #0a6d6d;
  --brand-strong: #07575a;
  --accent: #db722d;
  --success: #157a50;
  --warning: #8a4d00;
  --danger: #b42318;
  --shadow: 0 16px 40px rgba(18, 47, 49, 0.09);
  --shadow-soft: 0 8px 24px rgba(18, 47, 49, 0.07);
  --radius: 20px;
  --radius-sm: 10px;
  --container: 1180px;
  --reading: 810px;
}

/* Routing, transfer, registry, calculation and cloud foundations (312–331) */
:is(
  .route-command-grid,
  .curl-transfer-grid,
  .wget-retrieval-grid,
  .telnet-boundary-grid,
  .openssl-tool-grid,
  .whois-query-grid,
  .rdap-object-grid,
  .cidr-calculation-grid,
  .dns-lookup-grid,
  .iaas-responsibility-grid,
  .paas-runtime-grid,
  .saas-service-grid,
  .container-isolation-grid,
  .docker-object-grid,
  .virtual-machine-layer-grid,
  .load-balancer-path-grid,
  .autoscaling-cycle-grid,
  .availability-zone-grid,
  .cloud-region-grid,
  .object-storage-grid,
  .block-storage-grid,
  .api-contract-grid,
  .rest-constraint-grid,
  .yaml-node-grid,
  .webhook-delivery-grid,
  .cicd-pipeline-grid,
  .repository-model-grid,
  .deployment-strategy-grid,
  .monitoring-signal-grid,
  .ascii-code-grid,
  .unicode-model-grid,
  .utf8-byte-grid,
  .character-encoding-grid,
  .base64-transform-grid,
  .url-encoding-context-grid,
  .percent-encoding-grid,
  .json-value-grid,
  .xml-structure-grid,
  .csv-record-grid,
  .media-type-grid
) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.2rem 0 1.8rem;
}

:is(
  .route-command-grid,
  .curl-transfer-grid,
  .wget-retrieval-grid,
  .telnet-boundary-grid,
  .openssl-tool-grid,
  .whois-query-grid,
  .rdap-object-grid,
  .cidr-calculation-grid,
  .dns-lookup-grid,
  .iaas-responsibility-grid,
  .paas-runtime-grid,
  .saas-service-grid,
  .container-isolation-grid,
  .docker-object-grid,
  .virtual-machine-layer-grid,
  .load-balancer-path-grid,
  .autoscaling-cycle-grid,
  .availability-zone-grid,
  .cloud-region-grid,
  .object-storage-grid,
  .block-storage-grid,
  .api-contract-grid,
  .rest-constraint-grid,
  .yaml-node-grid,
  .webhook-delivery-grid,
  .cicd-pipeline-grid,
  .repository-model-grid,
  .deployment-strategy-grid,
  .monitoring-signal-grid,
  .ascii-code-grid,
  .unicode-model-grid,
  .utf8-byte-grid,
  .character-encoding-grid,
  .base64-transform-grid,
  .url-encoding-context-grid,
  .percent-encoding-grid,
  .json-value-grid,
  .xml-structure-grid,
  .csv-record-grid,
  .media-type-grid
) section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #bfd3cb;
  border-top: 5px solid #4e9189;
  border-radius: 15px;
  background: #fffefa;
  color: #284f53;
  box-shadow: 0 8px 22px rgb(32 75 76 / 7%);
}

:is(
  .route-command-grid,
  .curl-transfer-grid,
  .wget-retrieval-grid,
  .telnet-boundary-grid,
  .openssl-tool-grid,
  .whois-query-grid,
  .rdap-object-grid,
  .cidr-calculation-grid,
  .dns-lookup-grid,
  .iaas-responsibility-grid,
  .paas-runtime-grid,
  .saas-service-grid,
  .container-isolation-grid,
  .docker-object-grid,
  .virtual-machine-layer-grid,
  .load-balancer-path-grid,
  .autoscaling-cycle-grid,
  .availability-zone-grid,
  .cloud-region-grid,
  .object-storage-grid,
  .block-storage-grid,
  .api-contract-grid,
  .rest-constraint-grid,
  .yaml-node-grid,
  .webhook-delivery-grid,
  .cicd-pipeline-grid,
  .repository-model-grid,
  .deployment-strategy-grid,
  .monitoring-signal-grid,
  .ascii-code-grid,
  .unicode-model-grid,
  .utf8-byte-grid,
  .character-encoding-grid,
  .base64-transform-grid,
  .url-encoding-context-grid,
  .percent-encoding-grid,
  .json-value-grid,
  .xml-structure-grid,
  .csv-record-grid,
  .media-type-grid
) section:nth-child(3n + 2) { border-top-color: #d39b3c; }

:is(
  .route-command-grid,
  .curl-transfer-grid,
  .wget-retrieval-grid,
  .telnet-boundary-grid,
  .openssl-tool-grid,
  .whois-query-grid,
  .rdap-object-grid,
  .cidr-calculation-grid,
  .dns-lookup-grid,
  .iaas-responsibility-grid,
  .paas-runtime-grid,
  .saas-service-grid,
  .container-isolation-grid,
  .docker-object-grid,
  .virtual-machine-layer-grid,
  .load-balancer-path-grid,
  .autoscaling-cycle-grid,
  .availability-zone-grid,
  .cloud-region-grid,
  .object-storage-grid,
  .block-storage-grid,
  .api-contract-grid,
  .rest-constraint-grid,
  .yaml-node-grid,
  .webhook-delivery-grid,
  .cicd-pipeline-grid,
  .repository-model-grid,
  .deployment-strategy-grid,
  .monitoring-signal-grid,
  .ascii-code-grid,
  .unicode-model-grid,
  .utf8-byte-grid,
  .character-encoding-grid,
  .base64-transform-grid,
  .url-encoding-context-grid,
  .percent-encoding-grid,
  .json-value-grid,
  .xml-structure-grid,
  .csv-record-grid,
  .media-type-grid
) section:nth-child(3n) { border-top-color: #cd724b; }

:is(
  .route-command-grid,
  .curl-transfer-grid,
  .wget-retrieval-grid,
  .telnet-boundary-grid,
  .openssl-tool-grid,
  .whois-query-grid,
  .rdap-object-grid,
  .cidr-calculation-grid,
  .dns-lookup-grid,
  .iaas-responsibility-grid,
  .paas-runtime-grid,
  .saas-service-grid,
  .container-isolation-grid,
  .docker-object-grid,
  .virtual-machine-layer-grid,
  .load-balancer-path-grid,
  .autoscaling-cycle-grid,
  .availability-zone-grid,
  .cloud-region-grid,
  .object-storage-grid,
  .block-storage-grid,
  .api-contract-grid,
  .rest-constraint-grid,
  .yaml-node-grid,
  .webhook-delivery-grid,
  .cicd-pipeline-grid,
  .repository-model-grid,
  .deployment-strategy-grid,
  .monitoring-signal-grid,
  .ascii-code-grid,
  .unicode-model-grid,
  .utf8-byte-grid,
  .character-encoding-grid,
  .base64-transform-grid,
  .url-encoding-context-grid,
  .percent-encoding-grid,
  .json-value-grid,
  .xml-structure-grid,
  .csv-record-grid,
  .media-type-grid
) span {
  display: inline-flex;
  max-width: 100%;
  padding: 0.34rem 0.66rem;
  border-radius: 999px;
  background: #dcebe4;
  color: #135c5f;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

:is(
  .route-command-grid,
  .curl-transfer-grid,
  .wget-retrieval-grid,
  .telnet-boundary-grid,
  .openssl-tool-grid,
  .whois-query-grid,
  .rdap-object-grid,
  .cidr-calculation-grid,
  .dns-lookup-grid,
  .iaas-responsibility-grid,
  .paas-runtime-grid,
  .saas-service-grid,
  .container-isolation-grid,
  .docker-object-grid,
  .virtual-machine-layer-grid,
  .load-balancer-path-grid,
  .autoscaling-cycle-grid,
  .availability-zone-grid,
  .cloud-region-grid,
  .object-storage-grid,
  .block-storage-grid,
  .api-contract-grid,
  .rest-constraint-grid,
  .yaml-node-grid,
  .webhook-delivery-grid,
  .cicd-pipeline-grid,
  .repository-model-grid,
  .deployment-strategy-grid,
  .monitoring-signal-grid,
  .ascii-code-grid,
  .unicode-model-grid,
  .utf8-byte-grid,
  .character-encoding-grid,
  .base64-transform-grid,
  .url-encoding-context-grid,
  .percent-encoding-grid,
  .json-value-grid,
  .xml-structure-grid,
  .csv-record-grid,
  .media-type-grid
) strong {
  display: block;
  margin-top: 0.62rem;
  color: #17484c;
  font-family: var(--font-sans);
  font-size: 1.04rem;
  line-height: 1.5;
}

:is(
  .route-command-grid,
  .curl-transfer-grid,
  .wget-retrieval-grid,
  .telnet-boundary-grid,
  .openssl-tool-grid,
  .whois-query-grid,
  .rdap-object-grid,
  .cidr-calculation-grid,
  .dns-lookup-grid,
  .iaas-responsibility-grid,
  .paas-runtime-grid,
  .saas-service-grid,
  .container-isolation-grid,
  .docker-object-grid,
  .virtual-machine-layer-grid,
  .load-balancer-path-grid,
  .autoscaling-cycle-grid,
  .availability-zone-grid,
  .cloud-region-grid,
  .object-storage-grid,
  .block-storage-grid,
  .api-contract-grid,
  .rest-constraint-grid,
  .yaml-node-grid,
  .webhook-delivery-grid,
  .cicd-pipeline-grid,
  .repository-model-grid,
  .deployment-strategy-grid,
  .monitoring-signal-grid,
  .ascii-code-grid
) p {
  margin: 0.4rem 0 0;
  color: #425f63;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.72;
}

@media (max-width: 920px) {
  :is(
    .route-command-grid,
    .curl-transfer-grid,
    .wget-retrieval-grid,
    .telnet-boundary-grid,
    .openssl-tool-grid,
    .whois-query-grid,
    .rdap-object-grid,
    .cidr-calculation-grid,
    .dns-lookup-grid,
    .iaas-responsibility-grid,
    .paas-runtime-grid,
    .saas-service-grid,
    .container-isolation-grid,
    .docker-object-grid,
    .virtual-machine-layer-grid,
    .load-balancer-path-grid,
    .autoscaling-cycle-grid,
    .availability-zone-grid,
    .cloud-region-grid,
    .object-storage-grid,
    .block-storage-grid,
    .api-contract-grid,
    .rest-constraint-grid,
    .yaml-node-grid,
    .webhook-delivery-grid,
    .cicd-pipeline-grid,
    .repository-model-grid,
    .deployment-strategy-grid,
    .monitoring-signal-grid,
    .ascii-code-grid,
    .unicode-model-grid,
    .utf8-byte-grid,
    .character-encoding-grid,
    .base64-transform-grid,
    .url-encoding-context-grid,
    .percent-encoding-grid,
    .json-value-grid,
    .xml-structure-grid,
    .csv-record-grid,
    .media-type-grid
  ) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  :is(
    .route-command-grid,
    .curl-transfer-grid,
    .wget-retrieval-grid,
    .telnet-boundary-grid,
    .openssl-tool-grid,
    .whois-query-grid,
    .rdap-object-grid,
    .cidr-calculation-grid,
    .dns-lookup-grid,
    .iaas-responsibility-grid,
    .paas-runtime-grid,
    .saas-service-grid,
    .container-isolation-grid,
    .docker-object-grid,
    .virtual-machine-layer-grid,
    .load-balancer-path-grid,
    .autoscaling-cycle-grid,
    .availability-zone-grid,
    .cloud-region-grid,
    .object-storage-grid,
    .block-storage-grid,
    .api-contract-grid,
    .rest-constraint-grid,
    .yaml-node-grid,
    .webhook-delivery-grid,
    .cicd-pipeline-grid,
    .repository-model-grid,
    .deployment-strategy-grid,
    .monitoring-signal-grid,
    .ascii-code-grid,
    .unicode-model-grid,
    .utf8-byte-grid,
    .character-encoding-grid,
    .base64-transform-grid,
    .url-encoding-context-grid,
    .percent-encoding-grid,
    .json-value-grid,
    .xml-structure-grid,
    .csv-record-grid,
    .media-type-grid
  ) {
    grid-template-columns: 1fr;
    gap: 0.78rem;
  }

  :is(
    .route-command-grid,
    .curl-transfer-grid,
    .wget-retrieval-grid,
    .telnet-boundary-grid,
    .openssl-tool-grid,
    .whois-query-grid,
    .rdap-object-grid,
    .cidr-calculation-grid,
    .dns-lookup-grid,
    .iaas-responsibility-grid,
    .paas-runtime-grid,
    .saas-service-grid,
    .container-isolation-grid,
    .docker-object-grid,
    .virtual-machine-layer-grid,
    .load-balancer-path-grid,
    .autoscaling-cycle-grid,
    .availability-zone-grid,
    .cloud-region-grid,
    .object-storage-grid,
    .block-storage-grid,
    .api-contract-grid,
    .rest-constraint-grid,
    .yaml-node-grid,
    .webhook-delivery-grid,
    .cicd-pipeline-grid,
    .repository-model-grid,
    .deployment-strategy-grid,
    .monitoring-signal-grid,
    .ascii-code-grid,
    .unicode-model-grid,
    .utf8-byte-grid,
    .character-encoding-grid,
    .base64-transform-grid,
    .url-encoding-context-grid,
    .percent-encoding-grid,
    .json-value-grid,
    .xml-structure-grid,
    .csv-record-grid,
    .media-type-grid
  ) section { padding: 0.95rem; }
}

/* Data representation, integrity and standards (352–361) */
:is(
  .compression-method-grid,
  .gzip-member-grid,
  .brotli-mechanism-grid,
  .hash-property-grid,
  .checksum-family-grid,
  .sha256-stage-grid,
  .qr-structure-grid,
  .binary-interpretation-grid,
  .hex-group-grid,
  .ietf-process-grid
) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.2rem 0 1.8rem;
}

:is(
  .compression-method-grid,
  .gzip-member-grid,
  .brotli-mechanism-grid,
  .hash-property-grid,
  .checksum-family-grid,
  .sha256-stage-grid,
  .qr-structure-grid,
  .binary-interpretation-grid,
  .hex-group-grid,
  .ietf-process-grid
) section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #bfd3cb;
  border-top: 5px solid #4e9189;
  border-radius: 15px;
  background: #fffefa;
  color: #284f53;
  box-shadow: 0 8px 22px rgb(32 75 76 / 7%);
}

:is(
  .compression-method-grid,
  .gzip-member-grid,
  .brotli-mechanism-grid,
  .hash-property-grid,
  .checksum-family-grid,
  .sha256-stage-grid,
  .qr-structure-grid,
  .binary-interpretation-grid,
  .hex-group-grid,
  .ietf-process-grid
) section:nth-child(3n + 2) { border-top-color: #d39b3c; }

:is(
  .compression-method-grid,
  .gzip-member-grid,
  .brotli-mechanism-grid,
  .hash-property-grid,
  .checksum-family-grid,
  .sha256-stage-grid,
  .qr-structure-grid,
  .binary-interpretation-grid,
  .hex-group-grid,
  .ietf-process-grid
) section:nth-child(3n) { border-top-color: #cd724b; }

:is(
  .compression-method-grid,
  .gzip-member-grid,
  .brotli-mechanism-grid,
  .hash-property-grid,
  .checksum-family-grid,
  .sha256-stage-grid,
  .qr-structure-grid,
  .binary-interpretation-grid,
  .hex-group-grid,
  .ietf-process-grid
) span {
  display: inline-flex;
  max-width: 100%;
  padding: 0.34rem 0.66rem;
  border-radius: 999px;
  background: #dcebe4;
  color: #135c5f;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

:is(
  .compression-method-grid,
  .gzip-member-grid,
  .brotli-mechanism-grid,
  .hash-property-grid,
  .checksum-family-grid,
  .sha256-stage-grid,
  .qr-structure-grid,
  .binary-interpretation-grid,
  .hex-group-grid,
  .ietf-process-grid
) strong {
  display: block;
  margin-top: 0.62rem;
  color: #17484c;
  font-family: var(--font-sans);
  font-size: 1.04rem;
  line-height: 1.5;
}

:is(
  .compression-method-grid,
  .gzip-member-grid,
  .brotli-mechanism-grid,
  .hash-property-grid,
  .checksum-family-grid,
  .sha256-stage-grid,
  .qr-structure-grid,
  .binary-interpretation-grid,
  .hex-group-grid,
  .ietf-process-grid
) p {
  margin: 0.4rem 0 0;
  color: #425f63;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.72;
}

@media (max-width: 920px) {
  :is(
    .compression-method-grid,
    .gzip-member-grid,
    .brotli-mechanism-grid,
    .hash-property-grid,
    .checksum-family-grid,
    .sha256-stage-grid,
    .qr-structure-grid,
    .binary-interpretation-grid,
    .hex-group-grid,
    .ietf-process-grid
  ) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  :is(
    .compression-method-grid,
    .gzip-member-grid,
    .brotli-mechanism-grid,
    .hash-property-grid,
    .checksum-family-grid,
    .sha256-stage-grid,
    .qr-structure-grid,
    .binary-interpretation-grid,
    .hex-group-grid,
    .ietf-process-grid
  ) {
    grid-template-columns: 1fr;
    gap: 0.78rem;
  }

  :is(
    .compression-method-grid,
    .gzip-member-grid,
    .brotli-mechanism-grid,
    .hash-property-grid,
    .checksum-family-grid,
    .sha256-stage-grid,
    .qr-structure-grid,
    .binary-interpretation-grid,
    .hex-group-grid,
    .ietf-process-grid
  ) section { padding: 0.95rem; }
}

/* Internet institutions and standards bodies (362–371) */
:is(
  .rfc-reading-grid,
  .icann-coordinate-grid,
  .iana-function-grid,
  .jpnic-role-grid,
  .apnic-distribution-grid,
  .w3c-process-grid,
  .ieee-standard-grid,
  .iso-consensus-grid,
  .registrar-lifecycle-grid,
  .registry-operation-grid
) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.2rem 0 1.8rem;
}

:is(
  .rfc-reading-grid,
  .icann-coordinate-grid,
  .iana-function-grid,
  .jpnic-role-grid,
  .apnic-distribution-grid,
  .w3c-process-grid,
  .ieee-standard-grid,
  .iso-consensus-grid,
  .registrar-lifecycle-grid,
  .registry-operation-grid
) section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #bfd3cb;
  border-top: 5px solid #4e9189;
  border-radius: 15px;
  background: #fffefa;
  color: #284f53;
  box-shadow: 0 8px 22px rgb(32 75 76 / 7%);
}

:is(
  .rfc-reading-grid,
  .icann-coordinate-grid,
  .iana-function-grid,
  .jpnic-role-grid,
  .apnic-distribution-grid,
  .w3c-process-grid,
  .ieee-standard-grid,
  .iso-consensus-grid,
  .registrar-lifecycle-grid,
  .registry-operation-grid
) section:nth-child(3n + 2) { border-top-color: #d39b3c; }

:is(
  .rfc-reading-grid,
  .icann-coordinate-grid,
  .iana-function-grid,
  .jpnic-role-grid,
  .apnic-distribution-grid,
  .w3c-process-grid,
  .ieee-standard-grid,
  .iso-consensus-grid,
  .registrar-lifecycle-grid,
  .registry-operation-grid
) section:nth-child(3n) { border-top-color: #cd724b; }

:is(
  .rfc-reading-grid,
  .icann-coordinate-grid,
  .iana-function-grid,
  .jpnic-role-grid,
  .apnic-distribution-grid,
  .w3c-process-grid,
  .ieee-standard-grid,
  .iso-consensus-grid,
  .registrar-lifecycle-grid,
  .registry-operation-grid
) span {
  display: inline-flex;
  max-width: 100%;
  padding: 0.34rem 0.66rem;
  border-radius: 999px;
  background: #dcebe4;
  color: #135c5f;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

:is(
  .rfc-reading-grid,
  .icann-coordinate-grid,
  .iana-function-grid,
  .jpnic-role-grid,
  .apnic-distribution-grid,
  .w3c-process-grid,
  .ieee-standard-grid,
  .iso-consensus-grid,
  .registrar-lifecycle-grid,
  .registry-operation-grid
) strong {
  display: block;
  margin-top: 0.62rem;
  color: #17484c;
  font-family: var(--font-sans);
  font-size: 1.04rem;
  line-height: 1.5;
}

:is(
  .rfc-reading-grid,
  .icann-coordinate-grid,
  .iana-function-grid,
  .jpnic-role-grid,
  .apnic-distribution-grid,
  .w3c-process-grid,
  .ieee-standard-grid,
  .iso-consensus-grid,
  .registrar-lifecycle-grid,
  .registry-operation-grid
) p {
  margin: 0.4rem 0 0;
  color: #425f63;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.72;
}

@media (max-width: 920px) {
  :is(
    .rfc-reading-grid,
    .icann-coordinate-grid,
    .iana-function-grid,
    .jpnic-role-grid,
    .apnic-distribution-grid,
    .w3c-process-grid,
    .ieee-standard-grid,
    .iso-consensus-grid,
    .registrar-lifecycle-grid,
    .registry-operation-grid
  ) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  :is(
    .rfc-reading-grid,
    .icann-coordinate-grid,
    .iana-function-grid,
    .jpnic-role-grid,
    .apnic-distribution-grid,
    .w3c-process-grid,
    .ieee-standard-grid,
    .iso-consensus-grid,
    .registrar-lifecycle-grid,
    .registry-operation-grid
  ) {
    grid-template-columns: 1fr;
    gap: 0.78rem;
  }

  :is(
    .rfc-reading-grid,
    .icann-coordinate-grid,
    .iana-function-grid,
    .jpnic-role-grid,
    .apnic-distribution-grid,
    .w3c-process-grid,
    .ieee-standard-grid,
    .iso-consensus-grid,
    .registrar-lifecycle-grid,
    .registry-operation-grid
  ) section { padding: 0.95rem; }
}

/* Number resources, trust, DNS and HTTP reference cards (372–381) */
:is(
  .rir-system-grid,
  .asn-role-grid,
  .autonomous-policy-grid,
  .rfc1918-range-grid,
  .ula-format-grid,
  .wifi-certification-grid,
  .ca-chain-grid,
  .root-dns-grid,
  .psl-boundary-grid,
  .http-status-class-grid
) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.2rem 0 1.8rem;
}

:is(
  .rir-system-grid,
  .asn-role-grid,
  .autonomous-policy-grid,
  .rfc1918-range-grid,
  .ula-format-grid,
  .wifi-certification-grid,
  .ca-chain-grid,
  .root-dns-grid,
  .psl-boundary-grid,
  .http-status-class-grid
) section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #bfd3cb;
  border-top: 5px solid #4e9189;
  border-radius: 15px;
  background: #fffefa;
  color: #284f53;
  box-shadow: 0 8px 22px rgb(32 75 76 / 7%);
}

:is(
  .rir-system-grid,
  .asn-role-grid,
  .autonomous-policy-grid,
  .rfc1918-range-grid,
  .ula-format-grid,
  .wifi-certification-grid,
  .ca-chain-grid,
  .root-dns-grid,
  .psl-boundary-grid,
  .http-status-class-grid
) section:nth-child(3n + 2) { border-top-color: #d39b3c; }

:is(
  .rir-system-grid,
  .asn-role-grid,
  .autonomous-policy-grid,
  .rfc1918-range-grid,
  .ula-format-grid,
  .wifi-certification-grid,
  .ca-chain-grid,
  .root-dns-grid,
  .psl-boundary-grid,
  .http-status-class-grid
) section:nth-child(3n) { border-top-color: #cd724b; }

:is(
  .rir-system-grid,
  .asn-role-grid,
  .autonomous-policy-grid,
  .rfc1918-range-grid,
  .ula-format-grid,
  .wifi-certification-grid,
  .ca-chain-grid,
  .root-dns-grid,
  .psl-boundary-grid,
  .http-status-class-grid
) span {
  display: inline-flex;
  max-width: 100%;
  padding: 0.34rem 0.66rem;
  border-radius: 999px;
  background: #dcebe4;
  color: #135c5f;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

:is(
  .rir-system-grid,
  .asn-role-grid,
  .autonomous-policy-grid,
  .rfc1918-range-grid,
  .ula-format-grid,
  .wifi-certification-grid,
  .ca-chain-grid,
  .root-dns-grid,
  .psl-boundary-grid,
  .http-status-class-grid
) strong {
  display: block;
  margin-top: 0.62rem;
  color: #17484c;
  font-family: var(--font-sans);
  font-size: 1.04rem;
  line-height: 1.5;
}

:is(
  .rir-system-grid,
  .asn-role-grid,
  .autonomous-policy-grid,
  .rfc1918-range-grid,
  .ula-format-grid,
  .wifi-certification-grid,
  .ca-chain-grid,
  .root-dns-grid,
  .psl-boundary-grid,
  .http-status-class-grid
) p {
  margin: 0.4rem 0 0;
  color: #425f63;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.72;
}

@media (max-width: 920px) {
  :is(
    .rir-system-grid,
    .asn-role-grid,
    .autonomous-policy-grid,
    .rfc1918-range-grid,
    .ula-format-grid,
    .wifi-certification-grid,
    .ca-chain-grid,
    .root-dns-grid,
    .psl-boundary-grid,
    .http-status-class-grid
  ) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  :is(
    .rir-system-grid,
    .asn-role-grid,
    .autonomous-policy-grid,
    .rfc1918-range-grid,
    .ula-format-grid,
    .wifi-certification-grid,
    .ca-chain-grid,
    .root-dns-grid,
    .psl-boundary-grid,
    .http-status-class-grid
  ) {
    grid-template-columns: 1fr;
    gap: 0.78rem;
  }

  :is(
    .rir-system-grid,
    .asn-role-grid,
    .autonomous-policy-grid,
    .rfc1918-range-grid,
    .ula-format-grid,
    .wifi-certification-grid,
    .ca-chain-grid,
    .root-dns-grid,
    .psl-boundary-grid,
    .http-status-class-grid
  ) section { padding: 0.95rem; }
}

/* Individual HTTP status reference cards (382–391) */
:is(
  .status-200-grid,
  .status-301-grid,
  .status-302-grid,
  .status-400-grid,
  .status-401-grid,
  .status-403-grid,
  .status-404-grid,
  .status-429-grid,
  .status-500-grid,
  .status-502-grid
) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.2rem 0 1.8rem;
}

:is(
  .status-200-grid,
  .status-301-grid,
  .status-302-grid,
  .status-400-grid,
  .status-401-grid,
  .status-403-grid,
  .status-404-grid,
  .status-429-grid,
  .status-500-grid,
  .status-502-grid
) section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #bfd3cb;
  border-top: 5px solid #4e9189;
  border-radius: 15px;
  background: #fffefa;
  color: #284f53;
  box-shadow: 0 8px 22px rgb(32 75 76 / 7%);
}

:is(
  .status-200-grid,
  .status-301-grid,
  .status-302-grid,
  .status-400-grid,
  .status-401-grid,
  .status-403-grid,
  .status-404-grid,
  .status-429-grid,
  .status-500-grid,
  .status-502-grid
) section:nth-child(3n + 2) { border-top-color: #d39b3c; }

:is(
  .status-200-grid,
  .status-301-grid,
  .status-302-grid,
  .status-400-grid,
  .status-401-grid,
  .status-403-grid,
  .status-404-grid,
  .status-429-grid,
  .status-500-grid,
  .status-502-grid
) section:nth-child(3n) { border-top-color: #cd724b; }

:is(
  .status-200-grid,
  .status-301-grid,
  .status-302-grid,
  .status-400-grid,
  .status-401-grid,
  .status-403-grid,
  .status-404-grid,
  .status-429-grid,
  .status-500-grid,
  .status-502-grid
) span {
  display: inline-flex;
  max-width: 100%;
  padding: 0.34rem 0.66rem;
  border-radius: 999px;
  background: #dcebe4;
  color: #135c5f;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

:is(
  .status-200-grid,
  .status-301-grid,
  .status-302-grid,
  .status-400-grid,
  .status-401-grid,
  .status-403-grid,
  .status-404-grid,
  .status-429-grid,
  .status-500-grid,
  .status-502-grid
) strong {
  display: block;
  margin-top: 0.62rem;
  color: #17484c;
  font-family: var(--font-sans);
  font-size: 1.04rem;
  line-height: 1.5;
}

:is(
  .status-200-grid,
  .status-301-grid,
  .status-302-grid,
  .status-400-grid,
  .status-401-grid,
  .status-403-grid,
  .status-404-grid,
  .status-429-grid,
  .status-500-grid,
  .status-502-grid
) p {
  margin: 0.4rem 0 0;
  color: #425f63;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.72;
}

@media (max-width: 920px) {
  :is(
    .status-200-grid,
    .status-301-grid,
    .status-302-grid,
    .status-400-grid,
    .status-401-grid,
    .status-403-grid,
    .status-404-grid,
    .status-429-grid,
    .status-500-grid,
    .status-502-grid
  ) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  :is(
    .status-200-grid,
    .status-301-grid,
    .status-302-grid,
    .status-400-grid,
    .status-401-grid,
    .status-403-grid,
    .status-404-grid,
    .status-429-grid,
    .status-500-grid,
    .status-502-grid
  ) { grid-template-columns: 1fr; gap: 0.78rem; }

  :is(
    .status-200-grid,
    .status-301-grid,
    .status-302-grid,
    .status-400-grid,
    .status-401-grid,
    .status-403-grid,
    .status-404-grid,
    .status-429-grid,
    .status-500-grid,
    .status-502-grid
  ) section { padding: 0.95rem; }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.publication-code {
  margin: 1rem 0 1.6rem;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  border: 1px solid #b9d1c8;
  border-left: 5px solid #4e9189;
  border-radius: 14px;
  background: #f8fbf7;
  color: #173f43;
  font: 600 1rem/1.72 ui-monospace, "Cascadia Mono", "Yu Gothic UI", monospace;
  white-space: pre;
}

.publication-code code { font: inherit; color: inherit; }

.publication-table-wrap {
  margin: 1rem 0 1.8rem;
  overflow-x: auto;
  border: 1px solid #bfd3cb;
  border-radius: 15px;
  background: #fffefa;
}

.publication-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: #294d50;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.62;
}

.publication-table th,
.publication-table td {
  padding: 0.82rem 0.94rem;
  border-bottom: 1px solid #d8e4df;
  text-align: left;
  vertical-align: top;
}

.publication-table th { background: #e3eee8; color: #17484c; font-weight: 900; }
.publication-table tbody tr:nth-child(even) { background: #faf8f1; }
.publication-table tbody tr:last-child td { border-bottom: 0; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
}

a {
  color: var(--brand-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
.button {
  min-height: 46px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: var(--reading);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 72px;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  width: 34px;
  height: 32px;
  gap: 3px;
  padding: 4px;
  border: 2px solid currentColor;
  border-radius: 10px 10px 4px 10px;
  color: var(--brand);
}

.brand-mark::after {
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(35deg);
}

.brand-mark i {
  display: block;
  width: 5px;
  border-radius: 4px;
  background: currentColor;
}

.brand-mark i:nth-child(1) { height: 7px; }
.brand-mark i:nth-child(2) { height: 12px; }
.brand-mark i:nth-child(3) { height: 18px; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
}

.site-nav a {
  padding: 0.55rem 0.6rem;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  background: var(--surface-2);
  color: var(--brand-strong);
}

.nav-search::before {
  content: "⌕";
  margin-right: 0.25rem;
  font-size: 1.1rem;
}

.menu-toggle {
  display: inline-grid;
  place-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle,
.quick-check {
  display: none;
}

.breadcrumbs {
  padding-block: 0.75rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumbs li {
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs li + li::before {
  margin-right: 0.5rem;
  content: "/";
}

.breadcrumbs a {
  color: inherit;
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--brand-strong);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-hero {
  padding: clamp(1.8rem, 4vw, 3.25rem) 0;
  border-block: 1px solid color-mix(in srgb, var(--brand) 13%, var(--line));
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--surface-2) 58%, var(--surface)) 0%, var(--surface) 58%, color-mix(in srgb, var(--accent) 5%, var(--surface)) 100%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.page-hero-copy {
  min-width: 0;
}

.page-hero:not(.page-hero--visual) {
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 720px;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.6vw, 1.1rem);
}

.page-hero:not(.page-hero--visual) .hero-lead {
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand-strong);
  color: var(--surface);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  filter: brightness(1.08);
}

.button.secondary {
  background: var(--surface);
  color: var(--brand-strong);
}

.button.ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 2.75rem;
  background:
    radial-gradient(circle at 88% 35%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 24rem),
    linear-gradient(180deg, var(--surface) 0%, color-mix(in srgb, var(--surface-2) 20%, var(--bg)) 100%);
}

.home-hero::before,
.home-hero::after {
  position: absolute;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  border-radius: 50%;
  content: "";
}

.home-hero::before {
  top: 6%;
  right: -7rem;
  width: 27rem;
  height: 27rem;
}

.home-hero::after {
  top: 20%;
  right: 1rem;
  width: 14rem;
  height: 14rem;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.home-hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.35rem, 4.5vw, 4.15rem);
  line-height: 1.14;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.home-hero h1 .accent {
  color: var(--brand-strong);
}

.home-hero .hero-lead {
  margin: 1.2rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.home-hero .hero-actions {
  justify-content: flex-start;
}

.definition {
  margin-top: 1.4rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-size: 0.92rem;
}

.connection-card {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.connection-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 800;
}

.status-dot::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.ip-value {
  min-height: 2.8rem;
  margin: 1.2rem 0;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
}

.fact-grid > div,
.service-facts > div,
.term-facts > div {
  padding: 0.9rem;
  border-radius: 12px;
  background: var(--surface-3);
}

.fact-grid dt,
.service-facts dt,
.term-facts dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.fact-grid dd,
.service-facts dd,
.term-facts dd {
  margin: 0.15rem 0 0;
  font-weight: 800;
}

.section {
  padding: clamp(2.8rem, 5vw, 4.6rem) 0;
}

.section.alt {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-2) 62%, var(--surface)) 0%, var(--surface) 100%);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.8rem;
}

.section-head h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.section-head p {
  max-width: 560px;
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.content-card,
.tool-card,
.category-card {
  position: relative;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.content-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  overflow: hidden;
  padding: 1.5rem;
  box-shadow: 0 1px 0 rgba(18, 47, 49, 0.03);
}

.content-card::before {
  position: absolute;
  top: 0;
  right: 1.5rem;
  left: 1.5rem;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--accent) 75%, var(--brand)));
  content: "";
}

.content-card:hover,
.category-card:hover {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.content-card h3,
.content-card h2,
.category-card h3,
.tool-card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.5;
}

.content-card h3 a::after,
.content-card h2 a::after,
.category-card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.content-card h3 a,
.content-card h2 a,
.category-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.content-card p,
.category-card p,
.tool-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.text-link {
  margin-top: auto;
  font-weight: 800;
  text-decoration: none;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.question-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.question-link:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}

.question-link span:last-child {
  font-size: 1.3rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.stat {
  padding: 1.5rem;
  background: var(--surface);
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--brand-strong);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.2;
}

.stat span {
  color: var(--muted);
  font-size: 0.86rem;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, var(--reading)) minmax(240px, 285px);
  justify-content: center;
  align-items: start;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: clamp(1.75rem, 3vw, 2.75rem);
  padding-bottom: 5rem;
}

.article-shell--single {
  grid-template-columns: minmax(0, 920px);
}

.article {
  min-width: 0;
  padding: clamp(1.4rem, 3.5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.article-meta span + span::before {
  margin-right: 0.55rem;
  content: "·";
}

.article h2 {
  margin: 2.8rem 0 0.9rem;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  line-height: 1.45;
}

.article h3 {
  margin: 1.6rem 0 0.65rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.article p {
  margin: 1rem 0;
}

.article details {
  padding: 1rem 1.1rem;
  border-block: 1px solid var(--line);
}

.article details + details {
  border-top: 0;
}

.article summary {
  font-weight: 800;
  cursor: pointer;
}

.article-side {
  align-self: start;
  position: sticky;
  top: 96px;
  display: grid;
  gap: 0.75rem;
}

.side-card,
.side-link {
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 5px 18px rgba(18, 47, 49, 0.05);
}

.side-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.side-link {
  display: flex;
  justify-content: space-between;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.conclusion,
.notice {
  padding: 1.4rem;
  border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line));
  border-radius: var(--radius);
  background: var(--surface-2);
}

.conclusion {
  margin: 1.5rem 0 2rem;
}

.conclusion p:last-child,
.notice p:last-child {
  margin-bottom: 0;
}

.notice.warning {
  border-color: color-mix(in srgb, var(--warning) 45%, var(--line));
  background: color-mix(in srgb, var(--warning) 8%, var(--surface));
}

.steps {
  display: grid;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(8rem, 0.4fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 1rem 1rem 3.8rem;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  position: absolute;
  top: 0.85rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--brand-strong);
  color: var(--surface);
  content: counter(step);
  font-weight: 800;
}

.steps span {
  color: var(--muted);
}

.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.flow-diagram span {
  flex: 1;
  padding: 0.65rem;
  border-radius: 9px;
  background: var(--surface-2);
  font-weight: 800;
  text-align: center;
}

.flow-diagram b {
  color: var(--accent);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.88rem;
  text-decoration: none;
}

.term-facts,
.service-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
}

.service-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.filters,
.tool-panel {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.filter-row,
.form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.75rem;
}

.field {
  display: grid;
  flex: 1 1 220px;
  gap: 0.35rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.result-panel {
  min-height: 96px;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-3);
  white-space: pre-wrap;
}

.result-panel[aria-busy="true"] {
  color: var(--muted);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.result-item {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.result-item .label {
  color: var(--muted);
  font-size: 0.8rem;
}

.result-item .value {
  margin-top: 0.25rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

caption {
  margin-bottom: 0.6rem;
  font-weight: 700;
  text-align: left;
}

th,
td {
  padding: 0.8rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-2);
}

.empty-state {
  padding: 2rem;
  color: var(--muted);
  text-align: center;
}

.small {
  color: var(--muted);
  font-size: 0.82rem;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 1rem;
  bottom: 1rem;
  max-width: min(360px, calc(100% - 2rem));
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: var(--ink);
  color: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: none;
}

.site-footer {
  padding: 4rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 1fr);
  gap: 2.5rem;
}

.footer-grid h2 {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
}

.footer-grid nav {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.footer-grid nav a,
.footer-grid p {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

strong {
  color: color-mix(in srgb, var(--brand-strong) 84%, var(--ink));
  font-weight: 800;
}

.home-hero .connection-card {
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

.topic-visual {
  width: 100%;
  min-width: 0;
  max-width: 390px;
  overflow: hidden;
  margin: 0;
  border: 1px solid hsl(var(--visual-hue) 24% 75%);
  border-radius: 24px;
  background: hsl(var(--visual-hue) 26% 96%);
  box-shadow: 0 14px 34px hsla(var(--visual-hue), 30%, 20%, 0.12);
  isolation: isolate;
}

.page-hero .topic-visual {
  justify-self: end;
}

.home-hero .topic-visual {
  max-width: 420px;
}

.topic-visual-canvas {
  position: relative;
  min-height: 224px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, hsla(var(--visual-accent-hue), 78%, 58%, 0.18) 0 42px, transparent 43px),
    radial-gradient(circle at 82% 78%, hsla(var(--visual-hue), 48%, 48%, 0.14) 0 58px, transparent 59px),
    linear-gradient(135deg, hsl(var(--visual-hue) 30% 98%), hsl(var(--visual-hue) 25% 93%));
}

.topic-visual--compact .topic-visual-canvas {
  min-height: 190px;
}

.topic-visual--pattern-1 .topic-visual-canvas {
  background:
    radial-gradient(circle at 82% 20%, hsla(var(--visual-accent-hue), 78%, 58%, 0.17) 0 50px, transparent 51px),
    linear-gradient(90deg, hsla(var(--visual-hue), 32%, 46%, 0.055) 1px, transparent 1px),
    linear-gradient(hsla(var(--visual-hue), 32%, 46%, 0.055) 1px, transparent 1px),
    hsl(var(--visual-hue) 30% 96%);
  background-size: auto, 24px 24px, 24px 24px, auto;
}

.topic-visual--pattern-2 .topic-visual-canvas {
  background:
    linear-gradient(145deg, transparent 0 45%, hsla(var(--visual-hue), 45%, 45%, 0.08) 45% 55%, transparent 55%),
    radial-gradient(circle at 20% 82%, hsla(var(--visual-accent-hue), 75%, 58%, 0.18) 0 52px, transparent 53px),
    hsl(var(--visual-hue) 26% 96%);
}

.topic-visual--pattern-3 .topic-visual-canvas {
  background:
    repeating-radial-gradient(circle at 80% 30%, transparent 0 16px, hsla(var(--visual-hue), 38%, 45%, 0.06) 17px 18px),
    linear-gradient(120deg, hsl(var(--visual-hue) 27% 97%), hsl(var(--visual-accent-hue) 48% 95%));
}

.topic-visual figcaption {
  position: relative;
  z-index: 5;
  padding: 0.55rem 0.8rem 0.65rem;
  border-top: 1px solid hsla(var(--visual-hue), 25%, 40%, 0.12);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.topic-orbit {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.topic-orbit-a {
  top: 50%;
  right: 11%;
  left: 11%;
  border-top: 2px dashed hsla(var(--visual-hue), 48%, 35%, 0.38);
  transform: rotate(var(--visual-turn));
}

.topic-orbit-b {
  top: 14%;
  left: 27%;
  width: 46%;
  height: 72%;
  border: 2px dotted hsla(var(--visual-accent-hue), 65%, 45%, 0.33);
  border-radius: 50%;
  transform: rotate(calc(var(--visual-turn) * -1));
}

.topic-node {
  position: absolute;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: 96px;
  min-height: 94px;
  padding: 0.7rem 0.45rem 0.55rem;
  border: 1px solid hsla(var(--visual-hue), 32%, 38%, 0.18);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  box-shadow: 0 8px 20px hsla(var(--visual-hue), 35%, 23%, 0.12);
}

.topic-node-1 {
  top: 14%;
  left: 5%;
}

.topic-node-2 {
  top: 50%;
  left: 50%;
  width: 112px;
  min-height: 108px;
  border-color: hsla(var(--visual-hue), 48%, 35%, 0.32);
  transform: translate(-50%, -50%);
}

.topic-node-3 {
  right: 5%;
  bottom: 14%;
}

.topic-visual--layout-1 .topic-node-1 { top: auto; bottom: 13%; }
.topic-visual--layout-1 .topic-node-3 { top: 13%; bottom: auto; }
.topic-visual--layout-2 .topic-node-1 { top: 50%; transform: translateY(-50%); }
.topic-visual--layout-2 .topic-node-2 { top: 28%; }
.topic-visual--layout-2 .topic-node-3 { top: 50%; bottom: auto; transform: translateY(-50%); }
.topic-visual--layout-3 .topic-node-1 { top: 11%; left: 11%; }
.topic-visual--layout-3 .topic-node-2 { top: auto; bottom: 7%; }
.topic-visual--layout-3 .topic-node-3 { top: 11%; right: 11%; bottom: auto; }
.topic-visual--layout-4 .topic-node-1 { top: 10%; left: 4%; }
.topic-visual--layout-4 .topic-node-2 { left: 58%; }
.topic-visual--layout-4 .topic-node-3 { right: auto; bottom: 8%; left: 22%; }
.topic-visual--layout-5 .topic-node-1 { top: 54%; left: 3%; transform: translateY(-50%); }
.topic-visual--layout-5 .topic-node-2 { top: 42%; left: 46%; }
.topic-visual--layout-5 .topic-node-3 { right: 4%; bottom: 7%; }

.topic-node b {
  display: -webkit-box;
  max-width: 100%;
  margin-top: 0.25rem;
  overflow: hidden;
  color: hsl(var(--visual-hue) 52% 23%);
  font-size: 0.69rem;
  line-height: 1.3;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.topic-spark {
  position: absolute;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: hsl(var(--visual-accent-hue) 74% 52%);
  box-shadow: 0 0 0 5px hsla(var(--visual-accent-hue), 70%, 55%, 0.1);
}

.topic-spark-a { top: 10%; left: 47%; }
.topic-spark-b { right: 8%; bottom: 10%; width: 5px; height: 5px; }
.topic-spark-c { bottom: 8%; left: 8%; width: 6px; height: 6px; background: hsl(var(--visual-hue) 45% 48%); }

.picto {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  color: hsl(var(--visual-hue) 58% 29%);
}

.picto-globe,
.picto-dns {
  border: 3px solid currentColor;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 45%, currentColor 46% 54%, transparent 55%),
    linear-gradient(transparent 45%, currentColor 46% 54%, transparent 55%);
}

.picto-globe::after {
  position: absolute;
  inset: 4px 12px;
  border: 2px solid currentColor;
  border-block: 0;
  border-radius: 50%;
  content: "";
}

.picto-dns::before {
  position: absolute;
  inset: 9px -7px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 8px;
  background: var(--surface);
  content: "DNS";
  font-size: 0.61rem;
  font-style: normal;
  font-weight: 900;
}

.picto-router::before {
  position: absolute;
  right: 1px;
  bottom: 7px;
  left: 1px;
  height: 22px;
  border: 3px solid currentColor;
  border-radius: 8px;
  background: var(--surface);
  content: "";
}

.picto-router::after {
  position: absolute;
  top: 4px;
  left: 7px;
  width: 32px;
  height: 20px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
  content: "";
}

.picto-router span::before,
.picto-router span::after {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: hsl(var(--visual-accent-hue) 76% 52%);
  content: "";
}

.picto-router span::before { left: 11px; }
.picto-router span::after { left: 21px; }

.picto-wifi::before {
  position: absolute;
  inset: 4px 1px 12px;
  border: 4px solid currentColor;
  border-color: currentColor transparent transparent;
  border-radius: 50%;
  box-shadow: inset 0 7px 0 -4px var(--surface), inset 0 10px 0 -6px currentColor;
  content: "";
}

.picto-wifi::after {
  position: absolute;
  bottom: 6px;
  left: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.picto-device,
.picto-window,
.picto-terminal,
.picto-code {
  border: 3px solid currentColor;
  border-radius: 7px;
  background: var(--surface);
}

.picto-device::before {
  position: absolute;
  right: 7px;
  bottom: -7px;
  left: 7px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  content: "";
}

.picto-window::before {
  position: absolute;
  top: 8px;
  right: 0;
  left: 0;
  border-top: 3px solid currentColor;
  content: "";
}

.picto-window::after {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: hsl(var(--visual-accent-hue) 74% 52%);
  box-shadow: 7px 0 currentColor;
  content: "";
}

.picto-terminal::before,
.picto-code::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  content: ">_";
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1rem;
  font-style: normal;
  font-weight: 900;
}

.picto-code::before {
  content: "</>";
  font-size: 0.88rem;
}

.picto-mail {
  border: 3px solid currentColor;
  border-radius: 7px;
  background:
    linear-gradient(32deg, transparent 48%, currentColor 49% 53%, transparent 54%) left / 52% 100% no-repeat,
    linear-gradient(-32deg, transparent 48%, currentColor 49% 53%, transparent 54%) right / 52% 100% no-repeat,
    var(--surface);
}

.picto-server::before {
  position: absolute;
  inset: 3px 1px auto;
  height: 10px;
  border: 3px solid currentColor;
  border-radius: 4px;
  background: var(--surface);
  box-shadow: 0 15px 0 -3px var(--surface), 0 15px 0 0 currentColor, 0 30px 0 -3px var(--surface), 0 30px 0 0 currentColor;
  content: "";
}

.picto-shield {
  background: currentColor;
  clip-path: polygon(50% 0, 90% 16%, 82% 68%, 50% 100%, 18% 68%, 10% 16%);
}

.picto-shield::after {
  position: absolute;
  inset: 10px 12px 14px;
  background: hsl(var(--visual-hue) 28% 94%);
  clip-path: inherit;
  content: "";
}

.picto-phone {
  margin-inline: 9px;
  width: 30px;
  border: 3px solid currentColor;
  border-radius: 8px;
  background: var(--surface);
}

.picto-phone::after {
  position: absolute;
  bottom: 3px;
  left: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.picto-sim {
  border: 3px solid currentColor;
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent 0 22%, currentColor 23% 29%, transparent 30% 69%, currentColor 70% 76%, transparent 77%),
    linear-gradient(transparent 0 28%, currentColor 29% 35%, transparent 36% 64%, currentColor 65% 71%, transparent 72%),
    var(--surface);
  clip-path: polygon(0 0, 72% 0, 100% 28%, 100% 100%, 0 100%);
}

.picto-signal::before,
.picto-chart::before {
  position: absolute;
  bottom: 4px;
  left: 5px;
  width: 7px;
  height: 12px;
  border-radius: 3px 3px 0 0;
  background: currentColor;
  box-shadow: 10px -8px currentColor, 20px -16px currentColor, 30px -26px hsl(var(--visual-accent-hue) 72% 50%);
  content: "";
}

.picto-speed {
  border: 4px solid currentColor;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-4deg);
}

.picto-speed::after {
  position: absolute;
  bottom: 17px;
  left: 20px;
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: hsl(var(--visual-accent-hue) 72% 50%);
  content: "";
  transform: rotate(-38deg);
  transform-origin: left;
}

.picto-key::before {
  position: absolute;
  top: 7px;
  left: 1px;
  width: 17px;
  height: 17px;
  border: 4px solid currentColor;
  border-radius: 50%;
  content: "";
}

.picto-key::after {
  position: absolute;
  top: 24px;
  left: 18px;
  width: 28px;
  height: 4px;
  background: currentColor;
  box-shadow: 12px 5px 0 -1px currentColor;
  content: "";
  transform: rotate(36deg);
  transform-origin: left;
}

.picto-lock::before {
  position: absolute;
  right: 5px;
  bottom: 2px;
  left: 5px;
  height: 28px;
  border-radius: 6px;
  background: currentColor;
  content: "";
}

.picto-lock::after {
  position: absolute;
  top: 1px;
  left: 12px;
  width: 24px;
  height: 25px;
  border: 4px solid currentColor;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  content: "";
}

.picto-cloud::before {
  position: absolute;
  right: 2px;
  bottom: 8px;
  left: 2px;
  height: 23px;
  border-radius: 16px;
  background: currentColor;
  content: "";
}

.picto-cloud::after {
  position: absolute;
  top: 8px;
  left: 13px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -9px 8px 0 -3px currentColor, 13px 8px 0 -4px currentColor;
  content: "";
}

.picto-file {
  border: 3px solid currentColor;
  border-radius: 5px;
  background: repeating-linear-gradient(transparent 0 8px, hsla(var(--visual-hue), 45%, 35%, 0.18) 9px 11px);
  clip-path: polygon(0 0, 72% 0, 100% 28%, 100% 100%, 0 100%);
}

.picto-home {
  background: currentColor;
  clip-path: polygon(50% 0, 100% 38%, 88% 38%, 88% 100%, 58% 100%, 58% 66%, 42% 66%, 42% 100%, 12% 100%, 12% 38%, 0 38%);
}

.picto-tools::before,
.picto-settings::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: currentColor;
  content: "✦";
  font-size: 2.3rem;
  font-style: normal;
  font-weight: 900;
}

.picto-settings::before {
  content: "⚙";
}

.picto-route::before {
  position: absolute;
  top: 22px;
  left: 5px;
  width: 38px;
  border-top: 4px dotted currentColor;
  content: "";
  transform: rotate(-18deg);
}

.picto-route::after {
  position: absolute;
  top: 29px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 35px -12px hsl(var(--visual-accent-hue) 72% 50%);
  content: "";
}

.picto-warning {
  background: hsl(var(--visual-accent-hue) 72% 50%);
  clip-path: polygon(50% 2%, 100% 94%, 0 94%);
}

.picto-warning::after {
  position: absolute;
  inset: 11px 0 0;
  display: grid;
  place-items: center;
  color: var(--surface);
  content: "!";
  font-size: 1.45rem;
  font-style: normal;
  font-weight: 900;
}

.editorial-band {
  display: grid;
  grid-template-columns: minmax(270px, 340px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(120deg, var(--surface), color-mix(in srgb, var(--surface-2) 48%, var(--surface)));
  box-shadow: var(--shadow-soft);
}

.editorial-band .topic-visual {
  max-width: 340px;
  margin: 0;
}

.editorial-band h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.editorial-band p:last-child {
  color: var(--muted);
}

.card-key {
  padding-top: 0.8rem;
  border-top: 1px dashed var(--line);
  font-size: 0.86rem !important;
}

.article-opening {
  margin: 1.8rem 0 2.2rem;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border-left: 6px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  font-size: 1.06rem;
}

.article-opening p:last-child {
  margin-bottom: 0;
}

.learning-diagram {
  margin: 2rem 0 3rem;
  padding: clamp(1.1rem, 3vw, 1.7rem);
  border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line));
  border-radius: 22px;
  background: var(--surface);
}

.learning-diagram figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.flow-figure > div {
  display: flex;
  align-items: stretch;
  gap: 0.55rem;
}

.flow-figure span {
  display: grid;
  flex: 1;
  place-items: center;
  min-height: 76px;
  padding: 0.7rem;
  border-radius: 13px;
  background: var(--surface-2);
  font-weight: 800;
  text-align: center;
}

.flow-figure i,
.split-diagram > i {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 900;
}

.split-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.8rem;
}

.split-diagram > div {
  display: grid;
  gap: 0.35rem;
  place-content: center;
  min-height: 120px;
  padding: 1rem;
  border-radius: 15px;
  background: var(--surface-2);
  text-align: center;
}

.split-diagram > div span {
  color: var(--brand-strong);
  font-size: 1.1rem;
  font-weight: 900;
}

.split-diagram figcaption {
  grid-column: 1 / -1;
}

.branch-diagram .branch-root {
  max-width: 430px;
  margin: 0 auto 1rem;
  padding: 0.85rem;
  border-radius: 12px;
  background: var(--brand-strong);
  color: var(--surface);
  font-weight: 800;
  text-align: center;
}

.branch-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.branch-options span {
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-3);
  font-weight: 800;
  text-align: center;
}

.comparison-board,
.term-context-grid,
.result-reading,
.triage-grid,
.provider-portrait,
.tool-purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.comparison-board > section,
.term-context-grid > section,
.result-reading > div,
.triage-grid > section,
.provider-portrait > div,
.tool-purpose-grid > section {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.comparison-board h3,
.term-context-grid h2,
.tool-purpose-grid h2 {
  margin: 0 0 0.6rem;
}

.comparison-board p:last-child,
.term-context-grid p:last-child,
.provider-portrait p:last-child,
.tool-purpose-grid p:last-child {
  color: var(--muted);
}

.decision-table,
.term-context-grid,
.provider-portrait {
  margin: 1.2rem 0 2rem;
}

.example-card,
.misread-note,
.service-note {
  margin: 1.5rem 0;
  padding: 1.2rem;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
}

.study-list {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  list-style: none;
}

.study-list li {
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  background: var(--surface-3);
}

.study-list li span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
}

.before-you-start,
.evidence-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.before-you-start > div,
.evidence-list > div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.before-you-start span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-weight: 900;
}

.practice-panel {
  overflow: hidden;
  margin: 1.5rem 0 2.5rem;
  border: 2px solid var(--brand);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 14px 30px rgba(13, 86, 89, 0.08);
}

.practice-panel-head {
  padding: 1.2rem 1.4rem;
  background: var(--surface-2);
}

.practice-panel-head h3 {
  margin: 0;
}

.practice-panel-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.practice-panel ol,
.choice-steps,
.provider-questions {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.practice-panel li,
.choice-steps li,
.provider-questions li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.9rem;
  padding: 1.1rem 1.3rem;
  border-top: 1px solid var(--line);
}

.practice-panel li > span,
.choice-steps li > span,
.provider-questions li > span {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 10px;
  background: var(--brand-strong);
  color: white;
  font-size: 0.85rem;
  font-weight: 900;
}

.practice-panel li p,
.choice-steps li p,
.provider-questions li p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.danger-panel {
  border-color: var(--accent);
}

.danger-panel .practice-panel-head {
  background: color-mix(in srgb, var(--accent) 9%, var(--surface));
}

.triage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.triage-grid span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--brand-strong);
  font-weight: 900;
}

.warning-box {
  margin: 2rem 0;
  padding: 1.3rem;
  border-left: 6px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}

.warning-box h2 {
  margin-top: 0;
  font-size: 1.3rem;
}

.field-note {
  margin-top: 3rem;
  padding: 1.3rem;
  border-top: 4px double var(--line);
  background: var(--surface-3);
}

.field-note h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.article-terms {
  margin-top: 3rem;
  padding: 1.4rem;
  border-radius: 20px;
  background: var(--surface-2);
}

.article-notebook {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 4px double var(--line);
}

.notebook-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.5rem 0;
}

.notebook-grid section {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.notebook-grid span {
  display: block;
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 900;
}

.notebook-grid p {
  color: var(--muted);
  font-size: 0.9rem;
}

.knowledge-check {
  background: var(--surface);
}

.article-terms h2 {
  margin-top: 0;
}

.article-terms > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.article-terms a {
  display: grid;
  gap: 0.3rem;
  padding: 0.9rem;
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.article-terms a span {
  color: var(--muted);
  font-size: 0.84rem;
}

.term-definition {
  margin: 1.5rem 0 2rem;
  padding: 1.4rem;
  border-radius: 18px;
  background: var(--surface-2);
  font-size: 1.08rem;
}

.side-goals {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.1rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.provider-portrait {
  margin-top: 1.5rem;
}

.provider-portrait > div:first-child {
  border-top: 5px solid var(--brand);
}

.provider-portrait > div:last-child {
  border-top: 5px solid var(--accent);
}

.provider-questions {
  overflow: hidden;
  margin: 1.2rem 0 2.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.provider-questions li:first-child {
  border-top: 0;
}

.switch-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.switch-timeline section {
  padding: 1.1rem;
  background: var(--surface);
}

.switch-timeline span {
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 900;
}

.tool-workspace {
  padding-top: 1rem;
}

.tool-purpose-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.tool-purpose-grid > section {
  min-height: 190px;
}

.tool-purpose-grid h2 {
  font-size: 1.15rem;
}

.tool-stage {
  overflow: hidden;
  margin-bottom: 3rem;
  border: 2px solid var(--brand-strong);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.tool-stage-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1rem;
  background: var(--brand-strong);
  color: white;
}

.tool-stage-label span {
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.tool-stage-label strong {
  color: #fff;
}

.tool-stage .tool-panel {
  border: 0;
  border-radius: 0;
}

.tool-guide {
  max-width: var(--reading);
  margin-inline: auto;
}

.tool-example {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 1px;
  overflow: hidden;
  margin: 1.7rem 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.tool-example > div {
  padding: 1rem;
  background: var(--surface);
}

.tool-example span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.tool-example code {
  color: var(--brand-strong);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.tool-example p {
  margin: 0;
}

.tool-steps {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  list-style: none;
}

.tool-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.tool-steps li > span {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-weight: 900;
}

.tool-steps p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.tool-follow-up {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 2rem 0;
}

.tool-follow-up section {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.tool-follow-up section:first-child {
  border-top: 5px solid var(--accent);
}

.tool-follow-up section:last-child {
  border-top: 5px solid var(--brand);
}

.tool-follow-up h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.tool-follow-up p:last-child {
  color: var(--muted);
}

.tool-privacy {
  margin: 2.5rem 0;
  padding: 1.2rem;
  border: 1px dashed var(--brand);
  border-radius: 16px;
  background: var(--surface-2);
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: auto 1fr auto auto;
  }

  .quick-check {
    display: inline-flex;
    justify-self: end;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: var(--brand-strong);
    color: var(--surface);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
  }

  .menu-toggle {
    display: inline-grid;
    gap: 5px;
    border-radius: 50%;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    padding: 0.75rem;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-hero .topic-visual {
    justify-self: start;
    max-width: 440px;
  }

  .connection-card {
    max-width: 700px;
  }
}

@media (max-width: 820px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero .topic-visual {
    justify-self: start;
    max-width: 400px;
  }

  .page-hero .topic-visual-canvas {
    min-height: 190px;
  }

  .editorial-band {
    grid-template-columns: 1fr;
  }

  .tool-purpose-grid,
  .before-you-start,
  .evidence-list,
  .triage-grid,
  .switch-timeline,
  .notebook-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-shell {
    grid-template-columns: 1fr;
  }

  .article-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-side .side-card {
    grid-column: 1 / -1;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid section {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 64px;
    gap: 0.45rem;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 30px;
    height: 28px;
  }

  .quick-check {
    padding: 0.38rem 0.65rem;
    font-size: 0.75rem;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .site-nav {
    top: 64px;
    right: 14px;
    left: 14px;
  }

  .home-hero {
    padding-top: 2.7rem;
  }

  .home-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.1rem);
  }

  .page-hero {
    padding-block: 1.5rem;
  }

  .page-hero h1 {
    font-size: clamp(1.8rem, 8.6vw, 2.4rem);
  }

  .page-hero .topic-visual-canvas,
  .topic-visual--compact .topic-visual-canvas {
    min-height: 176px;
  }

  .topic-node {
    width: 84px;
    min-height: 82px;
    padding: 0.55rem 0.35rem 0.45rem;
    border-radius: 15px;
  }

  .topic-node-2 {
    width: 96px;
    min-height: 94px;
  }

  .picto {
    width: 40px;
    height: 40px;
    transform: scale(0.84);
    transform-origin: center;
  }

  .topic-node b {
    font-size: 0.63rem;
  }

  .article-shell {
    padding-top: 1rem;
    padding-bottom: 3.5rem;
  }

  .article {
    padding: 1.15rem;
    border-radius: 18px;
  }

  .article-side {
    grid-template-columns: 1fr;
  }

  .article-side .side-card {
    grid-column: auto;
  }

  .hero-actions .button {
    width: 100%;
  }

  .card-grid,
  .question-grid,
  .result-grid,
  .term-facts,
  .service-facts,
  .comparison-board,
  .term-context-grid,
  .result-reading,
  .provider-portrait,
  .article-terms > div,
  .tool-example,
  .tool-follow-up {
    grid-template-columns: 1fr;
  }

  .flow-figure > div {
    flex-direction: column;
  }

  .flow-figure i {
    transform: rotate(90deg);
  }

  .split-diagram {
    grid-template-columns: 1fr;
  }

  .split-diagram > i {
    transform: rotate(90deg);
  }

  .split-diagram figcaption {
    grid-column: auto;
  }

  .branch-options {
    grid-template-columns: 1fr;
  }

  .content-card {
    min-height: auto;
  }

  .section-head {
    display: block;
  }

  .steps li {
    grid-template-columns: 1fr;
  }

  .flow-diagram {
    flex-direction: column;
  }

  .flow-diagram b {
    transform: rotate(90deg);
  }

  .footer-grid,
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .article-side,
  .breadcrumbs,
  .button,
  .toast {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .article-shell {
    display: block;
  }
}

/* 2026 editorial refresh: content-first layout and real page illustrations */
body {
  background: #f6f3ec;
  color: #173537;
  font-size: 17px;
  line-height: 1.9;
}

.small {
  font-size: 0.9rem;
}

.eyebrow {
  margin-bottom: 0.55rem;
  color: #0a6566;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.page-hero {
  padding: clamp(1.7rem, 3.5vw, 2.8rem) 0;
  border-top: 0;
  border-bottom: 1px solid #d8ddd6;
  background: #fffdf7;
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(1.5rem, 4vw, 3.75rem);
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.18;
}

.page-hero .hero-lead {
  max-width: 760px;
  margin-top: 1rem;
  color: #536563;
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  line-height: 1.8;
}

.page-hero-image,
.home-hero-image {
  overflow: hidden;
  width: 100%;
  margin: 0;
  border: 1px solid #d5dbd4;
  border-radius: 18px;
  background: #fbf7ed;
  box-shadow: 0 18px 40px rgba(24, 55, 57, 0.11);
}

.page-hero-image {
  max-width: 380px;
  aspect-ratio: 16 / 9;
}

.page-hero-image img,
.home-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-image {
  max-width: 500px;
  aspect-ratio: 16 / 9;
}

.home-hero-image img {
  object-position: center 64%;
}

.home-hero {
  padding-top: clamp(2.7rem, 6vw, 5rem);
  background: linear-gradient(180deg, #fffdf8 0%, #edf3ef 100%);
}

.home-hero::before,
.home-hero::after {
  display: none;
}

.home-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: clamp(2rem, 5vw, 5rem);
}

.section {
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.section.alt {
  border-color: #d8ddd6;
  background: #eef3ef;
}

.editorial-intro {
  max-width: 860px;
  margin: 0 0 clamp(2rem, 4vw, 3.4rem);
  padding: 0.35rem 0 0.35rem 1.35rem;
  border-left: 5px solid var(--accent);
}

.editorial-intro h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.editorial-intro p:last-child {
  max-width: 760px;
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.card-grid {
  gap: 1rem;
}

.content-card {
  min-height: 205px;
  padding: 1.55rem;
  border-color: #d7ddd6;
  border-radius: 15px;
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.content-card::before {
  display: none;
}

.content-card:hover {
  border-color: #79a8a3;
  box-shadow: 0 12px 28px rgba(24, 55, 57, 0.09);
  transform: translateY(-2px);
}

.content-card h2,
.content-card h3 {
  font-size: 1.2rem;
  line-height: 1.5;
}

.content-card p {
  font-size: 0.95rem;
  line-height: 1.75;
}

.archive-links {
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.archive-links h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.archive-links ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem 1.2rem;
  margin: 0;
  padding-left: 1.2rem;
}

.article-shell,
.article-shell--single {
  grid-template-columns: minmax(0, 850px);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.article {
  padding: clamp(1.35rem, 4vw, 3.35rem);
  border-color: #d9ddd7;
  border-radius: 18px;
  background: #fffefa;
  box-shadow: 0 12px 34px rgba(26, 53, 53, 0.06);
}

.article p,
.article li,
.article dd {
  line-height: 1.95;
}

.article h2 {
  margin: 3.5rem 0 1.15rem;
  padding: 0.55rem 0 0.62rem 1rem;
  border-left: 5px solid #0a6d6d;
  border-bottom: 1px solid #d8ded7;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.42;
  letter-spacing: -0.02em;
}

.article h3 {
  position: relative;
  margin: 2rem 0 0.75rem;
  padding-left: 1rem;
  font-size: clamp(1.16rem, 2vw, 1.42rem);
}

.article h3::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.article-summary {
  margin: 1.7rem 0 3rem;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border: 1px solid #b9d2c9;
  border-radius: 16px;
  background: #edf5f0;
}

.article-summary h2 {
  margin: 0 0 0.8rem;
  padding: 0;
  border: 0;
  font-size: 1.38rem;
}

.article-summary p {
  margin: 0.65rem 0;
}

.article-summary ul {
  margin: 0.75rem 0 0;
  padding-left: 1.35rem;
}

.process-flow {
  display: grid;
  gap: 0;
  margin: 1.4rem 0 2.5rem;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.process-flow li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.process-flow li > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0a6868;
  color: #fff;
  font-weight: 900;
}

.process-flow p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.cause-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 1.4rem 0 2.5rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--line);
  overflow: hidden;
}

.comparison-board:has(> section:nth-child(3)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.decision-table {
  width: 100%;
  overflow-x: auto;
}

.decision-table table {
  min-width: 680px;
}

.sitemap-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3rem;
}

.sitemap-columns > section {
  min-width: 0;
}

.sitemap-columns h2 {
  margin-top: 0;
}

.cause-list section {
  padding: 1.2rem 1.3rem;
  background: #fffefa;
}

.cause-list h3 {
  margin-top: 0;
}

.cause-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.terms-in-article {
  margin-top: 3.5rem;
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
}

.terms-in-article h2 {
  margin-top: 1rem;
}

.terms-in-article dl,
.term-relations {
  margin: 0;
}

.terms-in-article dl > div,
.term-relations > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.33fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.terms-in-article dt,
.term-relations dt {
  font-weight: 900;
}

.terms-in-article dd,
.term-relations dd {
  margin: 0;
  color: var(--muted);
}

.safety-reference {
  margin-top: 2.5rem !important;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--accent);
  background: #fbf2e8;
}

.term-definition {
  border-left: 6px solid var(--brand);
  border-radius: 0 16px 16px 0;
  background: #eaf3ee;
}

.article-page .page-hero:not(.page-hero--visual) {
  padding-block: clamp(2.2rem, 5vw, 4rem);
  text-align: left;
}

.article-page .page-hero:not(.page-hero--visual) .hero-lead {
  max-width: 760px;
}

.glossary-article--editorial {
  padding-top: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.glossary-article--editorial > .term-definition:first-child {
  margin-top: 0;
}

.term-definition h2 {
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
}

.internet-network-figure,
.internet-journey-figure {
  margin: 1.8rem 0 2.4rem;
  padding: clamp(1rem, 3vw, 1.6rem);
  overflow: hidden;
  border: 1px solid #c9d9d2;
  border-radius: 20px;
  background: #f5f8f4;
}

.internet-network-map {
  display: grid;
  grid-template-columns: minmax(125px, 1fr) 42px minmax(175px, 1.15fr) 42px minmax(125px, 1fr);
  grid-template-rows: repeat(2, minmax(150px, auto));
  grid-template-areas:
    "home home-link core office-link office"
    "mobile mobile-link core server-link server";
  gap: 0.85rem 0;
  align-items: stretch;
}

.internet-network-node,
.internet-network-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 1rem 0.7rem;
  border: 1px solid #cfdad4;
  border-radius: 16px;
  background: #fffefa;
  text-align: center;
  box-shadow: 0 7px 18px rgba(24, 50, 52, 0.06);
}

.internet-network-node--home { grid-area: home; }
.internet-network-node--mobile { grid-area: mobile; }
.internet-network-node--office { grid-area: office; }
.internet-network-node--server { grid-area: server; }

.internet-network-core {
  grid-area: core;
  align-self: center;
  min-height: 205px;
  border: 0;
  background: #075f62;
  color: #fff;
  box-shadow: 0 12px 30px rgba(7, 87, 90, 0.2);
}

.internet-network-node strong,
.internet-network-core strong {
  margin-top: 0.65rem;
  font-size: 1rem;
}

.internet-network-node > span:last-child,
.internet-network-core > span:last-child {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

.internet-network-core strong {
  color: #fff;
}

.internet-network-core > span:last-child {
  color: #dcefee;
}

.internet-network-link {
  position: relative;
  align-self: center;
  height: 3px;
  background: #88aaa3;
}

.internet-network-link::before,
.internet-network-link::after {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #668d85;
  border-right: 2px solid #668d85;
  content: "";
}

.internet-network-link::before {
  left: 1px;
  transform: translateY(-50%) rotate(-135deg);
}

.internet-network-link::after {
  right: 1px;
  transform: translateY(-50%) rotate(45deg);
}

.internet-network-link--home { grid-area: home-link; }
.internet-network-link--mobile { grid-area: mobile-link; }
.internet-network-link--office { grid-area: office-link; }
.internet-network-link--server { grid-area: server-link; }

.internet-picto,
.journey-picto {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #e5f0eb;
  color: #096769;
}

.internet-network-core .internet-picto {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.internet-picto::before,
.internet-picto::after,
.internet-picto i,
.journey-picto::before,
.journey-picto::after,
.journey-picto i {
  position: absolute;
  display: block;
  content: "";
}

.internet-picto--home::before {
  left: 18px;
  bottom: 13px;
  width: 28px;
  height: 24px;
  border: 3px solid currentColor;
  border-top: 0;
  border-radius: 2px;
}

.internet-picto--home::after {
  top: 14px;
  left: 21px;
  width: 23px;
  height: 23px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
  transform: rotate(45deg);
}

.internet-picto--home i {
  left: 29px;
  bottom: 13px;
  width: 7px;
  height: 15px;
  border-radius: 2px 2px 0 0;
  background: currentColor;
}

.internet-picto--mobile::before {
  top: 11px;
  left: 21px;
  width: 23px;
  height: 42px;
  border: 3px solid currentColor;
  border-radius: 7px;
}

.internet-picto--mobile::after {
  left: 30px;
  bottom: 16px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.internet-picto--mobile i {
  top: 17px;
  left: 27px;
  width: 11px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}

.internet-picto--office::before {
  top: 12px;
  left: 18px;
  width: 29px;
  height: 41px;
  border: 3px solid currentColor;
  border-radius: 3px 3px 0 0;
  background: repeating-linear-gradient(90deg, transparent 0 5px, currentColor 5px 8px, transparent 8px 13px);
  background-size: 16px 7px;
}

.internet-picto--office::after {
  left: 14px;
  bottom: 10px;
  width: 37px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}

.internet-picto--server::before {
  top: 14px;
  left: 16px;
  width: 33px;
  height: 9px;
  border: 3px solid currentColor;
  border-radius: 3px;
  box-shadow: 0 13px 0 -3px #e5f0eb, 0 13px 0 0 currentColor, 0 26px 0 -3px #e5f0eb, 0 26px 0 0 currentColor;
}

.internet-picto--server::after {
  top: 17px;
  right: 20px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 13px 0 currentColor, 0 26px 0 currentColor;
}

.internet-picto--globe::before {
  top: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.internet-picto--globe::after {
  top: 12px;
  left: 23px;
  width: 18px;
  height: 40px;
  border: 3px solid currentColor;
  border-block: 0;
  border-radius: 50%;
}

.internet-picto--globe i {
  top: 30px;
  left: 13px;
  width: 38px;
  height: 3px;
  background: currentColor;
}

.internet-network-figure figcaption,
.internet-journey-figure figcaption {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid #d4dfda;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.7;
}

.internet-network-figure figcaption span,
.internet-journey-figure figcaption span {
  flex: 0 0 auto;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: #dcebe5;
  color: #07575a;
  font-weight: 900;
}

.internet-journey-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(105px, 1fr) 24px) minmax(105px, 1fr);
  align-items: center;
}

.internet-journey-stop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 0.35rem;
  text-align: center;
}

.internet-journey-stop strong {
  margin-top: 0.55rem;
  font-size: 0.9rem;
}

.internet-journey-stop small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.journey-step {
  position: absolute;
  top: 0;
  right: calc(50% - 35px);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
}

.internet-journey-arrow {
  position: relative;
  width: 100%;
  height: 2px;
  background: #92aaa4;
}

.internet-journey-arrow::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid #668d85;
  border-right: 2px solid #668d85;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.journey-picto--device::before {
  top: 14px;
  left: 12px;
  width: 40px;
  height: 27px;
  border: 3px solid currentColor;
  border-radius: 4px;
}

.journey-picto--device::after {
  left: 29px;
  bottom: 14px;
  width: 7px;
  height: 10px;
  border-bottom: 3px solid currentColor;
  background: currentColor;
}

.journey-picto--router::before {
  left: 12px;
  bottom: 14px;
  width: 40px;
  height: 19px;
  border: 3px solid currentColor;
  border-radius: 5px;
}

.journey-picto--router::after {
  top: 13px;
  left: 19px;
  width: 26px;
  height: 20px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.journey-picto--router i {
  right: 18px;
  bottom: 22px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -8px 0 0 currentColor;
}

.journey-picto--isp::before {
  left: 29px;
  bottom: 11px;
  width: 6px;
  height: 39px;
  background: currentColor;
}

.journey-picto--isp::after {
  top: 12px;
  left: 18px;
  width: 28px;
  height: 28px;
  border: 3px solid currentColor;
  border-block-color: transparent;
  border-radius: 50%;
}

.journey-picto--isp i {
  left: 20px;
  bottom: 10px;
  width: 24px;
  height: 3px;
  background: currentColor;
}

.journey-picto--route::before {
  top: 17px;
  left: 15px;
  width: 9px;
  height: 9px;
  border: 3px solid currentColor;
  border-radius: 50%;
  box-shadow: 25px 0 0 -3px #e5f0eb, 25px 0 0 0 currentColor, 12px 25px 0 -3px #e5f0eb, 12px 25px 0 0 currentColor;
}

.journey-picto--route::after {
  top: 23px;
  left: 21px;
  width: 25px;
  height: 23px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
  transform: skewY(-42deg);
}

.journey-picto--web::before {
  top: 13px;
  left: 14px;
  width: 36px;
  height: 38px;
  border: 3px solid currentColor;
  border-radius: 4px;
}

.journey-picto--web::after {
  top: 22px;
  left: 18px;
  width: 28px;
  height: 3px;
  background: currentColor;
  box-shadow: 0 8px 0 currentColor, 0 16px 0 currentColor;
}

.internet-reading-steps {
  display: grid;
  gap: 0;
  margin: 1.4rem 0 2.8rem;
  padding: 0;
  list-style: none;
  counter-reset: internet-step;
}

.internet-reading-steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  counter-increment: internet-step;
}

.internet-reading-steps li::before {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid #0a6868;
  border-radius: 12px;
  color: #07575a;
  font-weight: 900;
  content: counter(internet-step);
}

.internet-reading-steps p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.internet-comparison-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.4rem 0 2.8rem;
}

.internet-comparison-board section {
  padding: 1.2rem;
  border: 1px solid #d2dbd6;
  border-top: 4px solid var(--brand);
  border-radius: 14px;
  background: #fffefa;
}

.internet-comparison-board section:nth-child(2n) {
  border-top-color: var(--accent);
}

.internet-comparison-board span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.internet-comparison-board h3 {
  margin: 0.25rem 0 0.55rem;
  padding: 0;
}

.internet-comparison-board h3::before {
  display: none;
}

.internet-comparison-board p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.internet-misread-note .study-list li {
  grid-template-columns: minmax(175px, 0.38fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
}

.internet-misread-note .study-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.topic-visual,
.article-side,
.article-notebook,
.field-note,
.article-diagram,
.editorial-band {
  display: none !important;
}

@media (max-width: 900px) {
  .home-hero-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-image,
  .page-hero-image {
    max-width: 600px;
  }

  .archive-links ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .page-hero-image,
  .home-hero-image {
    border-radius: 14px;
  }

  .article {
    border-radius: 14px;
  }

  .glossary-article--editorial {
    padding-inline: 0;
    border-radius: 0;
  }

  .article h2 {
    margin-top: 2.8rem;
    padding-left: 0.8rem;
  }

  .archive-links ul,
  .cause-list,
  .comparison-board:has(> section:nth-child(3)),
  .internet-comparison-board,
  .sitemap-columns,
  .terms-in-article dl > div,
  .term-relations > div,
  .internet-misread-note .study-list li {
    grid-template-columns: 1fr;
  }

  .internet-network-figure,
  .internet-journey-figure {
    padding: 0.9rem;
    border-radius: 15px;
  }

  .internet-network-map {
    position: relative;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "core"
      "home"
      "mobile"
      "office"
      "server";
    gap: 0.7rem;
  }

  .internet-network-core {
    min-height: 150px;
  }

  .internet-network-link {
    display: none;
  }

  .internet-network-node {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    min-height: 96px;
    padding: 0.8rem;
    text-align: left;
  }

  .internet-network-node .internet-picto {
    grid-row: 1 / 3;
    width: 56px;
    height: 56px;
    transform: scale(0.88);
    transform-origin: center left;
  }

  .internet-network-node strong {
    align-self: end;
    margin: 0;
  }

  .internet-network-node > span:last-child {
    align-self: start;
    margin: 0;
  }

  .internet-journey-map {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .internet-journey-stop {
    display: grid;
    grid-template-columns: 66px 32px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 0.55rem;
    width: 100%;
    padding: 0.25rem 0;
    text-align: left;
  }

  .internet-journey-stop .journey-picto {
    grid-row: 1 / 3;
  }

  .internet-journey-stop .journey-step {
    position: static;
    grid-row: 1 / 3;
    align-self: center;
  }

  .internet-journey-stop strong {
    align-self: end;
    margin: 0;
  }

  .internet-journey-stop small {
    align-self: start;
  }

  .internet-journey-arrow {
    justify-self: start;
    width: 2px;
    height: 26px;
    margin-left: 32px;
  }

  .internet-journey-arrow::after {
    top: auto;
    right: 50%;
    bottom: 0;
    transform: translateX(50%) rotate(135deg);
  }

  .internet-reading-steps li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .internet-reading-steps li::before {
    width: 36px;
    height: 36px;
  }

  .terms-in-article dl > div,
  .term-relations > div {
    gap: 0.25rem;
  }
}

/* 2026-08 knowledge-library shell */
.digital-space-canvas {
  position: fixed;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-header,
main,
.site-footer,
.breadcrumbs {
  position: relative;
  z-index: 1;
}

main {
  background: rgba(238, 246, 248, 0.955);
}

.library-mark {
  position: relative;
  display: inline-grid;
  flex: 0 0 42px;
  grid-template-columns: 1fr 1fr;
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 10px rgba(85, 229, 237, 0.32));
}

.library-mark > i {
  align-self: end;
  width: 19px;
  height: 28px;
  border: 2px solid #71edf2;
  background: linear-gradient(145deg, rgba(113, 237, 242, 0.18), rgba(13, 46, 63, 0.85));
}

.library-mark > i:first-child {
  border-radius: 8px 2px 2px 5px;
  border-right-width: 1px;
  transform: skewY(7deg);
}

.library-mark > i:nth-child(2) {
  border-radius: 2px 8px 5px 2px;
  border-left-width: 1px;
  transform: skewY(-7deg);
}

.library-mark > b,
.library-mark > em,
.library-mark > span {
  position: absolute;
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffbd59;
  box-shadow: 0 0 8px rgba(255, 189, 89, 0.65);
}

.library-mark > b { top: 1px; left: 9px; }
.library-mark > em { top: 5px; right: 7px; }
.library-mark > span { top: 12px; left: 19px; background: #71edf2; }

.library-mark::before,
.library-mark::after {
  position: absolute;
  top: 7px;
  width: 15px;
  height: 1px;
  background: rgba(113, 237, 242, 0.75);
  content: "";
  transform-origin: center;
}

.library-mark::before { left: 10px; transform: rotate(24deg); }
.library-mark::after { right: 8px; transform: rotate(-31deg); }

.brand-copy {
  display: grid;
  gap: 0.12rem;
  line-height: 1;
}

.brand-copy strong {
  font-size: 1.06rem;
  letter-spacing: 0.035em;
}

.brand-copy small {
  color: #a9d9df;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.site-header .header-inner {
  min-height: 76px;
}

.site-header .site-nav {
  gap: 0.3rem;
}

.site-header .site-nav a {
  padding: 0.72rem 0.86rem;
  color: #f2fdff;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.site-header .site-nav .nav-search {
  border: 1px solid rgba(113, 237, 242, 0.55);
  background: rgba(30, 165, 185, 0.16);
  color: #fff;
}

.glossary-article--editorial .term-definition > p:first-of-type > strong:first-child {
  padding: 0.04em 0.18em;
  border-radius: 0.18em;
  background: linear-gradient(transparent 36%, #c9f1e6 36%, #c9f1e6 94%, transparent 94%);
  color: #075e69;
  text-decoration: underline;
  text-decoration-color: #ee7e4f;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.2em;
}

.publication-definition-list dt,
.study-list strong {
  color: #075e69;
}

.publication-definition-list dt {
  display: inline-block;
  padding: 0.12rem 0.38rem;
  border-radius: 0.28rem;
  background: #ddf3f4;
}

.study-list strong {
  text-decoration: underline;
  text-decoration-color: #f0a36f;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

.concept-mark,
mark.concept-mark {
  padding: 0.08em 0.24em;
  border-radius: 0.25em;
  background: #fff0bd;
  color: #7d3c00;
  font-weight: 800;
}

.text-accent {
  color: #006f7d;
  font-weight: 800;
}

.underline-emphasis {
  color: #17394a;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #f28b5b;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.2em;
}

.term-reference {
  color: #285263;
  font-weight: 700;
  text-decoration: underline dotted #88aeb7;
  text-underline-offset: 0.14em;
}

@media (prefers-reduced-motion: reduce) {
  .digital-space-canvas { display: none; }
}

@media (max-width: 900px) {
  .brand-copy small { display: none; }
  .site-header .site-nav a { font-size: 1rem; }
}

@media (max-width: 600px) {
  .site-header .header-inner { min-height: 66px; }
  .library-mark { flex-basis: 36px; width: 36px; height: 36px; transform: scale(0.88); transform-origin: left center; }
  .site-header .site-nav { padding: 0.75rem; }
  .site-header .site-nav a { padding: 0.88rem 0.95rem; color: #fff; }
  .menu-toggle { width: 46px; height: 42px; }
  .menu-toggle > span:not(.sr-only) { width: 22px; height: 2px; }
}

/* Readability and publication-grade glossary diagrams */
:root {
  --muted: #3e5962;
}

.article,
.content-card,
.search-result-card,
.section-head {
  color: #102f39;
}

.article p,
.article li,
.article dd {
  color: #284852;
}

.article strong,
.article dt,
.article h2,
.article h3,
.content-card h2,
.content-card h3 {
  color: #0b303b;
}

.article a,
.section a:not(.button),
.content-card a:not(.button) {
  color: #006d7d;
}

.article a:hover,
.section a:not(.button):hover,
.content-card a:not(.button):hover {
  color: #004e5b;
}

.article .eyebrow,
.section-head .eyebrow,
.content-card .eyebrow {
  color: #006b78;
}

.content-card p,
.section-head p,
.small,
.term-concept-node small,
.term-concept-related span,
.term-concept-map figcaption,
.search-result-card p,
.search-results-head p {
  color: #405d66;
}

.home-hero .hero-lead,
.page-hero .hero-lead {
  color: #d2e5ea;
}

.home-hero .definition {
  color: #c9dee3;
}

.home-hero .definition strong,
.home-hero h1,
.page-hero h1 {
  color: #fff;
}

.site-header .site-nav a,
.site-footer,
.site-footer a,
.breadcrumbs,
.topic-visual figcaption,
.cyber-world-map figcaption {
  color: #cfe3e8;
}

.site-footer p,
.site-footer li {
  color: #c5d9de;
}

.home-route-map {
  width: 100%;
  max-width: 610px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(85, 229, 237, 0.42);
  border-radius: 24px 6px 24px 6px;
  background:
    linear-gradient(rgba(85, 229, 237, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 229, 237, 0.045) 1px, transparent 1px),
    #071b29;
  background-size: 26px 26px, 26px 26px, auto;
  box-shadow: 0 28px 70px rgba(0, 5, 12, 0.42), inset 0 0 44px rgba(85, 229, 237, 0.04);
}

.home-route-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr) 22px) minmax(92px, 1fr);
  align-items: center;
  gap: 0.25rem;
  padding: 1.5rem 1rem 1rem;
}

.home-route-node {
  display: grid;
  justify-items: center;
  min-width: 0;
  min-height: 138px;
  padding: 0.9rem 0.45rem;
  border: 1px solid rgba(85, 229, 237, 0.32);
  border-radius: 16px 4px 16px 4px;
  background: rgba(9, 38, 54, 0.9);
  text-align: center;
}

.home-route-node .picto {
  color: #66edf2;
  transform: scale(0.78);
  filter: drop-shadow(0 0 8px rgba(85, 229, 237, 0.28));
}

.home-route-node small {
  margin-top: 0.5rem;
  color: #b8d6dd;
  font-size: 0.68rem;
  line-height: 1.35;
}

.home-route-node strong {
  color: #f4fdff;
  font-size: 0.84rem;
  line-height: 1.4;
}

.home-route-stage > i {
  position: relative;
  height: 2px;
  background: rgba(85, 229, 237, 0.48);
}

.home-route-stage > i::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 2px solid #6cecf1;
  border-right: 2px solid #6cecf1;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.home-route-dns {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin: 0 1rem 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(85, 229, 237, 0.22);
  border-radius: 12px 3px 12px 3px;
  background: rgba(85, 229, 237, 0.07);
}

.home-route-dns .picto {
  flex: 0 0 auto;
  color: #67e9ee;
  transform: scale(0.65);
}

.home-route-dns p {
  margin: 0;
  color: #c9dfe4;
  font-size: 0.78rem;
  line-height: 1.6;
}

.home-route-dns strong {
  color: #fff;
}

.home-route-map figcaption {
  padding: 0.85rem 1.1rem;
  border-top: 1px solid rgba(85, 229, 237, 0.18);
  color: #c8dfe4;
  font-size: 0.8rem;
  line-height: 1.65;
}

.home-search-panel {
  max-width: 860px;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #aacfd6;
  border-radius: 18px 5px 18px 5px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(5, 42, 58, 0.08);
}

.home-search-panel > label {
  display: block;
  margin-bottom: 0.55rem;
  color: #173d48;
  font-weight: 900;
}

.home-search-panel > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
}

.home-search-panel input {
  min-width: 0;
  min-height: 50px;
  padding: 0.7rem 0.9rem;
  border: 1px solid #8fbec7;
  border-radius: 9px;
  background: #fbfefe;
  color: #102f39;
  font: inherit;
}

.home-search-panel p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
}

.home-search-panel p a {
  padding: 0.25rem 0.6rem;
  border: 1px solid #c4dce1;
  border-radius: 999px;
  background: #edf7f8;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.home-service-strip {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid #b9d5db;
  border-left: 6px solid #168a98;
  background: #f8fcfd;
}

.home-service-strip strong {
  color: #0c3540;
  font-size: 1.25rem;
}

.home-service-strip p {
  max-width: 760px;
  margin: 0.4rem 0 0;
  color: #3c5962;
}

.publication-lead {
  margin: 0 0 2.5rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid #b9d8de;
  border-left: 6px solid #008b9a;
  border-radius: 4px 14px 14px 4px;
  background: linear-gradient(135deg, #edf9fa, #fafdfe);
}

.publication-lead h2 {
  margin-top: 0;
}

.publication-lead p:first-of-type {
  color: #173d47;
  font-size: 1.06rem;
}

.publication-diagram {
  --diagram-color: #058898;
  margin: 2rem 0 3rem;
  overflow: hidden;
  border: 1px solid #afcfd5;
  border-radius: 20px 5px 20px 5px;
  background:
    linear-gradient(rgba(0, 126, 144, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 126, 144, 0.035) 1px, transparent 1px),
    #f8fcfd;
  background-size: 26px 26px, 26px 26px, auto;
  box-shadow: 0 16px 36px rgba(5, 48, 63, 0.09);
}

.publication-diagram-title {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #c7dde1;
  background: #e7f5f7;
}

.publication-diagram-title span {
  flex: 0 0 auto;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #087f8e;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.publication-diagram-title strong {
  color: #143b45;
  font-size: 0.91rem;
  line-height: 1.5;
}

.publication-diagram figcaption {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-top: 1px solid #c7dde1;
  background: #eef7f8;
  color: #36545e;
  font-size: 0.84rem;
  line-height: 1.7;
}

.publication-diagram figcaption > span {
  flex: 0 0 auto;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: #d1eaed;
  color: #075f6b;
  font-weight: 900;
}

.publication-diagram figcaption > .figcaption-copy {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.glossary-article--editorial abbr[title] {
  border-bottom: 0;
  text-decoration: none;
}

.publication-definition-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.2rem 0 2rem;
}

.publication-definition-list > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.28fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #cadde1;
  border-radius: 12px 3px 12px 3px;
  background: #f8fbfc;
}

.publication-definition-list dt {
  font-weight: 900;
}

.publication-definition-list dd {
  margin: 0;
}

.publication-comparison {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.3rem 0 2rem;
}

.publication-comparison section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #bfd7dc;
  border-top: 4px solid #148a98;
  border-radius: 5px 5px 12px 12px;
  background: #f7fbfc;
}

.publication-comparison h3,
.publication-comparison p {
  margin-top: 0;
}

.publication-misread {
  margin-top: 3rem;
}

.web-position-layers {
  display: grid;
  gap: 0.7rem;
  padding: 1.25rem;
}

.web-service-layer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.web-service-layer > div,
.web-foundation-layer {
  display: grid;
  justify-items: center;
  padding: 1rem 0.75rem;
  border: 1px solid #b9d5da;
  border-radius: 14px 4px 14px 4px;
  background: #fff;
  text-align: center;
}

.web-service-layer .picto,
.web-foundation-layer .picto,
.web-request-side .picto {
  color: #087e8e;
  transform: scale(0.78);
}

.web-service-layer small,
.web-foundation-layer small,
.web-request-side small,
.web-request-side p {
  color: #405e67;
  font-size: 0.75rem;
}

.web-foundation-layer {
  grid-template-columns: auto minmax(0, 1fr);
  justify-items: start;
  align-items: center;
  border-color: #57aeb8;
  background: #def2f4;
  text-align: left;
}

.web-foundation-layer p,
.web-foundation-layer small {
  display: block;
  margin: 0;
}

.web-request-stage {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(190px, 1.2fr) minmax(150px, 0.8fr);
  align-items: center;
  gap: 0.8rem;
  padding: 1.4rem;
}

.web-request-side {
  display: grid;
  justify-items: center;
  min-height: 170px;
  padding: 1rem;
  border: 1px solid #afd1d7;
  border-radius: 16px 4px 16px 4px;
  background: #fff;
  text-align: center;
}

.web-request-side p {
  margin: 0.35rem 0 0;
}

.web-request-exchange {
  display: grid;
  gap: 0.65rem;
}

.web-request-exchange p {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: #18434e;
  font-size: 0.78rem;
  text-align: center;
}

.web-request-exchange p::before {
  grid-column: 1 / -1;
  grid-row: 1;
  height: 2px;
  background: #35a1ad;
  content: "";
}

.web-request-exchange span,
.web-request-exchange b,
.web-request-exchange i {
  z-index: 1;
  grid-row: 1;
  background: #f8fcfd;
  font-style: normal;
}

.web-request-exchange b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #087f8e;
  color: #fff;
}

.www-link-stage {
  position: relative;
  min-height: 360px;
  margin: 1.3rem;
}

.www-document {
  position: absolute;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: 150px;
  min-height: 120px;
  padding: 0.85rem;
  border: 1px solid #9cc9d1;
  border-radius: 15px 4px 15px 4px;
  background: #fff;
  text-align: center;
}

.www-document .picto {
  color: #0b8392;
  transform: scale(0.65);
}

.www-document small {
  color: #48636b;
}

.www-document--a { top: 0; left: 4%; }
.www-document--b { top: 14%; right: 4%; }
.www-document--c { right: 20%; bottom: 0; }
.www-document--d { bottom: 5%; left: 20%; }

.www-link-line {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: #45a8b3;
  transform-origin: left center;
}

.www-link-line::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid #258d99;
  border-right: 2px solid #258d99;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.www-link-line--ab { top: 18%; left: 24%; width: 52%; transform: rotate(8deg); }
.www-link-line--bc { top: 43%; right: 14%; width: 32%; transform: rotate(102deg); }
.www-link-line--cd { bottom: 20%; left: 35%; width: 38%; transform: rotate(-8deg); }
.www-link-line--da { top: 35%; left: 15%; width: 38%; transform: rotate(82deg); }
.www-link-line--ac { top: 26%; left: 22%; width: 54%; transform: rotate(38deg); }

.www-name-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem;
}

.www-name-stage section {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid #b4d2d7;
  border-radius: 15px 4px 15px 4px;
  background: #fff;
}

.www-name-stage section > .picto {
  color: #0b8291;
  transform: scale(0.72);
}

.www-name-stage p,
.www-name-stage small,
.www-name-stage b {
  display: block;
  margin: 0;
}

.www-name-stage small,
.www-name-stage em {
  color: #46636c;
  font-size: 0.75rem;
}

.www-name-stage strong {
  color: #0c4d59;
  font-size: 1.5rem;
}

.www-name-stage section > em {
  grid-column: 1 / -1;
  padding-top: 0.5rem;
  border-top: 1px solid #d8e7e9;
  font-style: normal;
  text-align: center;
}

.www-name-stage > i {
  color: #c2522f;
  font-size: 1.7rem;
  font-style: normal;
  font-weight: 900;
}

.website-structure-stage {
  padding: 1.35rem;
}

.website-root {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 0.9rem;
  align-items: center;
  max-width: 420px;
  margin: 0 auto;
  padding: 0.9rem 1rem;
  border: 2px solid #168b99;
  border-radius: 16px 4px 16px 4px;
  background: #e1f3f5;
}

.website-root .picto {
  grid-row: 1 / 3;
  color: #087987;
  transform: scale(0.72);
}

.website-root small {
  color: #385961;
}

.website-branch {
  position: relative;
  width: 75%;
  height: 45px;
  margin: 0 auto;
  border-top: 0;
  border-right: 2px solid #78b5bd;
  border-bottom: 2px solid #78b5bd;
  border-left: 2px solid #78b5bd;
}

.website-branch::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #78b5bd;
  content: "";
}

.website-pages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.website-pages > div {
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: 0.9rem 0.55rem;
  border: 1px solid #b9d5da;
  border-radius: 13px 3px 13px 3px;
  background: #fff;
  text-align: center;
}

.website-pages .picto {
  color: #0b8291;
  transform: scale(0.63);
}

.website-pages small {
  color: #48646c;
  font-family: ui-monospace, monospace;
  font-size: 0.71rem;
}

.website-address-stage {
  padding: 1.6rem;
}

.website-address-stage > code {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  padding: 1rem;
  border: 1px solid #b5d2d8;
  border-radius: 10px;
  background: #092230;
  color: #effeff;
  font-size: clamp(0.95rem, 2.5vw, 1.3rem);
  white-space: nowrap;
}

.website-address-stage > div {
  display: grid;
  grid-template-columns: 0.75fr 0.75fr 1fr;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.website-address-stage p {
  margin: 0;
  padding: 0.65rem;
  border-top: 3px solid currentColor;
  background: #fff;
  text-align: center;
}

.website-address-stage p strong,
.website-address-stage p small {
  display: block;
}

.website-address-stage p small {
  color: #46636b;
  font-size: 0.72rem;
}

.url-scheme { color: #b55a35; }
.url-site { color: #087d8c; }
.url-page { color: #4766a0; }
.website-address-stage code .url-scheme { color: #ffae89; }
.website-address-stage code .url-site { color: #75edf2; }
.website-address-stage code .url-page { color: #a9c9ff; }

.webpage-anatomy-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto minmax(190px, 0.75fr);
  gap: 1rem;
  align-items: center;
  padding: 1.35rem;
}

.webpage-materials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.webpage-materials > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: center;
  min-width: 0;
  padding: 0.7rem;
  border: 1px solid #bfd8dc;
  border-radius: 12px 3px 12px 3px;
  background: #fff;
}

.webpage-materials .picto {
  color: #0b8492;
  transform: scale(0.58);
}

.webpage-materials p,
.webpage-materials strong,
.webpage-materials small {
  display: block;
  margin: 0;
}

.webpage-materials small {
  color: #49656d;
  font-size: 0.68rem;
}

.webpage-build-arrow {
  color: #118896;
  font-size: 1.7rem;
  font-style: normal;
  font-weight: 900;
}

.webpage-screen {
  overflow: hidden;
  border: 5px solid #17424e;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 25px rgba(8, 48, 62, 0.12);
}

.webpage-screen .screen-bar {
  display: block;
  height: 20px;
  background: #17424e;
}

.webpage-screen > div {
  padding: 1rem;
}

.webpage-screen b,
.webpage-screen i {
  display: block;
}

.webpage-screen i {
  height: 5px;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: #c8dce0;
}

.webpage-screen i:nth-of-type(2) { width: 86%; }
.webpage-screen i:nth-of-type(3) { width: 62%; }

.webpage-screen button {
  margin-top: 0.8rem;
  border: 0;
  border-radius: 4px;
  background: #0c8795;
  color: #fff;
  font-size: 0.68rem;
}

.webpage-screen > strong {
  display: block;
  padding: 0.45rem;
  border-top: 1px solid #c9dce0;
  color: #244650;
  font-size: 0.72rem;
  text-align: center;
}

.webpage-render-stage {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0;
  padding: 1.35rem;
  list-style: none;
}

.webpage-render-stage li {
  position: relative;
  min-width: 0;
  padding: 0.85rem 0.65rem;
  border: 1px solid #b8d4da;
  border-radius: 13px 3px 13px 3px;
  background: #fff;
}

.webpage-render-stage li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -0.6rem;
  color: #087f8e;
  content: "→";
  font-weight: 900;
  transform: translateY(-50%);
}

.webpage-render-stage li > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  margin-bottom: 0.55rem;
  border-radius: 50%;
  background: #087f8e;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
}

.webpage-render-stage strong,
.webpage-render-stage small {
  display: block;
}

.webpage-render-stage small {
  margin-top: 0.3rem;
  color: #48646d;
  font-size: 0.7rem;
  line-height: 1.55;
}

.browser-workflow-stage {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr);
  gap: 1.2rem;
  align-items: center;
  padding: 1.35rem;
}

.browser-shell {
  overflow: hidden;
  border: 5px solid #153d49;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(5, 40, 54, 0.13);
}

.browser-address {
  display: grid;
  grid-template-columns: 9px 1fr;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem;
  background: #153d49;
}

.browser-address i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #63e5eb;
}

.browser-address code {
  overflow: hidden;
  padding: 0.32rem 0.5rem;
  border-radius: 4px;
  background: #f0f7f8;
  color: #183e48;
  font-size: 0.67rem;
  text-overflow: ellipsis;
}

.browser-viewport {
  display: grid;
  justify-items: center;
  min-height: 210px;
  padding: 1.3rem;
}

.browser-viewport .picto {
  color: #0a8391;
  transform: scale(0.82);
}

.browser-viewport i {
  width: 88%;
  height: 6px;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: #cbdfe2;
}

.browser-viewport i:nth-of-type(2) { width: 70%; }
.browser-viewport i:nth-of-type(3) { width: 50%; }

.browser-workflow-stage ol {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.browser-workflow-stage li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem;
  border: 1px solid #bfd7dc;
  border-radius: 11px 3px 11px 3px;
  background: #fff;
}

.browser-workflow-stage li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #087f8e;
  color: #fff;
  font-size: 0.77rem;
  font-weight: 900;
}

.browser-workflow-stage li p,
.browser-workflow-stage li strong,
.browser-workflow-stage li small {
  display: block;
  margin: 0;
}

.browser-workflow-stage li small {
  color: #48646d;
  font-size: 0.7rem;
}

.browser-compare-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1.4rem;
}

.browser-compare-stage section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #b5d3d9;
  border-radius: 16px 4px 16px 4px;
  background: #fff;
}

.browser-compare-stage section > .picto {
  float: left;
  margin-right: 0.75rem;
  color: #0a8290;
  transform: scale(0.72);
}

.browser-compare-stage p,
.browser-compare-stage small,
.browser-compare-stage strong,
.browser-compare-stage b {
  display: block;
  margin: 0;
}

.browser-compare-stage small {
  color: #47636c;
  font-size: 0.72rem;
}

.browser-compare-stage ul {
  clear: both;
  margin: 0.9rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid #d7e6e8;
  color: #34535c;
  font-size: 0.78rem;
}

.browser-compare-stage > i {
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  background: #d9eef0;
  color: #096976;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 820px) {
  .home-route-stage {
    grid-template-columns: repeat(3, minmax(84px, 1fr) 18px) minmax(84px, 1fr);
  }

  .home-route-node {
    min-height: 126px;
  }

  .webpage-render-stage {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .webpage-render-stage li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .home-route-stage,
  .web-service-layer,
  .web-request-stage,
  .www-name-stage,
  .website-pages,
  .website-address-stage > div,
  .webpage-anatomy-stage,
  .webpage-materials,
  .webpage-render-stage,
  .browser-workflow-stage,
  .browser-compare-stage,
  .publication-comparison {
    grid-template-columns: 1fr;
  }

  .home-route-stage > i {
    justify-self: start;
    width: 2px;
    height: 22px;
    margin-left: 50%;
  }

  .home-route-stage > i::after {
    top: auto;
    right: 50%;
    bottom: 0;
    transform: translateX(50%) rotate(135deg);
  }

  .home-route-node {
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-rows: auto auto;
    justify-items: start;
    min-height: 86px;
    text-align: left;
  }

  .home-route-node .picto {
    grid-row: 1 / 3;
  }

  .home-route-node small {
    align-self: end;
  }

  .home-search-panel > div,
  .publication-definition-list > div {
    grid-template-columns: 1fr;
  }

  .home-service-strip {
    display: grid;
    gap: 1rem;
  }

  .publication-diagram-title,
  .publication-diagram figcaption {
    display: block;
  }

  .publication-diagram-title span,
  .publication-diagram figcaption > span {
    display: inline-block;
    margin-bottom: 0.4rem;
  }

  .web-foundation-layer {
    grid-template-columns: auto 1fr;
  }

  .web-request-exchange {
    min-height: 75px;
  }

  .www-link-stage {
    display: grid;
    gap: 0.6rem;
    min-height: auto;
  }

  .www-document {
    position: static;
    width: auto;
    min-height: 100px;
  }

  .www-link-line {
    display: none;
  }

  .www-name-stage > i,
  .webpage-build-arrow,
  .browser-compare-stage > i {
    justify-self: center;
    transform: rotate(90deg);
  }

  .website-branch {
    width: 2px;
    height: 30px;
    border: 0;
    background: #78b5bd;
  }

  .website-branch::before {
    display: none;
  }

  .website-pages > div {
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-rows: auto auto;
    justify-items: start;
    text-align: left;
  }

  .website-pages .picto {
    grid-row: 1 / 3;
  }

  .website-address-stage > code {
    justify-content: start;
  }

  .browser-workflow-stage,
  .browser-compare-stage,
  .webpage-anatomy-stage {
    padding: 0.85rem;
  }
}

/* Cyber knowledge-space design system */
:root {
  --bg: #071521;
  --surface: #f8fcfd;
  --surface-2: #e7f5f7;
  --surface-3: #edf4f6;
  --ink: #102f39;
  --muted: #526b73;
  --line: #c8dce1;
  --brand: #0096a6;
  --brand-strong: #006a78;
  --accent: #ee7e4f;
  --cyber-cyan: #55e5ed;
  --cyber-blue: #149fd1;
  --cyber-navy: #071521;
  --cyber-panel: #0d2434;
  --cyber-line: rgba(85, 229, 237, 0.3);
  --shadow: 0 22px 55px rgba(1, 15, 27, 0.22);
  --shadow-soft: 0 12px 30px rgba(5, 32, 47, 0.12);
}

body {
  position: relative;
  background: var(--cyber-navy);
  color: var(--ink);
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(rgba(85, 229, 237, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 229, 237, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 14% 12%, rgba(20, 159, 209, 0.16), transparent 28rem),
    #071521;
  background-size: 42px 42px, 42px 42px, auto, auto;
  content: "";
  pointer-events: none;
}

.site-header {
  border-bottom-color: rgba(85, 229, 237, 0.2);
  background: rgba(5, 18, 30, 0.88);
  box-shadow: 0 10px 30px rgba(0, 7, 13, 0.2);
  backdrop-filter: blur(18px) saturate(135%);
}

.site-header .brand,
.site-header .site-nav a {
  color: #eafcff;
}

.site-header .brand-mark {
  color: var(--cyber-cyan);
  filter: drop-shadow(0 0 9px rgba(85, 229, 237, 0.35));
}

.site-header .site-nav a:hover {
  background: rgba(85, 229, 237, 0.12);
  color: #fff;
}

.site-header .quick-check {
  border: 1px solid rgba(85, 229, 237, 0.55);
  background: rgba(29, 167, 183, 0.18);
  color: #effeff;
  box-shadow: inset 0 0 18px rgba(85, 229, 237, 0.08), 0 0 18px rgba(20, 159, 209, 0.12);
}

.site-header .menu-toggle {
  background: rgba(85, 229, 237, 0.12);
  color: #eaffff;
}

.breadcrumbs {
  color: #afc8d1;
}

.breadcrumbs a:hover {
  color: var(--cyber-cyan);
}

main {
  background: #eef6f8;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(85, 229, 237, 0.24);
  background:
    radial-gradient(circle at 82% 28%, rgba(55, 190, 220, 0.18), transparent 24rem),
    radial-gradient(circle at 18% 78%, rgba(35, 112, 164, 0.14), transparent 22rem),
    linear-gradient(135deg, #071521 0%, #0a2132 56%, #071824 100%);
  color: #f4fdff;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(85, 229, 237, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 229, 237, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 55%, #000);
  pointer-events: none;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow,
.home-hero .eyebrow {
  color: var(--cyber-cyan);
}

.page-hero .hero-lead,
.home-hero .hero-lead {
  color: #b9d1d9;
}

.article-page .page-hero:not(.page-hero--visual) .hero-lead {
  margin-inline: 0;
}

.home-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 40%, rgba(85, 229, 237, 0.15), transparent 25rem),
    radial-gradient(circle at 8% 14%, rgba(20, 159, 209, 0.18), transparent 28rem),
    linear-gradient(145deg, #06131f 0%, #0a2133 58%, #071722 100%);
  color: #f5fdff;
}

.home-hero::before {
  display: block;
  top: -10rem;
  right: -4rem;
  width: 34rem;
  height: 34rem;
  border-color: rgba(85, 229, 237, 0.16);
  box-shadow: 0 0 0 4rem rgba(85, 229, 237, 0.015), 0 0 0 8rem rgba(85, 229, 237, 0.01);
}

.home-hero::after {
  display: block;
  top: auto;
  right: auto;
  bottom: 12%;
  left: -7rem;
  width: 19rem;
  height: 19rem;
  border-color: rgba(20, 159, 209, 0.14);
}

.home-hero h1 {
  color: #f7feff;
  text-shadow: 0 0 30px rgba(85, 229, 237, 0.08);
}

.home-hero h1 .accent {
  color: var(--cyber-cyan);
  text-shadow: 0 0 24px rgba(85, 229, 237, 0.2);
}

.home-hero .definition {
  border-left-color: var(--cyber-cyan);
  color: #acc6ce;
}

.home-hero .definition strong,
.page-hero strong {
  color: #ecfeff;
}

.button {
  border-color: #17a9b8;
  background: linear-gradient(135deg, #007e8e, #0a9bad);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 126, 142, 0.2), inset 0 1px rgba(255, 255, 255, 0.2);
}

.button.secondary {
  border-color: #8ed2d8;
  background: rgba(248, 253, 254, 0.96);
  color: #075f6c;
}

.home-hero .button.secondary,
.page-hero .button.secondary {
  border-color: rgba(85, 229, 237, 0.42);
  background: rgba(8, 35, 50, 0.72);
  color: #eafdff;
}

.section {
  position: relative;
  background:
    radial-gradient(circle at 96% 8%, rgba(20, 159, 209, 0.05), transparent 18rem),
    #f7fbfc;
}

.section.alt {
  border-color: #c7dfe4;
  background:
    linear-gradient(rgba(20, 159, 209, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 159, 209, 0.035) 1px, transparent 1px),
    #eaf4f6;
  background-size: 36px 36px, 36px 36px, auto;
}

.section-head .eyebrow,
.article .eyebrow {
  color: #007887;
}

.content-card {
  min-height: 260px;
  padding: 1.25rem 1.45rem 1.45rem;
  overflow: hidden;
  border: 1px solid #bed8de;
  border-radius: 18px 6px 18px 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 248, 250, 0.94));
  box-shadow: 0 15px 32px rgba(8, 47, 64, 0.08);
}

.content-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: block;
  height: 3px;
  border-radius: 0;
  background: linear-gradient(90deg, hsl(var(--visual-hue) 72% 40%), hsl(var(--visual-accent-hue) 78% 58%), transparent 88%);
}

.content-card::after {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-top: 1px solid hsl(var(--visual-hue) 62% 46% / 0.38);
  border-right: 1px solid hsl(var(--visual-hue) 62% 46% / 0.38);
  content: "";
  pointer-events: none;
}

.content-card:hover {
  border-color: hsl(var(--visual-hue) 52% 55%);
  box-shadow: 0 20px 44px rgba(5, 39, 56, 0.14), 0 0 0 1px hsl(var(--visual-hue) 62% 48% / 0.08);
  transform: translateY(-4px);
}

.cyber-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cyber-card-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid hsl(var(--visual-hue) 48% 48% / 0.28);
  border-radius: 17px 5px 17px 5px;
  background: linear-gradient(145deg, hsl(var(--visual-hue) 45% 94%), hsl(var(--visual-hue) 40% 88%));
  box-shadow: inset 0 0 18px hsl(var(--visual-hue) 65% 54% / 0.08);
}

.cyber-card-icon .picto {
  transform: scale(0.82);
}

.cyber-card-number {
  color: hsl(var(--visual-hue) 42% 42% / 0.52);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.cyber-tone-0 { --visual-hue: 184; --visual-accent-hue: 199; --visual-turn: 8deg; }
.cyber-tone-1 { --visual-hue: 196; --visual-accent-hue: 174; --visual-turn: -12deg; }
.cyber-tone-2 { --visual-hue: 168; --visual-accent-hue: 196; --visual-turn: 16deg; }
.cyber-tone-3 { --visual-hue: 205; --visual-accent-hue: 187; --visual-turn: -7deg; }
.cyber-tone-4 { --visual-hue: 176; --visual-accent-hue: 215; --visual-turn: 12deg; }
.cyber-tone-5 { --visual-hue: 190; --visual-accent-hue: 164; --visual-turn: -15deg; }

.question-link {
  position: relative;
  border-color: #bfd8de;
  border-radius: 14px 4px 14px 4px;
  background: rgba(252, 255, 255, 0.94);
  box-shadow: 0 9px 22px rgba(10, 54, 70, 0.06);
}

.question-link::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a7b6;
  box-shadow: 0 0 0 5px rgba(22, 167, 182, 0.08);
  content: "";
}

.stats {
  border-color: rgba(85, 229, 237, 0.2);
  background: rgba(85, 229, 237, 0.16);
  box-shadow: var(--shadow-soft);
}

.stat {
  background: linear-gradient(145deg, #0b2333, #0e2c3d);
}

.stat strong {
  color: var(--cyber-cyan);
}

.stat span {
  color: #c1d8df;
}

.connection-card {
  border-color: rgba(85, 229, 237, 0.28);
  background:
    linear-gradient(90deg, rgba(85, 229, 237, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(85, 229, 237, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, rgba(10, 34, 49, 0.98), rgba(8, 27, 41, 0.98));
  background-size: 28px 28px, 28px 28px, auto;
  color: #eafcff;
  box-shadow: 0 24px 50px rgba(0, 8, 16, 0.3), inset 0 0 28px rgba(85, 229, 237, 0.035);
}

.connection-card .eyebrow,
.connection-card .status-dot,
.connection-card .ip-value,
.connection-card dt,
.connection-card dd,
.connection-card .small {
  color: #d9f6f8;
}

.connection-card .fact-grid > div {
  border: 1px solid rgba(85, 229, 237, 0.12);
  background: rgba(85, 229, 237, 0.06);
}

.topic-visual {
  display: block !important;
  border-color: hsl(var(--visual-hue) 68% 58% / 0.42);
  border-radius: 20px 5px 20px 5px;
  background: #081c2a;
  box-shadow: 0 22px 48px rgba(0, 8, 17, 0.3), inset 0 0 30px hsl(var(--visual-hue) 70% 52% / 0.05);
}

.topic-visual-canvas,
.topic-visual--pattern-1 .topic-visual-canvas,
.topic-visual--pattern-2 .topic-visual-canvas,
.topic-visual--pattern-3 .topic-visual-canvas {
  background:
    radial-gradient(circle at 50% 45%, hsl(var(--visual-hue) 72% 46% / 0.16), transparent 8rem),
    linear-gradient(hsl(var(--visual-hue) 72% 68% / 0.055) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--visual-hue) 72% 68% / 0.055) 1px, transparent 1px),
    linear-gradient(145deg, #071824, #0c293a);
  background-size: auto, 24px 24px, 24px 24px, auto;
}

.topic-node {
  border-color: hsl(var(--visual-hue) 68% 62% / 0.32);
  border-radius: 14px 4px 14px 4px;
  background: rgba(8, 32, 46, 0.9);
  box-shadow: 0 10px 24px rgba(0, 7, 14, 0.28), inset 0 0 16px hsl(var(--visual-hue) 70% 56% / 0.05);
}

.topic-node-2 {
  border-color: hsl(var(--visual-hue) 76% 64% / 0.72);
  box-shadow: 0 0 30px hsl(var(--visual-hue) 72% 52% / 0.16), inset 0 0 22px hsl(var(--visual-hue) 70% 56% / 0.08);
}

.topic-node .picto {
  color: hsl(var(--visual-hue) 78% 68%);
  filter: drop-shadow(0 0 7px hsl(var(--visual-hue) 72% 55% / 0.25));
}

.topic-node b {
  color: #e9fcff;
}

.topic-orbit-a {
  border-top-color: hsl(var(--visual-hue) 72% 62% / 0.46);
}

.topic-orbit-b {
  border-color: hsl(var(--visual-accent-hue) 76% 62% / 0.38);
}

.topic-visual figcaption {
  border-top-color: hsl(var(--visual-hue) 58% 48% / 0.22);
  background: #071824;
  color: #b7d4dc;
  font-size: 0.8rem;
}

.cyber-world-map {
  --visual-hue: 184;
  --visual-accent-hue: 199;
  width: 100%;
  max-width: 510px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(85, 229, 237, 0.4);
  border-radius: 28px 7px 28px 7px;
  background: #071925;
  box-shadow: 0 28px 70px rgba(0, 5, 12, 0.4), inset 0 0 50px rgba(85, 229, 237, 0.04);
}

.cyber-world-stage {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 47%, rgba(85, 229, 237, 0.17), transparent 9rem),
    linear-gradient(rgba(85, 229, 237, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 229, 237, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, #071622, #0c2a3c);
  background-size: auto, 28px 28px, 28px 28px, auto;
}

.cyber-grid-plane {
  position: absolute;
  right: -15%;
  bottom: -34%;
  left: -15%;
  height: 62%;
  border-top: 1px solid rgba(85, 229, 237, 0.25);
  background:
    linear-gradient(rgba(85, 229, 237, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 229, 237, 0.13) 1px, transparent 1px);
  background-size: 38px 24px;
  transform: perspective(300px) rotateX(58deg);
  transform-origin: top;
}

.cyber-world-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(85, 229, 237, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cyber-world-ring--outer { width: 310px; height: 310px; border-style: dashed; }
.cyber-world-ring--inner { width: 208px; height: 208px; border-color: rgba(85, 229, 237, 0.18); }

.cyber-world-core,
.cyber-world-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(85, 229, 237, 0.38);
  background: rgba(7, 30, 44, 0.9);
  color: #eaffff;
  box-shadow: 0 0 28px rgba(85, 229, 237, 0.12), inset 0 0 18px rgba(85, 229, 237, 0.05);
}

.cyber-world-core {
  top: 50%;
  left: 50%;
  width: 150px;
  min-height: 150px;
  padding: 1rem;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cyber-world-core .picto,
.cyber-world-node .picto {
  color: var(--cyber-cyan);
  transform: scale(0.78);
  filter: drop-shadow(0 0 8px rgba(85, 229, 237, 0.3));
}

.cyber-world-core strong {
  color: #f1feff;
  font-size: 0.95rem;
}

.cyber-world-core small {
  color: #a6c7d0;
  font-size: 0.68rem;
  text-align: center;
}

.cyber-world-node {
  width: 88px;
  min-height: 90px;
  padding: 0.5rem;
  border-radius: 16px 4px 16px 4px;
}

.cyber-world-node b { font-size: 0.72rem; }
.cyber-world-node--device { top: 11%; left: 8%; }
.cyber-world-node--wifi { right: 8%; bottom: 11%; }
.cyber-world-node--dns { top: 9%; right: 10%; }
.cyber-world-node--server { bottom: 9%; left: 11%; }

.cyber-data-pulse {
  position: absolute;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyber-cyan);
  box-shadow: 0 0 14px rgba(85, 229, 237, 0.75);
}

.cyber-data-pulse--a { top: 21%; left: 43%; }
.cyber-data-pulse--b { right: 20%; bottom: 39%; width: 5px; height: 5px; }
.cyber-data-pulse--c { bottom: 22%; left: 36%; width: 6px; height: 6px; }

.cyber-world-map figcaption {
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(85, 229, 237, 0.18);
  color: #b8d4dc;
  font-size: 0.82rem;
  text-align: center;
}

.term-concept-map {
  --visual-hue: 187;
  --visual-accent-hue: 199;
  margin: 1.8rem 0 2.6rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  overflow: hidden;
  border: 1px solid #bcd8de;
  border-radius: 20px 6px 20px 6px;
  background:
    linear-gradient(rgba(0, 137, 153, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 137, 153, 0.035) 1px, transparent 1px),
    #f8fcfd;
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: 0 15px 34px rgba(8, 55, 70, 0.09);
}

.term-concept-map--alert { --visual-hue: 18; --visual-accent-hue: 190; }
.term-concept-map--identifier { --visual-hue: 199; --visual-accent-hue: 176; }
.term-concept-map--component { --visual-hue: 174; --visual-accent-hue: 199; }
.term-concept-map--process { --visual-hue: 187; --visual-accent-hue: 210; }
.term-concept-map--concept { --visual-hue: 192; --visual-accent-hue: 166; }

.term-concept-stage {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 44px minmax(150px, 1.12fr) 44px minmax(120px, 1fr);
  align-items: center;
  gap: 0.4rem;
}

.term-concept-node {
  display: grid;
  grid-template-rows: auto auto auto;
  justify-items: center;
  min-width: 0;
  min-height: 154px;
  padding: 1rem 0.7rem;
  border: 1px solid hsl(var(--visual-hue) 35% 73%);
  border-radius: 16px 5px 16px 5px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.term-concept-node--focus {
  border-color: hsl(var(--visual-hue) 52% 52%);
  background: linear-gradient(145deg, hsl(var(--visual-hue) 45% 94%), #fff);
  box-shadow: 0 0 28px hsl(var(--visual-hue) 60% 45% / 0.1);
}

.term-concept-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 17px 5px 17px 5px;
  background: hsl(var(--visual-hue) 44% 91%);
  color: hsl(var(--visual-hue) 64% 32%);
}

.term-concept-icon .picto {
  transform: scale(0.78);
}

.term-concept-node small {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.term-concept-node strong {
  color: hsl(var(--visual-hue) 56% 24%);
  font-size: 0.92rem;
  line-height: 1.45;
}

.term-concept-link {
  position: relative;
  height: 2px;
  background: hsl(var(--visual-hue) 48% 54% / 0.55);
}

.term-concept-link::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid hsl(var(--visual-hue) 55% 42%);
  border-right: 2px solid hsl(var(--visual-hue) 55% 42%);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.term-concept-map--layout-1 .term-concept-node--focus { transform: translateY(-8px); }
.term-concept-map--layout-2 .term-concept-node--from { transform: translateY(8px); }
.term-concept-map--layout-2 .term-concept-node--to { transform: translateY(-8px); }
.term-concept-map--layout-3 .term-concept-node--focus { border-radius: 50%; }
.term-concept-map--layout-4 .term-concept-stage { grid-template-columns: minmax(120px, 0.85fr) 34px minmax(160px, 1.25fr) 34px minmax(120px, 0.85fr); }

.term-concept-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #d3e3e6;
}

.term-concept-related span {
  margin-right: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.term-concept-related a {
  padding: 0.28rem 0.6rem;
  border: 1px solid #bdd9de;
  border-radius: 999px;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.term-concept-map figcaption {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.83rem;
}

.term-concept-map figcaption > span {
  flex: 0 0 auto;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: hsl(var(--visual-hue) 42% 89%);
  color: hsl(var(--visual-hue) 56% 30%);
  font-weight: 900;
}

.search-section {
  min-height: 65vh;
}

.search-layout {
  max-width: 1040px;
}

.search-command-panel {
  position: relative;
  z-index: 2;
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 1px solid #98cdd4;
  border-radius: 22px 6px 22px 6px;
  background: linear-gradient(145deg, #0a2131, #0d2c3e);
  box-shadow: 0 22px 48px rgba(3, 30, 44, 0.2), inset 0 0 28px rgba(85, 229, 237, 0.04);
}

.search-console {
  color: #eafcff;
}

.search-input-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem;
  border: 1px solid rgba(85, 229, 237, 0.42);
  border-radius: 15px 4px 15px 4px;
  background: rgba(3, 17, 27, 0.62);
  box-shadow: inset 0 0 22px rgba(85, 229, 237, 0.035);
}

.search-input-symbol {
  position: relative;
  width: 22px;
  height: 22px;
  margin-left: 0.45rem;
  border: 2px solid var(--cyber-cyan);
  border-radius: 50%;
}

.search-input-symbol::after {
  position: absolute;
  right: -7px;
  bottom: -4px;
  width: 9px;
  border-top: 2px solid var(--cyber-cyan);
  content: "";
  transform: rotate(45deg);
}

.search-input-row input {
  min-width: 0;
  min-height: 52px;
  border: 0;
  background: transparent;
  color: #f1feff;
  font-size: clamp(1rem, 2vw, 1.2rem);
  outline: 0;
}

.search-input-row input::placeholder {
  color: #86a9b4;
}

.search-clear {
  min-height: 40px;
  padding: 0.4rem 0.65rem;
  border: 0;
  background: transparent;
  color: #b9d6de;
  font-size: 0.78rem;
  cursor: pointer;
}

.search-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
}

.search-type-tabs legend {
  width: 100%;
  margin-bottom: 0.25rem;
  color: #9dbac3;
  font-size: 0.76rem;
  font-weight: 800;
}

.search-type-tabs input {
  position: absolute;
  opacity: 0;
}

.search-type-tabs span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(85, 229, 237, 0.18);
  border-radius: 999px;
  background: rgba(85, 229, 237, 0.055);
  color: #c7e0e6;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.search-type-tabs input:checked + span {
  border-color: var(--cyber-cyan);
  background: rgba(85, 229, 237, 0.18);
  color: #fff;
  box-shadow: 0 0 18px rgba(85, 229, 237, 0.1);
}

.search-type-tabs input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.search-refine-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: end;
  margin-top: 1rem;
}

.search-refine-row label {
  color: #aec9d1;
}

.search-refine-row select {
  border-color: rgba(85, 229, 237, 0.26);
  background: #102d3e;
  color: #eafcff;
}

.search-refine-row p {
  margin: 0 0 0.2rem;
  color: #94b2bb;
  font-size: 0.82rem;
}

.search-status-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(85, 229, 237, 0.12);
  color: #b5d0d7;
  font-size: 0.8rem;
}

.search-status-row p { margin: 0; font-weight: 900; color: #e8fcff; }

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.9rem;
}

.search-suggestions > span {
  color: #8fadB6;
  font-size: 0.76rem;
  font-weight: 800;
}

.search-suggestions a {
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(85, 229, 237, 0.18);
  border-radius: 999px;
  color: #d8f4f7;
  font-size: 0.78rem;
  text-decoration: none;
}

.search-results-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin: 2.5rem 0 1rem;
}

.search-results-head h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.search-results-head p { max-width: 440px; margin: 0; color: var(--muted); }

.search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.search-result-card {
  position: relative;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #bfd8dd;
  border-left: 5px solid #1b9ead;
  border-radius: 12px 4px 12px 4px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(7, 47, 63, 0.06);
}

.search-result-card--troubleshooting { border-left-color: #e0784b; }
.search-result-card--provider { border-left-color: #507fc6; }
.search-result-card--tool { border-left-color: #7a68bb; }
.search-result-card--glossary { border-left-color: #0c9d8d; }

.search-result-card h3 { margin: 0.65rem 0 0.45rem; font-size: 1.16rem; }
.search-result-card h3 a::after { position: absolute; inset: 0; content: ""; }
.search-result-card h3 a { color: var(--ink); text-decoration: none; }
.search-result-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.search-result-card .text-link { position: relative; z-index: 1; display: inline-flex; margin-top: 0.8rem; }

.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: #5c747c;
  font-size: 0.72rem;
  font-weight: 800;
}

.search-result-meta span,
.search-result-meta strong {
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: #edf5f6;
}

.search-result-meta strong {
  background: #dff5f1;
  color: #086f66;
}

.article-page main {
  background:
    radial-gradient(circle at 90% 8%, rgba(20, 159, 209, 0.06), transparent 24rem),
    #eef6f8;
}

.article {
  border-color: #c5dbe0;
  box-shadow: 0 18px 42px rgba(3, 31, 45, 0.1);
}

.glossary-article--editorial {
  background: transparent;
  box-shadow: none;
}

.site-footer {
  border-top-color: rgba(85, 229, 237, 0.18);
  background:
    linear-gradient(rgba(85, 229, 237, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 229, 237, 0.035) 1px, transparent 1px),
    #06131f;
  background-size: 38px 38px, 38px 38px, auto;
  color: #b8d0d8;
}

.site-footer .brand,
.site-footer h2,
.site-footer a {
  color: #e8fbfd;
}

@media (max-width: 900px) {
  .cyber-world-map {
    max-width: 620px;
  }

  .term-concept-stage {
    grid-template-columns: minmax(110px, 1fr) 32px minmax(140px, 1.05fr) 32px minmax(110px, 1fr);
  }
}

@media (max-width: 600px) {
  .site-header .site-nav {
    border-color: rgba(85, 229, 237, 0.24);
    background: rgba(6, 23, 35, 0.98);
  }

  .home-hero-grid {
    gap: 2.2rem;
  }

  .cyber-world-stage {
    min-height: 340px;
  }

  .cyber-world-core {
    width: 126px;
    min-height: 126px;
  }

  .cyber-world-ring--outer { width: 260px; height: 260px; }
  .cyber-world-ring--inner { width: 176px; height: 176px; }
  .cyber-world-node { width: 72px; min-height: 76px; }
  .cyber-world-node .picto { transform: scale(0.62); }
  .cyber-world-node b { font-size: 0.65rem; }

  .content-card {
    min-height: auto;
  }

  .cyber-card-top {
    margin-bottom: 0.55rem;
  }

  .cyber-card-icon {
    width: 54px;
    height: 54px;
  }

  .term-concept-map {
    padding: 0.85rem;
  }

  .term-concept-stage,
  .term-concept-map--layout-4 .term-concept-stage {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .term-concept-node {
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 0.7rem;
    min-height: 92px;
    padding: 0.75rem;
    text-align: left;
  }

  .term-concept-node--focus,
  .term-concept-map--layout-1 .term-concept-node--focus,
  .term-concept-map--layout-2 .term-concept-node--from,
  .term-concept-map--layout-2 .term-concept-node--to {
    border-radius: 14px 4px 14px 4px;
    transform: none;
  }

  .term-concept-map--layout-3 .term-concept-node--focus {
    border-radius: 14px 4px 14px 4px;
  }

  .term-concept-icon {
    grid-row: 1 / 3;
    width: 56px;
    height: 56px;
  }

  .term-concept-node small {
    align-self: end;
    margin: 0;
  }

  .term-concept-node strong {
    align-self: start;
  }

  .term-concept-link {
    justify-self: start;
    width: 2px;
    height: 25px;
    margin-left: 27px;
  }

  .term-concept-link::after {
    top: auto;
    right: 50%;
    bottom: 0;
    transform: translateX(50%) rotate(135deg);
  }

  .search-command-panel {
    padding: 0.8rem;
  }

  .search-input-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .search-submit {
    grid-column: 1 / -1;
    width: 100%;
  }

  .search-refine-row,
  .search-results {
    grid-template-columns: 1fr;
  }

  .search-status-row,
  .search-results-head {
    display: block;
  }

  .search-status-row span,
  .search-results-head > p {
    display: block;
    margin-top: 0.35rem;
  }
}

/* Final contrast pass: keep secondary text readable on light and dark panels. */
:root { --muted: #3e5962; }

.article p,
.article li,
.article dd,
.content-card p,
.section-head p,
.search-result-card p,
.search-results-head p,
.term-concept-node small,
.term-concept-related span,
.term-concept-map figcaption {
  color: #385761;
}

.home-hero .hero-lead,
.page-hero .hero-lead { color: #d2e5ea; }
.home-hero .definition { color: #c9dee3; }
.topic-visual figcaption,
.cyber-world-map figcaption,
.site-footer,
.site-footer p,
.site-footer li,
.site-footer a { color: #cde1e6; }

.search-command-panel label,
.search-command-panel legend,
.search-command-panel .search-status-row span,
.search-command-panel .search-suggestions > span { color: #bed7dd; }

/* Publication diagrams: glossary terms 007–011 */
.search-pipeline-stage,
.url-navigation-stage {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0;
  padding: 1.35rem;
  list-style: none;
}

.search-pipeline-stage li,
.url-navigation-stage li {
  position: relative;
  min-width: 0;
  padding: 0.9rem 0.7rem;
  border: 1px solid #b8d5da;
  border-radius: 14px 4px 14px 4px;
  background: #fff;
}

.search-pipeline-stage li:not(:last-child)::after,
.url-navigation-stage li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -0.65rem;
  color: #087f8e;
  content: "→";
  font-weight: 900;
  transform: translateY(-50%);
}

.search-pipeline-stage .picto {
  color: #087f8e;
  transform: scale(0.68);
}

.search-pipeline-stage p,
.search-pipeline-stage small,
.search-pipeline-stage strong,
.search-pipeline-stage b,
.url-navigation-stage strong,
.url-navigation-stage small {
  display: block;
  margin: 0;
}

.search-pipeline-stage small,
.url-navigation-stage small {
  color: #087180;
  font-size: 0.68rem;
  font-weight: 800;
}

.search-pipeline-stage strong,
.url-navigation-stage strong {
  margin-top: 0.25rem;
  color: #153d47;
  font-size: 0.86rem;
}

.search-pipeline-stage b {
  margin-top: 0.4rem;
  color: #49636b;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.55;
}

.search-query-stage {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) auto minmax(170px, 1fr) auto minmax(180px, 1.2fr);
  gap: 0.75rem;
  align-items: center;
  padding: 1.4rem;
}

.search-query-input,
.search-query-index,
.search-query-results {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #b5d3d8;
  border-radius: 15px 4px 15px 4px;
  background: #fff;
}

.search-query-input,
.search-query-index {
  display: grid;
  justify-items: center;
  text-align: center;
}

.search-query-input .picto,
.search-query-index .picto {
  color: #087f8e;
  transform: scale(0.7);
}

.search-query-input label,
.search-query-index small {
  color: #49636b;
  font-size: 0.7rem;
}

.search-query-input code {
  margin-top: 0.45rem;
  padding: 0.45rem;
  border-radius: 5px;
  background: #e7f3f5;
  color: #143f49;
  font-size: 0.75rem;
}

.search-query-index p,
.search-query-index strong,
.search-query-index small {
  display: block;
  margin: 0;
}

.search-query-stage > i {
  color: #087f8e;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 900;
}

.search-query-results {
  display: grid;
  gap: 0.4rem;
}

.search-query-results p {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  margin: 0;
  padding: 0.45rem;
  border-bottom: 1px solid #d8e6e8;
}

.search-query-results span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #087f8e;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
}

.search-query-results b {
  color: #244852;
  font-size: 0.72rem;
}

.url-anatomy-stage {
  padding: 1.5rem;
}

.url-anatomy-stage > code {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  padding: 1rem;
  border-radius: 9px;
  background: #082331;
  color: #edfefe;
  font-size: clamp(0.75rem, 1.8vw, 1.08rem);
  white-space: nowrap;
}

.url-anatomy-stage > code b {
  color: #d7e9ec;
  font-weight: 500;
}

.url-part--scheme { color: #f4a37f; }
.url-part--host { color: #6bedf1; }
.url-part--port { color: #f3d37c; }
.url-part--path { color: #a9c9ff; }
.url-part--query { color: #b8e59a; }
.url-part--fragment { color: #e3b8f5; }

.url-anatomy-labels {
  display: grid;
  grid-template-columns: 0.75fr 1.15fr 0.6fr 1fr 1fr 1fr;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.url-anatomy-labels p {
  margin: 0;
  padding: 0.55rem 0.35rem;
  border-top: 3px solid currentColor;
  background: #fff;
  text-align: center;
}

.url-anatomy-labels strong,
.url-anatomy-labels small {
  display: block;
}

.url-anatomy-labels strong {
  color: #173f49;
  font-size: 0.76rem;
}

.url-anatomy-labels small {
  color: #4b656d;
  font-size: 0.63rem;
}

.url-navigation-stage li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 0.55rem;
  border-radius: 50%;
  background: #087f8e;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.uri-family-stage {
  padding: 1.4rem;
}

.uri-family-outer {
  padding: 1rem;
  border: 2px solid #168a98;
  border-radius: 20px 6px 20px 6px;
  background: #e4f4f6;
}

.uri-family-outer > p,
.uri-family-outer > p small,
.uri-family-outer > p strong,
.uri-family-outer > p b {
  display: block;
  margin: 0;
  text-align: center;
}

.uri-family-outer > p small {
  color: #35616a;
  font-size: 0.7rem;
}

.uri-family-outer > p strong {
  color: #075d69;
  font-size: 1.55rem;
}

.uri-family-outer > p b {
  color: #345862;
  font-size: 0.78rem;
}

.uri-family-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.uri-family-inner section {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  min-width: 0;
  padding: 1rem;
  border: 1px solid #a9cdd3;
  border-radius: 14px 4px 14px 4px;
  background: #fff;
}

.uri-family-inner .picto {
  color: #087f8e;
  transform: scale(0.7);
}

.uri-family-inner p,
.uri-family-inner small,
.uri-family-inner strong,
.uri-family-inner code {
  display: block;
  min-width: 0;
  margin: 0;
}

.uri-family-inner small {
  color: #49646c;
  font-size: 0.68rem;
}

.uri-family-inner strong {
  color: #0b6572;
  font-size: 1.2rem;
}

.uri-family-inner code {
  overflow: hidden;
  color: #345761;
  font-size: 0.66rem;
  text-overflow: ellipsis;
}

.uri-family-inner > i {
  grid-column: 1 / -1;
  justify-self: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #c9e7ea;
  color: #28545e;
  font-size: 0.7rem;
  font-style: normal;
}

.uri-syntax-stage {
  padding: 1.4rem;
}

.uri-syntax-stage > code {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  padding: 1rem;
  border-radius: 9px;
  background: #082331;
  color: #79ecf1;
  font-size: clamp(0.84rem, 2vw, 1.15rem);
  white-space: nowrap;
}

.uri-syntax-stage > code span:nth-of-type(2) { color: #f1be81; }
.uri-syntax-stage > code span:nth-of-type(3) { color: #a9c9ff; }
.uri-syntax-stage > code span:nth-of-type(4) { color: #b7e49a; }
.uri-syntax-stage > code span:nth-of-type(5) { color: #dfb5f2; }

.uri-example-stack {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.uri-example-stack p {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  gap: 0.7rem;
  margin: 0;
  padding: 0.65rem 0.8rem;
  border: 1px solid #c4dadd;
  border-radius: 10px 3px 10px 3px;
  background: #fff;
}

.uri-example-stack strong {
  color: #1c4953;
  font-size: 0.75rem;
}

.uri-example-stack code {
  overflow: hidden;
  color: #365b64;
  font-size: 0.72rem;
  text-overflow: ellipsis;
}

.hyperlink-anatomy-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto minmax(180px, 0.7fr);
  gap: 1rem;
  align-items: center;
  padding: 1.4rem;
}

.hyperlink-code {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #b8d4d9;
  border-radius: 13px 4px 13px 4px;
  background: #fff;
}

.hyperlink-code > code {
  display: block;
  overflow-x: auto;
  padding: 0.8rem;
  border-radius: 6px;
  background: #082331;
  color: #dceff2;
  font-size: 0.77rem;
  white-space: nowrap;
}

.hyperlink-code > code b { color: #f4bb7c; }
.hyperlink-code > code span { color: #71edf1; }

.hyperlink-code > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.hyperlink-code p {
  margin: 0;
  padding: 0.5rem;
  border-top: 3px solid #168b98;
  background: #edf7f8;
}

.hyperlink-code strong,
.hyperlink-code small {
  display: block;
}

.hyperlink-code small {
  color: #49656d;
  font-size: 0.65rem;
}

.hyperlink-anatomy-stage > i {
  color: #087f8e;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 900;
}

.hyperlink-screen {
  display: grid;
  justify-items: center;
  padding: 1rem;
  border: 5px solid #153e49;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.hyperlink-screen .picto {
  color: #087f8e;
  transform: scale(0.7);
}

.hyperlink-screen a {
  color: #006c7b;
  font-size: 0.85rem;
  font-weight: 900;
  text-decoration: underline;
}

.hyperlink-screen small {
  margin-top: 0.5rem;
  color: #4b656d;
  font-size: 0.65rem;
}

.hyperlink-resolution-stage {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding: 1.4rem;
}

.hyperlink-resolution-stage > section:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  width: 100%;
}

.hyperlink-resolution-stage section p {
  min-width: 0;
  margin: 0;
  padding: 0.8rem;
  border: 1px solid #b9d5da;
  border-radius: 12px 3px 12px 3px;
  background: #fff;
}

.hyperlink-resolution-stage small,
.hyperlink-resolution-stage code,
.hyperlink-resolution-stage strong {
  display: block;
}

.hyperlink-resolution-stage small {
  color: #47636b;
  font-size: 0.68rem;
}

.hyperlink-resolution-stage code,
.hyperlink-resolution-stage strong {
  overflow-wrap: anywhere;
  color: #16434d;
  font-size: 0.75rem;
}

.hyperlink-resolution-stage > section:first-child > span,
.hyperlink-resolution-stage > i {
  color: #087f8e;
  font-style: normal;
  font-weight: 900;
}

.hyperlink-resolution-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  width: min(100%, 610px);
}

.hyperlink-resolution-result .picto {
  color: #087f8e;
  transform: scale(0.7);
}

.client-request-stage,
.client-role-stage {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(210px, 1.2fr) minmax(160px, 0.8fr);
  gap: 0.9rem;
  align-items: center;
  padding: 1.4rem;
}

.client-request-stage > section,
.client-role-stage > section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #b4d3d8;
  border-radius: 15px 4px 15px 4px;
  background: #fff;
  text-align: center;
}

.client-request-stage .picto,
.client-role-stage .picto {
  color: #087f8e;
  transform: scale(0.75);
}

.client-request-stage p,
.client-request-stage small,
.client-request-stage strong,
.client-request-stage b,
.client-role-stage p,
.client-role-stage small,
.client-role-stage strong,
.client-role-stage b {
  display: block;
  margin: 0;
}

.client-request-stage small,
.client-role-stage small {
  color: #49646c;
  font-size: 0.7rem;
}

.client-request-stage strong,
.client-role-stage strong {
  color: #123f49;
  font-size: 1rem;
}

.client-request-stage b,
.client-role-stage b {
  margin-top: 0.4rem;
  color: #3f5e67;
  font-size: 0.7rem;
}

.client-message-lanes {
  display: grid;
  gap: 0.7rem;
}

.client-message-lanes p {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: #234b55;
  font-size: 0.72rem;
}

.client-message-lanes p::before {
  grid-column: 1 / -1;
  grid-row: 1;
  height: 2px;
  background: #3ba5b0;
  content: "";
}

.client-message-lanes b,
.client-message-lanes span,
.client-message-lanes i {
  z-index: 1;
  grid-row: 1;
  padding: 0.1rem 0.25rem;
  background: #f8fcfd;
  font-style: normal;
}

.client-message-lanes b {
  border-radius: 999px;
  background: #087f8e;
  color: #fff;
}

.client-role-stage {
  grid-template-columns: minmax(130px, 0.75fr) auto minmax(190px, 1.25fr) auto minmax(130px, 0.75fr);
}

.client-role-stage > i {
  color: #087f8e;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.client-role-center {
  border-width: 2px !important;
  border-color: #168b99 !important;
  background: #e6f5f6 !important;
}

@media (max-width: 820px) {
  .search-pipeline-stage,
  .url-navigation-stage {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .search-pipeline-stage li:not(:last-child)::after,
  .url-navigation-stage li:not(:last-child)::after {
    display: none;
  }

  .url-anatomy-labels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .search-pipeline-stage,
  .search-query-stage,
  .url-anatomy-labels,
  .url-navigation-stage,
  .uri-family-inner,
  .hyperlink-anatomy-stage,
  .client-request-stage,
  .client-role-stage {
    grid-template-columns: 1fr;
  }

  .search-query-stage > i,
  .hyperlink-anatomy-stage > i,
  .client-role-stage > i {
    justify-self: center;
    transform: rotate(90deg);
  }

  .uri-family-inner > i {
    grid-column: 1;
  }

  .uri-syntax-stage > code,
  .url-anatomy-stage > code {
    justify-content: start;
  }

  .uri-example-stack p,
  .hyperlink-code > div,
  .hyperlink-resolution-stage > section:first-child {
    grid-template-columns: 1fr;
  }

  .hyperlink-resolution-stage > section:first-child > span {
    justify-self: center;
  }

  .client-request-stage,
  .client-role-stage {
    padding: 0.85rem;
  }
}

/* Keep the library shell above legacy component declarations. */
main { background: rgba(238, 246, 248, 0.955); }
.site-header .header-inner { min-height: 76px; }
.site-header .site-nav { gap: 0.3rem; }
.site-header .site-nav a { padding: 0.72rem 0.86rem; color: #f2fdff; font-size: 0.94rem; font-weight: 800; letter-spacing: 0.025em; }
.site-header .site-nav .nav-search { border: 1px solid rgba(113, 237, 242, 0.55); background: rgba(30, 165, 185, 0.16); color: #fff; }

@media (max-width: 600px) {
  .site-header .header-inner { min-height: 66px; }
  .site-header .site-nav a { padding: 0.88rem 0.95rem; color: #fff; font-size: 1rem; }
}

.knowledge-library-home main {
  background: rgba(7, 21, 33, 0.76);
}

.library-home-hero {
  min-height: 650px;
  background: linear-gradient(135deg, rgba(4, 17, 29, 0.94), rgba(7, 42, 58, 0.88));
}

.library-home-hero .home-hero-grid {
  align-items: center;
  min-height: 650px;
}

.library-home-hero .definition {
  color: #d4edf1;
}

.knowledge-orbit {
  margin: 0;
}

.knowledge-orbit-stage {
  position: relative;
  min-height: 430px;
  border: 1px solid rgba(113, 237, 242, 0.28);
  border-radius: 46% 54% 50% 48%;
  background:
    radial-gradient(circle at 50% 50%, rgba(59, 209, 219, 0.12), transparent 36%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 62px, rgba(113, 237, 242, 0.07) 63px 64px);
  box-shadow: inset 0 0 60px rgba(24, 174, 197, 0.08), 0 25px 80px rgba(0, 5, 12, 0.34);
}

.knowledge-orbit-stage::before,
.knowledge-orbit-stage::after {
  position: absolute;
  inset: 11% 8%;
  border: 1px solid rgba(113, 237, 242, 0.18);
  border-radius: 50%;
  content: "";
  transform: rotate(18deg);
}

.knowledge-orbit-stage::after {
  inset: 22% 13%;
  border-color: rgba(255, 189, 89, 0.15);
  transform: rotate(-21deg);
}

.knowledge-orbit-core,
.knowledge-orbit-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 0.25rem;
  border: 1px solid rgba(113, 237, 242, 0.35);
  background: rgba(7, 31, 45, 0.9);
  color: #ecfdff;
  text-align: center;
}

.knowledge-orbit-core {
  top: 50%;
  left: 50%;
  width: 164px;
  min-height: 164px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 46px rgba(63, 218, 226, 0.18);
}

.knowledge-orbit-core strong { font-size: 1.1rem; }
.knowledge-orbit-core small { color: #b6d8df; font-size: 0.7rem; }
.knowledge-orbit-node { width: 108px; min-height: 96px; padding: 0.7rem; border-radius: 18px; }
.knowledge-orbit-node b { font-size: 0.75rem; }
.knowledge-orbit-node .picto { transform: scale(0.72); }
.knowledge-orbit-node--browser { top: 8%; left: 7%; }
.knowledge-orbit-node--server { right: 6%; bottom: 10%; }
.knowledge-orbit-node--protocol { right: 8%; top: 8%; }

.knowledge-orbit-packets {
  position: absolute;
  z-index: 3;
  bottom: 17%;
  left: 13%;
  display: flex;
  gap: 7px;
  transform: rotate(-16deg);
}

.knowledge-orbit-packets i {
  width: 20px;
  height: 11px;
  border: 1px solid #ffbd59;
  border-radius: 3px;
  background: rgba(255, 189, 89, 0.25);
  box-shadow: 0 0 10px rgba(255, 189, 89, 0.18);
}

.knowledge-orbit figcaption {
  margin-top: 1rem;
  color: #c8e0e5;
  font-size: 0.86rem;
  line-height: 1.8;
}

.knowledge-library-home .library-intro,
.knowledge-library-home .section:not(.library-intro) {
  background: rgba(238, 246, 248, 0.96);
}

.knowledge-library-home .section.alt {
  background: rgba(220, 238, 241, 0.97);
}

.library-reading-grid {
  display: grid;
  gap: 2.25rem;
}

.library-reading-shelf {
  overflow: hidden;
  border: 1px solid #bdd7dc;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.library-reading-shelf > header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(120deg, #0a3346, #0a5c68);
  color: #fff;
}

.library-reading-shelf > header > span {
  color: #73edf2;
  font-size: 1.8rem;
  font-weight: 900;
}

.library-reading-shelf h2 { margin: 0 0 0.3rem; color: #fff; font-size: 1.28rem; }
.library-reading-shelf header p { margin: 0; color: #d4eef1; }
.library-reading-shelf ol { margin: 0; padding: 0; list-style: none; }
.library-reading-shelf li + li { border-top: 1px solid #d8e7ea; }
.library-reading-shelf li a { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1.05rem 1.4rem; color: var(--ink); text-decoration: none; }
.library-reading-shelf li a:hover { background: #eef9fa; }
.library-reading-shelf li small { color: #078594; font-weight: 900; }
.library-reading-shelf li span { display: grid; gap: 0.26rem; }
.library-reading-shelf li strong { color: #0b4052; font-size: 1.04rem; }
.library-reading-shelf li b { color: #476875; font-size: 0.82rem; font-weight: 500; line-height: 1.65; }
.library-reading-shelf li i { color: #078594; font-style: normal; font-weight: 900; }

.library-sitemap-terms { grid-column: 1 / -1; }
.library-sitemap-terms ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem 1.6rem; }
.library-sitemap-terms li { display: grid; gap: 0.2rem; }
.library-sitemap-terms small { color: #58717a; line-height: 1.5; }

@media (max-width: 760px) {
  .library-home-hero,
  .library-home-hero .home-hero-grid { min-height: auto; }
  .knowledge-orbit-stage { min-height: 340px; }
  .knowledge-orbit-core { width: 132px; min-height: 132px; }
  .knowledge-orbit-node { width: 82px; min-height: 78px; padding: 0.45rem; }
  .knowledge-orbit-node .picto { transform: scale(0.58); }
  .knowledge-orbit-node b { font-size: 0.64rem; }
  .library-sitemap-terms ul { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .library-reading-shelf > header { padding: 1rem; }
  .library-reading-shelf > header > span { font-size: 1.3rem; }
  .library-reading-shelf li a { grid-template-columns: auto 1fr; padding: 0.95rem; }
  .library-reading-shelf li i { display: none; }
}

/* Term 012–016 publication diagrams */
.server-exchange-stage,
.cloud-pool-stage,
.datacenter-facility-stage,
.packet-journey-stage {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem;
}

.server-exchange-stage { grid-template-columns: minmax(140px, .8fr) minmax(250px, 1.4fr) minmax(140px, .8fr); }
.server-exchange-stage > section { display: grid; place-items: center; min-height: 170px; padding: 1rem; border: 1px solid #b9dadd; border-radius: 18px; background: #fff; text-align: center; }
.server-exchange-stage > section p { display: grid; gap: .25rem; margin: .5rem 0 0; }
.server-exchange-stage > section small { color: #557783; }
.server-exchange-stage > section b { color: #4e6973; font-size: .76rem; }
.server-exchange-stage > div { display: grid; gap: .8rem; }
.server-exchange-stage > div p { display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: center; margin: 0; padding: .75rem; border-radius: 12px; background: #e7f5f6; color: #075e69; }
.server-exchange-stage > div p:nth-child(2) { background: #fff4dc; color: #774313; }
.server-exchange-stage > div i { font-style: normal; font-size: 1.25rem; }

.server-layers-stage { display: grid; gap: .55rem; padding: 1.2rem; }
.server-layers-stage > section { padding: .85rem 1rem; border: 1px solid #b9d6db; border-radius: 12px; background: #fff; }
.server-layers-stage > section:not(:first-child) { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; align-items: center; }
.server-layers-stage small { color: #007b88; font-weight: 900; }
.server-service-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; background: #e2f3f4 !important; }
.server-service-row > div { display: flex; gap: .55rem; align-items: center; justify-content: center; padding: .6rem; border-radius: 10px; background: #fff; }
.server-service-row .picto { transform: scale(.62); }

.cloud-pool-stage { grid-template-columns: .9fr auto 1.35fr .8fr; }
.cloud-users { display: grid; gap: .6rem; }
.cloud-users > div { display: flex; gap: .55rem; align-items: center; padding: .6rem; border: 1px solid #c5dde1; border-radius: 12px; background: #fff; }
.cloud-users .picto { transform: scale(.58); }
.cloud-pool-stage > i { color: #087b88; font-style: normal; font-size: .72rem; font-weight: 900; }
.cloud-pool { display: grid; place-items: center; gap: .55rem; min-height: 230px; padding: 1rem; border: 2px solid #1597a6; border-radius: 46% 54% 48% 52%; background: #e2f6f7; text-align: center; }
.cloud-pool > div { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.cloud-pool > div b { padding: .3rem .5rem; border-radius: 999px; background: #fff; color: #096b76; font-size: .7rem; }
.cloud-meter { display: grid; gap: .45rem; padding: 1rem; border-radius: 15px; background: #0b4557; color: #fff; text-align: center; }
.cloud-meter small { color: #c9e8ec; }
.cloud-meter b { color: #ffcf78; font-size: .76rem; }

.cloud-stack-stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; padding: 1.2rem; }
.cloud-stack-stage > section { display: grid; grid-template-rows: auto 1fr 1.2fr auto; overflow: hidden; border: 1px solid #bdd8dd; border-radius: 16px; background: #fff; }
.cloud-stack-stage h3 { margin: 0; padding: .75rem; background: #0b5f6b; color: #fff; text-align: center; }
.cloud-stack-stage p { margin: 0; padding: .8rem; }
.cloud-stack-stage .provider-zone { background: #ddf2f3; }
.cloud-stack-stage small { padding: .7rem; color: #596f78; text-align: center; }

.datacenter-facility-stage { grid-template-columns: 1.15fr 1fr; }
.dc-building { overflow: hidden; border: 2px solid #167f8c; border-radius: 18px; background: #eef9fa; }
.dc-building header { display: flex; gap: .7rem; align-items: center; justify-content: center; padding: .8rem; background: #0c4657; color: #fff; }
.dc-building header .picto { transform: scale(.65); }
.dc-racks { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; padding: 1rem; }
.dc-racks b { display: grid; place-items: center; min-height: 130px; border: 1px solid #83b7bf; border-radius: 8px; background: repeating-linear-gradient(#193e4c 0 15px, #2d6572 16px 18px); color: #fff; font-size: .72rem; writing-mode: vertical-rl; }
.dc-support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; }
.dc-support-grid > div { display: grid; place-items: center; gap: .25rem; min-height: 120px; padding: .7rem; border: 1px solid #c1dce0; border-radius: 14px; background: #fff; text-align: center; }
.dc-support-grid > div > span { color: #07818f; font-size: 1.4rem; }
.dc-support-grid small { color: #607982; font-size: .68rem; }

.datacenter-route-stage { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: .45rem; align-items: center; margin: 0; padding: 1.2rem; list-style: none; }
.datacenter-route-stage li:nth-child(odd) { display: grid; place-items: center; gap: .3rem; min-height: 150px; padding: .75rem; border: 1px solid #c2dce0; border-radius: 14px; background: #fff; text-align: center; }
.datacenter-route-stage li:nth-child(even) { color: #087e8c; font-weight: 900; }
.datacenter-route-stage .picto { transform: scale(.68); }
.datacenter-route-stage small { color: #607983; font-size: .68rem; }

.protocol-rules-stage { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; padding: 1.2rem; }
.protocol-rules-stage section { display: grid; gap: .55rem; padding: 1rem; border: 1px solid #bddade; border-top: 4px solid #138a98; border-radius: 12px; background: #fff; }
.protocol-rules-stage section:nth-child(even) { border-top-color: #e48a45; }
.protocol-rules-stage b { color: #075f6b; font-size: 1.05rem; }
.protocol-rules-stage p { margin: 0; color: #4f6c76; font-size: .78rem; }
.protocol-rules-stage code { padding: .4rem; background: #eef4f5; font-size: .72rem; }

.protocol-stack-stage { display: grid; gap: .45rem; padding: 1.2rem; }
.protocol-stack-stage section { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; padding: .8rem 1rem; border-left: 5px solid #1496a5; border-radius: 10px; background: #fff; box-shadow: 0 5px 14px rgba(6, 41, 52, .07); }
.protocol-stack-stage section:nth-child(2) { border-left-color: #42a676; }
.protocol-stack-stage section:nth-child(3) { border-left-color: #e69a47; }
.protocol-stack-stage section:nth-child(4) { border-left-color: #8077bb; }
.protocol-stack-stage section > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #103f50; color: #fff; font-weight: 900; }
.protocol-stack-stage section > div { display: grid; gap: .2rem; }
.protocol-stack-stage section b { color: #4c6873; font-size: .75rem; }
.protocol-stack-stage section small { color: #59727b; }

.packet-anatomy-stage { display: grid; grid-template-columns: .85fr 1.6fr; overflow: hidden; margin: 1.2rem; border: 2px solid #137f8d; border-radius: 16px; }
.packet-anatomy-stage section { min-height: 190px; padding: 1rem; }
.packet-anatomy-stage small { display: block; margin-bottom: .8rem; font-weight: 900; }
.packet-header { background: #0c5363; color: #fff; }
.packet-header > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem; }
.packet-header b { padding: .45rem; border: 1px solid rgba(255,255,255,.26); border-radius: 6px; font-size: .68rem; text-align: center; }
.packet-payload { display: grid; align-content: center; gap: .5rem; background: #e5f5f6; color: #0b5060; }
.packet-payload b { color: #59737c; font-size: .76rem; }

.packet-journey-stage { grid-template-columns: .75fr auto 1fr 1.2fr 1fr auto .75fr; }
.packet-journey-stage > section:not(.packet-trio):not(.packet-arrival) { display: grid; place-items: center; gap: .3rem; min-height: 140px; padding: .7rem; border: 1px solid #c1dce0; border-radius: 14px; background: #fff; text-align: center; }
.packet-journey-stage > i { color: #087e8b; font-style: normal; font-size: .72rem; font-weight: 900; }
.packet-trio, .packet-arrival { display: grid; gap: .35rem; }
.packet-trio > b, .packet-arrival > b { display: flex; gap: .45rem; align-items: center; padding: .5rem; border: 1px solid #1492a0; border-radius: 7px; background: #e4f4f5; color: #075f6a; font-family: ui-monospace, monospace; }
.packet-trio small, .packet-arrival small { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #0b6976; color: #fff; }
.packet-routes { display: grid; gap: .4rem; color: #51717c; font-size: .65rem; }
.packet-routes span:nth-child(2) { color: #bb672f; }

@media (max-width: 820px) {
  .cloud-pool-stage { grid-template-columns: 1fr auto 1.3fr; }
  .cloud-meter { grid-column: 1 / -1; }
  .protocol-rules-stage { grid-template-columns: repeat(2, 1fr); }
  .packet-journey-stage { grid-template-columns: 1fr auto 1fr; }
  .packet-routes { grid-column: 1 / -1; }
  .packet-arrival { grid-column: 1; }
}

@media (max-width: 620px) {
  .server-exchange-stage,
  .cloud-pool-stage,
  .datacenter-facility-stage,
  .cloud-stack-stage,
  .protocol-rules-stage,
  .packet-journey-stage { grid-template-columns: 1fr; }
  .server-exchange-stage > div p { grid-template-columns: 1fr; text-align: center; }
  .server-exchange-stage > div i { transform: rotate(90deg); }
  .server-layers-stage > section:not(:first-child) { grid-template-columns: 1fr; gap: .2rem; }
  .server-service-row { grid-template-columns: 1fr; }
  .cloud-pool-stage > i { text-align: center; }
  .cloud-pool { min-height: 190px; }
  .dc-support-grid { grid-template-columns: repeat(2, 1fr); }
  .datacenter-route-stage { grid-template-columns: 1fr; }
  .datacenter-route-stage li:nth-child(even) { text-align: center; transform: rotate(90deg); }
  .protocol-stack-stage section { grid-template-columns: auto 1fr; }
  .protocol-stack-stage section small { grid-column: 2; }
  .packet-anatomy-stage { grid-template-columns: 1fr; margin: .8rem; }
  .packet-anatomy-stage section { min-height: auto; }
  .packet-routes, .packet-arrival { grid-column: auto; }
  .packet-journey-stage > i { text-align: center; transform: rotate(90deg); }
}

/* Client negotiation, browser products and execution engines (282–291) */
.client-hints-grid,
.chrome-product-grid,
.safari-product-grid,
.edge-product-grid,
.firefox-product-grid,
.chromium-project-grid,
.browser-engine-grid,
.rendering-engine-grid,
.javascript-runtime-grid,
.webassembly-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.15rem 0 1.6rem;
}

.client-hints-grid section,
.chrome-product-grid section,
.safari-product-grid section,
.edge-product-grid section,
.firefox-product-grid section,
.chromium-project-grid section,
.browser-engine-grid section,
.rendering-engine-grid section,
.javascript-runtime-grid section,
.webassembly-module-grid section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #bed3ca;
  border-left: 5px solid #4e9189;
  border-radius: 14px;
  background: #fffefa;
  color: #284f53;
}

.client-hints-grid section:nth-child(3n + 2),
.chrome-product-grid section:nth-child(3n + 2),
.safari-product-grid section:nth-child(3n + 2),
.edge-product-grid section:nth-child(3n + 2),
.firefox-product-grid section:nth-child(3n + 2),
.chromium-project-grid section:nth-child(3n + 2),
.browser-engine-grid section:nth-child(3n + 2),
.rendering-engine-grid section:nth-child(3n + 2),
.javascript-runtime-grid section:nth-child(3n + 2),
.webassembly-module-grid section:nth-child(3n + 2) { border-left-color: #d39b3c; }

.client-hints-grid section:nth-child(3n),
.chrome-product-grid section:nth-child(3n),
.safari-product-grid section:nth-child(3n),
.edge-product-grid section:nth-child(3n),
.firefox-product-grid section:nth-child(3n),
.chromium-project-grid section:nth-child(3n),
.browser-engine-grid section:nth-child(3n),
.rendering-engine-grid section:nth-child(3n),
.javascript-runtime-grid section:nth-child(3n),
.webassembly-module-grid section:nth-child(3n) { border-left-color: #cd724b; }

.client-hints-grid span,
.chrome-product-grid span,
.safari-product-grid span,
.edge-product-grid span,
.firefox-product-grid span,
.chromium-project-grid span,
.browser-engine-grid span,
.rendering-engine-grid span,
.javascript-runtime-grid span,
.webassembly-module-grid span {
  display: inline-flex;
  max-width: 100%;
  padding: 0.33rem 0.62rem;
  border-radius: 999px;
  background: #dcebe4;
  color: #125b5e;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.client-hints-grid strong,
.chrome-product-grid strong,
.safari-product-grid strong,
.edge-product-grid strong,
.firefox-product-grid strong,
.chromium-project-grid strong,
.browser-engine-grid strong,
.rendering-engine-grid strong,
.javascript-runtime-grid strong,
.webassembly-module-grid strong {
  display: block;
  margin-top: 0.58rem;
  color: #17484c;
  font-family: var(--font-sans);
  font-size: 1.04rem;
  line-height: 1.55;
}

.client-hints-grid p,
.chrome-product-grid p,
.safari-product-grid p,
.edge-product-grid p,
.firefox-product-grid p,
.chromium-project-grid p,
.browser-engine-grid p,
.rendering-engine-grid p,
.javascript-runtime-grid p,
.webassembly-module-grid p {
  margin: 0.38rem 0 0;
  color: #405f63;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.72;
}

@media (max-width: 840px) {
  .client-hints-grid,
  .chrome-product-grid,
  .safari-product-grid,
  .edge-product-grid,
  .firefox-product-grid,
  .chromium-project-grid,
  .browser-engine-grid,
  .rendering-engine-grid,
  .javascript-runtime-grid,
  .webassembly-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .client-hints-grid,
  .chrome-product-grid,
  .safari-product-grid,
  .edge-product-grid,
  .firefox-product-grid,
  .chromium-project-grid,
  .browser-engine-grid,
  .rendering-engine-grid,
  .javascript-runtime-grid,
  .webassembly-module-grid { grid-template-columns: 1fr; }

  .client-hints-grid section,
  .chrome-product-grid section,
  .safari-product-grid section,
  .edge-product-grid section,
  .firefox-product-grid section,
  .chromium-project-grid section,
  .browser-engine-grid section,
  .rendering-engine-grid section,
  .javascript-runtime-grid section,
  .webassembly-module-grid section { padding: 0.9rem; }
}

/* 2026-08-14 visual clarity and cyber gateway */
.digital-space-canvas {
  z-index: 0;
  opacity: 0.95;
}

body::before {
  z-index: 0;
}

.site-header,
main,
.site-footer,
.breadcrumbs {
  z-index: 2;
}

.site-header {
  z-index: 100;
}

.site-header .header-inner {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 76px;
}

.site-header .brand { grid-column: 1; min-width: 0; }

.site-header .menu-toggle {
  position: relative;
  grid-column: 2;
  display: inline-grid !important;
  justify-self: end;
  gap: 5px;
  width: 48px;
  height: 44px;
  border: 1px solid rgba(101, 237, 243, 0.5);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(42, 184, 200, 0.2), rgba(7, 32, 47, 0.94));
  box-shadow: inset 0 0 18px rgba(101, 237, 243, 0.08), 0 0 18px rgba(23, 194, 211, 0.12);
  color: #effeff;
}

.site-header .menu-toggle span:not(.sr-only) {
  display: block;
  width: 23px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 6px rgba(101, 237, 243, 0.42);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-header .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-header .site-nav {
  position: fixed;
  top: 86px;
  right: max(18px, calc((100vw - 1180px) / 2));
  left: auto;
  display: none;
  width: min(360px, calc(100vw - 32px));
  padding: 0.7rem;
  border: 1px solid rgba(101, 237, 243, 0.34);
  border-radius: 18px;
  background: rgba(4, 20, 32, 0.97);
  box-shadow: 0 24px 65px rgba(0, 5, 12, 0.45), inset 0 0 30px rgba(46, 212, 224, 0.04);
  backdrop-filter: blur(20px);
}

.site-header .site-nav.open { display: grid; }

.site-header .site-nav a {
  position: relative;
  padding: 0.95rem 1rem 0.95rem 1.2rem;
  border-radius: 11px;
  color: #f2fdff;
  font-size: 1rem;
  font-weight: 800;
}

.site-header .site-nav a::after {
  position: absolute;
  top: 50%;
  right: 1rem;
  color: #65edf3;
  content: "→";
  transform: translateY(-50%);
}

.site-header .site-nav .nav-search {
  border: 0;
  background: rgba(44, 194, 208, 0.13);
}

.site-header .site-nav .nav-search::before { content: none; }

.portal-mark {
  position: relative;
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  clip-path: polygon(50% 0, 93% 24%, 93% 76%, 50% 100%, 7% 76%, 7% 24%);
  background: linear-gradient(145deg, #173d55, #061521 72%);
  filter: drop-shadow(0 0 10px rgba(101, 237, 243, 0.3));
}

.portal-mark::before {
  position: absolute;
  inset: 2px;
  clip-path: inherit;
  border: 1px solid #65edf3;
  background: linear-gradient(145deg, rgba(101, 237, 243, 0.09), transparent 58%);
  content: "";
}

.portal-mark > i {
  z-index: 1;
  color: #f4feff;
  font-family: Arial, sans-serif;
  font-size: 1.35rem;
  font-style: normal;
  font-weight: 900;
  text-shadow: 0 0 9px rgba(101, 237, 243, 0.55);
}

.portal-mark > b,
.portal-mark > em,
.portal-mark > span {
  position: absolute;
  z-index: 2;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffb84e;
  box-shadow: 0 0 8px rgba(255, 184, 78, 0.65);
}

.portal-mark > b { top: 7px; left: 10px; }
.portal-mark > em { right: 8px; bottom: 9px; }
.portal-mark > span { top: 9px; right: 9px; background: #65edf3; }

.library-home-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  background:
    linear-gradient(90deg, rgba(4, 16, 28, 0.9) 0%, rgba(5, 29, 43, 0.77) 52%, rgba(3, 19, 31, 0.68) 100%);
}

.library-home-hero::before {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(101, 237, 243, 0.045) 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(101, 237, 243, 0.045) 80px),
    radial-gradient(circle at 74% 48%, rgba(36, 207, 220, 0.18), transparent 25rem);
  content: "";
  pointer-events: none;
}

.library-home-hero::after {
  position: absolute;
  top: -35%;
  left: 0;
  width: 100%;
  height: 32%;
  background: linear-gradient(transparent, rgba(101, 237, 243, 0.08), transparent);
  content: "";
  animation: cyber-page-scan 8s linear infinite;
  pointer-events: none;
}

.library-home-hero .home-hero-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  min-height: 720px;
  gap: clamp(2rem, 5vw, 5rem);
}

.cyber-library-visual { margin: 0; }

.cyber-gateway-stage {
  position: relative;
  min-height: 570px;
  perspective: 900px;
  border: 1px solid rgba(101, 237, 243, 0.25);
  border-radius: 30px;
  background:
    linear-gradient(rgba(101, 237, 243, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 237, 243, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(27, 185, 202, 0.17), transparent 48%),
    rgba(4, 18, 29, 0.72);
  background-size: 34px 34px, 34px 34px, auto, auto;
  box-shadow: inset 0 0 85px rgba(31, 202, 218, 0.08), 0 35px 100px rgba(0, 5, 12, 0.48);
}

.gateway-hud {
  position: absolute;
  z-index: 10;
  top: 18px;
  right: 20px;
  left: 20px;
  display: flex;
  justify-content: space-between;
  color: #9ed8df;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.gateway-hud b { color: #dffeff; }
.gateway-hud b i { display: inline-block; width: 7px; height: 7px; margin-right: 0.38rem; border-radius: 50%; background: #76f3ae; box-shadow: 0 0 10px #76f3ae; animation: gateway-status 1.8s ease-in-out infinite; }

.gateway-grid-floor {
  position: absolute;
  right: 5%;
  bottom: -8%;
  left: 5%;
  height: 42%;
  background:
    linear-gradient(rgba(101, 237, 243, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 237, 243, 0.14) 1px, transparent 1px);
  background-size: 36px 25px;
  mask-image: linear-gradient(to bottom, transparent, #000 38%, transparent 96%);
  transform: rotateX(65deg);
  transform-origin: bottom;
}

.gateway-ring {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(101, 237, 243, 0.44);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.gateway-ring::before,
.gateway-ring::after {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffb84e;
  box-shadow: 0 0 15px rgba(255, 184, 78, 0.85);
  content: "";
}

.gateway-ring::before { top: 11%; left: 14%; }
.gateway-ring::after { right: 9%; bottom: 24%; background: #65edf3; box-shadow: 0 0 15px rgba(101, 237, 243, 0.85); }
.gateway-ring--outer { width: 390px; height: 390px; border-style: dashed; animation: gateway-spin 24s linear infinite; }
.gateway-ring--middle { width: 300px; height: 300px; border-width: 2px; border-color: rgba(101, 237, 243, 0.25); animation: gateway-spin-reverse 17s linear infinite; }
.gateway-ring--inner { width: 215px; height: 215px; border-style: dotted; animation: gateway-spin 10s linear infinite; }

.gateway-core {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 166px;
  min-height: 166px;
  border: 1px solid rgba(101, 237, 243, 0.7);
  border-radius: 50%;
  background: radial-gradient(circle at 45% 35%, #174e63, #071b2a 70%);
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 32px rgba(101, 237, 243, 0.2), inset 0 0 28px rgba(101, 237, 243, 0.08);
  animation: gateway-core-pulse 3.4s ease-in-out infinite;
}

.gateway-core > span { color: #fff; font-size: 3rem; font-weight: 900; line-height: 1; text-shadow: 0 0 15px rgba(101, 237, 243, 0.68); }
.gateway-core strong { font-size: 0.72rem; letter-spacing: 0.13em; }
.gateway-core small { color: #a8dbe1; font-size: 0.64rem; }

.gateway-topic {
  position: absolute;
  z-index: 7;
  display: flex;
  gap: 0.55rem;
  align-items: center;
  width: 156px;
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(101, 237, 243, 0.34);
  border-radius: 13px;
  background: rgba(7, 31, 45, 0.91);
  box-shadow: 0 12px 30px rgba(0, 8, 15, 0.28), inset 0 0 16px rgba(101, 237, 243, 0.04);
  color: #fff;
  animation: gateway-float 4.2s ease-in-out infinite;
}

.gateway-topic .picto { flex: 0 0 auto; transform: scale(0.56); }
.home-picto {
  display: block;
  width: 4rem;
  height: 4rem;
  padding: 0.62rem;
  border: 1px solid #b9d7d2;
  border-radius: 16px;
  background: #eaf5f2;
  color: #176f70;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-picto * { vector-effect: non-scaling-stroke; }
.home-picto .home-picto-fill { fill: currentColor; stroke: none; }

.gateway-topic .home-picto {
  flex: 0 0 auto;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0.38rem;
  border-color: rgb(100 237 243 / 42%);
  border-radius: 11px;
  background: rgb(8 62 77 / 78%);
  color: #d9feff;
}
.gateway-topic p { display: grid; gap: 0.12rem; margin: 0; }
.gateway-topic small { color: #65edf3; font-size: 0.58rem; font-weight: 900; }
.gateway-topic strong { font-size: 0.82rem; }
.gateway-topic b { color: #a8cbd2; font-size: 0.62rem; font-weight: 600; }
.gateway-topic--web { top: 16%; left: 4%; }
.gateway-topic--server { top: 19%; right: 3%; animation-delay: -1.2s; }
.gateway-topic--packet { right: 5%; bottom: 12%; animation-delay: -2.1s; }

.gateway-data-lane {
  position: absolute;
  z-index: 4;
  display: flex;
  gap: 7px;
}
.gateway-data-lane--left { bottom: 21%; left: 8%; transform: rotate(-14deg); }
.gateway-data-lane--right { top: 32%; right: 7%; transform: rotate(18deg); }
.gateway-data-lane i { width: 18px; height: 8px; border: 1px solid #ffb84e; border-radius: 2px; background: rgba(255, 184, 78, 0.2); opacity: 0; animation: gateway-packet 2.4s linear infinite; }
.gateway-data-lane i:nth-child(2) { animation-delay: 0.3s; }
.gateway-data-lane i:nth-child(3) { animation-delay: 0.6s; }
.gateway-data-lane i:nth-child(4) { animation-delay: 0.9s; }

.gateway-scan { position: absolute; z-index: 8; right: 0; left: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(101, 237, 243, 0.65), transparent); box-shadow: 0 0 14px rgba(101, 237, 243, 0.46); animation: gateway-scan 5.6s linear infinite; }
.cyber-library-visual figcaption { margin-top: 1rem; color: #c9e3e8; font-size: 0.86rem; line-height: 1.8; }

.browser-omnibox-stage { display: grid; grid-template-columns: minmax(250px, 0.9fr) minmax(320px, 1.1fr); gap: 1rem; align-items: stretch; padding: 1.2rem; }
.omnibox-browser-frame { overflow: hidden; border: 2px solid #168694; border-radius: 16px; background: #fff; box-shadow: 0 12px 25px rgba(7, 43, 55, 0.1); }
.omnibox-browser-frame > header { display: grid; grid-template-columns: repeat(3, 8px) 1fr; gap: 5px; align-items: center; padding: 0.75rem; background: #123f50; }
.omnibox-browser-frame > header > i { width: 8px; height: 8px; border-radius: 50%; background: #ffb65b; }
.omnibox-browser-frame > header > i:nth-child(2) { background: #74d6dd; }
.omnibox-browser-frame > header > i:nth-child(3) { background: #77d99d; }
.omnibox-browser-frame > header > div { display: grid; gap: 0.2rem; margin-left: 0.4rem; padding: 0.45rem 0.6rem; border-radius: 8px; background: #fff; }
.omnibox-browser-frame > header small { color: #45707b; font-size: 0.58rem; font-weight: 900; }
.omnibox-browser-frame > header code { color: #174653; font-size: 0.7rem; }
.omnibox-browser-frame > div { display: grid; place-items: center; gap: 0.5rem; min-height: 210px; padding: 1rem; background: linear-gradient(145deg, #eef8f9, #fff); text-align: center; }
.omnibox-browser-frame > div p { display: grid; gap: 0.25rem; margin: 0; }
.omnibox-browser-frame > div small { color: #55717b; font-size: 0.68rem; }
.omnibox-branches { display: grid; gap: 0.8rem; }
.omnibox-branches > section { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr); gap: 0.65rem; align-items: center; padding: 0.85rem; border: 1px solid #bdd9dd; border-left: 4px solid #108796; border-radius: 13px; background: #fff; }
.omnibox-branches > section:nth-child(2) { border-left-color: #e38843; }
.omnibox-branches code { overflow-wrap: anywhere; padding: 0.55rem; border-radius: 7px; background: #edf5f6; color: #164d59; font-size: 0.68rem; }
.omnibox-branches i { color: #087985; font-style: normal; font-weight: 900; }
.omnibox-branches p { display: grid; gap: 0.2rem; margin: 0; }
.omnibox-branches small { color: #087985; font-size: 0.62rem; font-weight: 900; }
.omnibox-branches strong { color: #183f4c; font-size: 0.78rem; }
.omnibox-branches b { color: #607882; font-size: 0.64rem; font-weight: 600; }
.browser-input-note { margin: 1.5rem 0; padding: 1.1rem 1.2rem; border: 1px solid #e6bd71; border-left: 5px solid #e38a43; border-radius: 13px; background: #fff7e7; }
.browser-input-note h3 { margin: 0 0 0.35rem; color: #784315; font-size: 1rem; }
.browser-input-note p { margin: 0; }

.misread-guide { margin: 0.35rem 0 1rem; padding: 0.65rem 0.8rem; border-left: 4px solid #14909e; background: #e9f6f7; color: #294f59; font-size: 0.88rem; line-height: 1.75; }
.publication-misread .study-list li { display: grid; grid-template-columns: minmax(10rem, 0.82fr) minmax(0, 1.35fr); gap: 0.75rem; align-items: stretch; padding: 0; overflow: hidden; border: 1px solid #cce1e5; border-left: 4px solid #14909e; background: #fff; }
.publication-misread .study-list li > strong,
.publication-misread .study-list li > span { margin: 0; padding: 0.85rem 0.95rem; }
.publication-misread .study-list li > strong { color: #6f421d; background: #fff4e8; text-decoration-color: #e5a16e; }
.publication-misread .study-list li > strong > small { display: block; margin-bottom: 0.32rem; color: #a05b25; font-size: 0.64rem; line-height: 1.3; letter-spacing: 0.06em; text-decoration: none; }
.publication-misread .study-list li > span { color: #294b55; background: #f1fafb; line-height: 1.75; }
.publication-misread .study-list li > span > b { display: block; width: max-content; margin-bottom: 0.28rem; padding: 0.08rem 0.38rem; border-radius: 999px; background: #d9f0f2; color: #087483; font-size: 0.68rem; }

@media (max-width: 680px) {
  .publication-misread .study-list li { grid-template-columns: 1fr; gap: 0; }
  .publication-misread .study-list li > strong { border-bottom: 1px dashed #e5b98f; }
}

@keyframes gateway-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes gateway-spin-reverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes gateway-core-pulse { 50% { box-shadow: 0 0 55px rgba(101, 237, 243, 0.34), inset 0 0 32px rgba(101, 237, 243, 0.14); transform: translate(-50%, -50%) scale(1.035); } }
@keyframes gateway-float { 50% { transform: translateY(-9px); } }
@keyframes gateway-packet { 0% { opacity: 0; transform: translateX(-12px); } 28%, 70% { opacity: 1; } 100% { opacity: 0; transform: translateX(20px); } }
@keyframes gateway-scan { 0% { top: 6%; opacity: 0; } 15%, 75% { opacity: 0.75; } 100% { top: 94%; opacity: 0; } }
@keyframes gateway-status { 50% { opacity: 0.4; transform: scale(0.72); } }
@keyframes cyber-page-scan { to { transform: translateY(430%); } }

/* Curated glossary diagrams: upload through IP address */
.upload-direction-stage,
.download-direction-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 11rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1.4rem;
}

.upload-direction-stage > section,
.download-direction-stage > section {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  min-height: 11rem;
  padding: 1.15rem;
  border: 1px solid #c7e1e5;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #edf8fa);
  text-align: center;
}

.upload-direction-stage > section > p,
.download-direction-stage > section > p {
  display: grid;
  gap: 0.18rem;
  margin: 0;
}

.upload-direction-stage small,
.download-direction-stage small {
  color: #087985;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.upload-direction-stage strong,
.download-direction-stage strong { color: #163f4b; }
.upload-direction-stage section b,
.download-direction-stage section b { color: #5c747d; font-size: 0.72rem; }

.upload-transfer-lane,
.download-transfer-lane {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.6rem;
  color: #087985;
}

.upload-transfer-lane::before,
.download-transfer-lane::before {
  position: absolute;
  right: 0;
  left: 0;
  top: 50%;
  height: 3px;
  background: linear-gradient(90deg, #39c0c9, #118290);
  content: "";
}

.upload-transfer-lane::after {
  position: absolute;
  right: -1px;
  top: calc(50% - 6px);
  border-width: 7px 0 7px 10px;
  border-style: solid;
  border-color: transparent transparent transparent #118290;
  content: "";
}

.download-transfer-lane::after {
  position: absolute;
  left: -1px;
  top: calc(50% - 6px);
  border-width: 7px 10px 7px 0;
  border-style: solid;
  border-color: transparent #118290 transparent transparent;
  content: "";
}

.upload-transfer-lane i,
.download-transfer-lane i {
  z-index: 1;
  width: 0.65rem;
  height: 0.65rem;
  border: 2px solid #fff;
  border-radius: 3px;
  background: #1eb0ba;
  box-shadow: 0 0 0 2px #78d8de;
  animation: transfer-packet 2.4s linear infinite;
}

.download-transfer-lane i { animation-direction: reverse; }
.upload-transfer-lane i:nth-of-type(2),
.download-transfer-lane i:nth-of-type(2) { animation-delay: -0.8s; }
.upload-transfer-lane i:nth-of-type(3),
.download-transfer-lane i:nth-of-type(3) { animation-delay: -1.6s; }

.upload-transfer-lane span,
.download-transfer-lane span,
.upload-transfer-lane b,
.download-transfer-lane b {
  position: absolute;
  right: 0;
  left: 0;
  text-align: center;
}

.upload-transfer-lane span,
.download-transfer-lane span { top: 0; font-size: 0.64rem; font-weight: 900; letter-spacing: 0.12em; }
.upload-transfer-lane b,
.download-transfer-lane b { bottom: 0; color: #315d67; font-size: 0.68rem; }

.upload-process-stage {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
  padding: 1.35rem;
  list-style: none;
}

.upload-process-stage li {
  position: relative;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.85rem 0.7rem;
  border: 1px solid #cbe3e6;
  border-radius: 14px;
  background: #f8fcfd;
}

.upload-process-stage li:not(:last-child)::after {
  position: absolute;
  right: -0.55rem;
  top: 50%;
  z-index: 2;
  color: #1d919d;
  content: "›";
  font-size: 1.25rem;
  font-weight: 900;
  transform: translate(50%, -50%);
}

.upload-process-stage li > span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #0d8592;
  color: #fff;
  font-weight: 900;
}

.upload-process-stage p { display: grid; gap: 0.15rem; min-width: 0; margin: 0; }
.upload-process-stage small { color: #10808c; font-size: 0.62rem; font-weight: 900; }
.upload-process-stage strong { color: #173f4b; font-size: 0.78rem; }
.upload-process-stage b { color: #637a82; font-size: 0.65rem; font-weight: 600; }

.download-destination-stage { display: grid; gap: 1rem; padding: 1.35rem; }
.download-source { display: flex; align-items: center; justify-content: center; gap: 1rem; color: #184751; }
.download-source i { color: #16909c; font-size: 1.5rem; }
.download-destination-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.download-destination-grid section { display: grid; justify-items: center; gap: 0.65rem; padding: 1rem 0.8rem; border: 1px solid #cee3e6; border-radius: 15px; background: #f6fbfc; text-align: center; }
.download-destination-grid p { display: grid; gap: 0.15rem; margin: 0; }
.download-destination-grid small { color: #0d818d; font-size: 0.64rem; font-weight: 900; }
.download-destination-grid strong { color: #183f4b; font-size: 0.82rem; }
.download-destination-grid b { color: #627880; font-size: 0.66rem; font-weight: 600; }

.streaming-buffer-stage {
  display: grid;
  grid-template-columns: minmax(13rem, 0.9fr) 8rem minmax(17rem, 1.25fr);
  gap: 1rem;
  align-items: center;
  padding: 1.35rem;
}

.stream-origin,
.stream-player {
  padding: 1rem;
  border: 1px solid #c9e1e5;
  border-radius: 16px;
  background: #f7fbfc;
}

.stream-origin { display: grid; justify-items: center; gap: 0.7rem; text-align: center; }
.stream-origin p,
.stream-player p { display: grid; gap: 0.15rem; margin: 0; }
.stream-origin p small,
.stream-player p small { color: #0b7d89; font-size: 0.64rem; font-weight: 900; }
.stream-origin p strong,
.stream-player p strong { color: #173f4b; font-size: 0.82rem; }
.stream-origin > div { display: flex; gap: 0.28rem; }
.stream-origin > div b { padding: 0.28rem 0.38rem; border-radius: 5px; background: #137f8d; color: #fff; font-size: 0.64rem; }

.stream-network { position: relative; display: flex; justify-content: space-around; align-items: center; min-height: 4rem; border-top: 2px dashed #69c4cb; }
.stream-network i { width: 0.55rem; height: 0.55rem; margin-top: -4rem; border-radius: 2px; background: #17a6b2; animation: stream-segment 2.3s linear infinite; }
.stream-network i:nth-child(2) { animation-delay: -0.7s; }
.stream-network i:nth-child(3) { animation-delay: -1.4s; }
.stream-network span { position: absolute; top: 0.4rem; color: #2f6670; font-size: 0.65rem; font-weight: 800; }

.stream-player { display: grid; gap: 0.8rem; }
.stream-player header { display: flex; align-items: center; gap: 0.8rem; }
.stream-timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: hidden; border: 1px solid #aecfd4; border-radius: 7px; }
.stream-timeline b { display: grid; place-items: center; min-height: 2.3rem; border-right: 1px solid rgba(255,255,255,.7); color: #fff; font-size: 0.68rem; }
.stream-timeline .played { background: #78929a; }
.stream-timeline .playing { background: #e28248; box-shadow: inset 0 -4px #a94f23; }
.stream-timeline .buffered { background: #14909e; }
.stream-timeline .empty { background: #dce8ea; color: #6d858d; }
.stream-player footer { display: flex; flex-wrap: wrap; gap: 0.7rem; color: #5f767e; font-size: 0.62rem; }

.adaptive-stream-stage { display: grid; grid-template-columns: 1fr 8rem 1fr; gap: 0.9rem; align-items: center; padding: 1.35rem; }
.adaptive-variants,
.adaptive-player { padding: 1rem; border: 1px solid #cbe1e5; border-radius: 16px; background: #f8fcfd; }
.adaptive-variants > p { display: grid; gap: 0.15rem; margin: 0 0 0.7rem; }
.adaptive-variants > p small { color: #087b87; font-size: 0.64rem; font-weight: 900; }
.adaptive-variants > p strong { color: #173e49; }
.adaptive-variants > div { display: grid; gap: 0.35rem; }
.adaptive-variants > div > b { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.5rem 0.65rem; border-radius: 7px; color: #fff; font-size: 0.74rem; }
.adaptive-variants > div small { font-size: 0.6rem; font-weight: 600; }
.quality-high { background: #176f7b; }
.quality-mid { background: #2d96a0; }
.quality-low { background: #68b9bf; }
.adaptive-decision { display: grid; justify-items: center; gap: 0.25rem; color: #4e6f77; text-align: center; font-size: 0.62rem; font-weight: 800; }
.adaptive-decision i { color: #e07c3f; font-size: 1.6rem; }
.adaptive-player { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: center; }
.adaptive-player p { display: grid; gap: 0.15rem; margin: 0; }
.adaptive-player small { color: #0b7e89; font-size: 0.61rem; font-weight: 900; }
.adaptive-player strong { color: #183f4a; font-size: 0.8rem; }
.adaptive-player b { color: #607880; font-size: 0.64rem; font-weight: 600; }
.stream-mode-pair { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.stream-mode-pair p { display: grid; grid-template-columns: auto 1fr; gap: 0.12rem 0.6rem; margin: 0; padding: 0.75rem 0.9rem; border-left: 4px solid #178c98; background: #eef8f9; }
.stream-mode-pair small { grid-row: 1 / 3; align-self: center; color: #0a7682; font-weight: 900; }
.stream-mode-pair strong { color: #193f49; font-size: 0.78rem; }
.stream-mode-pair b { color: #5c747c; font-size: 0.64rem; font-weight: 600; }

.online-service-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 1.35rem;
}

.online-client,
.online-service-core,
.online-data-branches section {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid #c7e0e4;
  border-radius: 16px;
  background: #f7fbfc;
  text-align: center;
}

.online-client p,
.online-service-core p,
.online-data-branches p { display: grid; gap: 0.15rem; margin: 0; }
.online-service-stage small { color: #087b87; font-size: 0.63rem; font-weight: 900; }
.online-service-stage strong { color: #173f49; font-size: 0.8rem; }
.online-service-stage b { color: #60777e; font-size: 0.63rem; font-weight: 600; }
.online-request-lane { position: relative; display: grid; gap: 1.6rem; color: #1c7f8b; text-align: center; font-size: 0.66rem; font-weight: 900; }
.online-request-lane::before { position: absolute; inset: 50% 0 auto; height: 2px; background: #6fc4ca; content: ""; }
.online-request-lane i { position: absolute; left: 42%; top: calc(50% - .25rem); width: 0.55rem; height: 0.55rem; border-radius: 2px; background: #1695a1; animation: request-response 2.5s ease-in-out infinite alternate; }
.online-data-branches { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; width: min(36rem, 100%); justify-self: center; }
.online-data-branches section { grid-template-columns: auto 1fr; justify-items: start; text-align: left; }

.online-boundary-stage { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; padding: 1.35rem; }
.online-boundary-stage > section { position: relative; z-index: 1; overflow: hidden; border: 1px solid #c8e0e4; border-radius: 15px; background: #fff; }
.online-boundary-stage header { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.65rem 0.8rem; background: #e7f5f6; }
.online-boundary-stage header span { color: #173e49; font-weight: 900; }
.online-boundary-stage header b { color: #0b7d88; font-size: 0.62rem; letter-spacing: 0.08em; }
.online-boundary-stage ul { display: grid; gap: 0.35rem; margin: 0; padding: 0.8rem 1rem 0.9rem 1.8rem; color: #4f6971; font-size: 0.72rem; }
.online-boundary-flow { position: absolute; right: 12%; bottom: 0.85rem; left: 12%; display: flex; justify-content: space-around; height: 2px; background: #71c2c9; }
.online-boundary-flow i { width: 0.48rem; height: 0.48rem; margin-top: -0.2rem; border-radius: 50%; background: #e08247; }

.ip-routing-stage {
  display: grid;
  grid-template-columns: minmax(8rem, .8fr) minmax(11rem, 1.1fr) minmax(10rem, 1fr) minmax(8rem, .8fr);
  gap: 0.75rem;
  align-items: center;
  padding: 1.35rem;
}

.ip-endpoint { display: grid; justify-items: center; gap: 0.7rem; padding: 0.9rem; border: 1px solid #c7e0e4; border-radius: 15px; background: #f7fbfc; text-align: center; }
.ip-endpoint p { display: grid; gap: 0.2rem; margin: 0; }
.ip-endpoint small { color: #0a7a86; font-size: 0.62rem; font-weight: 900; }
.ip-endpoint strong { color: #173f49; font-family: var(--mono); font-size: 0.72rem; }
.ip-packet-card { overflow: hidden; border: 2px solid #168894; border-radius: 10px; background: #fff; box-shadow: 0 8px 18px rgba(17, 91, 102, .11); }
.ip-packet-card header { display: grid; grid-template-columns: 1.3fr .7fr; }
.ip-packet-card header span,
.ip-packet-card header b { padding: 0.38rem; color: #fff; text-align: center; font-size: 0.6rem; }
.ip-packet-card header span { background: #127f8c; }
.ip-packet-card header b { background: #e38248; }
.ip-packet-card dl { margin: 0; padding: 0.55rem; }
.ip-packet-card dl > div { display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.35rem; padding: 0.2rem; }
.ip-packet-card dt { color: #0c7c87; font-size: 0.6rem; font-weight: 900; }
.ip-packet-card dd { margin: 0; color: #294e57; font-family: var(--mono); font-size: 0.65rem; }
.ip-router-path { display: grid; grid-template-columns: auto 1rem auto; justify-content: center; justify-items: center; gap: 0.2rem; }
.ip-router-path b { grid-column: 1 / -1; color: #4d6d75; font-size: 0.62rem; text-align: center; }
.ip-router-path i { align-self: center; color: #158995; font-size: 1.2rem; }

.ip-version-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; padding: 1.35rem; }
.ipv4-card,
.ipv6-card { overflow: hidden; border: 1px solid #bddbdf; border-radius: 15px; background: #f8fcfd; text-align: center; }
.ipv4-card header,
.ipv6-card header { display: flex; justify-content: space-between; padding: 0.6rem 0.85rem; background: #157f8c; color: #fff; }
.ipv6-card header { background: #315e91; }
.ipv4-card header span,
.ipv6-card header span { font-size: 0.68rem; font-weight: 800; }
.ipv4-card code,
.ipv6-card code { display: block; margin: 1rem auto 0.55rem; color: #143f4a; font-size: clamp(.85rem, 2.4vw, 1.15rem); font-weight: 900; }
.ipv4-card p,
.ipv6-card p { margin: 0 0 1rem; color: #58727a; font-size: 0.68rem; line-height: 1.6; }
.ip-scope-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
.ip-scope-grid p { display: grid; gap: 0.2rem; margin: 0; padding: 0.7rem; border-left: 4px solid #14909e; background: #eef8f9; }
.ip-scope-grid small { color: #0a7b87; font-size: 0.58rem; font-weight: 900; letter-spacing: .05em; }
.ip-scope-grid strong { color: #365a63; font-size: 0.66rem; }

@keyframes transfer-packet {
  0% { opacity: 0; transform: translateX(-3.5rem) rotate(0); }
  15%, 85% { opacity: 1; }
  100% { opacity: 0; transform: translateX(3.5rem) rotate(90deg); }
}

@keyframes stream-segment {
  0% { opacity: 0; transform: translateX(-2rem); }
  20%, 80% { opacity: 1; }
  100% { opacity: 0; transform: translateX(2rem); }
}

@keyframes request-response {
  from { transform: translateX(-2.1rem); }
  to { transform: translateX(2.1rem); }
}

@media (max-width: 840px) {
  .upload-process-stage { grid-template-columns: 1fr; }
  .upload-process-stage li:not(:last-child)::after { right: 50%; top: auto; bottom: -0.83rem; transform: translateX(50%) rotate(90deg); }
  .streaming-buffer-stage,
  .adaptive-stream-stage,
  .ip-routing-stage { grid-template-columns: 1fr; }
  .stream-network { min-height: 3rem; transform: rotate(90deg); }
  .stream-network span { transform: rotate(-90deg); }
  .adaptive-decision { grid-template-columns: 1fr auto 1fr; }
  .adaptive-decision i { transform: rotate(90deg); }
  .stream-mode-pair { grid-column: 1; }
  .ip-router-path { padding: 0.5rem; }
  .ip-router-path i { transform: rotate(90deg); }
}

@media (max-width: 680px) {
  .upload-direction-stage,
  .download-direction-stage,
  .online-service-stage { grid-template-columns: 1fr; padding: 1rem; }
  .upload-direction-stage > section,
  .download-direction-stage > section { min-height: auto; }
  .upload-transfer-lane,
  .download-transfer-lane { width: 100%; height: 7rem; justify-self: center; transform: none; }
  .upload-transfer-lane::before,
  .download-transfer-lane::before { top: 0; bottom: 0; left: 50%; width: 3px; height: auto; }
  .upload-transfer-lane::after { right: auto; top: auto; bottom: -1px; left: calc(50% - 6px); border-width: 10px 7px 0; border-color: #118290 transparent transparent; }
  .download-transfer-lane::after { top: -1px; bottom: auto; left: calc(50% - 6px); border-width: 0 7px 10px; border-color: transparent transparent #118290; }
  .upload-transfer-lane i,
  .download-transfer-lane i { display: none; }
  .upload-transfer-lane span,
  .upload-transfer-lane b,
  .download-transfer-lane span,
  .download-transfer-lane b { right: auto; left: calc(50% + 1rem); width: calc(50% - 1rem); transform: none; text-align: left; }
  .upload-transfer-lane span,
  .download-transfer-lane span { top: 0.8rem; }
  .upload-transfer-lane b,
  .download-transfer-lane b { bottom: 0.8rem; }
  .download-destination-grid,
  .stream-mode-pair,
  .online-data-branches,
  .online-boundary-stage,
  .ip-version-stage,
  .ip-scope-grid { grid-template-columns: 1fr; }
  .streaming-buffer-stage { padding: 1rem; }
  .stream-mode-pair { grid-column: 1; }
  .online-request-lane { width: 7rem; justify-self: center; transform: rotate(90deg); }
  .online-request-lane span,
  .online-request-lane b { transform: rotate(-90deg); }
  .online-data-branches { grid-column: 1; }
  .online-boundary-flow { display: none; }
  .ip-version-stage { padding: 1rem; }
  .ip-scope-grid { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .upload-transfer-lane i,
  .download-transfer-lane i,
  .stream-network i,
  .online-request-lane i,
  .subnet-compare i { animation: none !important; }
}

/* Reading comfort and resilient editorial diagrams */
:root {
  --font-sans: "Yu Gothic UI", "Yu Gothic", Meiryo, "Hiragino Kaku Gothic ProN", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Cascadia Mono", "BIZ UDGothic", Consolas, "Courier New", monospace;
}

body {
  font-family: var(--font-sans);
  font-kerning: normal;
}

h1,
h2,
h3,
h4,
strong,
b {
  font-family: var(--font-sans);
  letter-spacing: 0;
}

code,
kbd,
samp,
.ip-endpoint strong,
.ip-packet-card dd {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.glossary-article--editorial .term-definition > p:first-of-type > strong:first-child {
  padding: 0.06em 0.25em;
  background: linear-gradient(transparent 44%, #c9f1e6 44%, #c9f1e6 100%);
  text-decoration: none;
}

.study-list strong,
.publication-misread .study-list li > strong {
  text-decoration: none;
}

.term-reference {
  padding: 0.03em 0.2em;
  border-radius: 0.2em;
  background: #edf4f5;
  text-decoration: none;
}

.publication-diagram,
.internet-network-figure,
.internet-journey-figure {
  max-width: 100%;
  font-family: var(--font-sans);
}

.publication-diagram *,
.internet-network-figure *,
.internet-journey-figure * {
  min-width: 0;
}

.publication-diagram :is(small, b, label, dt, dd, code),
.internet-network-figure :is(small, b, label, dt, dd, code),
.internet-journey-figure :is(small, b, label, dt, dd, code) {
  font-size: max(0.875rem, 1em) !important;
  line-height: 1.55;
}

.publication-diagram :is(p, em, button, a, li, i),
.internet-network-figure :is(p, em, button, a, li, i),
.internet-journey-figure :is(p, em, button, a, li, i) {
  font-size: max(0.875rem, 1em) !important;
  line-height: 1.55;
}

.publication-diagram span:not(.picto):not([aria-hidden="true"]),
.internet-network-figure span:not(.picto):not([aria-hidden="true"]),
.internet-journey-figure span:not(.picto):not([aria-hidden="true"]) {
  font-size: max(0.875rem, 1em) !important;
  line-height: 1.45;
}

.publication-diagram strong,
.internet-network-figure strong,
.internet-journey-figure strong {
  font-size: max(0.95rem, 1em) !important;
  line-height: 1.5;
}

.publication-diagram-title {
  flex-wrap: wrap;
  align-items: flex-start;
  row-gap: 0.55rem;
}

.publication-diagram-title span {
  white-space: normal;
}

.publication-diagram figcaption,
.internet-network-figure figcaption,
.internet-journey-figure figcaption {
  font-size: 0.94rem;
  line-height: 1.75;
}

.publication-misread .study-list li > strong > small,
.publication-misread .study-list li > span > b {
  font-size: 0.875rem;
  line-height: 1.45;
}

.upload-process-stage {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.upload-process-stage li {
  min-height: 8.5rem;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  padding: 1rem;
}

.upload-process-stage li > span {
  width: 2.35rem;
  height: 2.35rem;
}

.upload-process-stage li:nth-child(4),
.upload-process-stage li:nth-child(5) {
  grid-column: span 1;
}

.url-anatomy-stage > code {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.12rem 0;
  overflow: visible;
  white-space: normal;
}

.diagram-step {
  transition: border-color 240ms ease, background-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.diagram-step.is-current {
  border-color: #118b98 !important;
  background-color: #e9f7f8 !important;
  box-shadow: 0 0 0 3px rgba(17, 139, 152, 0.13), 0 10px 22px rgba(12, 87, 97, 0.12);
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .publication-diagram,
  .internet-network-figure,
  .internet-journey-figure {
    border-radius: 14px;
  }

  .publication-diagram-title {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0.9rem;
  }

  .publication-diagram-title span {
    width: fit-content;
  }

  .upload-process-stage {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .upload-process-stage li {
    min-height: auto;
  }

  .upload-process-stage li:nth-child(4),
  .upload-process-stage li:nth-child(5) {
    grid-column: auto;
  }

  .url-anatomy-stage {
    padding: 1rem;
  }

  .url-anatomy-labels {
    grid-template-columns: 1fr 1fr;
  }

  .publication-misread .study-list li > strong,
  .publication-misread .study-list li > span {
    padding: 1rem;
  }
}

/* Mobile spectrum, subscriptions and access-provider editorial helpers (252–261) */
.carrier-combination-grid,
.low-band-tradeoff-grid,
.dual-sim-choice-grid,
.dsds-radio-grid,
.tethering-boundary-grid,
.roaming-role-grid,
.mnp-transfer-grid,
.data-allowance-grid,
.speed-policy-grid,
.isp-boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.carrier-combination-grid section,
.low-band-tradeoff-grid section,
.dual-sim-choice-grid section,
.dsds-radio-grid section,
.tethering-boundary-grid section,
.roaming-role-grid section,
.mnp-transfer-grid section,
.data-allowance-grid section,
.speed-policy-grid section,
.isp-boundary-grid section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #bfd3cb;
  border-left: 5px solid #4f9189;
  border-radius: 14px;
  background: #fffefa;
  color: #284f53;
}

.carrier-combination-grid section:nth-child(3n + 2),
.low-band-tradeoff-grid section:nth-child(3n + 2),
.dual-sim-choice-grid section:nth-child(3n + 2),
.dsds-radio-grid section:nth-child(3n + 2),
.tethering-boundary-grid section:nth-child(3n + 2),
.roaming-role-grid section:nth-child(3n + 2),
.mnp-transfer-grid section:nth-child(3n + 2),
.data-allowance-grid section:nth-child(3n + 2),
.speed-policy-grid section:nth-child(3n + 2),
.isp-boundary-grid section:nth-child(3n + 2) { border-left-color: #d39b3c; }

.carrier-combination-grid section:nth-child(3n),
.low-band-tradeoff-grid section:nth-child(3n),
.dual-sim-choice-grid section:nth-child(3n),
.dsds-radio-grid section:nth-child(3n),
.tethering-boundary-grid section:nth-child(3n),
.roaming-role-grid section:nth-child(3n),
.mnp-transfer-grid section:nth-child(3n),
.data-allowance-grid section:nth-child(3n),
.speed-policy-grid section:nth-child(3n),
.isp-boundary-grid section:nth-child(3n) { border-left-color: #cd724b; }

.carrier-combination-grid span,
.low-band-tradeoff-grid span,
.dual-sim-choice-grid span,
.dsds-radio-grid span,
.tethering-boundary-grid span,
.roaming-role-grid span,
.mnp-transfer-grid span,
.data-allowance-grid span,
.speed-policy-grid span,
.isp-boundary-grid span {
  display: inline-flex;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background: #dcebe4;
  color: #135c5f;
  font-size: 0.95rem;
  font-weight: 900;
}

.carrier-combination-grid strong,
.low-band-tradeoff-grid strong,
.dual-sim-choice-grid strong,
.dsds-radio-grid strong,
.tethering-boundary-grid strong,
.roaming-role-grid strong,
.mnp-transfer-grid strong,
.data-allowance-grid strong,
.speed-policy-grid strong,
.isp-boundary-grid strong {
  display: block;
  margin-top: 0.58rem;
  color: #17484c;
  font-size: 1.02rem;
  line-height: 1.55;
}

.carrier-combination-grid p,
.low-band-tradeoff-grid p,
.dual-sim-choice-grid p,
.dsds-radio-grid p,
.tethering-boundary-grid p,
.roaming-role-grid p,
.mnp-transfer-grid p,
.data-allowance-grid p,
.speed-policy-grid p,
.isp-boundary-grid p {
  margin: 0.38rem 0 0;
  color: #405f63;
  font-size: 0.96rem;
  line-height: 1.72;
}

@media (max-width: 860px) {
  .carrier-combination-grid,
  .low-band-tradeoff-grid,
  .dual-sim-choice-grid,
  .dsds-radio-grid,
  .tethering-boundary-grid,
  .roaming-role-grid,
  .mnp-transfer-grid,
  .data-allowance-grid,
  .speed-policy-grid,
  .isp-boundary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .carrier-combination-grid,
  .low-band-tradeoff-grid,
  .dual-sim-choice-grid,
  .dsds-radio-grid,
  .tethering-boundary-grid,
  .roaming-role-grid,
  .mnp-transfer-grid,
  .data-allowance-grid,
  .speed-policy-grid,
  .isp-boundary-grid { grid-template-columns: 1fr; }
}

/* Carrier roles and fixed-access editorial helpers (262–271) */
.carrier-operation-grid,
.line-operator-grid,
.fiber-access-grid,
.fttx-location-grid,
.hikari-collabo-grid,
.independent-line-grid,
.catv-access-grid,
.vdsl-path-grid,
.adsl-frequency-grid,
.home-router-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.carrier-operation-grid section,
.line-operator-grid section,
.fiber-access-grid section,
.fttx-location-grid section,
.hikari-collabo-grid section,
.independent-line-grid section,
.catv-access-grid section,
.vdsl-path-grid section,
.adsl-frequency-grid section,
.home-router-grid section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #bfd3cb;
  border-top: 5px solid #4f9189;
  border-radius: 14px;
  background: #fffefa;
  color: #284f53;
}

.carrier-operation-grid section:nth-child(3n + 2),
.line-operator-grid section:nth-child(3n + 2),
.fiber-access-grid section:nth-child(3n + 2),
.fttx-location-grid section:nth-child(3n + 2),
.hikari-collabo-grid section:nth-child(3n + 2),
.independent-line-grid section:nth-child(3n + 2),
.catv-access-grid section:nth-child(3n + 2),
.vdsl-path-grid section:nth-child(3n + 2),
.adsl-frequency-grid section:nth-child(3n + 2),
.home-router-grid section:nth-child(3n + 2) { border-top-color: #d39b3c; }

.carrier-operation-grid section:nth-child(3n),
.line-operator-grid section:nth-child(3n),
.fiber-access-grid section:nth-child(3n),
.fttx-location-grid section:nth-child(3n),
.hikari-collabo-grid section:nth-child(3n),
.independent-line-grid section:nth-child(3n),
.catv-access-grid section:nth-child(3n),
.vdsl-path-grid section:nth-child(3n),
.adsl-frequency-grid section:nth-child(3n),
.home-router-grid section:nth-child(3n) { border-top-color: #cd724b; }

.carrier-operation-grid span,
.line-operator-grid span,
.fiber-access-grid span,
.fttx-location-grid span,
.hikari-collabo-grid span,
.independent-line-grid span,
.catv-access-grid span,
.vdsl-path-grid span,
.adsl-frequency-grid span,
.home-router-grid span {
  display: inline-flex;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background: #dcebe4;
  color: #135c5f;
  font-size: 0.95rem;
  font-weight: 900;
}

.carrier-operation-grid strong,
.line-operator-grid strong,
.fiber-access-grid strong,
.fttx-location-grid strong,
.hikari-collabo-grid strong,
.independent-line-grid strong,
.catv-access-grid strong,
.vdsl-path-grid strong,
.adsl-frequency-grid strong,
.home-router-grid strong {
  display: block;
  margin-top: 0.58rem;
  color: #17484c;
  font-size: 1.02rem;
  line-height: 1.55;
}

.carrier-operation-grid p,
.line-operator-grid p,
.fiber-access-grid p,
.fttx-location-grid p,
.hikari-collabo-grid p,
.independent-line-grid p,
.catv-access-grid p,
.vdsl-path-grid p,
.adsl-frequency-grid p,
.home-router-grid p {
  margin: 0.38rem 0 0;
  color: #405f63;
  font-size: 0.96rem;
  line-height: 1.72;
}

@media (max-width: 860px) {
  .carrier-operation-grid,
  .line-operator-grid,
  .fiber-access-grid,
  .fttx-location-grid,
  .hikari-collabo-grid,
  .independent-line-grid,
  .catv-access-grid,
  .vdsl-path-grid,
  .adsl-frequency-grid,
  .home-router-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .carrier-operation-grid,
  .line-operator-grid,
  .fiber-access-grid,
  .fttx-location-grid,
  .hikari-collabo-grid,
  .independent-line-grid,
  .catv-access-grid,
  .vdsl-path-grid,
  .adsl-frequency-grid,
  .home-router-grid { grid-template-columns: 1fr; }
}

/* Portable access, contracts, interconnection and user-agent helpers (272–281) */
.mobile-router-grid,
.leased-line-grid,
.fixed-ip-service-grid,
.pppoe-session-grid,
.congestion-location-grid,
.line-speed-grid,
.service-area-check-grid,
.contract-period-grid,
.interconnection-point-grid,
.user-agent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.mobile-router-grid section,
.leased-line-grid section,
.fixed-ip-service-grid section,
.pppoe-session-grid section,
.congestion-location-grid section,
.line-speed-grid section,
.service-area-check-grid section,
.contract-period-grid section,
.interconnection-point-grid section,
.user-agent-grid section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #bfd3cb;
  border-left: 5px solid #4f9189;
  border-radius: 14px;
  background: #fffefa;
  color: #284f53;
}

.mobile-router-grid section:nth-child(3n + 2),
.leased-line-grid section:nth-child(3n + 2),
.fixed-ip-service-grid section:nth-child(3n + 2),
.pppoe-session-grid section:nth-child(3n + 2),
.congestion-location-grid section:nth-child(3n + 2),
.line-speed-grid section:nth-child(3n + 2),
.service-area-check-grid section:nth-child(3n + 2),
.contract-period-grid section:nth-child(3n + 2),
.interconnection-point-grid section:nth-child(3n + 2),
.user-agent-grid section:nth-child(3n + 2) { border-left-color: #d39b3c; }

.mobile-router-grid section:nth-child(3n),
.leased-line-grid section:nth-child(3n),
.fixed-ip-service-grid section:nth-child(3n),
.pppoe-session-grid section:nth-child(3n),
.congestion-location-grid section:nth-child(3n),
.line-speed-grid section:nth-child(3n),
.service-area-check-grid section:nth-child(3n),
.contract-period-grid section:nth-child(3n),
.interconnection-point-grid section:nth-child(3n),
.user-agent-grid section:nth-child(3n) { border-left-color: #cd724b; }

.mobile-router-grid span,
.leased-line-grid span,
.fixed-ip-service-grid span,
.pppoe-session-grid span,
.congestion-location-grid span,
.line-speed-grid span,
.service-area-check-grid span,
.contract-period-grid span,
.interconnection-point-grid span,
.user-agent-grid span {
  display: inline-flex;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background: #dcebe4;
  color: #135c5f;
  font-size: 0.95rem;
  font-weight: 900;
}

.mobile-router-grid strong,
.leased-line-grid strong,
.fixed-ip-service-grid strong,
.pppoe-session-grid strong,
.congestion-location-grid strong,
.line-speed-grid strong,
.service-area-check-grid strong,
.contract-period-grid strong,
.interconnection-point-grid strong,
.user-agent-grid strong {
  display: block;
  margin-top: 0.58rem;
  color: #17484c;
  font-size: 1.02rem;
  line-height: 1.55;
}

.mobile-router-grid p,
.leased-line-grid p,
.fixed-ip-service-grid p,
.pppoe-session-grid p,
.congestion-location-grid p,
.line-speed-grid p,
.service-area-check-grid p,
.contract-period-grid p,
.interconnection-point-grid p,
.user-agent-grid p {
  margin: 0.38rem 0 0;
  color: #405f63;
  font-size: 0.96rem;
  line-height: 1.72;
}

@media (max-width: 860px) {
  .mobile-router-grid,
  .leased-line-grid,
  .fixed-ip-service-grid,
  .pppoe-session-grid,
  .congestion-location-grid,
  .line-speed-grid,
  .service-area-check-grid,
  .contract-period-grid,
  .interconnection-point-grid,
  .user-agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .mobile-router-grid,
  .leased-line-grid,
  .fixed-ip-service-grid,
  .pppoe-session-grid,
  .congestion-location-grid,
  .line-speed-grid,
  .service-area-check-grid,
  .contract-period-grid,
  .interconnection-point-grid,
  .user-agent-grid { grid-template-columns: 1fr; }
}

/* Identity, private browsing, encryption and SIM: editorial helpers (232–241) */
.authentication-evidence-grid,
.authorization-decision-grid,
.mfa-factor-grid,
.passkey-ceremony-grid,
.password-manager-boundary-grid,
.encryption-property-grid,
.two-factor-check-list,
.otp-lifecycle-list,
.private-session-list,
.sim-auth-list {
  display: grid;
  gap: 0.8rem;
}

.authentication-evidence-grid,
.authorization-decision-grid,
.mfa-factor-grid,
.passkey-ceremony-grid,
.password-manager-boundary-grid,
.encryption-property-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.authentication-evidence-grid section,
.authorization-decision-grid section,
.mfa-factor-grid section,
.passkey-ceremony-grid section,
.password-manager-boundary-grid section,
.encryption-property-grid section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #bfd3cb;
  border-top: 5px solid #4f9189;
  border-radius: 14px;
  background: #fffefa;
  color: #284f53;
}

.authentication-evidence-grid section:nth-child(3n + 2),
.authorization-decision-grid section:nth-child(3n + 2),
.mfa-factor-grid section:nth-child(3n + 2),
.passkey-ceremony-grid section:nth-child(3n + 2),
.password-manager-boundary-grid section:nth-child(3n + 2),
.encryption-property-grid section:nth-child(3n + 2) { border-top-color: #d39b3c; }

.authentication-evidence-grid section:nth-child(3n),
.authorization-decision-grid section:nth-child(3n),
.mfa-factor-grid section:nth-child(3n),
.passkey-ceremony-grid section:nth-child(3n),
.password-manager-boundary-grid section:nth-child(3n),
.encryption-property-grid section:nth-child(3n) { border-top-color: #cd724b; }

.authentication-evidence-grid span,
.authorization-decision-grid span,
.mfa-factor-grid span,
.passkey-ceremony-grid span,
.password-manager-boundary-grid span,
.encryption-property-grid span {
  display: inline-flex;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background: #dcebe4;
  color: #135c5f;
  font-size: 0.95rem;
  font-weight: 900;
}

.authentication-evidence-grid strong,
.authorization-decision-grid strong,
.mfa-factor-grid strong,
.passkey-ceremony-grid strong,
.password-manager-boundary-grid strong,
.encryption-property-grid strong {
  display: block;
  margin-top: 0.58rem;
  color: #17484c;
  font-size: 1.02rem;
  line-height: 1.55;
}

.authentication-evidence-grid p,
.authorization-decision-grid p,
.mfa-factor-grid p,
.passkey-ceremony-grid p,
.password-manager-boundary-grid p,
.encryption-property-grid p {
  margin: 0.38rem 0 0;
  color: #405f63;
  font-size: 0.96rem;
  line-height: 1.72;
}

.two-factor-check-list,
.otp-lifecycle-list,
.private-session-list,
.sim-auth-list {
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  counter-reset: editorial-steps;
  list-style: none;
}

.two-factor-check-list li,
.otp-lifecycle-list li,
.private-session-list li,
.sim-auth-list li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(10rem, 0.72fr) minmax(0, 1.8fr);
  gap: 1rem;
  align-items: start;
  min-width: 0;
  padding: 1rem 1rem 1rem 4.25rem;
  border: 1px solid #bfd3cb;
  border-radius: 14px;
  background: #fffefa;
  color: #284f53;
  counter-increment: editorial-steps;
}

.two-factor-check-list li::before,
.otp-lifecycle-list li::before,
.private-session-list li::before,
.sim-auth-list li::before {
  content: counter(editorial-steps, decimal-leading-zero);
  position: absolute;
  top: 0.78rem;
  left: 0.82rem;
  display: grid;
  place-items: center;
  width: 2.65rem;
  min-height: 2.65rem;
  border-radius: 11px;
  background: #176f70;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 900;
}

.two-factor-check-list strong,
.otp-lifecycle-list strong,
.private-session-list strong,
.sim-auth-list strong {
  color: #17484c;
  font-size: 1rem;
  line-height: 1.6;
}

.two-factor-check-list li > span,
.otp-lifecycle-list li > span,
.private-session-list li > span,
.sim-auth-list li > span {
  color: #405f63;
  font-size: 0.96rem;
  line-height: 1.72;
}

@media (max-width: 860px) {
  .authentication-evidence-grid,
  .authorization-decision-grid,
  .mfa-factor-grid,
  .passkey-ceremony-grid,
  .password-manager-boundary-grid,
  .encryption-property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .authentication-evidence-grid,
  .authorization-decision-grid,
  .mfa-factor-grid,
  .passkey-ceremony-grid,
  .password-manager-boundary-grid,
  .encryption-property-grid { grid-template-columns: 1fr; }

  .two-factor-check-list li,
  .otp-lifecycle-list li,
  .private-session-list li,
  .sim-auth-list li {
    grid-template-columns: 1fr;
    gap: 0.36rem;
    padding: 0.95rem 0.9rem 0.95rem 4rem;
  }
}

/* Mobile subscriptions, operators and radio generations: editorial helpers (242–251) */
.esim-role-grid,
.mno-responsibility-grid,
.mvno-layer-grid,
.apn-field-grid,
.lte-architecture-grid,
.mobile-generation-grid,
.fiveg-scenario-grid,
.nr-radio-grid,
.spectrum-tradeoff-grid,
.volte-call-list {
  display: grid;
  gap: 0.8rem;
}

.esim-role-grid,
.mno-responsibility-grid,
.mvno-layer-grid,
.apn-field-grid,
.lte-architecture-grid,
.mobile-generation-grid,
.fiveg-scenario-grid,
.nr-radio-grid,
.spectrum-tradeoff-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.esim-role-grid section,
.mno-responsibility-grid section,
.mvno-layer-grid section,
.apn-field-grid section,
.lte-architecture-grid section,
.mobile-generation-grid section,
.fiveg-scenario-grid section,
.nr-radio-grid section,
.spectrum-tradeoff-grid section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #bfd3cb;
  border-left: 5px solid #4f9189;
  border-radius: 14px;
  background: #fffefa;
  color: #284f53;
}

.esim-role-grid section:nth-child(3n + 2),
.mno-responsibility-grid section:nth-child(3n + 2),
.mvno-layer-grid section:nth-child(3n + 2),
.apn-field-grid section:nth-child(3n + 2),
.lte-architecture-grid section:nth-child(3n + 2),
.mobile-generation-grid section:nth-child(3n + 2),
.fiveg-scenario-grid section:nth-child(3n + 2),
.nr-radio-grid section:nth-child(3n + 2),
.spectrum-tradeoff-grid section:nth-child(3n + 2) { border-left-color: #d39b3c; }

.esim-role-grid section:nth-child(3n),
.mno-responsibility-grid section:nth-child(3n),
.mvno-layer-grid section:nth-child(3n),
.apn-field-grid section:nth-child(3n),
.lte-architecture-grid section:nth-child(3n),
.mobile-generation-grid section:nth-child(3n),
.fiveg-scenario-grid section:nth-child(3n),
.nr-radio-grid section:nth-child(3n),
.spectrum-tradeoff-grid section:nth-child(3n) { border-left-color: #cd724b; }

.esim-role-grid span,
.mno-responsibility-grid span,
.mvno-layer-grid span,
.apn-field-grid span,
.lte-architecture-grid span,
.mobile-generation-grid span,
.fiveg-scenario-grid span,
.nr-radio-grid span,
.spectrum-tradeoff-grid span {
  display: inline-flex;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background: #dcebe4;
  color: #135c5f;
  font-size: 0.95rem;
  font-weight: 900;
}

.esim-role-grid strong,
.mno-responsibility-grid strong,
.mvno-layer-grid strong,
.apn-field-grid strong,
.lte-architecture-grid strong,
.mobile-generation-grid strong,
.fiveg-scenario-grid strong,
.nr-radio-grid strong,
.spectrum-tradeoff-grid strong {
  display: block;
  margin-top: 0.58rem;
  color: #17484c;
  font-size: 1.02rem;
  line-height: 1.55;
}

.esim-role-grid p,
.mno-responsibility-grid p,
.mvno-layer-grid p,
.apn-field-grid p,
.lte-architecture-grid p,
.mobile-generation-grid p,
.fiveg-scenario-grid p,
.nr-radio-grid p,
.spectrum-tradeoff-grid p {
  margin: 0.38rem 0 0;
  color: #405f63;
  font-size: 0.96rem;
  line-height: 1.72;
}

.volte-call-list {
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  counter-reset: volte-call-steps;
  list-style: none;
}

.volte-call-list li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(11rem, 0.72fr) minmax(0, 1.8fr);
  gap: 1rem;
  align-items: start;
  min-width: 0;
  padding: 1rem 1rem 1rem 4.25rem;
  border: 1px solid #bfd3cb;
  border-radius: 14px;
  background: #fffefa;
  color: #284f53;
  counter-increment: volte-call-steps;
}

.volte-call-list li::before {
  content: counter(volte-call-steps, decimal-leading-zero);
  position: absolute;
  top: 0.78rem;
  left: 0.82rem;
  display: grid;
  place-items: center;
  width: 2.65rem;
  min-height: 2.65rem;
  border-radius: 11px;
  background: #176f70;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 900;
}

.volte-call-list strong { color: #17484c; font-size: 1rem; line-height: 1.6; }
.volte-call-list li > span { color: #405f63; font-size: 0.96rem; line-height: 1.72; }

@media (max-width: 860px) {
  .esim-role-grid,
  .mno-responsibility-grid,
  .mvno-layer-grid,
  .apn-field-grid,
  .lte-architecture-grid,
  .mobile-generation-grid,
  .fiveg-scenario-grid,
  .nr-radio-grid,
  .spectrum-tradeoff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .esim-role-grid,
  .mno-responsibility-grid,
  .mvno-layer-grid,
  .apn-field-grid,
  .lte-architecture-grid,
  .mobile-generation-grid,
  .fiveg-scenario-grid,
  .nr-radio-grid,
  .spectrum-tradeoff-grid { grid-template-columns: 1fr; }

  .volte-call-list li {
    grid-template-columns: 1fr;
    gap: 0.36rem;
    padding: 0.95rem 0.9rem 0.95rem 4rem;
  }
}

/* Transport, HTTP and file transfer: publication figures (122–131) */
.udp-datagram-grid,
.http-message-grid,
.https-assurance-grid,
.ssl-history-grid,
.quic-feature-grid,
.http2-frame-grid,
.http3-stream-grid,
.ftp-channel-grid,
.ftps-protection-grid,
.tls-handshake-list {
  display: grid;
  gap: 0.84rem;
}

.udp-datagram-grid,
.http-message-grid,
.https-assurance-grid,
.ssl-history-grid,
.quic-feature-grid,
.http2-frame-grid,
.http3-stream-grid,
.ftp-channel-grid,
.ftps-protection-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.udp-datagram-grid section,
.http-message-grid section,
.https-assurance-grid section,
.ssl-history-grid section,
.quic-feature-grid section,
.http2-frame-grid section,
.http3-stream-grid section,
.ftp-channel-grid section,
.ftps-protection-grid section,
.tls-handshake-list li {
  min-width: 0;
  border: 1px solid #b9d0c8;
  border-radius: 15px;
  background: #fffefa;
  color: #294f53;
  box-shadow: 0 7px 20px rgb(24 75 78 / 6%);
}

.udp-datagram-grid section,
.http-message-grid section,
.https-assurance-grid section,
.ssl-history-grid section,
.quic-feature-grid section,
.http2-frame-grid section,
.http3-stream-grid section,
.ftp-channel-grid section,
.ftps-protection-grid section {
  padding: 1rem;
}

.udp-datagram-grid section { border-left: 5px solid #4f9189; }
.http-message-grid section { border-top: 5px solid #4f9189; }
.https-assurance-grid section { border-bottom: 5px solid #4f9189; }
.ssl-history-grid section { border-left: 5px solid #d39b3c; }
.quic-feature-grid section { border-top: 5px solid #4f9189; }
.http2-frame-grid section { border-left: 5px solid #4f9189; }
.http3-stream-grid section { border-bottom: 5px solid #4f9189; }
.ftp-channel-grid section { border-top: 5px solid #d39b3c; }
.ftps-protection-grid section { border-left: 5px solid #4f9189; }

.udp-datagram-grid section:nth-child(3n + 2),
.http-message-grid section:nth-child(3n + 2),
.https-assurance-grid section:nth-child(3n + 2),
.quic-feature-grid section:nth-child(3n + 2),
.http2-frame-grid section:nth-child(3n + 2),
.http3-stream-grid section:nth-child(3n + 2),
.ftps-protection-grid section:nth-child(3n + 2) { border-color: #d39b3c; }

.udp-datagram-grid section:nth-child(3n),
.http-message-grid section:nth-child(3n),
.https-assurance-grid section:nth-child(3n),
.ssl-history-grid section:nth-child(3n),
.quic-feature-grid section:nth-child(3n),
.http2-frame-grid section:nth-child(3n),
.http3-stream-grid section:nth-child(3n),
.ftp-channel-grid section:nth-child(3n),
.ftps-protection-grid section:nth-child(3n) { border-color: #cc7049; }

.udp-datagram-grid span,
.http-message-grid span,
.https-assurance-grid span,
.ssl-history-grid span,
.quic-feature-grid span,
.http2-frame-grid span,
.http3-stream-grid span,
.ftp-channel-grid span,
.ftps-protection-grid span {
  display: inline-flex;
  max-width: 100%;
  padding: 0.34rem 0.64rem;
  border-radius: 999px;
  background: #dcebe4;
  color: #125d60;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ssl-history-grid span,
.ftp-channel-grid span { background: #f4e8cc; color: #7a5123; }

.udp-datagram-grid strong,
.http-message-grid strong,
.https-assurance-grid strong,
.ssl-history-grid strong,
.quic-feature-grid strong,
.http2-frame-grid strong,
.http3-stream-grid strong,
.ftp-channel-grid strong,
.ftps-protection-grid strong,
.tls-handshake-list strong {
  display: block;
  margin-top: 0.58rem;
  color: #173f43;
  font-size: 1.03rem;
  line-height: 1.52;
}

.udp-datagram-grid p,
.http-message-grid p,
.https-assurance-grid p,
.ssl-history-grid p,
.quic-feature-grid p,
.http2-frame-grid p,
.http3-stream-grid p,
.ftp-channel-grid p,
.ftps-protection-grid p,
.tls-handshake-list p {
  margin: 0.38rem 0 0;
  color: #3f5e62;
  font-size: 0.97rem;
  line-height: 1.72;
}

.tls-handshake-list {
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.tls-handshake-list li {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.98rem 1.08rem;
  border-left: 5px solid #4f9189;
}

.tls-handshake-list li:nth-child(2n) { border-left-color: #d39b3c; }
.tls-handshake-list li:nth-child(3n) { border-left-color: #cc7049; }

.tls-handshake-list li > span {
  display: grid;
  place-items: center;
  min-height: 3.6rem;
  padding: 0.48rem;
  border-radius: 12px;
  background: #176f70;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
}

.tls-handshake-list strong { margin-top: 0; }

@media (max-width: 860px) {
  .udp-datagram-grid,
  .http-message-grid,
  .https-assurance-grid,
  .ssl-history-grid,
  .quic-feature-grid,
  .http2-frame-grid,
  .http3-stream-grid,
  .ftp-channel-grid,
  .ftps-protection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .udp-datagram-grid,
  .http-message-grid,
  .https-assurance-grid,
  .ssl-history-grid,
  .quic-feature-grid,
  .http2-frame-grid,
  .http3-stream-grid,
  .ftp-channel-grid,
  .ftps-protection-grid { grid-template-columns: 1fr; }

  .tls-handshake-list li {
    grid-template-columns: 6.2rem minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.84rem;
  }

  .tls-handshake-list li > span { min-height: 3.25rem; font-size: 0.95rem; }
}

/* Secure transfer, mail, IP control and realtime media: publication figures (132–141) */
.sftp-operation-grid,
.imap-sync-grid,
.icmp-message-grid,
.websocket-frame-grid,
.webrtc-path-grid,
.mbps-reading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.84rem;
}

.sftp-operation-grid section,
.imap-sync-grid section,
.icmp-message-grid section,
.websocket-frame-grid section,
.webrtc-path-grid section,
.mbps-reading-grid section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #b9d0c8;
  border-top: 0.34rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.55rem 1.2rem rgb(22 68 65 / 8%);
}

.sftp-operation-grid section:nth-child(2n),
.imap-sync-grid section:nth-child(2n),
.icmp-message-grid section:nth-child(2n),
.websocket-frame-grid section:nth-child(2n),
.webrtc-path-grid section:nth-child(2n),
.mbps-reading-grid section:nth-child(2n) { border-top-color: #d39b3c; }

.sftp-operation-grid section:nth-child(3n),
.imap-sync-grid section:nth-child(3n),
.icmp-message-grid section:nth-child(3n),
.websocket-frame-grid section:nth-child(3n),
.webrtc-path-grid section:nth-child(3n),
.mbps-reading-grid section:nth-child(3n) { border-top-color: #cc7049; }

.sftp-operation-grid span,
.imap-sync-grid span,
.icmp-message-grid span,
.websocket-frame-grid span,
.webrtc-path-grid span,
.mbps-reading-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  min-height: 2rem;
  margin-bottom: 0.66rem;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  background: #e4f1ec;
  color: #165d55;
  font-size: 0.95rem;
  font-weight: 800;
}

.sftp-operation-grid strong,
.imap-sync-grid strong,
.icmp-message-grid strong,
.websocket-frame-grid strong,
.webrtc-path-grid strong,
.mbps-reading-grid strong {
  display: block;
  margin-bottom: 0.42rem;
  color: #173f3b;
  font-size: 1.03rem;
  line-height: 1.55;
}

.sftp-operation-grid p,
.imap-sync-grid p,
.icmp-message-grid p,
.websocket-frame-grid p,
.webrtc-path-grid p,
.mbps-reading-grid p {
  margin: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

.ssh-layer-list,
.smtp-relay-list,
.pop-state-list,
.arp-resolution-list {
  display: grid;
  gap: 0.84rem;
  max-width: 61.25rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.ssh-layer-list li,
.smtp-relay-list li,
.pop-state-list li,
.arp-resolution-list li {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.94rem;
  min-width: 0;
  padding: 0.98rem 1.08rem;
  border: 1px solid #bed2cc;
  border-left: 0.38rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.5rem 1.1rem rgb(22 68 65 / 7%);
}

.ssh-layer-list li:nth-child(2n),
.smtp-relay-list li:nth-child(2n),
.pop-state-list li:nth-child(2n),
.arp-resolution-list li:nth-child(2n) { border-left-color: #d39b3c; }

.ssh-layer-list li:nth-child(3n),
.smtp-relay-list li:nth-child(3n),
.pop-state-list li:nth-child(3n),
.arp-resolution-list li:nth-child(3n) { border-left-color: #cc7049; }

.ssh-layer-list li > span,
.smtp-relay-list li > span,
.pop-state-list li > span,
.arp-resolution-list li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0.42rem;
  border-radius: 12px;
  background: #206e65;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.ssh-layer-list strong,
.smtp-relay-list strong,
.pop-state-list strong,
.arp-resolution-list strong {
  display: block;
  margin-bottom: 0.34rem;
  color: #173f3b;
  font-size: 1.03rem;
  line-height: 1.5;
}

.ssh-layer-list p,
.smtp-relay-list p,
.pop-state-list p,
.arp-resolution-list p {
  margin: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

@media (max-width: 860px) {
  .sftp-operation-grid,
  .imap-sync-grid,
  .icmp-message-grid,
  .websocket-frame-grid,
  .webrtc-path-grid,
  .mbps-reading-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .sftp-operation-grid,
  .imap-sync-grid,
  .icmp-message-grid,
  .websocket-frame-grid,
  .webrtc-path-grid,
  .mbps-reading-grid { grid-template-columns: 1fr; }

  .ssh-layer-list li,
  .smtp-relay-list li,
  .pop-state-list li,
  .arp-resolution-list li {
    grid-template-columns: 6.2rem minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.84rem;
  }

  .ssh-layer-list li > span,
  .smtp-relay-list li > span,
  .pop-state-list li > span,
  .arp-resolution-list li > span { min-height: 3.25rem; font-size: 0.95rem; }
}

/* Rates, latency and congestion: publication figures (142–151) */
.gbps-scale-grid,
.ping-result-grid,
.loss-path-grid,
.throughput-accounting-grid,
.best-effort-state-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.84rem;
}

.gbps-scale-grid section,
.ping-result-grid section,
.loss-path-grid section,
.throughput-accounting-grid section,
.best-effort-state-grid section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #b9d0c8;
  border-bottom: 0.34rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.55rem 1.2rem rgb(22 68 65 / 8%);
}

.gbps-scale-grid section:nth-child(2n),
.ping-result-grid section:nth-child(2n),
.loss-path-grid section:nth-child(2n),
.throughput-accounting-grid section:nth-child(2n),
.best-effort-state-grid section:nth-child(2n) { border-bottom-color: #d39b3c; }

.gbps-scale-grid section:nth-child(3n),
.ping-result-grid section:nth-child(3n),
.loss-path-grid section:nth-child(3n),
.throughput-accounting-grid section:nth-child(3n),
.best-effort-state-grid section:nth-child(3n) { border-bottom-color: #cc7049; }

.gbps-scale-grid span,
.ping-result-grid span,
.loss-path-grid span,
.throughput-accounting-grid span,
.best-effort-state-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin-bottom: 0.66rem;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  background: #e4f1ec;
  color: #165d55;
  font-size: 0.95rem;
  font-weight: 800;
}

.gbps-scale-grid strong,
.ping-result-grid strong,
.loss-path-grid strong,
.throughput-accounting-grid strong,
.best-effort-state-grid strong {
  display: block;
  margin-bottom: 0.42rem;
  color: #173f3b;
  font-size: 1.03rem;
  line-height: 1.55;
}

.gbps-scale-grid p,
.ping-result-grid p,
.loss-path-grid p,
.throughput-accounting-grid p,
.best-effort-state-grid p {
  margin: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

.byte-rate-flow-list,
.latency-component-list,
.jitter-playout-list,
.bandwidth-pipe-list,
.congestion-cycle-list {
  display: grid;
  gap: 0.84rem;
  max-width: 61.25rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.byte-rate-flow-list li,
.latency-component-list li,
.jitter-playout-list li,
.bandwidth-pipe-list li,
.congestion-cycle-list li {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.94rem;
  min-width: 0;
  padding: 0.98rem 1.08rem;
  border: 1px solid #bed2cc;
  border-right: 0.38rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.5rem 1.1rem rgb(22 68 65 / 7%);
}

.byte-rate-flow-list li:nth-child(2n),
.latency-component-list li:nth-child(2n),
.jitter-playout-list li:nth-child(2n),
.bandwidth-pipe-list li:nth-child(2n),
.congestion-cycle-list li:nth-child(2n) { border-right-color: #d39b3c; }

.byte-rate-flow-list li:nth-child(3n),
.latency-component-list li:nth-child(3n),
.jitter-playout-list li:nth-child(3n),
.bandwidth-pipe-list li:nth-child(3n),
.congestion-cycle-list li:nth-child(3n) { border-right-color: #cc7049; }

.byte-rate-flow-list li > span,
.latency-component-list li > span,
.jitter-playout-list li > span,
.bandwidth-pipe-list li > span,
.congestion-cycle-list li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0.42rem;
  border-radius: 12px;
  background: #206e65;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.byte-rate-flow-list strong,
.latency-component-list strong,
.jitter-playout-list strong,
.bandwidth-pipe-list strong,
.congestion-cycle-list strong {
  display: block;
  margin-bottom: 0.34rem;
  color: #173f3b;
  font-size: 1.03rem;
  line-height: 1.5;
}

.byte-rate-flow-list p,
.latency-component-list p,
.jitter-playout-list p,
.bandwidth-pipe-list p,
.congestion-cycle-list p {
  margin: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

@media (max-width: 860px) {
  .gbps-scale-grid,
  .ping-result-grid,
  .loss-path-grid,
  .throughput-accounting-grid,
  .best-effort-state-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .gbps-scale-grid,
  .ping-result-grid,
  .loss-path-grid,
  .throughput-accounting-grid,
  .best-effort-state-grid { grid-template-columns: 1fr; }

  .byte-rate-flow-list li,
  .latency-component-list li,
  .jitter-playout-list li,
  .bandwidth-pipe-list li,
  .congestion-cycle-list li {
    grid-template-columns: 6.2rem minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.84rem;
  }

  .byte-rate-flow-list li > span,
  .latency-component-list li > span,
  .jitter-playout-list li > span,
  .bandwidth-pipe-list li > span,
  .congestion-cycle-list li > span { min-height: 3.25rem; font-size: 0.95rem; }
}

/* Quality control, measurement and mail addressing: publication figures (152–161) */
.bufferbloat-state-grid,
.shaping-token-grid,
.effective-speed-factor-grid,
.rtt-sample-grid,
.speed-test-metric-grid,
.email-address-part-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 61.25rem;
  margin: 0 auto;
}

.bufferbloat-state-grid section,
.shaping-token-grid section,
.effective-speed-factor-grid section,
.rtt-sample-grid section,
.speed-test-metric-grid section,
.email-address-part-grid section {
  min-width: 0;
  padding: 1.04rem;
  border: 1px solid #bed2cc;
  border-bottom: 0.38rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.5rem 1.1rem rgb(22 68 65 / 7%);
}

.bufferbloat-state-grid section:nth-child(2n),
.shaping-token-grid section:nth-child(2n),
.effective-speed-factor-grid section:nth-child(2n),
.rtt-sample-grid section:nth-child(2n),
.speed-test-metric-grid section:nth-child(2n),
.email-address-part-grid section:nth-child(2n) { border-bottom-color: #d39b3c; }

.bufferbloat-state-grid section:nth-child(3n),
.shaping-token-grid section:nth-child(3n),
.effective-speed-factor-grid section:nth-child(3n),
.rtt-sample-grid section:nth-child(3n),
.speed-test-metric-grid section:nth-child(3n),
.email-address-part-grid section:nth-child(3n) { border-bottom-color: #cc7049; }

.bufferbloat-state-grid span,
.shaping-token-grid span,
.effective-speed-factor-grid span,
.rtt-sample-grid span,
.speed-test-metric-grid span,
.email-address-part-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin-bottom: 0.66rem;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  background: #e4f1ec;
  color: #165d55;
  font-size: 0.95rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.bufferbloat-state-grid strong,
.shaping-token-grid strong,
.effective-speed-factor-grid strong,
.rtt-sample-grid strong,
.speed-test-metric-grid strong,
.email-address-part-grid strong {
  display: block;
  margin-bottom: 0.42rem;
  color: #173f3b;
  font-size: 1.03rem;
  line-height: 1.55;
}

.bufferbloat-state-grid p,
.shaping-token-grid p,
.effective-speed-factor-grid p,
.rtt-sample-grid p,
.speed-test-metric-grid p,
.email-address-part-grid p {
  margin: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

.qos-pipeline-list,
.goodput-layer-list,
.response-milestone-list,
.hop-trace-list {
  display: grid;
  gap: 0.84rem;
  max-width: 61.25rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.qos-pipeline-list li,
.goodput-layer-list li,
.response-milestone-list li,
.hop-trace-list li {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.94rem;
  min-width: 0;
  padding: 0.98rem 1.08rem;
  border: 1px solid #bed2cc;
  border-right: 0.38rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.5rem 1.1rem rgb(22 68 65 / 7%);
}

.qos-pipeline-list li:nth-child(2n),
.goodput-layer-list li:nth-child(2n),
.response-milestone-list li:nth-child(2n),
.hop-trace-list li:nth-child(2n) { border-right-color: #d39b3c; }

.qos-pipeline-list li:nth-child(3n),
.goodput-layer-list li:nth-child(3n),
.response-milestone-list li:nth-child(3n),
.hop-trace-list li:nth-child(3n) { border-right-color: #cc7049; }

.qos-pipeline-list li > span,
.goodput-layer-list li > span,
.response-milestone-list li > span,
.hop-trace-list li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0.42rem;
  border-radius: 12px;
  background: #206e65;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.qos-pipeline-list strong,
.goodput-layer-list strong,
.response-milestone-list strong,
.hop-trace-list strong {
  display: block;
  margin-bottom: 0.34rem;
  color: #173f3b;
  font-size: 1.03rem;
  line-height: 1.5;
}

.qos-pipeline-list p,
.goodput-layer-list p,
.response-milestone-list p,
.hop-trace-list p {
  margin: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

@media (max-width: 860px) {
  .bufferbloat-state-grid,
  .shaping-token-grid,
  .effective-speed-factor-grid,
  .rtt-sample-grid,
  .speed-test-metric-grid,
  .email-address-part-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .bufferbloat-state-grid,
  .shaping-token-grid,
  .effective-speed-factor-grid,
  .rtt-sample-grid,
  .speed-test-metric-grid,
  .email-address-part-grid { grid-template-columns: 1fr; }

  .qos-pipeline-list li,
  .goodput-layer-list li,
  .response-milestone-list li,
  .hop-trace-list li {
    grid-template-columns: 6.2rem minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.84rem;
  }

  .qos-pipeline-list li > span,
  .goodput-layer-list li > span,
  .response-milestone-list li > span,
  .hop-trace-list li > span { min-height: 3.25rem; font-size: 0.95rem; }
}

/* Mail addressing, transport and authentication: publication figures (162–171) */
.local-part-rule-grid,
.mail-server-role-grid,
.starttls-transition-grid,
.dmarc-alignment-grid,
.header-from-field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 61.25rem;
  margin: 0 auto;
}

.local-part-rule-grid section,
.mail-server-role-grid section,
.starttls-transition-grid section,
.dmarc-alignment-grid section,
.header-from-field-grid section {
  min-width: 0;
  padding: 1.04rem;
  border: 1px solid #bed2cc;
  border-bottom: 0.38rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.5rem 1.1rem rgb(22 68 65 / 7%);
}

.local-part-rule-grid section:nth-child(2n),
.mail-server-role-grid section:nth-child(2n),
.starttls-transition-grid section:nth-child(2n),
.dmarc-alignment-grid section:nth-child(2n),
.header-from-field-grid section:nth-child(2n) { border-bottom-color: #d39b3c; }

.local-part-rule-grid section:nth-child(3n),
.mail-server-role-grid section:nth-child(3n),
.starttls-transition-grid section:nth-child(3n),
.dmarc-alignment-grid section:nth-child(3n),
.header-from-field-grid section:nth-child(3n) { border-bottom-color: #cc7049; }

.local-part-rule-grid span,
.mail-server-role-grid span,
.starttls-transition-grid span,
.dmarc-alignment-grid span,
.header-from-field-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin-bottom: 0.66rem;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  background: #e4f1ec;
  color: #165d55;
  font-size: 0.95rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.local-part-rule-grid strong,
.mail-server-role-grid strong,
.starttls-transition-grid strong,
.dmarc-alignment-grid strong,
.header-from-field-grid strong {
  display: block;
  margin-bottom: 0.42rem;
  color: #173f3b;
  font-size: 1.03rem;
  line-height: 1.55;
}

.local-part-rule-grid p,
.mail-server-role-grid p,
.starttls-transition-grid p,
.dmarc-alignment-grid p,
.header-from-field-grid p {
  margin: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

.domain-part-resolution-list,
.smtp-auth-flow-list,
.spf-evaluation-list,
.dkim-verification-list,
.envelope-from-path-list {
  display: grid;
  gap: 0.84rem;
  max-width: 61.25rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.domain-part-resolution-list li,
.smtp-auth-flow-list li,
.spf-evaluation-list li,
.dkim-verification-list li,
.envelope-from-path-list li {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.94rem;
  min-width: 0;
  padding: 0.98rem 1.08rem;
  border: 1px solid #bed2cc;
  border-right: 0.38rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.5rem 1.1rem rgb(22 68 65 / 7%);
}

.domain-part-resolution-list li:nth-child(2n),
.smtp-auth-flow-list li:nth-child(2n),
.spf-evaluation-list li:nth-child(2n),
.dkim-verification-list li:nth-child(2n),
.envelope-from-path-list li:nth-child(2n) { border-right-color: #d39b3c; }

.domain-part-resolution-list li:nth-child(3n),
.smtp-auth-flow-list li:nth-child(3n),
.spf-evaluation-list li:nth-child(3n),
.dkim-verification-list li:nth-child(3n),
.envelope-from-path-list li:nth-child(3n) { border-right-color: #cc7049; }

.domain-part-resolution-list li > span,
.smtp-auth-flow-list li > span,
.spf-evaluation-list li > span,
.dkim-verification-list li > span,
.envelope-from-path-list li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0.42rem;
  border-radius: 12px;
  background: #206e65;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.domain-part-resolution-list strong,
.smtp-auth-flow-list strong,
.spf-evaluation-list strong,
.dkim-verification-list strong,
.envelope-from-path-list strong {
  display: block;
  margin-bottom: 0.34rem;
  color: #173f3b;
  font-size: 1.03rem;
  line-height: 1.5;
}

.domain-part-resolution-list p,
.smtp-auth-flow-list p,
.spf-evaluation-list p,
.dkim-verification-list p,
.envelope-from-path-list p {
  margin: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

@media (max-width: 860px) {
  .local-part-rule-grid,
  .mail-server-role-grid,
  .starttls-transition-grid,
  .dmarc-alignment-grid,
  .header-from-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .local-part-rule-grid,
  .mail-server-role-grid,
  .starttls-transition-grid,
  .dmarc-alignment-grid,
  .header-from-field-grid { grid-template-columns: 1fr; }

  .domain-part-resolution-list li,
  .smtp-auth-flow-list li,
  .spf-evaluation-list li,
  .dkim-verification-list li,
  .envelope-from-path-list li {
    grid-template-columns: 6.2rem minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.84rem;
  }

  .domain-part-resolution-list li > span,
  .smtp-auth-flow-list li > span,
  .spf-evaluation-list li > span,
  .dkim-verification-list li > span,
  .envelope-from-path-list li > span { min-height: 3.25rem; font-size: 0.95rem; }
}

/* Message structure, filtering and hosting: publication figures (172–181) */
.return-path-trace-grid,
.mime-part-grid,
.bounce-status-grid,
.phishing-chain-grid,
.mailing-list-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 61.25rem;
  margin: 0 auto;
}

.return-path-trace-grid section,
.mime-part-grid section,
.bounce-status-grid section,
.phishing-chain-grid section,
.mailing-list-role-grid section {
  min-width: 0;
  padding: 1.04rem;
  border: 1px solid #bed2cc;
  border-bottom: 0.38rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.5rem 1.1rem rgb(22 68 65 / 7%);
}

.return-path-trace-grid section:nth-child(2n),
.mime-part-grid section:nth-child(2n),
.bounce-status-grid section:nth-child(2n),
.phishing-chain-grid section:nth-child(2n),
.mailing-list-role-grid section:nth-child(2n) { border-bottom-color: #d39b3c; }

.return-path-trace-grid section:nth-child(3n),
.mime-part-grid section:nth-child(3n),
.bounce-status-grid section:nth-child(3n),
.phishing-chain-grid section:nth-child(3n),
.mailing-list-role-grid section:nth-child(3n) { border-bottom-color: #cc7049; }

.return-path-trace-grid span,
.mime-part-grid span,
.bounce-status-grid span,
.phishing-chain-grid span,
.mailing-list-role-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin-bottom: 0.66rem;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  background: #e4f1ec;
  color: #165d55;
  font-size: 0.95rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.return-path-trace-grid strong,
.mime-part-grid strong,
.bounce-status-grid strong,
.phishing-chain-grid strong,
.mailing-list-role-grid strong {
  display: block;
  margin-bottom: 0.42rem;
  color: #173f3b;
  font-size: 1.03rem;
  line-height: 1.55;
}

.return-path-trace-grid p,
.mime-part-grid p,
.bounce-status-grid p,
.phishing-chain-grid p,
.mailing-list-role-grid p {
  margin: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

.message-id-use-list,
.attachment-safety-list,
.spam-filter-list,
.webmail-layer-list,
.rental-server-responsibility-list {
  display: grid;
  gap: 0.84rem;
  max-width: 61.25rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.message-id-use-list li,
.attachment-safety-list li,
.spam-filter-list li,
.webmail-layer-list li,
.rental-server-responsibility-list li {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.94rem;
  min-width: 0;
  padding: 0.98rem 1.08rem;
  border: 1px solid #bed2cc;
  border-right: 0.38rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.5rem 1.1rem rgb(22 68 65 / 7%);
}

.message-id-use-list li:nth-child(2n),
.attachment-safety-list li:nth-child(2n),
.spam-filter-list li:nth-child(2n),
.webmail-layer-list li:nth-child(2n),
.rental-server-responsibility-list li:nth-child(2n) { border-right-color: #d39b3c; }

.message-id-use-list li:nth-child(3n),
.attachment-safety-list li:nth-child(3n),
.spam-filter-list li:nth-child(3n),
.webmail-layer-list li:nth-child(3n),
.rental-server-responsibility-list li:nth-child(3n) { border-right-color: #cc7049; }

.message-id-use-list li > span,
.attachment-safety-list li > span,
.spam-filter-list li > span,
.webmail-layer-list li > span,
.rental-server-responsibility-list li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0.42rem;
  border-radius: 12px;
  background: #206e65;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.message-id-use-list strong,
.attachment-safety-list strong,
.spam-filter-list strong,
.webmail-layer-list strong,
.rental-server-responsibility-list strong {
  display: block;
  margin-bottom: 0.34rem;
  color: #173f3b;
  font-size: 1.03rem;
  line-height: 1.5;
}

.message-id-use-list p,
.attachment-safety-list p,
.spam-filter-list p,
.webmail-layer-list p,
.rental-server-responsibility-list p {
  margin: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

@media (max-width: 860px) {
  .return-path-trace-grid,
  .mime-part-grid,
  .bounce-status-grid,
  .phishing-chain-grid,
  .mailing-list-role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .return-path-trace-grid,
  .mime-part-grid,
  .bounce-status-grid,
  .phishing-chain-grid,
  .mailing-list-role-grid { grid-template-columns: 1fr; }

  .message-id-use-list li,
  .attachment-safety-list li,
  .spam-filter-list li,
  .webmail-layer-list li,
  .rental-server-responsibility-list li {
    grid-template-columns: 6.2rem minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.84rem;
  }

  .message-id-use-list li > span,
  .attachment-safety-list li > span,
  .spam-filter-list li > span,
  .webmail-layer-list li > span,
  .rental-server-responsibility-list li > span { min-height: 3.25rem; font-size: 0.95rem; }
}

/* Server platforms and web application stack: publication figures (182–191) */
.shared-resource-grid,
.vps-layer-grid,
.cloud-lifecycle-grid,
.apache-scope-grid,
.php-execution-grid,
.mysql-query-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 61.25rem;
  margin: 0 auto;
}

.shared-resource-grid section,
.vps-layer-grid section,
.cloud-lifecycle-grid section,
.apache-scope-grid section,
.php-execution-grid section,
.mysql-query-path-grid section {
  min-width: 0;
  padding: 1.04rem;
  border: 1px solid #bed2cc;
  border-bottom: 0.38rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.5rem 1.1rem rgb(22 68 65 / 7%);
}

.shared-resource-grid section:nth-child(2n),
.vps-layer-grid section:nth-child(2n),
.cloud-lifecycle-grid section:nth-child(2n),
.apache-scope-grid section:nth-child(2n),
.php-execution-grid section:nth-child(2n),
.mysql-query-path-grid section:nth-child(2n) { border-bottom-color: #d39b3c; }

.shared-resource-grid section:nth-child(3n),
.vps-layer-grid section:nth-child(3n),
.cloud-lifecycle-grid section:nth-child(3n),
.apache-scope-grid section:nth-child(3n),
.php-execution-grid section:nth-child(3n),
.mysql-query-path-grid section:nth-child(3n) { border-bottom-color: #cc7049; }

.shared-resource-grid span,
.vps-layer-grid span,
.cloud-lifecycle-grid span,
.apache-scope-grid span,
.php-execution-grid span,
.mysql-query-path-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin-bottom: 0.66rem;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  background: #e4f1ec;
  color: #165d55;
  font-size: 0.95rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.shared-resource-grid strong,
.vps-layer-grid strong,
.cloud-lifecycle-grid strong,
.apache-scope-grid strong,
.php-execution-grid strong,
.mysql-query-path-grid strong {
  display: block;
  margin-bottom: 0.42rem;
  color: #173f3b;
  font-size: 1.03rem;
  line-height: 1.55;
}

.shared-resource-grid p,
.vps-layer-grid p,
.cloud-lifecycle-grid p,
.apache-scope-grid p,
.php-execution-grid p,
.mysql-query-path-grid p {
  margin: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

.dedicated-responsibility-list,
.web-request-pipeline-list,
.nginx-event-flow-list,
.database-operation-list {
  display: grid;
  gap: 0.84rem;
  max-width: 61.25rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.dedicated-responsibility-list li,
.web-request-pipeline-list li,
.nginx-event-flow-list li,
.database-operation-list li {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.94rem;
  min-width: 0;
  padding: 0.98rem 1.08rem;
  border: 1px solid #bed2cc;
  border-right: 0.38rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.5rem 1.1rem rgb(22 68 65 / 7%);
}

.dedicated-responsibility-list li:nth-child(2n),
.web-request-pipeline-list li:nth-child(2n),
.nginx-event-flow-list li:nth-child(2n),
.database-operation-list li:nth-child(2n) { border-right-color: #d39b3c; }

.dedicated-responsibility-list li:nth-child(3n),
.web-request-pipeline-list li:nth-child(3n),
.nginx-event-flow-list li:nth-child(3n),
.database-operation-list li:nth-child(3n) { border-right-color: #cc7049; }

.dedicated-responsibility-list li > span,
.web-request-pipeline-list li > span,
.nginx-event-flow-list li > span,
.database-operation-list li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0.42rem;
  border-radius: 12px;
  background: #206e65;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.dedicated-responsibility-list strong,
.web-request-pipeline-list strong,
.nginx-event-flow-list strong,
.database-operation-list strong {
  display: block;
  margin-bottom: 0.34rem;
  color: #173f3b;
  font-size: 1.03rem;
  line-height: 1.5;
}

.dedicated-responsibility-list p,
.web-request-pipeline-list p,
.nginx-event-flow-list p,
.database-operation-list p {
  margin: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

@media (max-width: 860px) {
  .shared-resource-grid,
  .vps-layer-grid,
  .cloud-lifecycle-grid,
  .apache-scope-grid,
  .php-execution-grid,
  .mysql-query-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .shared-resource-grid,
  .vps-layer-grid,
  .cloud-lifecycle-grid,
  .apache-scope-grid,
  .php-execution-grid,
  .mysql-query-path-grid { grid-template-columns: 1fr; }

  .dedicated-responsibility-list li,
  .web-request-pipeline-list li,
  .nginx-event-flow-list li,
  .database-operation-list li {
    grid-template-columns: 6.2rem minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.84rem;
  }

  .dedicated-responsibility-list li > span,
  .web-request-pipeline-list li > span,
  .nginx-event-flow-list li > span,
  .database-operation-list li > span { min-height: 3.25rem; font-size: 0.95rem; }
}

/* Static/dynamic publishing, delivery controls and operations: publication figures (192–201) */
.dynamic-generation-grid,
.reverse-proxy-hop-grid,
.cdn-delivery-grid,
.virtual-host-selection-grid,
.document-root-boundary-grid,
.malware-incident-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 61.25rem;
  margin: 0 auto;
}

.dynamic-generation-grid section,
.reverse-proxy-hop-grid section,
.cdn-delivery-grid section,
.virtual-host-selection-grid section,
.document-root-boundary-grid section,
.malware-incident-grid section {
  min-width: 0;
  padding: 1.04rem;
  border: 1px solid #bed2cc;
  border-top: 0.38rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.5rem 1.1rem rgb(22 68 65 / 7%);
}

.dynamic-generation-grid section:nth-child(2n),
.reverse-proxy-hop-grid section:nth-child(2n),
.cdn-delivery-grid section:nth-child(2n),
.virtual-host-selection-grid section:nth-child(2n),
.document-root-boundary-grid section:nth-child(2n),
.malware-incident-grid section:nth-child(2n) { border-top-color: #d39b3c; }

.dynamic-generation-grid section:nth-child(3n),
.reverse-proxy-hop-grid section:nth-child(3n),
.cdn-delivery-grid section:nth-child(3n),
.virtual-host-selection-grid section:nth-child(3n),
.document-root-boundary-grid section:nth-child(3n),
.malware-incident-grid section:nth-child(3n) { border-top-color: #cc7049; }

.dynamic-generation-grid span,
.reverse-proxy-hop-grid span,
.cdn-delivery-grid span,
.virtual-host-selection-grid span,
.document-root-boundary-grid span,
.malware-incident-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin-bottom: 0.66rem;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  background: #e4f1ec;
  color: #165d55;
  font-size: 0.95rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.dynamic-generation-grid strong,
.reverse-proxy-hop-grid strong,
.cdn-delivery-grid strong,
.virtual-host-selection-grid strong,
.document-root-boundary-grid strong,
.malware-incident-grid strong {
  display: block;
  margin-bottom: 0.42rem;
  color: #173f3b;
  font-size: 1.03rem;
  line-height: 1.55;
}

.dynamic-generation-grid p,
.reverse-proxy-hop-grid p,
.cdn-delivery-grid p,
.virtual-host-selection-grid p,
.document-root-boundary-grid p,
.malware-incident-grid p {
  margin: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

.static-build-flow-list,
.cms-workflow-list,
.web-cache-decision-list,
.cron-execution-list {
  display: grid;
  gap: 0.84rem;
  max-width: 61.25rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.static-build-flow-list li,
.cms-workflow-list li,
.web-cache-decision-list li,
.cron-execution-list li {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.94rem;
  min-width: 0;
  padding: 0.98rem 1.08rem;
  border: 1px solid #bed2cc;
  border-left: 0.38rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.5rem 1.1rem rgb(22 68 65 / 7%);
}

.static-build-flow-list li:nth-child(2n),
.cms-workflow-list li:nth-child(2n),
.web-cache-decision-list li:nth-child(2n),
.cron-execution-list li:nth-child(2n) { border-left-color: #d39b3c; }

.static-build-flow-list li:nth-child(3n),
.cms-workflow-list li:nth-child(3n),
.web-cache-decision-list li:nth-child(3n),
.cron-execution-list li:nth-child(3n) { border-left-color: #cc7049; }

.static-build-flow-list li > strong,
.cms-workflow-list li > strong,
.web-cache-decision-list li > strong,
.cron-execution-list li > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0.42rem;
  border-radius: 12px;
  background: #206e65;
  color: #fff;
  font-size: 0.97rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.static-build-flow-list li > span,
.cms-workflow-list li > span,
.web-cache-decision-list li > span,
.cron-execution-list li > span {
  min-width: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

@media (max-width: 860px) {
  .dynamic-generation-grid,
  .reverse-proxy-hop-grid,
  .cdn-delivery-grid,
  .virtual-host-selection-grid,
  .document-root-boundary-grid,
  .malware-incident-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .dynamic-generation-grid,
  .reverse-proxy-hop-grid,
  .cdn-delivery-grid,
  .virtual-host-selection-grid,
  .document-root-boundary-grid,
  .malware-incident-grid { grid-template-columns: 1fr; }

  .static-build-flow-list li,
  .cms-workflow-list li,
  .web-cache-decision-list li,
  .cron-execution-list li {
    grid-template-columns: 6.2rem minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.84rem;
  }

  .static-build-flow-list li > strong,
  .cms-workflow-list li > strong,
  .web-cache-decision-list li > strong,
  .cron-execution-list li > strong { min-height: 3.25rem; font-size: 0.95rem; }
}

/* Malware, social engineering and credential attacks: publication figures (202–211) */
.worm-propagation-grid,
.ransomware-response-grid,
.spyware-observation-grid,
.phishing-verification-grid,
.vishing-call-grid,
.brute-force-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 61.25rem;
  margin: 0 auto;
}

.worm-propagation-grid section,
.ransomware-response-grid section,
.spyware-observation-grid section,
.phishing-verification-grid section,
.vishing-call-grid section,
.brute-force-mode-grid section {
  min-width: 0;
  padding: 1.04rem;
  border: 1px solid #bed2cc;
  border-right: 0.38rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.5rem 1.1rem rgb(22 68 65 / 7%);
}

.worm-propagation-grid section:nth-child(2n),
.ransomware-response-grid section:nth-child(2n),
.spyware-observation-grid section:nth-child(2n),
.phishing-verification-grid section:nth-child(2n),
.vishing-call-grid section:nth-child(2n),
.brute-force-mode-grid section:nth-child(2n) { border-right-color: #d39b3c; }

.worm-propagation-grid section:nth-child(3n),
.ransomware-response-grid section:nth-child(3n),
.spyware-observation-grid section:nth-child(3n),
.phishing-verification-grid section:nth-child(3n),
.vishing-call-grid section:nth-child(3n),
.brute-force-mode-grid section:nth-child(3n) { border-right-color: #cc7049; }

.worm-propagation-grid span,
.ransomware-response-grid span,
.spyware-observation-grid span,
.phishing-verification-grid span,
.vishing-call-grid span,
.brute-force-mode-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin-bottom: 0.66rem;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  background: #e4f1ec;
  color: #165d55;
  font-size: 0.95rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.worm-propagation-grid strong,
.ransomware-response-grid strong,
.spyware-observation-grid strong,
.phishing-verification-grid strong,
.vishing-call-grid strong,
.brute-force-mode-grid strong {
  display: block;
  margin-bottom: 0.42rem;
  color: #173f3b;
  font-size: 1.03rem;
  line-height: 1.55;
}

.worm-propagation-grid p,
.ransomware-response-grid p,
.spyware-observation-grid p,
.phishing-verification-grid p,
.vishing-call-grid p,
.brute-force-mode-grid p {
  margin: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

.virus-infection-list,
.trojan-deception-list,
.adware-boundary-list,
.smishing-message-list {
  display: grid;
  gap: 0.84rem;
  max-width: 61.25rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.virus-infection-list li,
.trojan-deception-list li,
.adware-boundary-list li,
.smishing-message-list li {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.94rem;
  min-width: 0;
  padding: 0.98rem 1.08rem;
  border: 1px solid #bed2cc;
  border-bottom: 0.38rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.5rem 1.1rem rgb(22 68 65 / 7%);
}

.virus-infection-list li:nth-child(2n),
.trojan-deception-list li:nth-child(2n),
.adware-boundary-list li:nth-child(2n),
.smishing-message-list li:nth-child(2n) { border-bottom-color: #d39b3c; }

.virus-infection-list li:nth-child(3n),
.trojan-deception-list li:nth-child(3n),
.adware-boundary-list li:nth-child(3n),
.smishing-message-list li:nth-child(3n) { border-bottom-color: #cc7049; }

.virus-infection-list li > strong,
.trojan-deception-list li > strong,
.adware-boundary-list li > strong,
.smishing-message-list li > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0.42rem;
  border-radius: 12px;
  background: #206e65;
  color: #fff;
  font-size: 0.97rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.virus-infection-list li > span,
.trojan-deception-list li > span,
.adware-boundary-list li > span,
.smishing-message-list li > span {
  min-width: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

@media (max-width: 860px) {
  .worm-propagation-grid,
  .ransomware-response-grid,
  .spyware-observation-grid,
  .phishing-verification-grid,
  .vishing-call-grid,
  .brute-force-mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .worm-propagation-grid,
  .ransomware-response-grid,
  .spyware-observation-grid,
  .phishing-verification-grid,
  .vishing-call-grid,
  .brute-force-mode-grid { grid-template-columns: 1fr; }

  .virus-infection-list li,
  .trojan-deception-list li,
  .adware-boundary-list li,
  .smishing-message-list li {
    grid-template-columns: 6.2rem minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.84rem;
  }

  .virus-infection-list li > strong,
  .trojan-deception-list li > strong,
  .adware-boundary-list li > strong,
  .smishing-message-list li > strong { min-height: 3.25rem; font-size: 0.95rem; }
}

/* Credential, vulnerability and Web-state security: publication figures (212–221) */
.dictionary-candidate-grid,
.vulnerability-factor-grid,
.firewall-decision-grid,
.waf-inspection-grid,
.ips-action-grid,
.sandbox-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 61.25rem;
  margin: 0 auto;
}

.dictionary-candidate-grid section,
.vulnerability-factor-grid section,
.firewall-decision-grid section,
.waf-inspection-grid section,
.ips-action-grid section,
.sandbox-capability-grid section {
  min-width: 0;
  padding: 1.04rem;
  border: 1px solid #bed2cc;
  border-top: 0.38rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.5rem 1.1rem rgb(22 68 65 / 7%);
}

.dictionary-candidate-grid section:nth-child(2n),
.vulnerability-factor-grid section:nth-child(2n),
.firewall-decision-grid section:nth-child(2n),
.waf-inspection-grid section:nth-child(2n),
.ips-action-grid section:nth-child(2n),
.sandbox-capability-grid section:nth-child(2n) { border-top-color: #d39b3c; }

.dictionary-candidate-grid section:nth-child(3n),
.vulnerability-factor-grid section:nth-child(3n),
.firewall-decision-grid section:nth-child(3n),
.waf-inspection-grid section:nth-child(3n),
.ips-action-grid section:nth-child(3n),
.sandbox-capability-grid section:nth-child(3n) { border-top-color: #cc7049; }

.dictionary-candidate-grid span,
.vulnerability-factor-grid span,
.firewall-decision-grid span,
.waf-inspection-grid span,
.ips-action-grid span,
.sandbox-capability-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin-bottom: 0.66rem;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  background: #e4f1ec;
  color: #165d55;
  font-size: 0.95rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.dictionary-candidate-grid strong,
.vulnerability-factor-grid strong,
.firewall-decision-grid strong,
.waf-inspection-grid strong,
.ips-action-grid strong,
.sandbox-capability-grid strong {
  display: block;
  margin-bottom: 0.42rem;
  color: #173f3b;
  font-size: 1.03rem;
  line-height: 1.55;
}

.dictionary-candidate-grid p,
.vulnerability-factor-grid p,
.firewall-decision-grid p,
.waf-inspection-grid p,
.ips-action-grid p,
.sandbox-capability-grid p {
  margin: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

.zero-day-timeline-list,
.patch-rollout-list,
.ids-sensor-list,
.cookie-lifecycle-list {
  display: grid;
  gap: 0.84rem;
  max-width: 61.25rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.zero-day-timeline-list li,
.patch-rollout-list li,
.ids-sensor-list li,
.cookie-lifecycle-list li {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.94rem;
  min-width: 0;
  padding: 0.98rem 1.08rem;
  border: 1px solid #bed2cc;
  border-left: 0.38rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.5rem 1.1rem rgb(22 68 65 / 7%);
}

.zero-day-timeline-list li:nth-child(2n),
.patch-rollout-list li:nth-child(2n),
.ids-sensor-list li:nth-child(2n),
.cookie-lifecycle-list li:nth-child(2n) { border-left-color: #d39b3c; }

.zero-day-timeline-list li:nth-child(3n),
.patch-rollout-list li:nth-child(3n),
.ids-sensor-list li:nth-child(3n),
.cookie-lifecycle-list li:nth-child(3n) { border-left-color: #cc7049; }

.zero-day-timeline-list li > strong,
.patch-rollout-list li > strong,
.ids-sensor-list li > strong,
.cookie-lifecycle-list li > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0.42rem;
  border-radius: 12px;
  background: #206e65;
  color: #fff;
  font-size: 0.97rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.zero-day-timeline-list li > span,
.patch-rollout-list li > span,
.ids-sensor-list li > span,
.cookie-lifecycle-list li > span {
  min-width: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

@media (max-width: 860px) {
  .dictionary-candidate-grid,
  .vulnerability-factor-grid,
  .firewall-decision-grid,
  .waf-inspection-grid,
  .ips-action-grid,
  .sandbox-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .dictionary-candidate-grid,
  .vulnerability-factor-grid,
  .firewall-decision-grid,
  .waf-inspection-grid,
  .ips-action-grid,
  .sandbox-capability-grid { grid-template-columns: 1fr; }

  .zero-day-timeline-list li,
  .patch-rollout-list li,
  .ids-sensor-list li,
  .cookie-lifecycle-list li {
    grid-template-columns: 6.2rem minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.84rem;
  }

  .zero-day-timeline-list li > strong,
  .patch-rollout-list li > strong,
  .ids-sensor-list li > strong,
  .cookie-lifecycle-list li > strong { min-height: 3.25rem; font-size: 0.95rem; }
}

/* Browser state, privacy routes and encrypted DNS: publication figures (222–231) */
.storage-scope-grid,
.tracking-context-grid,
.fingerprint-surface-grid,
.vpn-visibility-grid,
.proxy-role-grid,
.doh-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 61.25rem;
  margin: 0 auto;
}

.storage-scope-grid section,
.tracking-context-grid section,
.fingerprint-surface-grid section,
.vpn-visibility-grid section,
.proxy-role-grid section,
.doh-stack-grid section {
  min-width: 0;
  padding: 1.04rem;
  border: 1px solid #bed2cc;
  border-bottom: 0.38rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.5rem 1.1rem rgb(22 68 65 / 7%);
}

.storage-scope-grid section:nth-child(2n),
.tracking-context-grid section:nth-child(2n),
.fingerprint-surface-grid section:nth-child(2n),
.vpn-visibility-grid section:nth-child(2n),
.proxy-role-grid section:nth-child(2n),
.doh-stack-grid section:nth-child(2n) { border-bottom-color: #d39b3c; }

.storage-scope-grid section:nth-child(3n),
.tracking-context-grid section:nth-child(3n),
.fingerprint-surface-grid section:nth-child(3n),
.vpn-visibility-grid section:nth-child(3n),
.proxy-role-grid section:nth-child(3n),
.doh-stack-grid section:nth-child(3n) { border-bottom-color: #cc7049; }

.storage-scope-grid span,
.tracking-context-grid span,
.fingerprint-surface-grid span,
.vpn-visibility-grid span,
.proxy-role-grid span,
.doh-stack-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin-bottom: 0.66rem;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  background: #e4f1ec;
  color: #165d55;
  font-size: 0.95rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.storage-scope-grid strong,
.tracking-context-grid strong,
.fingerprint-surface-grid strong,
.vpn-visibility-grid strong,
.proxy-role-grid strong,
.doh-stack-grid strong {
  display: block;
  margin-bottom: 0.42rem;
  color: #173f3b;
  font-size: 1.03rem;
  line-height: 1.55;
}

.storage-scope-grid p,
.tracking-context-grid p,
.fingerprint-surface-grid p,
.vpn-visibility-grid p,
.proxy-role-grid p,
.doh-stack-grid p {
  margin: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

.session-lifecycle-list,
.ip-leak-path-list,
.tor-relay-list,
.dot-connection-list {
  display: grid;
  gap: 0.84rem;
  max-width: 61.25rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.session-lifecycle-list li,
.ip-leak-path-list li,
.tor-relay-list li,
.dot-connection-list li {
  display: grid;
  grid-template-columns: 7.4rem minmax(0, 1fr);
  align-items: center;
  gap: 0.94rem;
  min-width: 0;
  padding: 0.98rem 1.08rem;
  border: 1px solid #bed2cc;
  border-right: 0.38rem solid #287b70;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 0.5rem 1.1rem rgb(22 68 65 / 7%);
}

.session-lifecycle-list li:nth-child(2n),
.ip-leak-path-list li:nth-child(2n),
.tor-relay-list li:nth-child(2n),
.dot-connection-list li:nth-child(2n) { border-right-color: #d39b3c; }

.session-lifecycle-list li:nth-child(3n),
.ip-leak-path-list li:nth-child(3n),
.tor-relay-list li:nth-child(3n),
.dot-connection-list li:nth-child(3n) { border-right-color: #cc7049; }

.session-lifecycle-list li > strong,
.ip-leak-path-list li > strong,
.tor-relay-list li > strong,
.dot-connection-list li > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0.42rem;
  border-radius: 12px;
  background: #206e65;
  color: #fff;
  font-size: 0.97rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.session-lifecycle-list li > span,
.ip-leak-path-list li > span,
.tor-relay-list li > span,
.dot-connection-list li > span {
  min-width: 0;
  color: #2d4946;
  font-size: 0.97rem;
  line-height: 1.72;
}

@media (max-width: 860px) {
  .storage-scope-grid,
  .tracking-context-grid,
  .fingerprint-surface-grid,
  .vpn-visibility-grid,
  .proxy-role-grid,
  .doh-stack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .storage-scope-grid,
  .tracking-context-grid,
  .fingerprint-surface-grid,
  .vpn-visibility-grid,
  .proxy-role-grid,
  .doh-stack-grid { grid-template-columns: 1fr; }

  .session-lifecycle-list li,
  .ip-leak-path-list li,
  .tor-relay-list li,
  .dot-connection-list li {
    grid-template-columns: 6.2rem minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.84rem;
  }

  .session-lifecycle-list li > strong,
  .ip-leak-path-list li > strong,
  .tor-relay-list li > strong,
  .dot-connection-list li > strong { min-height: 3.25rem; font-size: 0.95rem; }
}

/* Network appliances, optical media and TCP: publication figures (112–121) */
.antenna-factor-grid,
.bridge-boundary-grid,
.firewall-policy-grid,
.nas-layer-grid,
.ups-path-grid,
.poe-class-grid,
.media-converter-grid,
.transceiver-match-grid,
.router-decision-list,
.tcp-reliability-list {
  display: grid;
  gap: 0.82rem;
}

.antenna-factor-grid,
.firewall-policy-grid,
.nas-layer-grid,
.transceiver-match-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bridge-boundary-grid,
.poe-class-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ups-path-grid,
.media-converter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.antenna-factor-grid section,
.bridge-boundary-grid section,
.firewall-policy-grid section,
.nas-layer-grid section,
.ups-path-grid section,
.poe-class-grid section,
.media-converter-grid section,
.transceiver-match-grid section,
.router-decision-list li,
.tcp-reliability-list li {
  min-width: 0;
  border: 1px solid #b9d0c8;
  border-radius: 15px;
  background: #fffefa;
  color: #294f53;
  box-shadow: 0 7px 20px rgb(24 75 78 / 6%);
}

.antenna-factor-grid section,
.bridge-boundary-grid section,
.firewall-policy-grid section,
.nas-layer-grid section,
.ups-path-grid section,
.poe-class-grid section,
.media-converter-grid section,
.transceiver-match-grid section {
  padding: 1rem;
  border-top: 5px solid #4f9189;
}

.antenna-factor-grid section:nth-child(3n + 2),
.firewall-policy-grid section:nth-child(3n + 2),
.nas-layer-grid section:nth-child(3n + 2),
.transceiver-match-grid section:nth-child(3n + 2),
.bridge-boundary-grid section:nth-child(2n),
.poe-class-grid section:nth-child(2n),
.ups-path-grid section:nth-child(2n),
.media-converter-grid section:nth-child(2n) { border-top-color: #d39b3c; }

.antenna-factor-grid section:nth-child(3n),
.firewall-policy-grid section:nth-child(3n),
.nas-layer-grid section:nth-child(3n),
.transceiver-match-grid section:nth-child(3n),
.bridge-boundary-grid section:nth-child(3),
.poe-class-grid section:nth-child(3),
.ups-path-grid section:nth-child(3),
.media-converter-grid section:nth-child(3) { border-top-color: #cc7049; }

.antenna-factor-grid span,
.bridge-boundary-grid span,
.firewall-policy-grid span,
.nas-layer-grid span,
.ups-path-grid span,
.poe-class-grid span,
.media-converter-grid span,
.transceiver-match-grid span {
  display: inline-flex;
  max-width: 100%;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background: #dcebe4;
  color: #125d60;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.antenna-factor-grid strong,
.bridge-boundary-grid strong,
.firewall-policy-grid strong,
.nas-layer-grid strong,
.ups-path-grid strong,
.poe-class-grid strong,
.media-converter-grid strong,
.transceiver-match-grid strong,
.router-decision-list strong,
.tcp-reliability-list strong {
  display: block;
  margin-top: 0.55rem;
  color: #173f43;
  font-size: 1.02rem;
  line-height: 1.52;
}

.antenna-factor-grid p,
.bridge-boundary-grid p,
.firewall-policy-grid p,
.nas-layer-grid p,
.ups-path-grid p,
.poe-class-grid p,
.media-converter-grid p,
.transceiver-match-grid p,
.router-decision-list p,
.tcp-reliability-list p {
  margin: 0.38rem 0 0;
  color: #3f5e62;
  font-size: 0.96rem;
  line-height: 1.72;
}

.router-decision-list,
.tcp-reliability-list {
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.router-decision-list li,
.tcp-reliability-list li {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1.05rem;
  border-left: 5px solid #4f9189;
}

.router-decision-list li:nth-child(2n),
.tcp-reliability-list li:nth-child(2n) { border-left-color: #d39b3c; }

.router-decision-list li:nth-child(3n),
.tcp-reliability-list li:nth-child(3n) { border-left-color: #cc7049; }

.router-decision-list li > span,
.tcp-reliability-list li > span {
  display: grid;
  place-items: center;
  min-height: 3.55rem;
  padding: 0.45rem;
  border-radius: 12px;
  background: #176f70;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
}

.router-decision-list strong,
.tcp-reliability-list strong { margin-top: 0; }

@media (max-width: 940px) {
  .bridge-boundary-grid,
  .poe-class-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ups-path-grid,
  .media-converter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .antenna-factor-grid,
  .firewall-policy-grid,
  .nas-layer-grid,
  .transceiver-match-grid,
  .bridge-boundary-grid,
  .poe-class-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .antenna-factor-grid,
  .bridge-boundary-grid,
  .firewall-policy-grid,
  .nas-layer-grid,
  .ups-path-grid,
  .poe-class-grid,
  .media-converter-grid,
  .transceiver-match-grid { grid-template-columns: 1fr; }

  .router-decision-list li,
  .tcp-reliability-list li {
    grid-template-columns: 6rem minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.82rem;
  }

  .router-decision-list li > span,
  .tcp-reliability-list li > span { min-height: 3.2rem; font-size: 0.88rem; }
}

/* Access equipment and Ethernet: publication figures (102–111) */
.modem-process-grid,
.gateway-function-grid,
.l3-forward-grid,
.ethernet-frame-grid,
.cable-construction-grid,
.connector-part-grid,
.wifi-adapter-grid,
.switching-forward-list,
.l2-decision-list,
.nic-path-list {
  display: grid;
  gap: 0.82rem;
}

.modem-process-grid,
.switching-forward-list,
.l2-decision-list,
.nic-path-list {
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.modem-process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gateway-function-grid,
.l3-forward-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ethernet-frame-grid,
.cable-construction-grid,
.connector-part-grid,
.wifi-adapter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.modem-process-grid li,
.gateway-function-grid section,
.l3-forward-grid section,
.ethernet-frame-grid section,
.cable-construction-grid section,
.connector-part-grid section,
.wifi-adapter-grid section,
.switching-forward-list li,
.l2-decision-list li,
.nic-path-list li {
  min-width: 0;
  border: 1px solid #b9d0c8;
  border-radius: 15px;
  background: #fffefa;
  color: #294f53;
  box-shadow: 0 7px 20px rgb(24 75 78 / 6%);
}

.modem-process-grid li,
.gateway-function-grid section,
.l3-forward-grid section,
.ethernet-frame-grid section,
.cable-construction-grid section,
.connector-part-grid section,
.wifi-adapter-grid section {
  padding: 1rem;
  border-top: 5px solid #4f9189;
}

.modem-process-grid li:nth-child(2n),
.gateway-function-grid section:nth-child(2n),
.l3-forward-grid section:nth-child(2n),
.ethernet-frame-grid section:nth-child(3n + 2),
.cable-construction-grid section:nth-child(3n + 2),
.connector-part-grid section:nth-child(3n + 2),
.wifi-adapter-grid section:nth-child(3n + 2) { border-top-color: #d39b3c; }

.modem-process-grid li:nth-child(3),
.gateway-function-grid section:nth-child(3),
.l3-forward-grid section:nth-child(3),
.ethernet-frame-grid section:nth-child(3n),
.cable-construction-grid section:nth-child(3n),
.connector-part-grid section:nth-child(3n),
.wifi-adapter-grid section:nth-child(3n) { border-top-color: #cc7049; }

.gateway-function-grid section:nth-child(4),
.l3-forward-grid section:nth-child(4) { border-top-color: #788c57; }

.modem-process-grid span,
.gateway-function-grid span,
.l3-forward-grid span,
.ethernet-frame-grid span,
.cable-construction-grid span,
.connector-part-grid span,
.wifi-adapter-grid span {
  display: inline-flex;
  max-width: 100%;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background: #dcebe4;
  color: #125d60;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.modem-process-grid strong,
.gateway-function-grid strong,
.l3-forward-grid strong,
.ethernet-frame-grid strong,
.cable-construction-grid strong,
.connector-part-grid strong,
.wifi-adapter-grid strong,
.switching-forward-list strong,
.l2-decision-list strong,
.nic-path-list strong {
  display: block;
  margin-top: 0.55rem;
  color: #173f43;
  font-size: 1.02rem;
  line-height: 1.52;
}

.modem-process-grid p,
.gateway-function-grid p,
.l3-forward-grid p,
.ethernet-frame-grid p,
.cable-construction-grid p,
.connector-part-grid p,
.wifi-adapter-grid p,
.switching-forward-list p,
.l2-decision-list p,
.nic-path-list p {
  margin: 0.38rem 0 0;
  color: #3f5e62;
  font-size: 0.96rem;
  line-height: 1.72;
}

.switching-forward-list li,
.l2-decision-list li,
.nic-path-list li {
  display: grid;
  grid-template-columns: 6.1rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1.05rem;
  border-left: 5px solid #4f9189;
}

.switching-forward-list li:nth-child(2n),
.l2-decision-list li:nth-child(2n),
.nic-path-list li:nth-child(2n) { border-left-color: #d39b3c; }

.switching-forward-list li:nth-child(3n),
.l2-decision-list li:nth-child(3n),
.nic-path-list li:nth-child(3n) { border-left-color: #cc7049; }

.switching-forward-list li > span,
.l2-decision-list li > span,
.nic-path-list li > span {
  display: grid;
  place-items: center;
  min-height: 3.55rem;
  padding: 0.45rem;
  border-radius: 12px;
  background: #176f70;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
}

.switching-forward-list strong,
.l2-decision-list strong,
.nic-path-list strong { margin-top: 0; }

@media (max-width: 900px) {
  .modem-process-grid,
  .gateway-function-grid,
  .l3-forward-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 740px) {
  .ethernet-frame-grid,
  .cable-construction-grid,
  .connector-part-grid,
  .wifi-adapter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .modem-process-grid,
  .gateway-function-grid,
  .l3-forward-grid,
  .ethernet-frame-grid,
  .cable-construction-grid,
  .connector-part-grid,
  .wifi-adapter-grid { grid-template-columns: 1fr; }

  .switching-forward-list li,
  .l2-decision-list li,
  .nic-path-list li {
    grid-template-columns: 5.2rem minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.82rem;
  }

  .switching-forward-list li > span,
  .l2-decision-list li > span,
  .nic-path-list li > span { min-height: 3.2rem; font-size: 0.9rem; }
}

/* Wireless LAN foundations and radio bands: publication figures (082–091) */
.wlan-role-grid,
.ssid-discovery-grid,
.bssid-choice-grid,
.ap-frame-list,
.mesh-path-grid,
.extender-airtime-grid,
.band24-channel-grid,
.band5-rule-grid,
.band6-compat-grid,
.channel-sharing-grid {
  display: grid;
  gap: 0.8rem;
}

.wlan-role-grid,
.ssid-discovery-grid,
.extender-airtime-grid,
.band5-rule-grid,
.band6-compat-grid,
.channel-sharing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.wlan-role-grid section,
.ssid-discovery-grid section,
.bssid-choice-grid section,
.mesh-path-grid section,
.extender-airtime-grid section,
.band5-rule-grid section,
.band6-compat-grid section,
.channel-sharing-grid section,
.ap-frame-list li {
  min-width: 0;
  border: 1px solid #bfd3cb;
  border-radius: 14px;
  background: #fffefa;
  color: #284f53;
}

.wlan-role-grid section,
.ssid-discovery-grid section,
.bssid-choice-grid section,
.mesh-path-grid section,
.extender-airtime-grid section,
.band5-rule-grid section,
.band6-compat-grid section,
.channel-sharing-grid section { padding: 1rem; }

.wlan-role-grid section,
.ssid-discovery-grid section,
.extender-airtime-grid section,
.band5-rule-grid section,
.band6-compat-grid section,
.channel-sharing-grid section { border-top: 5px solid #4e9189; }
.wlan-role-grid section:nth-child(2),
.ssid-discovery-grid section:nth-child(2),
.extender-airtime-grid section:nth-child(2),
.band5-rule-grid section:nth-child(2),
.band6-compat-grid section:nth-child(2),
.channel-sharing-grid section:nth-child(2) { border-top-color: #d39b3c; }
.wlan-role-grid section:nth-child(3),
.ssid-discovery-grid section:nth-child(3),
.extender-airtime-grid section:nth-child(3),
.band5-rule-grid section:nth-child(3),
.band6-compat-grid section:nth-child(3),
.channel-sharing-grid section:nth-child(3) { border-top-color: #cd724b; }

.wlan-role-grid span,
.ssid-discovery-grid span,
.bssid-choice-grid span,
.mesh-path-grid span,
.extender-airtime-grid span,
.band5-rule-grid span,
.band6-compat-grid span,
.channel-sharing-grid span {
  display: inline-flex;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  background: #dcebe4;
  color: #135c5f;
  font-size: 0.94rem;
  font-weight: 900;
}

.wlan-role-grid strong,
.ssid-discovery-grid strong,
.bssid-choice-grid strong,
.mesh-path-grid strong,
.extender-airtime-grid strong,
.band5-rule-grid strong,
.band6-compat-grid strong,
.channel-sharing-grid strong {
  display: block;
  margin-top: 0.55rem;
  color: #17484c;
  font-size: 1rem;
  line-height: 1.5;
}

.wlan-role-grid p,
.ssid-discovery-grid p,
.bssid-choice-grid p,
.mesh-path-grid p,
.extender-airtime-grid p,
.band5-rule-grid p,
.band6-compat-grid p,
.channel-sharing-grid p,
.ap-frame-list p {
  margin: 0.35rem 0 0;
  color: #456367;
  font-size: 0.94rem;
  line-height: 1.68;
}

.bssid-choice-grid,
.mesh-path-grid {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
}
.bssid-choice-grid > i,
.mesh-path-grid > i {
  display: grid;
  place-items: center;
  color: #cc7048;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 900;
}

.ap-frame-list {
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.ap-frame-list li {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 1rem;
}
.ap-frame-list li > span {
  display: grid;
  place-items: center;
  min-height: 3.2rem;
  border-radius: 11px;
  background: #176f70;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 900;
}
.ap-frame-list strong { color: #17484c; font-size: 1rem; line-height: 1.5; }

.band24-channel-grid {
  grid-template-columns: 1fr;
  max-width: 920px;
  margin: 0 auto;
}
.band24-spectrum {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  min-height: 4.8rem;
  overflow: hidden;
  border: 1px solid #bfd3cb;
  border-radius: 13px;
  background: repeating-linear-gradient(90deg, #fffefa 0, #fffefa calc(14.285% - 1px), #c9d8d1 calc(14.285% - 1px), #c9d8d1 14.285%);
}
.band24-spectrum i {
  grid-column: calc(var(--slot) + 1) / span 1;
  grid-row: 1;
  margin: 0.55rem -45%;
  border-radius: 999px 999px 12px 12px;
  background: rgb(78 145 137 / 28%);
  border: 2px solid #4e9189;
}
.band24-spectrum:nth-child(2) i { background: rgb(205 114 75 / 24%); border-color: #cd724b; }
.band24-spectrum:nth-child(3) i { background: rgb(211 155 60 / 25%); border-color: #b47b21; }
.band24-spectrum span {
  position: absolute;
  inset: auto 0.75rem 0.55rem auto;
  z-index: 2;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  background: #fffefa;
  color: #315a5d;
  font-size: 0.94rem;
  font-weight: 900;
}

@media (max-width: 760px) {
  .wlan-role-grid,
  .ssid-discovery-grid,
  .extender-airtime-grid,
  .band5-rule-grid,
  .band6-compat-grid,
  .channel-sharing-grid { grid-template-columns: 1fr; }

  .bssid-choice-grid,
  .mesh-path-grid { grid-template-columns: 1fr; }
  .bssid-choice-grid > i,
  .mesh-path-grid > i { min-height: 2.3rem; transform: rotate(90deg); }
}

@media (max-width: 430px) {
  .ap-frame-list li { grid-template-columns: 4.4rem minmax(0, 1fr); gap: 0.7rem; padding: 0.8rem; }
  .band24-spectrum { min-height: 5.4rem; }
}

/* Wi-Fi operation, security and optical access: publication figures (092–101) */
.channel-width-grid,
.steering-method-grid,
.wpa2-mode-grid,
.wps-method-grid,
.captive-role-grid,
.pon-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.guest-layer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.channel-width-grid section,
.steering-method-grid section,
.wpa2-mode-grid section,
.wps-method-grid section,
.captive-role-grid section,
.guest-layer-grid section,
.pon-role-grid section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #bfd3cb;
  border-top: 5px solid #4e9189;
  border-radius: 14px;
  background: #fffefa;
  color: #284f53;
}

.channel-width-grid section:nth-child(2),
.steering-method-grid section:nth-child(2),
.wpa2-mode-grid section:nth-child(2),
.wps-method-grid section:nth-child(2),
.captive-role-grid section:nth-child(2),
.guest-layer-grid section:nth-child(2),
.pon-role-grid section:nth-child(2) { border-top-color: #d39b3c; }
.channel-width-grid section:nth-child(3),
.steering-method-grid section:nth-child(3),
.wpa2-mode-grid section:nth-child(3),
.wps-method-grid section:nth-child(3),
.captive-role-grid section:nth-child(3),
.guest-layer-grid section:nth-child(3),
.pon-role-grid section:nth-child(3) { border-top-color: #cd724b; }
.guest-layer-grid section:nth-child(4) { border-top-color: #788c57; }

.channel-width-grid span,
.steering-method-grid span,
.wpa2-mode-grid span,
.wps-method-grid span,
.captive-role-grid span,
.guest-layer-grid span,
.pon-role-grid span {
  display: inline-flex;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  background: #dcebe4;
  color: #135c5f;
  font-size: 0.94rem;
  font-weight: 900;
}

.channel-width-grid strong,
.steering-method-grid strong,
.wpa2-mode-grid strong,
.wps-method-grid strong,
.captive-role-grid strong,
.guest-layer-grid strong,
.pon-role-grid strong {
  display: block;
  margin-top: 0.55rem;
  color: #17484c;
  font-size: 1rem;
  line-height: 1.5;
}

.channel-width-grid p,
.steering-method-grid p,
.wpa2-mode-grid p,
.wps-method-grid p,
.captive-role-grid p,
.guest-layer-grid p,
.pon-role-grid p,
.dfs-state-list p,
.roaming-stage-list p,
.sae-stage-list p {
  margin: 0.35rem 0 0;
  color: #456367;
  font-size: 0.94rem;
  line-height: 1.68;
}

.dfs-state-list,
.roaming-stage-list,
.sae-stage-list {
  display: grid;
  gap: 0.8rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.dfs-state-list li,
.roaming-stage-list li,
.sae-stage-list li {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 1px solid #bfd3cb;
  border-radius: 14px;
  background: #fffefa;
  color: #284f53;
}

.dfs-state-list li > span,
.roaming-stage-list li > span,
.sae-stage-list li > span {
  display: grid;
  place-items: center;
  min-height: 3.2rem;
  padding: 0.35rem;
  border-radius: 11px;
  background: #176f70;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 900;
}

.dfs-state-list strong,
.roaming-stage-list strong,
.sae-stage-list strong { color: #17484c; font-size: 1rem; line-height: 1.5; }

@media (max-width: 820px) {
  .guest-layer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  .channel-width-grid,
  .steering-method-grid,
  .wpa2-mode-grid,
  .wps-method-grid,
  .captive-role-grid,
  .guest-layer-grid,
  .pon-role-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .dfs-state-list li,
  .roaming-stage-list li,
  .sae-stage-list li { grid-template-columns: 4.4rem minmax(0, 1fr); gap: 0.7rem; padding: 0.8rem; }
}

@media (max-width: 430px) {
  .publication-lead {
    padding: 1.15rem 1rem;
  }

  .publication-diagram :is(small, b, label, dt, dd, code),
  .publication-diagram span:not(.picto):not([aria-hidden="true"]),
  .internet-network-figure :is(small, b, label, dt, dd, code),
  .internet-network-figure span:not(.picto):not([aria-hidden="true"]),
  .internet-journey-figure :is(small, b, label, dt, dd, code),
  .internet-journey-figure span:not(.picto):not([aria-hidden="true"]) {
    font-size: 0.9375rem !important;
  }

  .publication-diagram strong,
  .internet-network-figure strong,
  .internet-journey-figure strong {
    font-size: 1rem !important;
  }

  .url-anatomy-labels {
    grid-template-columns: 1fr;
  }
}

/* IPv6 configuration and access methods: publication figures (062–071) */
.iid-address-pairs,
.slaac-state-list,
.dhcpv6-mode-grid,
.ra-option-grid,
.ndp-message-grid,
.icmpv6-message-grid,
.dual-stack-grid,
.ipoe-compare-grid,
.pppoe-discovery-list,
.ipv4aas-grid {
  display: grid;
  gap: 0.8rem;
}

.iid-address-pairs section,
.slaac-state-list li,
.dhcpv6-mode-grid section,
.ra-option-grid section,
.ndp-message-grid section,
.icmpv6-message-grid section,
.dual-stack-grid section,
.ipoe-compare-grid section,
.pppoe-discovery-list li,
.ipv4aas-grid section {
  min-width: 0;
  border: 1px solid #bfd3cb;
  border-radius: 14px;
  background: #fffefa;
  color: #284f53;
}

.iid-address-pairs { max-width: 940px; margin: 0 auto; }
.iid-address-pairs section { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.iid-address-pairs section > div { display: grid; gap: 0.45rem; align-content: center; padding: 1rem; }
.iid-address-pairs section > div:first-child { background: #dceae0; }
.iid-address-pairs section > div:last-child { border-left: 2px dashed #cf7145; background: #f7f1df; }
.iid-address-pairs b { color: #17484c; font-size: 1rem; }
.iid-address-pairs code { color: #0d5d60; font-size: 0.94rem; font-weight: 800; overflow-wrap: anywhere; }

.slaac-state-list { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.slaac-state-list li { display: grid; grid-template-columns: 4.3rem minmax(0, 1fr); gap: 0.75rem; align-items: center; padding: 0.9rem; }
.slaac-state-list li > span { display: grid; place-items: center; min-height: 3.1rem; padding: 0.4rem; border-radius: 11px; background: #176f70; color: #fff; font-size: 0.94rem; font-weight: 900; }
.slaac-state-list p { margin: 0; color: #466367; font-size: 0.94rem; line-height: 1.65; }
.slaac-state-list strong { display: block; margin-bottom: 0.2rem; color: #17484c; font-size: 1rem; }

.dhcpv6-mode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dhcpv6-mode-grid section,
.ra-option-grid section,
.ndp-message-grid section,
.icmpv6-message-grid section,
.dual-stack-grid section,
.ipv4aas-grid section { padding: 0.95rem; }
.dhcpv6-mode-grid span,
.ra-option-grid span,
.dual-stack-grid span,
.ipv4aas-grid span { display: inline-flex; padding: 0.32rem 0.58rem; border-radius: 999px; background: #dcebe4; color: #135c5f; font-size: 0.94rem; font-weight: 900; }
.dhcpv6-mode-grid strong,
.ra-option-grid strong,
.ndp-message-grid strong,
.icmpv6-message-grid strong,
.dual-stack-grid strong,
.ipv4aas-grid strong { display: block; margin-top: 0.55rem; color: #17484c; font-size: 1rem; }
.dhcpv6-mode-grid p,
.ra-option-grid p,
.ndp-message-grid p,
.icmpv6-message-grid p,
.dual-stack-grid p,
.ipoe-compare-grid p,
.pppoe-discovery-list p,
.ipv4aas-grid p { margin: 0.3rem 0 0; color: #456367; font-size: 0.94rem; line-height: 1.65; }

.ra-option-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ra-option-grid section { grid-column: span 2; }
.ra-option-grid section:nth-child(4) { grid-column: 2 / span 2; }
.ra-option-grid section:nth-child(5) { grid-column: 4 / span 2; }

.ndp-message-grid,
.icmpv6-message-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ndp-message-grid section,
.icmpv6-message-grid section { grid-column: span 2; border-top: 4px solid #4f9189; }
.ndp-message-grid section:nth-child(4),
.icmpv6-message-grid section:nth-child(4) { grid-column: 2 / span 2; }
.ndp-message-grid section:nth-child(5),
.icmpv6-message-grid section:nth-child(5) { grid-column: 4 / span 2; }
.ndp-message-grid code,
.icmpv6-message-grid code { display: inline-flex; min-width: 3.5rem; justify-content: center; padding: 0.32rem 0.55rem; border-radius: 8px; background: #176f70; color: #fff; font-size: 0.94rem; font-weight: 900; }

.dual-stack-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dual-stack-grid section { border-top: 4px solid #d49b38; }
.dual-stack-grid span { min-width: 2.15rem; justify-content: center; background: #f7e3aa; color: #76510f; }

.ipoe-compare-grid { grid-template-columns: 1fr 1fr; }
.ipoe-compare-grid section { padding: 1rem; border-top: 5px solid #4d918b; }
.ipoe-compare-grid section:last-child { border-top-color: #d59a37; }
.ipoe-compare-grid section > span { display: inline-flex; padding: 0.35rem 0.7rem; border-radius: 9px; background: #176f70; color: #fff; font-size: 1rem; font-weight: 900; }
.ipoe-compare-grid section:last-child > span { background: #a7652f; }
.ipoe-compare-grid strong { display: block; margin-top: 0.6rem; color: #17484c; font-size: 1.04rem; }
.ipoe-compare-grid i { display: block; margin-top: 0.7rem; padding: 0.65rem; border-radius: 9px; background: #edf3ef; color: #31585b; font-size: 0.94rem; font-style: normal; overflow-wrap: anywhere; }

.pppoe-discovery-list { max-width: 940px; margin: 0 auto; padding: 0; list-style: none; }
.pppoe-discovery-list li { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); gap: 0.85rem; align-items: center; padding: 0.85rem 1rem; }
.pppoe-discovery-list code { display: grid; place-items: center; min-height: 3rem; border-radius: 10px; background: #176f70; color: #fff; font-size: 1rem; font-weight: 900; }
.pppoe-discovery-list strong { color: #17484c; font-size: 1rem; }

.ipv4aas-grid { grid-template-columns: 1fr 1fr; }
.ipv4aas-grid section { border-left: 5px solid #4e918b; }
.ipv4aas-grid section:nth-child(2) { border-left-color: #d39b3b; }
.ipv4aas-grid section:nth-child(3) { border-left-color: #cb714a; }
.ipv4aas-grid section:nth-child(4) { border-left-color: #788c57; }
.ipv4aas-grid strong { display: inline-block; margin: 0 0.5rem 0 0; font-size: 1.06rem; }
.ipv4aas-grid span { vertical-align: middle; }

@media (max-width: 900px) {
  .slaac-state-list,
  .dual-stack-grid { grid-template-columns: 1fr 1fr; }
  .dhcpv6-mode-grid { grid-template-columns: 1fr; }
  .ra-option-grid,
  .ndp-message-grid,
  .icmpv6-message-grid { grid-template-columns: 1fr 1fr; }
  .ra-option-grid section,
  .ra-option-grid section:nth-child(4),
  .ra-option-grid section:nth-child(5),
  .ndp-message-grid section,
  .ndp-message-grid section:nth-child(4),
  .ndp-message-grid section:nth-child(5),
  .icmpv6-message-grid section,
  .icmpv6-message-grid section:nth-child(4),
  .icmpv6-message-grid section:nth-child(5) { grid-column: auto; }
}

@media (max-width: 620px) {
  .iid-address-pairs section,
  .slaac-state-list,
  .ra-option-grid,
  .ndp-message-grid,
  .icmpv6-message-grid,
  .dual-stack-grid,
  .ipoe-compare-grid,
  .ipv4aas-grid { grid-template-columns: 1fr; }
  .iid-address-pairs section > div:last-child { border-top: 2px dashed #cf7145; border-left: 0; }
  .slaac-state-list li { grid-template-columns: 3.9rem minmax(0, 1fr); }
  .pppoe-discovery-list li { grid-template-columns: 4.6rem minmax(0, 1fr); padding: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .diagram-step,
  .diagram-step.is-current {
    transition: none;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .library-home-hero .home-hero-grid { grid-template-columns: 1fr; }
  .cyber-library-visual { width: min(100%, 720px); }
}

@media (max-width: 700px) {
  .site-header .header-inner { min-height: 66px; }
  .site-header .site-nav { top: 74px; right: 12px; width: calc(100vw - 24px); }
  .portal-mark { flex-basis: 38px; width: 38px; height: 38px; }
  .portal-mark > i { font-size: 1.15rem; }
  .cyber-gateway-stage { min-height: 480px; }
  .gateway-ring--outer { width: 290px; height: 290px; }
  .gateway-ring--middle { width: 230px; height: 230px; }
  .gateway-ring--inner { width: 172px; height: 172px; }
  .gateway-core { width: 132px; min-height: 132px; }
  .gateway-core > span { font-size: 2.3rem; }
  .gateway-topic { width: 126px; padding: 0.48rem; }
  .gateway-topic .picto { display: none; }
  .gateway-topic--web { top: 14%; left: 3%; }
  .gateway-topic--server { top: 17%; right: 3%; }
  .gateway-topic--packet { right: 4%; bottom: 10%; }
  .browser-omnibox-stage { grid-template-columns: 1fr; padding: 0.85rem; }
}

@media (max-width: 500px) {
  .brand-copy small { display: none; }
  .site-header .menu-toggle { width: 46px; height: 42px; }
  .cyber-gateway-stage { min-height: 430px; border-radius: 20px; }
  .gateway-hud { font-size: 0.52rem; }
  .gateway-ring--outer { width: 248px; height: 248px; }
  .gateway-ring--middle { width: 198px; height: 198px; }
  .gateway-ring--inner { width: 150px; height: 150px; }
  .gateway-core { width: 116px; min-height: 116px; }
  .gateway-core small { display: none; }
  .gateway-topic { width: 111px; }
  .gateway-topic b { display: none; }
  .gateway-topic--packet { bottom: 8%; }
  .omnibox-branches > section { grid-template-columns: 1fr; }
  .omnibox-branches i { justify-self: center; transform: rotate(90deg); }
}

@media (prefers-reduced-motion: reduce) {
  .library-home-hero::after,
  .gateway-ring,
  .gateway-core,
  .gateway-topic,
  .gateway-data-lane i,
  .gateway-scan,
  .gateway-hud b i { animation: none !important; }
}

/* IP address volume: terms 022-026 */
.editorial-image-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #06182a;
}

.editorial-image-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ipv4-octet-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.45rem;
  align-items: center;
  margin: 1.35rem 0 1.65rem;
  padding: 1rem;
  border: 1px solid #a9d6dc;
  border-radius: 16px;
  background: linear-gradient(135deg, #effafb, #f9fcfd);
}

.ipv4-octet-strip > div {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
  padding: 0.75rem 0.45rem;
  border: 2px solid #1493a1;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.ipv4-octet-strip small,
.ipv4-octet-strip span {
  color: #4c6873;
  font-size: 0.88rem;
  line-height: 1.35;
}

.ipv4-octet-strip strong {
  color: #075f6c;
  font: 900 clamp(1.3rem, 3vw, 2rem)/1 var(--font-mono);
}

.ipv4-octet-strip > i {
  color: #0a7280;
  font: 900 1.5rem/1 var(--font-mono);
}

.ipv6-notation-stage {
  display: grid;
  gap: 0.8rem;
  padding: 1.2rem;
  background: linear-gradient(145deg, #071e33, #0b3548);
}

.ipv6-notation-stage p {
  display: grid;
  grid-template-columns: minmax(10rem, 0.42fr) minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  margin: 0;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(137, 229, 238, 0.32);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.ipv6-notation-stage small {
  color: #aee7ec;
  font-size: 0.9rem;
  font-weight: 800;
}

.ipv6-notation-stage code {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: clamp(0.88rem, 1.8vw, 1.05rem);
  line-height: 1.55;
  text-align: right;
}

.ipv6-notation-stage > i {
  color: #7edee7;
  font-size: 1.4rem;
  font-style: normal;
  line-height: 1;
  text-align: center;
}

.global-ip-observation-flow,
.lease-sequence {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 1.65rem;
  padding: 0;
  list-style: none;
}

.global-ip-observation-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lease-sequence {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.global-ip-observation-flow li,
.lease-sequence li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-content: start;
  padding: 1rem;
  border: 1px solid #c4dfe3;
  border-radius: 14px;
  background: #f6fbfc;
}

.global-ip-observation-flow li > span,
.lease-sequence li > span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #087d8b;
  color: #fff;
  font-weight: 900;
}

.global-ip-observation-flow strong,
.lease-sequence strong {
  color: #123f4c;
  font-size: 1rem;
}

.global-ip-observation-flow p,
.lease-sequence p {
  margin: 0.35rem 0 0;
  color: #355863;
  font-size: 0.94rem;
  line-height: 1.75;
}

.private-range-grid,
.assignment-layer-grid {
  display: grid;
  gap: 0.9rem;
  margin: 1.25rem 0 1.65rem;
}

.private-range-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.assignment-layer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.private-range-grid section,
.assignment-layer-grid section {
  min-width: 0;
  padding: 1.05rem;
  border: 1px solid #bddde1;
  border-top: 5px solid #1091a0;
  border-radius: 14px;
  background: #f7fcfc;
}

.private-range-grid section:nth-child(2) {
  border-top-color: #5a91c8;
}

.private-range-grid section:nth-child(3),
.assignment-layer-grid section:nth-child(2) {
  border-top-color: #e28b55;
}

.private-range-grid small,
.assignment-layer-grid small {
  color: #52717b;
  font-size: 0.88rem;
  font-weight: 800;
}

.private-range-grid strong {
  display: block;
  margin: 0.45rem 0;
  color: #075e6b;
  font-size: 1.1rem;
}

.private-range-grid p,
.assignment-layer-grid p {
  margin: 0.4rem 0 0;
  color: #355863;
  font-size: 0.94rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.assignment-layer-grid h3 {
  margin: 0.38rem 0 0;
  color: #143f4d;
  font-size: 1.12rem;
}

@media (max-width: 820px) {
  .global-ip-observation-flow,
  .private-range-grid {
    grid-template-columns: 1fr;
  }

  .lease-sequence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ipv4-octet-strip {
    gap: 0.25rem;
    padding: 0.7rem;
  }

  .ipv4-octet-strip > div {
    padding: 0.65rem 0.2rem;
  }

  .ipv4-octet-strip small {
    font-size: 0.875rem;
  }

  .ipv6-notation-stage p,
  .assignment-layer-grid,
  .lease-sequence {
    grid-template-columns: 1fr;
  }

  .ipv6-notation-stage code {
    text-align: left;
  }
}

/* Address boundaries volume: terms 027-031 */
.fixed-assignment-grid,
.linklocal-version-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 1.2rem;
  background: linear-gradient(145deg, #071d31, #0a3447);
}

.fixed-assignment-grid section,
.linklocal-version-grid section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(139, 226, 235, 0.32);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.fixed-assignment-grid section {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-items: start;
}

.fixed-assignment-grid h3,
.linklocal-version-grid strong {
  margin: 0.65rem 0 0;
  color: #fff;
  font-size: 1.05rem;
}

.fixed-assignment-grid p,
.linklocal-version-grid p {
  margin: 0.55rem 0 0;
  color: #d8edf1;
  font-size: 0.94rem;
  line-height: 1.75;
}

.fixed-method-icon {
  position: relative;
  display: block;
  width: 3.1rem;
  height: 3.1rem;
  border: 2px solid #77dce5;
  border-radius: 14px;
  background: rgba(16, 146, 160, 0.22);
}

.fixed-method-icon::before,
.fixed-method-icon::after {
  position: absolute;
  content: "";
}

.fixed-method-icon::before {
  inset: 0.65rem;
  border: 2px solid #e8fbfc;
  border-radius: 6px;
}

.fixed-method-icon::after {
  right: 0.42rem;
  bottom: 0.42rem;
  width: 0.82rem;
  height: 0.82rem;
  border: 2px solid #071d31;
  border-radius: 50%;
  background: #ffb454;
  box-shadow: 0 0 0 3px rgba(255, 180, 84, 0.2);
}

.fixed-method-icon--dhcp {
  border-radius: 50%;
}

.fixed-method-icon--dhcp::before {
  border-radius: 50%;
}

.fixed-method-icon--provider {
  transform: rotate(45deg);
  border-radius: 10px;
}

.fixed-method-icon--provider::before,
.fixed-method-icon--provider::after {
  transform: rotate(-45deg);
}

.loopback-scope-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 1.2rem;
  background: linear-gradient(145deg, #eef9fa, #f9fcfd);
  list-style: none;
}

.loopback-scope-strip li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid #c9dce0;
  border-radius: 13px;
  background: #fff;
}

.loopback-scope-strip li > span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #7c8f98;
  color: #fff;
  font-weight: 900;
}

.loopback-scope-strip li.is-local {
  border-color: #63c8d2;
  background: #eaf9fa;
  box-shadow: inset 0 4px 0 #1595a3;
}

.loopback-scope-strip li.is-local > span {
  background: #087c89;
}

.loopback-scope-strip strong {
  display: block;
  color: #153f4a;
  font-size: 1rem;
}

.loopback-scope-strip p {
  margin: 0.3rem 0 0;
  color: #48636c;
  font-size: 0.9rem;
  line-height: 1.6;
}

.linklocal-version-grid section {
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-top: 5px solid #3bc5d2;
}

.linklocal-version-grid section.is-v6 {
  border-top-color: #42c89d;
}

.linklocal-version-grid section.is-private {
  border-top-color: #f1a652;
}

.linklocal-version-grid header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  justify-content: space-between;
  align-items: baseline;
}

.linklocal-version-grid header strong {
  margin: 0;
}

.linklocal-version-grid code {
  color: #b8f2f5;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.linklocal-version-grid b {
  display: block;
  margin-top: 0.8rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff2c6;
  font-size: 0.9rem;
  line-height: 1.55;
}

.subnet-route-decision {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8rem, 0.65fr) minmax(0, 1.15fr);
  grid-template-rows: repeat(2, minmax(7.2rem, auto));
  gap: 0.85rem;
  padding: 1.2rem;
  background: linear-gradient(145deg, #071d31, #0b3448);
}

.subnet-source,
.subnet-result,
.subnet-compare {
  min-width: 0;
  border-radius: 14px;
}

.subnet-source {
  grid-row: 1 / 3;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid rgba(121, 221, 230, 0.42);
  background: rgba(22, 141, 154, 0.18);
  text-align: center;
}

.subnet-source small,
.subnet-result small {
  color: #b8e8ed;
  font-size: 0.88rem;
  font-weight: 800;
}

.subnet-source code,
.subnet-result code {
  color: #fff;
  font-size: clamp(0.92rem, 1.8vw, 1.08rem);
  overflow-wrap: anywhere;
}

.subnet-source span {
  color: #d7edf0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.subnet-compare {
  grid-row: 1 / 3;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.6rem;
  color: #c8f4f6;
  text-align: center;
}

.subnet-compare strong {
  padding: 0.7rem;
  border: 1px solid rgba(117, 223, 231, 0.45);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-mono);
}

.subnet-compare i {
  display: block;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: #6ee4ec;
  box-shadow: 0 0 0 0 rgba(110, 228, 236, 0.45);
  animation: subnet-signal 2.2s ease-out infinite;
}

.subnet-compare span {
  color: #b8dfe4;
  font-size: 0.9rem;
}

.subnet-result {
  display: grid;
  align-content: center;
  gap: 0.35rem;
  padding: 0.95rem;
  border: 1px solid rgba(112, 215, 171, 0.48);
  background: rgba(39, 155, 111, 0.16);
}

.subnet-result.is-other {
  border-color: rgba(241, 166, 82, 0.52);
  background: rgba(206, 112, 57, 0.16);
}

.subnet-result strong {
  color: #fff;
  font-size: 0.95rem;
}

.mask-calculation-board {
  display: grid;
  gap: 0.55rem;
  padding: 1.2rem;
  background: linear-gradient(145deg, #eef9fa, #f9fcfd);
}

.mask-calc-row {
  display: grid;
  grid-template-columns: minmax(10rem, 0.75fr) minmax(10rem, 1fr) minmax(12rem, 1.1fr);
  gap: 0.8rem;
  align-items: center;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 1px solid #bfdde1;
  border-radius: 12px;
  background: #fff;
}

.mask-calc-row strong {
  color: #184650;
  font-size: 0.96rem;
}

.mask-calc-row code {
  color: #076b78;
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.mask-calc-row span {
  color: #4b6871;
  font-size: 0.9rem;
  line-height: 1.55;
}

.mask-calc-row.is-mask {
  border-left: 5px solid #f0a34c;
}

.mask-calc-row.is-result {
  border-left: 5px solid #0d909e;
  background: #eaf8f9;
}

.mask-calc-operator {
  display: flex;
  justify-content: center;
}

.mask-calc-operator span {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: #153f4a;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
}

.mask-calc-rule {
  height: 2px;
  margin: 0.15rem 1rem;
  background: linear-gradient(90deg, transparent, #5a99a2 16%, #5a99a2 84%, transparent);
}

@keyframes subnet-signal {
  0% { box-shadow: 0 0 0 0 rgba(110, 228, 236, 0.45); }
  70%, 100% { box-shadow: 0 0 0 0.75rem rgba(110, 228, 236, 0); }
}

@media (max-width: 900px) {
  .fixed-assignment-grid,
  .linklocal-version-grid {
    grid-template-columns: 1fr;
  }

  .subnet-route-decision {
    grid-template-columns: minmax(0, 1fr) minmax(7rem, 0.55fr) minmax(0, 1fr);
  }

  .mask-calc-row {
    grid-template-columns: minmax(9rem, 0.75fr) minmax(0, 1fr);
  }

  .mask-calc-row span {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .loopback-scope-strip,
  .subnet-route-decision {
    grid-template-columns: 1fr;
  }

  .loopback-scope-strip {
    padding: 0.9rem;
  }

  .subnet-route-decision {
    grid-template-rows: none;
    padding: 0.9rem;
  }

  .subnet-source,
  .subnet-compare {
    grid-row: auto;
  }

  .subnet-compare {
    grid-template-columns: auto auto auto;
    padding: 0.35rem 0;
  }

  .mask-calc-row {
    grid-template-columns: 1fr;
  }

  .mask-calc-row span {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .subnet-compare i {
    animation: none;
  }
}

/* Flat editorial pictogram system */
.publication-diagram {
  border-color: #c9d9d2;
  border-radius: 20px;
  background: #f5f8f4;
  box-shadow: 0 8px 22px rgba(24, 50, 52, 0.07);
}

.publication-diagram-title {
  border-bottom-color: #d4dfda;
  background: #edf4ef;
}

.publication-diagram-title span {
  background: #176f70;
}

.publication-diagram-title strong {
  color: #173f43;
}

.publication-diagram figcaption {
  border-top-color: #d4dfda;
  background: #f8faf7;
  color: #3e5a5e;
}

.publication-diagram figcaption > span {
  background: #dcebe5;
  color: #07575a;
}

.editorial-image-frame {
  background: #f7f6f1;
}

.ipv6-notation-stage,
.fixed-assignment-grid,
.linklocal-version-grid,
.subnet-route-decision {
  background: #f5f8f4;
}

.ipv6-notation-stage p,
.fixed-assignment-grid section,
.linklocal-version-grid section,
.subnet-source,
.subnet-result,
.subnet-compare strong {
  border-color: #c9d9d2;
  background: #fffefa;
  box-shadow: 0 6px 16px rgba(24, 50, 52, 0.05);
}

.ipv6-notation-stage small,
.fixed-assignment-grid p,
.linklocal-version-grid p,
.subnet-source small,
.subnet-result small,
.subnet-source span,
.subnet-compare span {
  color: #456164;
}

.ipv6-notation-stage code,
.fixed-assignment-grid h3,
.linklocal-version-grid strong,
.linklocal-version-grid code,
.subnet-source code,
.subnet-result code,
.subnet-result strong,
.subnet-compare strong {
  color: #164f52;
}

.fixed-method-icon {
  border-color: #6aa29a;
  background: #e5f0eb;
}

.fixed-method-icon::before {
  border-color: #176f70;
}

.fixed-method-icon::after {
  border-color: #fffefa;
  background: #d89845;
  box-shadow: none;
}

.linklocal-version-grid section {
  border-top-color: #57968e;
}

.linklocal-version-grid section.is-v6 {
  border-top-color: #6f9f77;
}

.linklocal-version-grid section.is-private {
  border-top-color: #d89845;
}

.linklocal-version-grid b {
  border-top-color: #d4dfda;
  color: #76502b;
}

.subnet-source {
  background: #edf5f0;
}

.subnet-compare {
  color: #456164;
}

.subnet-compare i {
  background: #57968e;
  box-shadow: none;
  animation: none;
}

.subnet-result {
  border-color: #b9d1c5;
  background: #eef6ef;
}

.subnet-result.is-other {
  border-color: #dfc6a5;
  background: #fff6e8;
}

/* Finished glossary search */
.search-command-panel {
  border-color: #c9d9d2;
  border-radius: 20px;
  background: #f5f8f4;
  box-shadow: 0 12px 30px rgba(24, 50, 52, 0.08);
}

.search-panel-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d4dfda;
}

.search-panel-intro h2 {
  margin: 0;
  color: #173f43;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
}

.search-panel-intro p {
  margin: 0.3rem 0 0;
  color: #456164;
  font-size: 0.94rem;
  line-height: 1.7;
}

.search-book-picto {
  position: relative;
  display: block;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 14px;
  background: #e5f0eb;
  color: #176f70;
}

.search-book-picto::before,
.search-book-picto::after,
.search-book-picto i {
  position: absolute;
  content: "";
}

.search-book-picto::before {
  inset: 0.72rem 0.72rem 0.7rem 0.78rem;
  border: 3px solid currentColor;
  border-radius: 4px 8px 8px 4px;
  background: #fffefa;
}

.search-book-picto::after {
  top: 1.15rem;
  left: 1.3rem;
  width: 1rem;
  border-top: 2px solid currentColor;
  box-shadow: 0 0.42rem 0 currentColor;
}

.search-input-row {
  border-color: #abc7bf;
  border-radius: 14px;
  background: #fffefa;
  box-shadow: inset 0 0 0 1px rgba(23, 111, 112, 0.03);
}

.search-input-symbol {
  border-color: #176f70;
}

.search-input-symbol::after {
  border-top-color: #176f70;
}

.search-input-row input {
  color: #173f43;
}

.search-input-row input::placeholder {
  color: #6d8384;
}

.search-clear {
  color: #315f62;
  font-size: 0.875rem;
}

.search-refine-row label,
.search-command-panel label,
.search-command-panel legend {
  color: #315f62;
}

.search-refine-row select {
  border-color: #abc7bf;
  background: #fffefa;
  color: #173f43;
}

.search-refine-row p {
  color: #526b6e;
  font-size: 0.9rem;
}

.search-status-row {
  border-top-color: #d4dfda;
  color: #526b6e;
  font-size: 0.875rem;
}

.search-status-row p {
  color: #174f52;
}

.search-command-panel .search-status-row span,
.search-command-panel .search-suggestions > span {
  color: #526b6e;
}

.search-suggestions > span,
.search-suggestions a {
  font-size: 0.875rem;
}

.search-suggestions a {
  border-color: #c2d6d0;
  background: #fffefa;
  color: #176f70;
}

.search-suggestions a:hover {
  border-color: #57968e;
  background: #e8f2ed;
  color: #0d5658;
}

.search-result-meta {
  font-size: 0.875rem;
}

@media (max-width: 620px) {
  .search-panel-intro {
    grid-template-columns: 1fr;
  }

  .search-book-picto {
    width: 3rem;
    height: 3rem;
  }
}

/* Glossary volume: routing, translation and name resolution (terms 032-041) */
.prefix-boundary-grid,
.gateway-decision-steps,
.cgnat-attribution-grid,
.port-range-grid,
.dns-record-grid {
  display: grid;
  gap: 0.85rem;
}

.prefix-boundary-grid,
.port-range-grid,
.dns-record-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prefix-boundary-grid section,
.port-range-grid section,
.dns-record-grid section,
.gateway-decision-steps li,
.cgnat-attribution-grid section,
.mtu-payload-grid section,
.socket-life-grid > section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #bfd3cb;
  border-radius: 15px;
  background: #fffefa;
  color: #173f43;
}

.prefix-boundary-grid header,
.port-range-grid header,
.mtu-payload-grid header {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.prefix-boundary-grid code,
.port-range-grid code,
.mtu-payload-grid code {
  color: #0b5d60;
  font-size: 1rem;
  font-weight: 900;
}

.prefix-boundary-grid p,
.port-range-grid p,
.dns-record-grid p,
.gateway-decision-steps p,
.cgnat-attribution-grid p,
.mtu-payload-grid p,
.socket-life-grid p {
  margin: 0.65rem 0 0;
  color: #3e5d61;
  font-size: 0.95rem;
  line-height: 1.7;
}

.prefix-bit-bar {
  position: relative;
  height: 42px;
  overflow: hidden;
  border: 2px solid #174c50;
  border-radius: 10px;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(6.25% - 1px), rgba(23, 76, 80, 0.2) calc(6.25% - 1px) 6.25%),
    #fff6df;
}

.prefix-bit-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--prefix);
  border-right: 4px solid #164b50;
  background: rgba(84, 151, 141, 0.55);
}

.gateway-decision-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.gateway-decision-steps li {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
}

.gateway-decision-steps li > span,
.dns-chain-steps li > span {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: #176f70;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
}

.dhcp-sequence-lanes {
  max-width: 820px;
  margin: 0 auto;
}

.dhcp-sequence-lanes > header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 0.65rem;
  color: #17484c;
  font-size: 1rem;
  text-align: center;
}

.dhcp-sequence-lanes ol {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dhcp-sequence-lanes li {
  position: relative;
  width: 72%;
  padding: 0.85rem 1rem;
  border: 1px solid #b8d0c8;
  border-radius: 13px;
  background: #fffefa;
  color: #173f43;
}

.dhcp-sequence-lanes li.to-client { justify-self: end; background: #edf5f0; }
.dhcp-sequence-lanes li.to-server::after { content: "→"; right: -1.8rem; }
.dhcp-sequence-lanes li.to-client::before { content: "←"; left: -1.8rem; }
.dhcp-sequence-lanes li::before,
.dhcp-sequence-lanes li::after {
  position: absolute;
  top: 50%;
  color: #176f70;
  font-size: 1.35rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.dhcp-sequence-lanes li b,
.dhcp-sequence-lanes li span,
.dhcp-sequence-lanes li p { display: block; }
.dhcp-sequence-lanes li b { font-family: Arial, sans-serif; font-size: 1rem; }
.dhcp-sequence-lanes li span { margin-top: 0.15rem; color: #48666a; font-size: 0.9rem; }
.dhcp-sequence-lanes li p { margin: 0.35rem 0 0; color: #35575b; font-size: 0.95rem; }

.nat-mapping-grid {
  display: grid;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #bfd3cb;
  border-radius: 15px;
  background: #fffefa;
}

.nat-mapping-grid header,
.nat-mapping-grid p {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.8rem;
  align-items: center;
  margin: 0;
  padding: 0.85rem 1rem;
}

.nat-mapping-grid header { background: #e6f0eb; color: #17484c; font-weight: 900; text-align: center; }
.nat-mapping-grid p + p { border-top: 1px solid #d7e3de; }
.nat-mapping-grid p code { font-size: 0.95rem; text-align: center; overflow-wrap: anywhere; }
.nat-mapping-grid p i { color: #d07146; font-style: normal; font-weight: 900; }
.nat-mapping-grid footer { padding: 0.75rem 1rem; background: #f7f4ea; color: #496568; font-size: 0.9rem; }

.napt-table-wrap { overflow-x: auto; border: 1px solid #bfd3cb; border-radius: 15px; }
.napt-table-wrap table { width: 100%; min-width: 650px; border-collapse: collapse; background: #fffefa; }
.napt-table-wrap th,
.napt-table-wrap td { padding: 0.85rem 1rem; border-bottom: 1px solid #d7e3de; color: #264c50; font-size: 0.95rem; text-align: left; }
.napt-table-wrap th { background: #e6f0eb; color: #17484c; font-weight: 900; }
.napt-table-wrap tbody tr:last-child td { border-bottom: 0; }

.cgnat-attribution-grid { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
.cgnat-attribution-grid section { display: grid; grid-template-columns: 0.75fr 1.4fr auto 1.4fr; gap: 0.7rem; align-items: center; }
.cgnat-attribution-grid section span { font-weight: 900; }
.cgnat-attribution-grid section i { color: #d07146; font-style: normal; font-size: 1.25rem; font-weight: 900; }
.cgnat-attribution-grid code { font-size: 0.92rem; overflow-wrap: anywhere; }
.cgnat-attribution-grid > p { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 0.55rem; align-items: center; padding: 0.9rem 1rem; border-radius: 13px; background: #e8f1ec; }
.cgnat-attribution-grid > p strong { padding: 0.35rem 0.55rem; border-radius: 8px; background: #fffefa; color: #17575a; }

.dns-record-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1rem 0 1.4rem; }
.dns-record-grid section { display: grid; grid-template-columns: auto 1fr; column-gap: 0.7rem; align-items: center; }
.dns-record-grid code { min-width: 3.5rem; padding: 0.35rem 0.45rem; border-radius: 8px; background: #176f70; color: #fff; font-size: 0.95rem; text-align: center; }
.dns-record-grid p { grid-column: 1 / -1; }

.dns-chain-steps {
  display: grid;
  gap: 0.7rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.dns-chain-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border: 1px solid #bfd3cb;
  border-radius: 14px;
  background: #fffefa;
}

.dns-chain-steps li p { margin: 0.25rem 0 0; color: #3e5d61; font-size: 0.95rem; }

.socket-life-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}

.socket-life-grid h3 { margin: 0 0 0.75rem; color: #17484c; }
.socket-life-grid ol { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.socket-life-grid li { display: grid; grid-template-columns: minmax(5.5rem, auto) 1fr; gap: 0.55rem; align-items: center; }
.socket-life-grid li code { color: #0e6163; font-size: 0.9rem; font-weight: 900; }
.socket-life-grid li span { color: #3e5d61; font-size: 0.95rem; }
.socket-life-channel { display: grid; place-content: center; gap: 0.5rem; color: #17484c; text-align: center; }
.socket-life-channel i { width: 100%; border-top: 3px solid #57968e; }
.socket-life-channel span { color: #476568; font-size: 0.9rem; }

.mtu-payload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.mtu-payload-grid section > div { display: flex; min-height: 82px; overflow: hidden; border: 2px solid #174c50; border-radius: 12px; }
.mtu-payload-grid section > div span,
.mtu-payload-grid section > div b,
.mtu-payload-grid section > div i { display: grid; place-items: center; padding: 0.7rem; color: #173f43; font-size: 0.9rem; font-style: normal; text-align: center; }
.mtu-payload-grid section > div span { flex: 0 0 23%; background: #f0c86d; }
.mtu-payload-grid section > div b { flex: 0 0 23%; background: #b9d3c1; }
.mtu-payload-grid section > div i { flex: 1; background: #dbeae5; }

/* Explicit header and footer contrast */
.site-header {
  border-bottom: 1px solid #b9cec6;
  background: rgba(250, 252, 248, 0.98);
  color: #123d42;
  box-shadow: 0 8px 24px rgba(17, 55, 58, 0.09);
  backdrop-filter: blur(14px);
}

.site-header .brand,
.site-header .brand-copy strong { color: #123d42; }
.site-header .brand-copy small { color: #48666a; }

.site-header .menu-toggle {
  border-color: #176f70;
  background: #123d42;
  color: #fff;
  box-shadow: 0 5px 14px rgba(18, 61, 66, 0.18);
}

.site-header .menu-toggle:focus-visible { outline: 3px solid #e0a72f; outline-offset: 3px; }
.site-header .site-nav { border-color: #3e7479; background: #092d35; }
.site-header .site-nav a { color: #f7ffff; }
.site-header .site-nav a:hover,
.site-header .site-nav a:focus-visible { background: #15515a; color: #fff; }
.site-header .site-nav .nav-search { background: #184f57; color: #fff; }

.breadcrumbs,
.breadcrumbs a { color: #d6e8ec; }
.breadcrumbs a:hover,
.breadcrumbs a:focus-visible { color: #fff2b8; }

.site-footer {
  border-top: 4px solid #2f7f7d;
  background: #082d35;
  color: #e4f0ee;
}

.site-footer .brand,
.site-footer .brand-copy strong,
.site-footer h2,
.site-footer a { color: #fff; }
.site-footer .brand-copy small,
.site-footer p,
.site-footer li,
.site-footer .footer-bottom { color: #d9e9e6; }
.site-footer a:hover,
.site-footer a:focus-visible { color: #ffe3a0; }

/* 2026-08-15: readable navigation, beginner home and category index */
html {
  font-size: 16px;
  scroll-padding-top: 7rem;
}

body {
  color: #183e47;
  line-height: 1.75;
}

.site-header .site-nav a::after {
  content: none !important;
}

.site-header .site-nav a {
  min-height: 46px;
  padding-right: 1.15rem;
  font-size: 1rem;
  line-height: 1.45;
}

@media (min-width: 961px) {
  .site-header .header-inner {
    grid-template-columns: minmax(17rem, 1fr) auto;
    gap: 1.25rem;
  }

  .site-header .menu-toggle {
    display: none !important;
  }

  .site-header .site-nav,
  .site-header .site-nav.open {
    position: static;
    inset: auto;
    display: flex;
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .site-header .site-nav a {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 0.78rem;
    color: #163f49;
    white-space: nowrap;
  }

  .site-header .site-nav a:visited {
    color: #163f49;
  }

  .site-header .site-nav a:not(.nav-search):hover,
  .site-header .site-nav a:not(.nav-search):focus-visible {
    background: #e6f2f1;
    color: #075e69;
  }

  .site-header .site-nav .nav-search,
  .site-header .site-nav .nav-search:visited {
    color: #fff;
  }
}

/* Keep every footer label readable against the dark footer background. */
.site-footer,
.site-footer :is(h2, p, a, strong, small, li, .footer-bottom),
.site-footer :is(a, a:visited),
.site-footer .brand-copy small {
  color: #fff;
  opacity: 1;
}

.site-footer :is(p, a, small, li, .footer-bottom) {
  font-size: 1rem;
}

@media (max-width: 960px) {
  .site-header .menu-toggle {
    display: inline-grid !important;
  }

  .site-header .site-nav {
    max-height: calc(100dvh - 6.5rem);
    overflow-y: auto;
  }

  .site-header .site-nav a {
    padding: 0.95rem 1.15rem;
  }
}

.back-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  min-height: 3.25rem;
  padding: 0;
  border: 1px solid rgba(103, 233, 239, 0.62);
  border-radius: 50%;
  background: rgba(5, 29, 43, 0.68);
  box-shadow: 0 0.55rem 1.5rem rgb(2 16 26 / 20%);
  backdrop-filter: blur(3px);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  transition: opacity 160ms ease, transform 160ms ease;
}

.back-to-top[hidden] {
  display: none;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: #ffca70;
  background: rgba(5, 29, 43, 0.82);
  transform: translateY(-2px);
}

.back-to-top > span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(22, 137, 149, 0.58);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
}

.breadcrumbs,
.breadcrumbs a,
.breadcrumbs li,
.site-footer p,
.site-footer li,
.site-footer a,
.site-footer small {
  font-size: 1rem;
}

.article > p,
.article > section > p,
.article :is(li, dd, td, th),
.content-card p,
.page-hero .hero-lead {
  font-size: max(1rem, 1em);
  line-height: 1.78;
}

.article :is(small, figcaption, dt, code, kbd, samp),
.publication-diagram :is(small, span, b, strong, code, dt, dd, p) {
  font-size: max(0.875rem, 1em);
}

.publication-diagram :is(small, span, b, strong, code, dt, dd, p) {
  overflow-wrap: anywhere;
}

.gateway-hud,
.gateway-topic small,
.gateway-topic b {
  font-size: max(0.8rem, 1em);
}

.gateway-core > strong,
.gateway-core > small,
.gateway-topic strong,
.cyber-library-visual figcaption {
  font-size: max(0.9rem, 1em);
}

.beginner-section-heading {
  max-width: 50rem;
  margin-bottom: 2rem;
}

.beginner-section-heading h2 {
  max-width: 22ch;
  margin: 0.25rem 0 0.75rem;
  color: #123c47;
  font-size: clamp(1.65rem, 3.5vw, 2.55rem);
  line-height: 1.3;
}

.beginner-section-heading > p:last-child {
  margin: 0;
  color: #355760;
  font-size: 1.08rem;
  line-height: 1.85;
}

.beginner-network-path {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.beginner-network-path > li {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  justify-items: start;
  min-width: 0;
  padding: 1.05rem;
  border: 1px solid #bed9dc;
  border-top: 5px solid #138995;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0.6rem 1.4rem rgb(16 71 77 / 7%);
}

.beginner-network-path > li::after {
  position: absolute;
  top: 3.2rem;
  right: -0.72rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: #0b7782;
  color: #fff;
  content: "›";
  font-size: 1.1rem;
  font-weight: 900;
}

.beginner-network-path > li:last-child::after {
  content: none;
}

.beginner-path-number {
  position: absolute;
  top: 0.75rem;
  right: 0.8rem;
  color: #8b5b25;
  font-size: 0.9rem;
  font-weight: 900;
}

.beginner-network-path .picto {
  margin-bottom: 0.85rem;
  transform: scale(0.9);
  transform-origin: left top;
}

.beginner-network-path .home-picto {
  margin-bottom: 0.85rem;
}

.beginner-network-path strong {
  display: block;
  color: #123f49;
  font-size: 1.05rem;
  line-height: 1.45;
}

.beginner-network-path p {
  margin: 0.45rem 0 0;
  color: #3f5f66;
  font-size: 1rem;
  line-height: 1.75;
}

.beginner-key-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-top: 1.35rem;
  padding: 1.1rem 1.25rem;
  border-left: 6px solid #d77842;
  border-radius: 0 14px 14px 0;
  background: #fff7e9;
}

.beginner-key-note > strong {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #8e542f;
  color: #fff;
  font-size: 0.95rem;
  white-space: nowrap;
}

.beginner-key-note p {
  margin: 0;
  color: #4b4a3d;
  font-size: 1.05rem;
  line-height: 1.8;
}

.beginner-key-note mark {
  background: linear-gradient(transparent 58%, #ffdda3 58%);
  color: #43351f;
  font-weight: 900;
}

.beginner-concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.beginner-concept-grid article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid #bfd4d0;
  border-bottom: 6px solid #1a857a;
  border-radius: 18px;
  background: #fffefa;
}

.beginner-concept-grid article:nth-child(2) { border-bottom-color: #d38c37; }
.beginner-concept-grid article:nth-child(3) { border-bottom-color: #477eaf; }
.beginner-concept-grid .picto { transform: scale(0.88); transform-origin: left top; }
.beginner-concept-grid .home-picto { width: 3.7rem; height: 3.7rem; }
.beginner-concept-grid .concept-number { margin: 0; color: #8c5d27; font-size: 0.9rem; font-weight: 900; }
.beginner-concept-grid h3 { margin: 0.15rem 0 0.55rem; color: #143e46; font-size: 1.3rem; }
.beginner-concept-grid p { color: #3c5a60; font-size: 1rem; line-height: 1.8; }
.beginner-concept-grid a { color: #076d77; font-size: 1rem; font-weight: 900; text-underline-offset: 0.25em; }

.beginner-request-steps {
  display: grid;
  gap: 0;
  max-width: 52rem;
  margin: 0;
  padding: 0;
  counter-reset: request-step;
  list-style: none;
}

.beginner-request-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1rem;
  min-width: 0;
  padding: 0 0 1.5rem;
}

.beginner-request-steps li:not(:last-child)::before {
  position: absolute;
  top: 3.2rem;
  bottom: 0;
  left: 1.55rem;
  width: 2px;
  background: linear-gradient(#1b929d, #add8d7);
  content: "";
}

.beginner-request-steps li > span {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 14px;
  background: #106f7b;
  box-shadow: 0 0 0 5px #e5f4f4;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
}

.beginner-request-steps li > div {
  padding: 0.25rem 0 1.1rem;
  border-bottom: 1px solid #cbdcda;
}

.beginner-request-steps h3 { margin: 0; color: #153e47; font-size: 1.25rem; }
.beginner-request-steps p { margin: 0.45rem 0 0; color: #3b5b62; font-size: 1.04rem; line-height: 1.8; }
.beginner-request-steps a { color: #076e78; font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

.beginner-reading-list {
  display: grid;
  gap: 0.72rem;
  max-width: 58rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.beginner-reading-list a {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 5.2rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid #c8dad7;
  border-radius: 14px;
  background: #fff;
  color: #173f47;
  text-decoration: none;
}

.beginner-reading-list a:hover,
.beginner-reading-list a:focus-visible {
  border-color: #198b94;
  box-shadow: 0 0.55rem 1.3rem rgb(14 99 107 / 10%);
  transform: translateY(-1px);
}

.beginner-reading-list a > span { color: #a05d2b; font-size: 1rem; font-weight: 900; }
.beginner-reading-list strong { font-size: 1.15rem; }
.beginner-reading-list p { margin: 0.2rem 0 0; color: #4b656a; font-size: 1rem; line-height: 1.65; }
.beginner-reading-list b { color: #08747e; font-size: 1.35rem; }

.beginner-glossary-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid rgba(97, 226, 233, 0.35);
  border-radius: 18px;
  background: linear-gradient(135deg, #09283a, #0c4050);
}

.beginner-glossary-cta h2 { margin: 0.15rem 0 0.45rem; color: #fff; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.beginner-glossary-cta p { margin: 0; color: #d7edf0; font-size: 1rem; }
.beginner-glossary-cta .eyebrow { color: #8ee8ed; }

.glossary-category-index,
.glossary-field-index {
  background: #f7fbfa;
}

.glossary-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.glossary-field-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #bdd5d1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0.65rem 1.4rem rgb(14 88 91 / 7%);
}

.glossary-field-card > span {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background: #126f76;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
}

.glossary-field-card > strong {
  color: #9a5d2d;
  font-size: 1rem;
  white-space: nowrap;
}

.glossary-field-card h3 {
  margin: 0;
  color: #163f47;
  font-size: 1.25rem;
}

.glossary-field-card p {
  margin: 0.4rem 0 0.85rem;
  color: #405f64;
  font-size: 1rem;
  line-height: 1.75;
}

.glossary-field-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.glossary-field-card a {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.5rem 0.7rem;
  border: 1px solid #c5dcd8;
  border-radius: 999px;
  background: #f3f9f7;
  color: #086b72;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.glossary-field-card a:hover,
.glossary-field-card a:focus-visible {
  border-color: #137f86;
  background: #e4f3f0;
}

.glossary-field-card a small {
  color: #506d70;
  font-size: 0.875rem;
}

.glossary-kana-groups {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.glossary-kana-group {
  overflow: hidden;
  border: 1px solid #c3d8d4;
  border-radius: 14px;
  background: #fff;
}

.glossary-kana-group summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.8rem;
  align-items: center;
  min-height: 4rem;
  padding: 0.85rem 1rem;
  color: #173f47;
  cursor: pointer;
  list-style: none;
}

.glossary-kana-group summary::-webkit-details-marker { display: none; }
.glossary-kana-group summary > strong { font-size: 1.12rem; }
.glossary-kana-group summary > span { color: #536c70; font-size: 0.95rem; font-weight: 800; }
.glossary-kana-group summary > i {
  width: 0.72rem;
  height: 0.72rem;
  border-right: 2px solid #0d747b;
  border-bottom: 2px solid #0d747b;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.glossary-kana-group[open] summary {
  border-bottom: 1px solid #c3d8d4;
  background: #edf7f5;
}

.glossary-kana-group[open] summary > i { transform: rotate(225deg); }

.glossary-kana-group > ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0.6rem;
  list-style: none;
}

.glossary-kana-group li { min-width: 0; }
.glossary-kana-group li a {
  display: grid;
  gap: 0.18rem;
  min-height: 4.1rem;
  padding: 0.72rem;
  border-radius: 10px;
  color: #173f47;
  text-decoration: none;
}

.glossary-kana-group li a:hover,
.glossary-kana-group li a:focus-visible { background: #eef7f5; }
.glossary-kana-group li strong { overflow-wrap: anywhere; font-size: 1rem; }
.glossary-kana-group li span { color: #547075; font-size: 0.9rem; }

@media (max-width: 820px) {
  .glossary-field-grid { grid-template-columns: 1fr; }
  .glossary-kana-group > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .gateway-topic .home-picto {
    width: 2.2rem;
    height: 2.2rem;
    padding: 0.28rem;
  }

  .beginner-network-path .home-picto {
    grid-column: 1;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0;
  }

  .glossary-field-card {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    padding: 1rem;
  }

  .glossary-field-card > strong {
    grid-column: 2;
    justify-self: start;
  }

  .glossary-kana-group > ul { grid-template-columns: 1fr; }
}

.glossary-category-jumps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.glossary-category-jumps a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.72rem;
  align-items: center;
  min-width: 0;
  min-height: 4.6rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid #c2d8d4;
  border-radius: 13px;
  background: #fff;
  color: #183f47;
  text-decoration: none;
}

.glossary-category-jumps a:hover,
.glossary-category-jumps a:focus-visible {
  border-color: #168b94;
  background: #edf9f8;
}

.glossary-category-jumps span { color: #a05e2e; font-size: 0.9rem; font-weight: 900; }
.glossary-category-jumps strong { overflow-wrap: anywhere; font-size: 1rem; line-height: 1.45; }
.glossary-category-jumps small { color: #4a676a; font-size: 0.9rem; white-space: nowrap; }

.glossary-category-groups {
  display: grid;
  gap: 0.85rem;
}

.glossary-category-group {
  scroll-margin-top: 7rem;
  overflow: clip;
  border: 1px solid #bfd4d1;
  border-radius: 16px;
  background: #fff;
}

.glossary-category-group > summary {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto 1.5rem;
  gap: 0.9rem;
  align-items: center;
  min-height: 5.4rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  list-style: none;
}

.glossary-category-group > summary::-webkit-details-marker { display: none; }
.glossary-category-group > summary:hover { background: #eef8f7; }

.glossary-category-number {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: #0e7480;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
}

.glossary-category-group summary > span:nth-child(2) { min-width: 0; }
.glossary-category-group summary strong { display: block; color: #163e46; font-size: 1.14rem; line-height: 1.45; }
.glossary-category-group summary small { display: block; margin-top: 0.18rem; color: #49666a; font-size: 0.95rem; line-height: 1.6; }
.glossary-category-group summary > b { color: #8c5b2b; font-size: 0.95rem; white-space: nowrap; }

.glossary-category-group summary > i {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
}

.glossary-category-group summary > i::before,
.glossary-category-group summary > i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 2px;
  border-radius: 2px;
  background: #167985;
  content: "";
  transform: translate(-50%, -50%);
}

.glossary-category-group summary > i::after { transform: translate(-50%, -50%) rotate(90deg); }
.glossary-category-group[open] summary > i::after { transform: translate(-50%, -50%) rotate(0); }

.glossary-category-body {
  padding: 0 1rem 1.1rem;
  border-top: 1px solid #d1dfdd;
  background: #f8fbfa;
}

.glossary-term-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.glossary-term-list li {
  border-bottom: 1px solid #d9e4e2;
}

.glossary-term-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 4.8rem;
  padding: 0.8rem 0.65rem;
  color: #173e46;
  text-decoration: none;
}

.glossary-term-list a:hover,
.glossary-term-list a:focus-visible { background: #edf7f6; }
.glossary-term-list a > span { min-width: 0; }
.glossary-term-list strong { display: block; font-size: 1.08rem; line-height: 1.5; }
.glossary-term-list small { display: block; margin-top: 0.18rem; color: #4a6569; font-size: 0.96rem; line-height: 1.65; }
.glossary-term-list b { color: #0b7983; font-size: 1.25rem; }

.glossary-category-page-link {
  display: inline-flex;
  margin-top: 1rem;
  color: #086c75;
  font-size: 1rem;
  font-weight: 900;
  text-underline-offset: 0.24em;
}

.glossary-kana-chips .chip {
  min-height: 44px;
  padding: 0.62rem 0.82rem;
  font-size: 1rem;
}

/* Generic three-point explanations should read as one ordered column. */
.cause-list {
  grid-template-columns: 1fr;
}

@media (max-width: 1100px) {
  .beginner-network-path {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .beginner-network-path > li:nth-child(3)::after {
    content: none;
  }
}

@media (max-width: 820px) {
  .beginner-concept-grid {
    grid-template-columns: 1fr;
  }

  .glossary-category-jumps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beginner-glossary-cta {
    grid-template-columns: 1fr;
  }

  .beginner-glossary-cta .button {
    justify-self: start;
  }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 5.5rem; }

  .section {
    padding-block: 3rem;
  }

  .beginner-network-path {
    grid-template-columns: 1fr;
  }

  .beginner-network-path > li {
    grid-template-columns: 3.6rem minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 0.85rem;
    align-items: start;
  }

  .beginner-network-path > li::after {
    top: auto;
    right: auto;
    bottom: -0.72rem;
    left: 2.1rem;
    content: "⌄";
  }

  .beginner-network-path > li:nth-child(3)::after {
    content: "⌄";
  }

  .beginner-network-path > li:last-child::after {
    content: none;
  }

  .beginner-network-path .picto {
    grid-column: 1;
    margin: 0;
  }

  .beginner-network-path li > div {
    grid-column: 2;
  }

  .beginner-key-note {
    grid-template-columns: 1fr;
  }

  .beginner-key-note > strong {
    justify-self: start;
  }

  .beginner-concept-grid article {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    padding: 1.05rem;
  }

  .glossary-category-group {
    scroll-margin-top: 5.5rem;
  }

  .glossary-category-jumps a {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 4.8rem;
    padding: 0.75rem;
  }

  .glossary-category-jumps small {
    display: none;
  }

  .glossary-category-group > summary {
    grid-template-columns: 2.6rem minmax(0, 1fr) 1.25rem;
    gap: 0.7rem;
    padding: 0.85rem;
  }

  .glossary-category-number {
    width: 2.6rem;
    height: 2.6rem;
  }

  .glossary-category-group summary > b {
    display: none;
  }

  .glossary-term-list small {
    font-size: 1rem;
  }

  .back-to-top {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    width: 3rem;
    height: 3rem;
    min-height: 3rem;
  }
}

.site-footer a:focus-visible { outline: 3px solid #f1bd4e; outline-offset: 3px; }
.site-footer .footer-bottom { border-top-color: #4e777b; }

/* Full-resolution diagram viewer for compact screens */
.editorial-image-frame { position: relative; }

.diagram-zoom-trigger {
  display: block;
  margin: 0.8rem 1rem 0.25rem auto;
  min-height: 44px;
  padding: 0.62rem 0.9rem;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #0b6269;
  color: #fff;
  box-shadow: 0 5px 16px rgba(10, 53, 57, 0.24);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  cursor: zoom-in;
}

.diagram-zoom-trigger:hover,
.diagram-zoom-trigger:focus-visible { background: #084c52; }
.diagram-zoom-trigger:focus-visible { outline: 3px solid #f1bd4e; outline-offset: 3px; }

.diagram-lightbox {
  width: min(96vw, 1260px);
  max-width: none;
  height: min(94vh, 930px);
  max-height: none;
  padding: 0;
  border: 2px solid #a9ceca;
  border-radius: 18px;
  background: #f6faf7;
  color: #123d42;
  box-shadow: 0 24px 80px rgba(0, 22, 27, 0.42);
}

.diagram-lightbox::backdrop { background: rgba(2, 18, 24, 0.82); }

.diagram-lightbox__toolbar {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 2;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 62px;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #b9d1cd;
  background: #f6faf7;
}

.diagram-lightbox__toolbar p { margin: 0; font-size: 1rem; font-weight: 700; }
.diagram-lightbox__close {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: 999px;
  background: #123d42;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.diagram-lightbox__close:focus-visible { outline: 3px solid #e0a72f; outline-offset: 2px; }

.diagram-lightbox__stage {
  height: calc(100% - 62px);
  overflow: auto;
  padding: 1rem;
  background: #dce9e6;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.diagram-lightbox__stage img {
  display: block;
  width: 1200px;
  max-width: none;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(15, 52, 56, 0.18);
}

@media (max-width: 600px) {
  .diagram-zoom-trigger { margin: 0.7rem 0.75rem 0.2rem auto; }
  .diagram-lightbox { width: 96vw; height: 92vh; border-radius: 12px; }
  .diagram-lightbox__toolbar { align-items: flex-start; min-height: 76px; padding: 0.65rem 0.75rem; }
  .diagram-lightbox__toolbar p { font-size: 0.94rem; line-height: 1.45; }
  .diagram-lightbox__stage { height: calc(100% - 76px); padding: 0.65rem; }
}

@media (max-width: 840px) {
  .prefix-boundary-grid,
  .port-range-grid,
  .dns-record-grid { grid-template-columns: 1fr; }
  .gateway-decision-steps { grid-template-columns: 1fr 1fr; }
  .socket-life-grid { grid-template-columns: 1fr; }
  .socket-life-channel { min-height: 90px; }
  .socket-life-channel i { width: 80px; margin: 0 auto; transform: rotate(90deg); }
}

@media (max-width: 620px) {
  .gateway-decision-steps,
  .mtu-payload-grid { grid-template-columns: 1fr; }
  .dhcp-sequence-lanes li { width: calc(100% - 2.25rem); }
  .nat-mapping-grid header,
  .nat-mapping-grid p { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding-inline: 0.65rem; }
  .nat-mapping-grid p code { font-size: 0.875rem; }
  .cgnat-attribution-grid section { grid-template-columns: 1fr; }
  .cgnat-attribution-grid section i { transform: rotate(90deg); }
  .cgnat-attribution-grid > p { grid-template-columns: 1fr; }
  .mtu-payload-grid section > div span,
  .mtu-payload-grid section > div b,
  .mtu-payload-grid section > div i { padding: 0.55rem 0.35rem; font-size: 0.875rem; }
  .site-header .brand-copy small { color: #3f5f63; }
}

/* DNS glossary: term-specific publication figures (042–051) */
.resolver-role-grid,
.zone-map-grid,
.cache-state-grid,
.record-anatomy-row,
.cname-chain-grid {
  display: grid;
  gap: 0.9rem;
}

.resolver-role-grid {
  grid-template-columns: minmax(0, 1fr) 145px minmax(0, 1fr);
  align-items: stretch;
}

.resolver-role-grid section,
.zone-map-grid section,
.cache-state-grid section,
.record-anatomy-row section,
.cname-chain-grid section,
.mx-record-board section {
  padding: 1rem;
  border: 1px solid #bfd3cb;
  border-radius: 15px;
  background: #fffefa;
  color: #254b4f;
}

.resolver-role-grid h3,
.cache-state-grid h3 { margin: 0.55rem 0 0.35rem; color: #17484c; font-size: 1.05rem; }
.resolver-role-grid p,
.cache-state-grid p,
.zone-map-grid p,
.record-anatomy-row p { margin: 0; color: #3e5d61; font-size: 0.95rem; line-height: 1.7; }
.diagram-badge,
.cache-state { display: inline-flex; padding: 0.3rem 0.65rem; border-radius: 999px; background: #dcebe4; color: #15595b; font-size: 0.9rem; font-weight: 900; }

.resolver-role-arrow { display: grid; place-content: center; gap: 0.45rem; text-align: center; }
.resolver-role-arrow i { width: 100%; border-top: 3px solid #d5962f; }
.resolver-role-arrow span,
.resolver-role-arrow b { color: #3d6265; font-size: 0.9rem; }

.dns-sequence-list,
.resolution-source-steps { display: grid; gap: 0.7rem; max-width: 920px; margin: 0 auto; padding: 0; list-style: none; }
.dns-sequence-list li,
.resolution-source-steps li { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); gap: 0.85rem; align-items: center; padding: 0.9rem 1rem; border: 1px solid #c4d6cf; border-radius: 14px; background: #fffefa; }
.dns-sequence-list li > span,
.resolution-source-steps li > span { display: grid; place-items: center; min-height: 2.7rem; border-radius: 11px; background: #176f70; color: #fff; font-weight: 900; }
.dns-sequence-list li strong,
.resolution-source-steps li strong { color: #17484c; font-size: 1rem; }
.dns-sequence-list li p,
.resolution-source-steps li p { margin: 0.2rem 0 0; color: #3e5d61; font-size: 0.95rem; line-height: 1.65; }

.zone-map-grid { grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); align-items: stretch; }
.zone-map-grid section { display: grid; align-content: center; min-height: 145px; }
.zone-map-grid section > span { color: #a65b35; font-size: 0.9rem; font-weight: 900; }
.zone-map-grid section > strong { margin: 0.3rem 0; color: #17484c; font-size: 1.05rem; }
.zone-cut-marker { display: grid; place-items: center; align-content: center; gap: 0.45rem; color: #17484c; text-align: center; }
.zone-cut-marker i { width: 100%; border-top: 3px dashed #d07146; }
.zone-cut-marker small { color: #5a6f71; font-size: 0.9rem; }

.cache-state-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cache-state--hit { background: #dcebe4; color: #155c52; }
.cache-state--miss { background: #fff0c8; color: #76520f; }
.cache-state--negative { background: #f7ded2; color: #8d452d; }

.ttl-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; }
.ttl-timeline section { padding: 0.9rem; border: 1px solid #c3d5ce; border-radius: 14px; background: #fffefa; }
.ttl-timeline section > span { color: #a65b35; font-size: 0.9rem; font-weight: 900; }
.ttl-timeline section > strong { display: block; margin-top: 0.65rem; color: #17484c; font-size: 1rem; }
.ttl-timeline section > p { margin: 0.25rem 0 0; color: #456367; font-size: 0.9rem; line-height: 1.6; }
.ttl-meter { height: 18px; margin-top: 0.55rem; overflow: hidden; border: 2px solid #2f6f6d; border-radius: 999px; background: #edf1e9; }
.ttl-meter i { display: block; width: var(--ttl); height: 100%; background: #e4b451; transition: width 800ms ease; }
.publication-diagram.diagram-is-active .ttl-meter i { animation: ttl-meter-settle 1.2s ease both; }
@keyframes ttl-meter-settle { from { width: 100%; } to { width: var(--ttl); } }

.record-anatomy-row { grid-template-columns: 1.25fr 0.65fr 0.65fr 0.65fr 1.35fr; }
.record-anatomy-row section { min-width: 0; padding: 0.85rem; }
.record-anatomy-row section small { display: block; color: #a55c36; font-size: 0.875rem; font-weight: 900; }
.record-anatomy-row section code { display: block; margin: 0.4rem 0; color: #0e5f61; font-size: 0.92rem; font-weight: 900; overflow-wrap: anywhere; }
.record-anatomy-value { background: #e8f1ec !important; }
.record-anatomy-row--ipv6 { grid-template-columns: 1.1fr 0.58fr 0.58fr 0.65fr 1.6fr; }

.cname-chain-grid { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr) auto minmax(0, 1fr); align-items: center; }
.cname-chain-grid section { min-width: 0; text-align: center; }
.cname-chain-grid section small { display: block; color: #a55c36; font-size: 0.875rem; font-weight: 900; }
.cname-chain-grid section code { display: block; margin: 0.45rem 0; color: #0e5f61; font-size: 0.92rem; overflow-wrap: anywhere; }
.cname-chain-grid section b { color: #36595d; font-size: 0.9rem; }
.cname-chain-grid > i { color: #d07146; font-size: 1.7rem; font-style: normal; font-weight: 900; }

.mx-record-board { display: grid; gap: 0.65rem; max-width: 920px; margin: 0 auto; }
.mx-record-board section { display: grid; grid-template-columns: 4rem minmax(0, 1fr) minmax(8rem, auto); gap: 0.75rem; align-items: center; padding: 0.85rem 1rem; }
.mx-record-board section code { display: grid; place-items: center; min-height: 2.6rem; border-radius: 10px; background: #176f70; color: #fff; font-size: 1rem; font-weight: 900; }
.mx-record-board section strong { color: #17484c; font-size: 0.95rem; overflow-wrap: anywhere; }
.mx-record-board section span { color: #5a6262; font-size: 0.9rem; }
.mx-address-step { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto minmax(0, 1fr); gap: 0.7rem; align-items: center; padding: 1rem; border-radius: 14px; background: #e7f0eb; color: #285356; text-align: center; }
.mx-address-step i { color: #cf7245; font-size: 1.25rem; font-style: normal; font-weight: 900; }
.mx-address-step b { padding: 0.4rem 0.65rem; border-radius: 8px; background: #fffefa; color: #126265; }

@media (prefers-reduced-motion: reduce) {
  .publication-diagram.diagram-is-active .ttl-meter i { animation: none; }
}

@media (max-width: 840px) {
  .resolver-role-grid,
  .zone-map-grid,
  .cache-state-grid,
  .ttl-timeline { grid-template-columns: 1fr 1fr; }
  .resolver-role-arrow,
  .zone-cut-marker { min-height: 85px; }
  .record-anatomy-row,
  .record-anatomy-row--ipv6 { grid-template-columns: 1fr 1fr; }
  .record-anatomy-value { grid-column: 1 / -1; }
  .cname-chain-grid { grid-template-columns: 1fr; }
  .cname-chain-grid > i { transform: rotate(90deg); text-align: center; }
}

@media (max-width: 620px) {
  .resolver-role-grid,
  .zone-map-grid,
  .cache-state-grid,
  .ttl-timeline,
  .record-anatomy-row,
  .record-anatomy-row--ipv6 { grid-template-columns: 1fr; }
  .resolver-role-arrow i,
  .zone-cut-marker i { width: 80px; }
  .dns-sequence-list li,
  .resolution-source-steps li { grid-template-columns: 3.8rem minmax(0, 1fr); padding: 0.8rem; }
  .mx-record-board section { grid-template-columns: 3.2rem minmax(0, 1fr); }
  .mx-record-board section span { grid-column: 2; }
  .mx-address-step { grid-template-columns: 1fr; }
  .mx-address-step i { transform: rotate(90deg); }
}

/* DNS records and IPv6 prefix: publication figures (052–061) */
.txt-structure-grid,
.ns-delegation-grid,
.soa-field-grid,
.ptr-reverse-grid,
.srv-field-grid,
.caa-property-grid,
.dnssec-record-grid,
.subdomain-tree-grid {
  display: grid;
  gap: 0.8rem;
}

.txt-structure-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.txt-structure-grid section,
.soa-field-grid section,
.ptr-reverse-grid section,
.srv-field-grid section,
.caa-property-grid section,
.dnssec-record-grid section,
.subdomain-tree-grid section {
  min-width: 0;
  padding: 0.95rem;
  border: 1px solid #c1d4cc;
  border-radius: 14px;
  background: #fffefa;
  color: #284f53;
}
.txt-structure-grid small,
.ptr-reverse-grid small { color: #a55c36; font-size: 0.875rem; font-weight: 900; }
.txt-structure-grid section > div { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.55rem 0; }
.txt-structure-grid code { padding: 0.35rem 0.5rem; border-radius: 7px; background: #e5f0ea; color: #0f6062; font-size: 0.9rem; overflow-wrap: anywhere; }
.txt-structure-grid p,
.soa-field-grid p,
.ptr-reverse-grid p,
.srv-field-grid p,
.caa-property-grid p,
.dnssec-record-grid p { margin: 0.25rem 0 0; color: #456367; font-size: 0.925rem; line-height: 1.65; }

.ns-delegation-grid { grid-template-columns: minmax(0, 1fr) 155px minmax(0, 1fr); align-items: stretch; }
.ns-delegation-grid section { display: grid; align-content: center; min-height: 145px; padding: 1rem; border: 1px solid #bfd3cb; border-radius: 15px; background: #fffefa; }
.ns-delegation-grid section > span { color: #a55c36; font-size: 0.9rem; font-weight: 900; }
.ns-delegation-grid h3 { margin: 0.3rem 0; color: #17484c; font-size: 1.05rem; }
.ns-delegation-grid p { margin: 0; color: #405f63; font-size: 0.95rem; line-height: 1.7; }

.soa-field-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.soa-field-grid section:last-child { grid-column: 2 / 4; }
.soa-field-grid code,
.srv-field-grid code,
.caa-property-grid code,
.dnssec-record-grid code { display: inline-flex; padding: 0.3rem 0.55rem; border-radius: 8px; background: #176f70; color: #fff; font-size: 0.9rem; font-weight: 900; }
.soa-field-grid strong,
.srv-field-grid strong,
.caa-property-grid strong,
.dnssec-record-grid strong { display: block; margin-top: 0.5rem; color: #17484c; font-size: 0.975rem; }

.ptr-reverse-grid { grid-template-columns: 1fr 1fr; }
.ptr-reverse-grid section { display: grid; gap: 0.4rem; }
.ptr-reverse-grid section:last-child { grid-column: 1 / -1; }
.ptr-reverse-grid code { color: #0e5f61; font-size: 0.9rem; overflow-wrap: anywhere; }
.ptr-reverse-grid i { color: #cf7245; font-size: 1.25rem; font-style: normal; font-weight: 900; }
.ptr-reverse-grid b { color: #466468; font-size: 0.9rem; }

.srv-field-grid,
.caa-property-grid,
.dnssec-record-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.caa-property-grid section:first-child { background: #f8eee1; }
.dnssec-record-grid section { border-top: 4px solid #4f9189; }

.domain-label-row { display: grid; grid-template-columns: 1fr auto 1.3fr auto 1fr auto 0.85fr; gap: 0.5rem; align-items: stretch; }
.domain-label-row section { display: grid; align-content: center; gap: 0.35rem; min-width: 0; min-height: 105px; padding: 0.85rem; border: 1px solid #c2d4cd; border-radius: 13px; background: #fffefa; text-align: center; }
.domain-label-row section code { color: #0e6264; font-size: 0.95rem; font-weight: 900; overflow-wrap: anywhere; }
.domain-label-row section small { color: #456367; font-size: 0.875rem; line-height: 1.55; }
.domain-label-row > i { display: grid; place-items: center; color: #d07146; font-size: 1.5rem; font-style: normal; font-weight: 900; }

.subdomain-tree-grid { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.25fr); align-items: center; }
.subdomain-tree-grid section { text-align: center; }
.subdomain-tree-grid code { display: block; margin-bottom: 0.45rem; color: #0e6062; font-size: 0.92rem; font-weight: 900; overflow-wrap: anywhere; }
.subdomain-tree-grid span { color: #496669; font-size: 0.9rem; }
.subdomain-tree-grid > i { color: #d07146; font-size: 1.4rem; font-style: normal; font-weight: 900; }

.ipv6-prefix-fields { display: flex; min-height: 150px; overflow: hidden; border: 2px solid #174d51; border-radius: 15px; }
.ipv6-field { display: grid; place-content: center; gap: 0.4rem; min-width: 0; padding: 1rem; text-align: center; }
.ipv6-field strong { color: #173f43; font-size: 0.95rem; overflow-wrap: anywhere; }
.ipv6-field span { color: #34565a; font-size: 0.875rem; line-height: 1.55; }
.ipv6-field--route { flex: 3; background: #bdd7c6; }
.ipv6-field--subnet { flex: 1; background: #f0c86d; }
.ipv6-field--interface { flex: 4; background: #dcebe6; }
.ipv6-prefix-examples { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr) auto minmax(0, 1.25fr); gap: 0.65rem; align-items: center; margin-top: 0.9rem; padding: 0.9rem; border-radius: 13px; background: #f6f3e9; text-align: center; }
.ipv6-prefix-examples code { color: #0f5f61; font-size: 0.9rem; overflow-wrap: anywhere; }
.ipv6-prefix-examples i { color: #ce7145; font-size: 1.2rem; font-style: normal; font-weight: 900; }

@media (max-width: 840px) {
  .txt-structure-grid,
  .soa-field-grid,
  .srv-field-grid,
  .caa-property-grid,
  .dnssec-record-grid { grid-template-columns: 1fr 1fr; }
  .soa-field-grid section:last-child { grid-column: auto; }
  .ns-delegation-grid { grid-template-columns: 1fr; }
  .domain-label-row { grid-template-columns: 1fr auto 1fr; }
  .domain-label-row section:nth-of-type(4) { grid-column: 2; }
  .subdomain-tree-grid { grid-template-columns: 1fr; }
  .subdomain-tree-grid > i { transform: rotate(90deg); text-align: center; }
}

@media (max-width: 620px) {
  .txt-structure-grid,
  .soa-field-grid,
  .ptr-reverse-grid,
  .srv-field-grid,
  .caa-property-grid,
  .dnssec-record-grid,
  .domain-label-row { grid-template-columns: 1fr; }
  .ptr-reverse-grid section:last-child { grid-column: auto; }
  .domain-label-row > i { transform: rotate(90deg); min-height: 34px; }
  .domain-label-row section:nth-of-type(4) { grid-column: auto; }
  .ipv6-prefix-fields { display: grid; }
  .ipv6-prefix-examples { grid-template-columns: 1fr; }
  .ipv6-prefix-examples i { transform: rotate(90deg); }
}

/* IPv4/IPv6 transition, tunneling and Wi-Fi: publication figures (072–081) */
.mape-rule-grid,
.dslite-flow-list,
.nat64-address-grid,
.dns64-decision-grid,
.xlat-role-grid,
.tunnel-part-grid,
.encap-layer-grid,
.pmtud-state-list,
.happy-timing-list,
.wifi-join-list {
  display: grid;
  gap: 0.8rem;
}

.mape-rule-grid,
.nat64-address-grid,
.dns64-decision-grid,
.xlat-role-grid,
.tunnel-part-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.encap-layer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.mape-rule-grid section,
.nat64-address-grid section,
.dns64-decision-grid section,
.xlat-role-grid section,
.tunnel-part-grid section,
.encap-layer-grid section,
.dslite-flow-list li,
.pmtud-state-list li,
.happy-timing-list li,
.wifi-join-list li {
  min-width: 0;
  border: 1px solid #bfd3cb;
  border-radius: 14px;
  background: #fffefa;
  color: #284f53;
}

.mape-rule-grid section,
.nat64-address-grid section,
.dns64-decision-grid section,
.xlat-role-grid section,
.tunnel-part-grid section,
.encap-layer-grid section { padding: 1rem; }

.mape-rule-grid section { border-top: 5px solid #4e9189; }
.mape-rule-grid section:nth-child(2) { border-top-color: #d39b3c; }
.mape-rule-grid section:nth-child(3) { border-top-color: #cd724b; }

.mape-rule-grid span,
.nat64-address-grid span,
.dns64-decision-grid span,
.xlat-role-grid span,
.tunnel-part-grid span,
.encap-layer-grid span {
  display: inline-flex;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  background: #dcebe4;
  color: #135c5f;
  font-size: 0.94rem;
  font-weight: 900;
}

.mape-rule-grid strong,
.nat64-address-grid strong,
.dns64-decision-grid strong,
.xlat-role-grid strong,
.tunnel-part-grid strong,
.encap-layer-grid strong {
  display: block;
  margin-top: 0.55rem;
  color: #17484c;
  font-size: 1rem;
  line-height: 1.5;
}

.mape-rule-grid p,
.nat64-address-grid p,
.dns64-decision-grid p,
.xlat-role-grid p,
.tunnel-part-grid p,
.encap-layer-grid p,
.dslite-flow-list p,
.pmtud-state-list p,
.happy-timing-list p,
.wifi-join-list p {
  margin: 0.35rem 0 0;
  color: #456367;
  font-size: 0.94rem;
  line-height: 1.68;
}

.nat64-address-grid section { border-left: 5px solid #4e9189; }
.nat64-address-grid code { display: block; margin-top: 0.55rem; color: #0d6062; font-size: 0.94rem; font-weight: 900; overflow-wrap: anywhere; }
.dns64-decision-grid section { border-top: 5px solid #4e9189; }
.dns64-decision-grid section:nth-child(2) { border-top-color: #d39b3c; }
.dns64-decision-grid section:nth-child(3) { border-top-color: #cd724b; }
.xlat-role-grid section { border-bottom: 5px solid #4e9189; }
.xlat-role-grid section:nth-child(2) { border-bottom-color: #d39b3c; }
.xlat-role-grid section:nth-child(3) { border-bottom-color: #cd724b; }
.tunnel-part-grid section { border-left: 5px solid #4e9189; }
.tunnel-part-grid section:nth-child(2) { border-left-color: #d39b3c; }
.tunnel-part-grid section:nth-child(3) { border-left-color: #cd724b; }
.encap-layer-grid section { border-top: 5px solid #4e9189; }
.encap-layer-grid section:nth-child(2) { border-top-color: #d39b3c; }
.encap-layer-grid section:nth-child(3) { border-top-color: #cd724b; }
.encap-layer-grid section:nth-child(4) { border-top-color: #788c57; }

.dslite-flow-list,
.pmtud-state-list,
.happy-timing-list,
.wifi-join-list {
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.dslite-flow-list li,
.pmtud-state-list li,
.happy-timing-list li,
.wifi-join-list li {
  display: grid;
  grid-template-columns: 3.8rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 1rem;
}

.dslite-flow-list li > span,
.pmtud-state-list li > span,
.happy-timing-list li > span,
.wifi-join-list li > span {
  display: grid;
  place-items: center;
  min-height: 3.2rem;
  border-radius: 12px;
  background: #176f70;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
}

.dslite-flow-list strong,
.pmtud-state-list strong,
.happy-timing-list strong,
.wifi-join-list strong { color: #17484c; font-size: 1rem; line-height: 1.5; }

@media (max-width: 820px) {
  .encap-layer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .mape-rule-grid,
  .nat64-address-grid,
  .dns64-decision-grid,
  .xlat-role-grid,
  .tunnel-part-grid,
  .encap-layer-grid { grid-template-columns: 1fr; }

  .dslite-flow-list li,
  .pmtud-state-list li,
  .happy-timing-list li,
  .wifi-join-list li {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.8rem;
  }
}

/* Browser settings, display adaptation, accessibility and diagnostics (292–301) */
.browser-cookie-settings-grid,
.browser-cache-grid,
.service-worker-lifecycle-grid,
.pwa-capability-grid,
.viewport-layer-grid,
.device-pixel-ratio-grid,
.dark-mode-scheme-grid,
.accessibility-principle-grid,
.network-profile-grid,
.ping-command-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.2rem 0 1.8rem;
}

.browser-cookie-settings-grid section,
.browser-cache-grid section,
.service-worker-lifecycle-grid section,
.pwa-capability-grid section,
.viewport-layer-grid section,
.device-pixel-ratio-grid section,
.dark-mode-scheme-grid section,
.accessibility-principle-grid section,
.network-profile-grid section,
.ping-command-grid section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #bfd3cb;
  border-top: 5px solid #4e9189;
  border-radius: 15px;
  background: #fffefa;
  color: #284f53;
  box-shadow: 0 8px 22px rgb(32 75 76 / 7%);
}

.browser-cookie-settings-grid section:nth-child(3n + 2),
.browser-cache-grid section:nth-child(3n + 2),
.service-worker-lifecycle-grid section:nth-child(3n + 2),
.pwa-capability-grid section:nth-child(3n + 2),
.viewport-layer-grid section:nth-child(3n + 2),
.device-pixel-ratio-grid section:nth-child(3n + 2),
.dark-mode-scheme-grid section:nth-child(3n + 2),
.accessibility-principle-grid section:nth-child(3n + 2),
.network-profile-grid section:nth-child(3n + 2),
.ping-command-grid section:nth-child(3n + 2) { border-top-color: #d39b3c; }

.browser-cookie-settings-grid section:nth-child(3n),
.browser-cache-grid section:nth-child(3n),
.service-worker-lifecycle-grid section:nth-child(3n),
.pwa-capability-grid section:nth-child(3n),
.viewport-layer-grid section:nth-child(3n),
.device-pixel-ratio-grid section:nth-child(3n),
.dark-mode-scheme-grid section:nth-child(3n),
.accessibility-principle-grid section:nth-child(3n),
.network-profile-grid section:nth-child(3n),
.ping-command-grid section:nth-child(3n) { border-top-color: #cd724b; }

.browser-cookie-settings-grid span,
.browser-cache-grid span,
.service-worker-lifecycle-grid span,
.pwa-capability-grid span,
.viewport-layer-grid span,
.device-pixel-ratio-grid span,
.dark-mode-scheme-grid span,
.accessibility-principle-grid span,
.network-profile-grid span,
.ping-command-grid span {
  display: inline-flex;
  max-width: 100%;
  padding: 0.34rem 0.66rem;
  border-radius: 999px;
  background: #dcebe4;
  color: #135c5f;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.browser-cookie-settings-grid strong,
.browser-cache-grid strong,
.service-worker-lifecycle-grid strong,
.pwa-capability-grid strong,
.viewport-layer-grid strong,
.device-pixel-ratio-grid strong,
.dark-mode-scheme-grid strong,
.accessibility-principle-grid strong,
.network-profile-grid strong,
.ping-command-grid strong {
  display: block;
  margin-top: 0.62rem;
  color: #17484c;
  font-family: var(--font-sans);
  font-size: 1.04rem;
  line-height: 1.5;
}

.browser-cookie-settings-grid p,
.browser-cache-grid p,
.service-worker-lifecycle-grid p,
.pwa-capability-grid p,
.viewport-layer-grid p,
.device-pixel-ratio-grid p,
.dark-mode-scheme-grid p,
.accessibility-principle-grid p,
.network-profile-grid p,
.ping-command-grid p {
  margin: 0.4rem 0 0;
  color: #425f63;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.72;
}

@media (max-width: 920px) {
  .browser-cookie-settings-grid,
  .browser-cache-grid,
  .service-worker-lifecycle-grid,
  .pwa-capability-grid,
  .viewport-layer-grid,
  .device-pixel-ratio-grid,
  .dark-mode-scheme-grid,
  .accessibility-principle-grid,
  .network-profile-grid,
  .ping-command-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .browser-cookie-settings-grid,
  .browser-cache-grid,
  .service-worker-lifecycle-grid,
  .pwa-capability-grid,
  .viewport-layer-grid,
  .device-pixel-ratio-grid,
  .dark-mode-scheme-grid,
  .accessibility-principle-grid,
  .network-profile-grid,
  .ping-command-grid {
    grid-template-columns: 1fr;
    gap: 0.78rem;
  }

  .browser-cookie-settings-grid section,
  .browser-cache-grid section,
  .service-worker-lifecycle-grid section,
  .pwa-capability-grid section,
  .viewport-layer-grid section,
  .device-pixel-ratio-grid section,
  .dark-mode-scheme-grid section,
  .accessibility-principle-grid section,
  .network-profile-grid section,
  .ping-command-grid section { padding: 0.95rem; }
}

/* Route, DNS and operating-system inspection commands (302–311) */
:is(
  .traceroute-path-grid,
  .tracert-hop-grid,
  .nslookup-query-grid,
  .dig-message-grid,
  .ipconfig-adapter-grid,
  .ifconfig-interface-grid,
  .ip-command-object-grid,
  .netstat-view-grid,
  .ss-filter-grid,
  .arp-cache-grid
) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.2rem 0 1.8rem;
}

:is(
  .traceroute-path-grid,
  .tracert-hop-grid,
  .nslookup-query-grid,
  .dig-message-grid,
  .ipconfig-adapter-grid,
  .ifconfig-interface-grid,
  .ip-command-object-grid,
  .netstat-view-grid,
  .ss-filter-grid,
  .arp-cache-grid
) section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #bfd3cb;
  border-top: 5px solid #4e9189;
  border-radius: 15px;
  background: #fffefa;
  color: #284f53;
  box-shadow: 0 8px 22px rgb(32 75 76 / 7%);
}

:is(
  .traceroute-path-grid,
  .tracert-hop-grid,
  .nslookup-query-grid,
  .dig-message-grid,
  .ipconfig-adapter-grid,
  .ifconfig-interface-grid,
  .ip-command-object-grid,
  .netstat-view-grid,
  .ss-filter-grid,
  .arp-cache-grid
) section:nth-child(3n + 2) { border-top-color: #d39b3c; }

:is(
  .traceroute-path-grid,
  .tracert-hop-grid,
  .nslookup-query-grid,
  .dig-message-grid,
  .ipconfig-adapter-grid,
  .ifconfig-interface-grid,
  .ip-command-object-grid,
  .netstat-view-grid,
  .ss-filter-grid,
  .arp-cache-grid
) section:nth-child(3n) { border-top-color: #cd724b; }

:is(
  .traceroute-path-grid,
  .tracert-hop-grid,
  .nslookup-query-grid,
  .dig-message-grid,
  .ipconfig-adapter-grid,
  .ifconfig-interface-grid,
  .ip-command-object-grid,
  .netstat-view-grid,
  .ss-filter-grid,
  .arp-cache-grid
) span {
  display: inline-flex;
  max-width: 100%;
  padding: 0.34rem 0.66rem;
  border-radius: 999px;
  background: #dcebe4;
  color: #135c5f;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

:is(
  .traceroute-path-grid,
  .tracert-hop-grid,
  .nslookup-query-grid,
  .dig-message-grid,
  .ipconfig-adapter-grid,
  .ifconfig-interface-grid,
  .ip-command-object-grid,
  .netstat-view-grid,
  .ss-filter-grid,
  .arp-cache-grid
) strong {
  display: block;
  margin-top: 0.62rem;
  color: #17484c;
  font-family: var(--font-sans);
  font-size: 1.04rem;
  line-height: 1.5;
}

:is(
  .traceroute-path-grid,
  .tracert-hop-grid,
  .nslookup-query-grid,
  .dig-message-grid,
  .ipconfig-adapter-grid,
  .ifconfig-interface-grid,
  .ip-command-object-grid,
  .netstat-view-grid,
  .ss-filter-grid,
  .arp-cache-grid
) p {
  margin: 0.4rem 0 0;
  color: #425f63;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.72;
}

@media (max-width: 920px) {
  :is(
    .traceroute-path-grid,
    .tracert-hop-grid,
    .nslookup-query-grid,
    .dig-message-grid,
    .ipconfig-adapter-grid,
    .ifconfig-interface-grid,
    .ip-command-object-grid,
    .netstat-view-grid,
    .ss-filter-grid,
    .arp-cache-grid
  ) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  :is(
    .traceroute-path-grid,
    .tracert-hop-grid,
    .nslookup-query-grid,
    .dig-message-grid,
    .ipconfig-adapter-grid,
    .ifconfig-interface-grid,
    .ip-command-object-grid,
    .netstat-view-grid,
    .ss-filter-grid,
    .arp-cache-grid
  ) {
    grid-template-columns: 1fr;
    gap: 0.78rem;
  }

  :is(
    .traceroute-path-grid,
    .tracert-hop-grid,
    .nslookup-query-grid,
    .dig-message-grid,
    .ipconfig-adapter-grid,
    .ifconfig-interface-grid,
    .ip-command-object-grid,
    .netstat-view-grid,
    .ss-filter-grid,
    .arp-cache-grid
  ) section { padding: 0.95rem; }
}

/* Global navigation contrast must remain authoritative. */
.breadcrumbs,
.breadcrumbs a,
.breadcrumbs a:visited { color: #d6e8ec; }

.site-header .site-nav a,
.site-header .site-nav a:visited { color: #f7ffff; }

.site-footer,
.site-footer p,
.site-footer li,
.site-footer small,
.site-footer .footer-bottom { color: #fff; }

.site-footer a,
.site-footer a:visited { color: #fff; }

.site-footer p,
.site-footer li,
.site-footer a,
.site-footer small { font-size: 0.95rem; }

.site-footer a:hover,
.site-footer a:focus-visible { color: #ffe3a0; }

/* Final responsive navigation and readability overrides. */
.site-footer p,
.site-footer li,
.site-footer a,
.site-footer small { font-size: 1rem; }

@media (min-width: 961px) {
  .site-header .site-nav a:not(.nav-search),
  .site-header .site-nav a:not(.nav-search):visited {
    color: #163f49;
  }

  .site-header .site-nav a:not(.nav-search):hover,
  .site-header .site-nav a:not(.nav-search):focus-visible {
    background: #e6f2f1;
    color: #075e69;
  }

  .site-header .site-nav .nav-search,
  .site-header .site-nav .nav-search:visited {
    color: #fff;
  }
}
