/* AMA Experience: progressive enhancement only. Existing color palette is untouched. */
.ama-page-transition[hidden]{display:none!important}
.ama-page-transition{position:fixed;inset:0;z-index:2147480000;display:grid;place-items:center;padding:24px;overflow:auto;color:#19191d;background:radial-gradient(circle at 13% 11%,rgba(200,16,46,.095),transparent 37%),radial-gradient(circle at 82% 84%,rgba(21,17,23,.07),transparent 39%),rgba(250,249,250,.986);animation:ama-overlay-enter .22s ease-out both}
.ama-transition-edge{position:fixed;top:0;left:0;right:0;height:4px;overflow:hidden;background:#f3dce1}
.ama-transition-edge:after{content:"";display:block;width:42%;height:100%;background:linear-gradient(90deg,transparent,#c8102e,#ed647e,transparent);animation:ama-edge-sweep 1.55s ease-in-out infinite}
.ama-transition-card{width:min(500px,100%);padding:clamp(26px,5vw,44px);border:1px solid #e8dfe2;border-radius:26px;background:rgba(255,255,255,.97);box-shadow:0 28px 72px rgba(28,18,25,.12),0 3px 10px rgba(20,20,25,.03)}
.ama-transition-brand{display:flex;align-items:center;gap:13px;margin-bottom:30px}
.ama-transition-emblem{width:56px;height:56px;flex:0 0 56px;display:grid;place-items:center;padding:7px;border:1px solid #eddee2;border-radius:16px;background:#fff;box-shadow:0 6px 18px rgba(200,16,46,.07)}
.ama-transition-emblem img{display:block;width:100%;height:100%;object-fit:contain}
.ama-transition-brand-copy strong{display:block;font-size:19px;line-height:1.15;font-weight:900;letter-spacing:.04em}
.ama-transition-brand-copy span{display:block;margin-top:4px;color:#77727a;font-size:10px;font-weight:740;text-transform:uppercase;letter-spacing:.09em}
.ama-transition-kicker{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.14em;font-weight:850;color:#ac1130}
.ama-transition-kicker:before{content:"";width:21px;height:2px;background:#c8102e;border-radius:2px}
.ama-transition-title{margin:10px 0 22px;font-size:clamp(22px,4vw,28px);letter-spacing:-.035em;line-height:1.2;font-weight:850}
.ama-transition-track{height:5px;overflow:hidden;border-radius:20px;background:#f0e7ea}
.ama-transition-track span{display:block;height:100%;width:41%;background:linear-gradient(90deg,#9f0c24,#c8102e,#ee7189);border-radius:inherit;animation:ama-track 1.6s ease-in-out infinite}
.ama-transition-preview{display:grid;gap:12px;margin-top:30px;padding-top:22px;border-top:1px solid #f2ebee}
.ama-transition-preview-heading{display:block;height:14px;width:68%;border-radius:8px}
.ama-transition-preview-subtitle{display:block;height:9px;width:89%;border-radius:8px}
.ama-transition-preview-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:5px}
.ama-transition-preview-cards i{display:block;height:70px;border-radius:12px}
.ama-skeleton-pulse{background:linear-gradient(100deg,#efe9ec 0%,#faf8f9 45%,#efe9ec 82%);background-size:220% 100%;animation:ama-skeleton-shine 1.7s ease-in-out infinite}
@keyframes ama-overlay-enter{from{opacity:0}to{opacity:1}}
@keyframes ama-edge-sweep{from{transform:translateX(-110%)}to{transform:translateX(350%)}}
@keyframes ama-track{0%{transform:translateX(-104%)}55%{transform:translateX(110%)}100%{transform:translateX(250%)}}
@keyframes ama-skeleton-shine{from{background-position:180% 0}to{background-position:-100% 0}}
@keyframes ama-media-settle{from{opacity:.72}to{opacity:1}}
.ama-header.ama-has-scrolled{box-shadow:0 10px 28px rgba(24,18,25,.085);border-bottom-color:#e0dce1}
.ama-header{transition:box-shadow .24s ease,border-color .24s ease}
img.ama-media-pending{background:linear-gradient(100deg,#eee8eb,#faf9fa,#eee8eb);background-size:220% 100%;animation:ama-skeleton-shine 1.5s ease-in-out infinite}
img.ama-media-ready{animation:ama-media-settle .34s ease-out both}
@media (hover:hover) and (pointer:fine){
.ama-event-tile,.ama-folder,.ama-recent-event,.ama-calendar-agenda-item,.news-card{transition:transform .24s cubic-bezier(.2,.8,.2,1),box-shadow .24s ease,border-color .24s ease}
.ama-event-tile:hover,.ama-folder:hover,.ama-recent-event:hover,.ama-calendar-agenda-item:hover,.news-card:hover{transform:translateY(-4px);box-shadow:0 15px 33px rgba(26,17,24,.09)}
}
a.button:focus-visible,button.button:focus-visible,.ama-event-tile:focus-visible,.ama-folder:focus-visible,.ama-calendar-agenda-item:focus-visible{outline:3px solid #c8102e;outline-offset:4px}
@media(max-width:620px){.ama-page-transition{padding:16px}.ama-transition-card{padding:26px 22px;border-radius:21px}.ama-transition-preview-cards i{height:56px}}
@media(prefers-reduced-motion:reduce){.ama-page-transition,.ama-transition-edge:after,.ama-transition-track span,.ama-skeleton-pulse,img.ama-media-pending,img.ama-media-ready{animation:none!important}.ama-header,.ama-event-tile,.ama-folder,.ama-recent-event,.ama-calendar-agenda-item,.news-card{transition:none!important}}
