/* Shared unit-menu support cards. Existing destinations/content are unchanged. */
.unit-support-card,.ss-unit-links{box-sizing:border-box!important;margin:30px auto 24px!important;padding:22px!important;max-width:900px!important;border:2px solid #d6b65f!important;border-radius:23px!important;color:#fff5d6!important;background:linear-gradient(140deg,#122943,#203e62)!important;box-shadow:0 7px 0 #9d8547,0 15px 19px #17354f27,inset 0 1px 1px #ffffff40!important;transform:translateY(-3px);position:relative;isolation:isolate}
.unit-support-card{background:linear-gradient(140deg,#23384d,#344f69)!important;border-color:#dfc575!important;box-shadow:0 7px 0 #ac9655,0 15px 19px #17354f27,inset 0 1px 1px #ffffff40!important}
.unit-support-card h2,.ss-unit-links h2{color:#ffe7a2!important;font-weight:bold!important;line-height:1.4!important;margin:0 0 11px!important;font-size:24px!important}
.unit-support-card p,.ss-unit-links p{color:#f6f0df!important;line-height:1.8!important;font-size:16px!important}
.unit-support-card a,.ss-unit-links a{display:block!important;box-sizing:border-box!important;padding:13px 12px!important;border:1px solid #f7d783!important;border-bottom:4px solid #b78c3e!important;border-radius:15px!important;background:linear-gradient(135deg,#fff0b7,#edcd76)!important;color:#183653!important;text-align:center!important;font-size:16px!important;line-height:1.5!important;font-weight:bold!important;text-decoration:none!important;min-height:48px!important;box-shadow:0 3px 6px #071a2b38!important}
.unit-support-card a:focus-visible,.ss-unit-links a:focus-visible{outline:3px solid white;outline-offset:4px}
@media(max-width:360px){.unit-support-card,.ss-unit-links{padding:17px!important}.unit-support-card h2,.ss-unit-links h2{font-size:22px!important}.unit-support-card p,.ss-unit-links p{font-size:15px!important}.unit-support-card a,.ss-unit-links a{font-size:15px!important}}

#lesson-list>.support-parallel,.cards>.support-parallel{width:100%!important;max-width:none!important;margin:0!important;flex:none!important;min-height:0!important;height:auto!important;box-sizing:border-box!important;animation:unitSupportFloat 6s ease-in-out infinite!important;transform-origin:bottom center;transform:perspective(1200px) rotateY(-3deg) rotateZ(-2deg)}.cards>.support-parallel{align-self:stretch;justify-content:center;overflow:visible!important}.support-parallel h2{flex:none!important;display:block!important}.support-parallel p{flex:none!important}.support-parallel a{flex:none!important}.support-parallel:nth-child(even){animation-delay:-2s!important}@keyframes unitSupportFloat{0%,100%{transform:perspective(1200px) rotateY(-3deg) rotateZ(-2deg) translateY(0)}50%{transform:perspective(1200px) rotateY(-3deg) rotateZ(-2deg) translateY(-5px)}}@media(prefers-reduced-motion:reduce){#lesson-list>.support-parallel,.cards>.support-parallel{animation:none!important;transform:none!important}}

header.top{justify-content:center!important;text-align:center!important}header.top .brand{margin-inline:auto!important;justify-content:center!important}#unit-view>.unit-banner,main>header:has(h1){box-sizing:border-box;background:linear-gradient(140deg,#15324f,#0d203b)!important;color:#ffe5a1!important;border:2px solid #d6b65f!important;border-radius:21px!important;box-shadow:0 6px 0 #9b8240,0 13px 18px #17354f2c!important;transform:perspective(1200px) rotateY(-3deg) rotateZ(-2deg)!important;padding:13px 16px!important;margin:18px auto 27px!important;max-width:650px!important;width:calc(100% - 12px)!important;min-height:65px!important}#unit-view>.unit-banner h1,main>header h1{color:#ffe5a1!important;font-size:clamp(22px,4vw,32px)!important;line-height:1.4!important}#unit-view>.unit-banner small,#unit-view>.unit-banner p,main>header small{color:#fff0c8!important}#unit-view>.unit-banner img{border:1px solid #e9ce86!important}#unit-view>.unit-banner{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important}@media(prefers-reduced-motion:reduce){#unit-view>.unit-banner,main>header:has(h1){transform:none!important}}

main>header .back{background:linear-gradient(135deg,#fff0b7,#edcd76)!important;color:#183653!important;border:1px solid #e0bc62!important;border-bottom:3px solid #9b8240!important}

/* Owner choice, 25 Nov 2026: straight unit and lesson cards; retain raised depth. */
html body .cards>.card,html body .unit-card,html body .lesson-card,html body #units-home #units-grid>.unit-card,html body #unit-view.vertical-lessons #lesson-list>.lesson-card,html body .cards>.support-parallel,html body #lesson-list>.support-parallel,html body .appendix-links{transform:none!important;rotate:0deg!important;animation:none!important}
html body .cards>.card:hover,html body .cards>.card:active,html body .unit-card:hover,html body .lesson-card:hover{transform:none!important}

html body #unit-view>.unit-banner,html body main>header:has(h1){transform:none!important;rotate:0deg!important;animation:none!important}
