/* V7 project-local integration rules. Loads AFTER the supplied polish-v7.css (kept byte-identical). */
/* Header: keep the V6 current-page underline + V6 action tokens on the new shell. */
[data-dy-site] .v7-nav-links a[aria-current=page]{color:var(--dy-ink);box-shadow:inset 0 -1.5px 0 var(--dy-coral)}
[data-dy-site] .v7-nav-links a:hover,[data-dy-site] .v7-nav-links a:focus-visible{color:var(--dy-accent)}
[data-dy-site] .v7-nav-cta:hover{background:color-mix(in srgb,var(--dy-action) 86%,#000)}
[data-dy-site] .v7-nav-links a{font-size:15px}
[data-dy-site] .v7-theme option{background:var(--dy-surface);color:var(--dy-ink)}
/* Pilot: icons are retained content, so suppress the pack's text bullet. */
[data-dy-site] .v7-pilot li::before{content:none}
[data-dy-site] .v7-pilot a:hover{color:var(--dy-ink)}
/* Whole-card lift: beat the V6 bridge's equal-specificity border rule in both themes. */
:root [data-dy-site] .v7-lift{border-color:var(--dy-outline)}
@media(hover:hover) and (pointer:fine){:root [data-dy-site] .v7-lift:hover{border-color:var(--dy-accent)}}
:root [data-dy-site] .v7-lift:focus-within,:root [data-dy-site] .v7-lift:focus-visible{border-color:var(--dy-accent)}
/* Feature grid: the reveal wrapper is now the grid item; the card fills it. */
[data-dy-site] .v5-feature-grid>[data-v7-reveal]{display:grid;min-width:0}
/* Explorer topic rows: subtle response; hover never selects. `translate` keeps the inline rotate intact. */
[data-dy-site] .v7-topic svg{transition:transform 220ms cubic-bezier(.22,1,.36,1),translate 220ms cubic-bezier(.22,1,.36,1)}
[data-dy-site] .v7-topic span{transition:color 200ms ease}
@media(hover:hover) and (pointer:fine){
  [data-dy-site] .v7-topic:hover span{color:var(--dy-ink)!important}
  [data-dy-site] .v7-topic:hover svg{translate:3px 0;stroke:var(--dy-accent)!important}
}
@media(prefers-reduced-motion:reduce){[data-dy-site] .v7-topic svg{transition:none}[data-dy-site] .v7-topic:hover svg{translate:none}}
/* Footer brand uses the same matte artwork as the header. */
[data-dy-site] .v7-footer-brand{display:inline-block;line-height:0;border-radius:11px;overflow:hidden}
[data-dy-site] .v7-footer-brand img{display:block;width:150px;height:auto;aspect-ratio:1044/298}
