/* Shared local-preview design refinements. */
:root {--shadow-linked-card:0 1px 2px rgba(31,58,95,.06),0 2px 8px rgba(31,58,95,.05);--shadow-linked-card-hover:0 2px 3px rgba(31,58,95,.08),0 4px 10px rgba(31,58,95,.06);}
a.shared-card,.home-advisory-panel {box-shadow:var(--shadow-linked-card);}
a.shared-card {transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease;}
a.shared-card:hover {box-shadow:var(--shadow-linked-card-hover);}
a.shared-card .shared-card-description {text-wrap:pretty;}
.app-screen .generator-related-tool {padding:0;border:0;background:none;font:17px/1.55 Georgia,serif;}
.app-screen .generator-related-tool::before {display:none;}
.self-check-page .self-check-toolbar .wizard-progress.generator-stepbar {display:block;}
.self-check-page .self-check-toolbar .generator-stepbar-saving {justify-content:space-between;}
.self-check-page .generator-page-intro .page-opening-copy {max-width:38rem;}
.self-check-page .generator-stepbar-switch {margin-top:0;}
.self-check-page #sa-heading:focus:not(:focus-visible) {outline:none;}
@media(max-width:639px){
 .site-footer.site-footer-consolidated .footer-site-nav ul {grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,auto);grid-auto-flow:column;gap:0 1.5rem;}
 .site-footer.site-footer-consolidated .footer-site-nav a {min-height:44px;}
 .self-check-page .self-check-toolbar .generator-stepbar-saving {align-items:flex-start;gap:.75rem;}
}
@media(prefers-reduced-motion:reduce){a.shared-card {transition:none;}a.shared-card:hover {transform:none;}}
@media print{.self-check-page .app-screen{display:block!important;}.self-check-page .site-header,.self-check-page .site-nav,.self-check-page .site-footer,.self-check-page .self-check-toolbar,.self-check-page .sa-segment-controls,.self-check-page .sa-opening-actions {display:none!important;}}

/* Initial heading focus is quiet; keyboard links and controls keep their focus-visible rings. */
.app-screen .page-opening-title[data-generator-programmatic-focus]:focus {outline:none;}

/* Shared surfaces keep multi-action catalogues distinct from single-destination cards. */
.resource-entry,.catalogue-cards .download-catalogue-card {border-radius:10px;box-shadow:var(--shadow-linked-card);}
.resource-entry:focus-within,.catalogue-cards .download-catalogue-card:focus-within {border-color:#1f3a5f;box-shadow:var(--shadow-linked-card-hover);}
a.shared-card:active {border-color:#1f3a5f;box-shadow:inset 0 0 0 1px #1f3a5f,var(--shadow-linked-card);transform:none;}
a.shared-card:active .shared-card-title {text-decoration:underline;}
.self-check-page .sa-part-one-legend {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;}
.self-check-page #sa-part-one-heading:focus:not(:focus-visible) {outline:none;}

/* Leave room for the complete heading focus ring after scrolling. */
.self-check-page #sa-part-one-heading {scroll-margin-top:12px;}
/* Navigation and multi-action catalogue cards share the same border token. */
:root {--border-linked-card:#c9d5e3;}
a.shared-card,.resource-entry,.catalogue-cards .download-catalogue-card {border-color:var(--border-linked-card);}
a.shared-card:hover,a.shared-card:focus-visible,a.shared-card:active,.resource-entry:focus-within,.catalogue-cards .download-catalogue-card:focus-within {border-color:#1f3a5f;}
