/* Feedback follows the actual click target; reading containers stay still. */
:root{--surface-ring:#5598ed;--surface-shadow:0 12px 26px -14px #195b9d55,0 3px 9px -5px #195b9d24;--surface-ease:cubic-bezier(.22,.7,.25,1)}
/* Only verified whole-card links belong in this list. */
html body :is([data-feedback="card-link"],a.studio-guide-cover,.studio-resource-pair>a,a.review-card,a.journey-card,a.industry-card){
 outline:2px solid transparent;outline-offset:0;
 transition:outline-color 160ms ease,border-color 160ms ease,box-shadow 220ms var(--surface-ease),translate 220ms var(--surface-ease);
}
html body :is(.btn,.button,.circle-link,.more-controls button,.more-peek,.scenario-links button,.filter-btn,[data-topic-button],.knowledge-suggestions button,.menu-toggle,.mes-image-button,summary){
 transition:background-color 160ms ease,border-color 160ms ease,color 160ms ease,box-shadow 180ms ease;
}
/* Keyboard focus belongs to the control, never all its ancestors. */
html body :is(a,button,summary):focus-visible{outline:3px solid #4897f5;outline-offset:4px}
html body [data-feedback="card-link"]:has(>.scene-card-footer:focus-visible){outline-color:var(--surface-ring);box-shadow:var(--surface-shadow)}
html body [data-feedback="card-link"]>.scene-card-footer:focus-visible{outline:none}
html body .mes-image-button:focus-visible{outline-offset:-3px}
@media(hover:hover) and (pointer:fine){
 html body :is([data-feedback="card-link"],a.studio-guide-cover,.studio-resource-pair>a,a.review-card,a.journey-card,a.industry-card):hover{
  outline-color:var(--surface-ring);border-color:var(--surface-ring);box-shadow:var(--surface-shadow);translate:0 -2px;
 }
 html body :is(a.journey-card,a.industry-card):hover{transform:none}
 html body :is([data-feedback="card-link"],a.studio-guide-cover,.studio-resource-pair>a,a.review-card,a.journey-card,a.industry-card):active{translate:0 0;transition-duration:90ms}
 /* Primary actions: local shadow, no floating parent or layout displacement. */
 html body :is(.btn,.button,.circle-link,.more-controls button):not(:disabled,[aria-disabled="true"]):hover{transform:none;box-shadow:0 5px 14px -6px #195dad55}
 html body :is(.btn,.button,.circle-link,.more-controls button):not(:disabled,[aria-disabled="true"]):active{box-shadow:0 1px 4px #195dad22}
 html body .more-peek:hover{border-color:#a1caff;box-shadow:inset 0 0 0 1px #a1caff;translate:none}
 /* Tabs and filters keep their existing selected-state colors and position. */
 html body :is(.filter-btn,[data-topic-button],.knowledge-suggestions button):not(:disabled,[aria-pressed="true"],[aria-selected="true"],.active,.is-active):hover{border-color:#8ebbf1;background-color:#eaf4ff}
 html body :is(.faq,.production-details,.decision-details,.content-details) summary:hover{background-color:#eef5fd}
 html body :is(.text-link,.knowledge-card h3 a,.knowledge-card-foot a):not(.scene-card-footer):hover{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1.5px}
 html body .scene-card-footer:hover{color:var(--scene-ink,#fff)}
 html body .mes-image-button:hover{box-shadow:inset 0 0 0 2px #5598ed}
 html body .mes-image-button:hover .mes-zoom{background:#edf5ff;border-color:#8cbbf4}
}
@media(prefers-reduced-motion:reduce){
 html body :is([data-feedback="card-link"],a.studio-guide-cover,.studio-resource-pair>a,a.review-card,a.journey-card,a.industry-card,.btn,.button,.circle-link,.more-controls button,.more-peek,.scenario-links button,.filter-btn,[data-topic-button],.knowledge-suggestions button,.menu-toggle,.mes-image-button,summary){transition:none!important;translate:none!important}
}
@media print{
 html body :is([data-feedback="card-link"],a.studio-guide-cover,.studio-resource-pair>a,a.review-card,a.journey-card,a.industry-card){outline:none!important;translate:none!important}
}
