/* Post de wavelets (sincronia espacial): estilos da página e das figuras em SVG.
   Os SVGs não usam style inline porque a CSP do site só aceita CSS de arquivos. */
  :root { --f1-site2: #5f9e96; --f1-site4: #d9a066; --f1-ghost: #c9c2b4; }
  :root[data-theme="dark"] { --f1-site2: #3f8a80; --f1-site4: #b9824a; --f1-ghost: #46524f; }
  .prose a.gl { color: var(--accent); font-weight: 600; text-decoration: underline dotted;
    text-underline-offset: 4px; text-decoration-thickness: 1.5px; scroll-margin-top: 120px; }
  .prose a.gl:hover { color: var(--leaf); }
  .prose a.gl:target { background: var(--accent-soft); border-radius: 4px; }
  .fig1 { margin: 1.8em 0; }
  .fig1 svg { display: block; }
  .fig1 figcaption { font-size: 14.5px; line-height: 1.55; margin-top: 10px; }
  .fig1 figcaption strong { color: var(--ink); font-weight: 600; }
  .glossary { margin-top: 3em; padding: 22px 24px; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius); }
  .glossary h2 { font-family: var(--serif); font-size: 24px; margin: 0 0 .6em; }
  .glossary dl { margin: 0; }
  .glossary dt { font-weight: 600; color: var(--accent); scroll-margin-top: 90px; margin-top: 14px; }
  .glossary dt:first-child { margin-top: 0; }
  .glossary dd { margin: 2px 0 0; color: var(--ink); font-size: 15.5px; }
  .glossary dt:target { color: var(--leaf); }
  .gl-back { text-decoration: none; margin-left: 4px; }
  .prose p.destaque { background: var(--accent-soft); border-radius: var(--radius); padding: 18px 22px; }
  .ex-corr { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 18px; align-items: start; }
  .ex-corr canvas { width: 100%; touch-action: none; }
  @media (max-width: 620px) { .ex-corr { grid-template-columns: 1fr; } }
  .ex-corr-tit { font: 600 13px var(--sans); color: var(--muted); margin: 0 0 6px; }
  .ex-matriz { border-collapse: separate; border-spacing: 3px; font: 600 14px var(--sans);
    font-variant-numeric: tabular-nums; margin: 0 0 14px -3px; }
  .ex-matriz th { font-weight: 700; padding: 2px 6px; }
  .ex-matriz td { width: 52px; height: 40px; text-align: center; border-radius: 6px; color: var(--ink); }
  .ex-media { font: 700 34px var(--sans); color: var(--leaf); margin: 0; font-variant-numeric: tabular-nums; }
  .fig1 svg *{stroke-linejoin: round; stroke-linecap: butt}
  .fig1 svg .sv1 { fill: var(--surface) }
  .fig1 svg .sv2 { fill: var(--leaf-soft) }
  .fig1 svg .sv3 { fill: none; stroke: var(--line); stroke-width: 0.8; stroke-linecap: square }
  .fig1 svg .sv4 { font-size: 11px; font-family: 'Inter'; text-anchor: end; fill: var(--muted) }
  .fig1 svg .sv5 { fill: none; stroke-dasharray: 4.4,3.3; stroke-dashoffset: 0; stroke: var(--leaf); stroke-width: 1.1 }
  .fig1 svg .sv6 { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: square }
  .fig1 svg .sv7 { fill: none; stroke: var(--f1-site2); stroke-width: 2; stroke-linecap: square }
  .fig1 svg .sv8 { fill: none; stroke: var(--leaf); stroke-width: 2; stroke-linecap: square }
  .fig1 svg .sv9 { fill: none; stroke: var(--f1-site4); stroke-width: 2; stroke-linecap: square }
  .fig1 svg .sv10 { fill: none; stroke: var(--line); stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square }
  .fig1 svg .sv11 { font-weight: 700; font-size: 15px; font-family: 'Inter'; text-anchor: start; fill: var(--ink) }
  .fig1 svg .sv12 { font-size: 9.5px; font-family: 'Inter'; text-anchor: start; fill: var(--leaf) }
  .fig1 svg .sv13 { fill: none; stroke: var(--leaf); stroke-linecap: round }
  .fig1 svg .sv14 { fill: var(--leaf); stroke: var(--leaf); stroke-linecap: round }
  .fig1 svg .sv15 { font-size: 10px; font-family: 'Inter'; fill: var(--leaf) }
  .fig1 svg .sv16 { fill: none; stroke: var(--muted); stroke-linecap: round }
  .fig1 svg .sv17 { fill: var(--muted); stroke: var(--muted); stroke-linecap: round }
  .fig1 svg .sv18 { font-size: 10px; font-family: 'Inter'; fill: var(--ink) }
  .fig1 svg .sv19 { stroke: var(--surface); stroke-width: 1.5 }
  .fig1 svg .sv20 { fill: var(--leaf); stroke: var(--surface); stroke-width: 1.5 }
  .fig1 svg .sv21 { font-size: 11px; font-family: 'Inter'; text-anchor: middle; fill: var(--muted) }
  .fig1 svg .sv22 { fill: none; stroke: var(--f1-ghost); stroke-width: 1.2; stroke-linecap: square }
  .fig1 svg .sv23 { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: square }
  .fig1 svg .sv24 { fill: var(--line); fill-opacity: 0.45 }
  .fig1 svg .sv25 { font-weight: 600; font-size: 14px; font-family: 'Inter'; text-anchor: middle; fill: var(--ink) }
  .fig1 svg .sv26 { font-size: 10.5px; font-family: 'Inter'; text-anchor: middle; fill: var(--muted) }
  .fig1 svg .sv27 { font-size: 12px; font-family: 'Inter'; fill: var(--muted) }
  .fig1 svg .sv28 { font-size: 12px; font-family: 'Inter'; text-anchor: middle; fill: var(--muted) }
  .fig1 svg .sv29 { font-weight: 600; font-size: 12.5px; font-family: 'Inter'; text-anchor: middle; fill: var(--leaf) }
  .fig1 svg .sv30 { font-weight: 600; font-size: 12.5px; font-family: 'Inter'; text-anchor: middle; fill: var(--accent) }
  .fig1 svg .sv31 { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: square }
  .fig1 svg .sv32 { stroke: var(--accent) }
  .fig1 svg .sv33 { fill: var(--accent); stroke: var(--accent) }
  .fig1 svg .sv34 { fill: none; stroke-dasharray: 4,3; stroke-dashoffset: 0; stroke: var(--leaf) }
  .fig1 svg .sv35 { font-weight: 600; font-size: 13.5px; font-family: 'Inter'; text-anchor: start; fill: var(--ink) }
  .fig1 svg .sv36 { font-size: 10.5px; font-family: 'Inter'; text-anchor: start; fill: var(--muted) }
  .fig1 svg .sv37 { fill: none; stroke: var(--muted); stroke-width: 1.2; stroke-linecap: square }
  .fig1 svg .sv38 { font-weight: 600; font-size: 11px; font-family: 'Inter'; text-anchor: start; fill: var(--ink) }
  .fig1 svg .sv39 { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: square }
  .fig1 svg .sv40 { font-size: 10px; font-family: 'Inter'; text-anchor: start; fill: var(--accent) }
  .fig1 svg .sv41 { font-size: 10px; font-family: 'Inter'; text-anchor: start; fill: var(--leaf) }
  .fig1 svg .sv42 { fill: #fffdf9; fill-opacity: 0.75 }
  .fig1 svg .sv43 { fill: none; stroke-dasharray: 2.4,2.4; stroke-dashoffset: 0; stroke: var(--muted); stroke-width: 0.8 }
  .fig1 svg .sv44 { font-size: 9.5px; font-family: 'Inter'; fill: var(--accent) }
  .fig1 svg .sv45 { font-size: 9.5px; font-family: 'Inter'; fill: var(--leaf) }
  .referencias { margin-top: 1.5em; }
  .refs { margin: 0; padding-left: 1.3em; font-size: 15px; line-height: 1.5; }
  .refs li { margin-top: 8px; overflow-wrap: anywhere; }
  .refs li:first-child { margin-top: 0; }
