/* SELF ENTOURAGE — CONSULT THE CROWN (logo palette, AA contrast, reduced motion aware) */
.se-crown-launcher {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 95;
  display: inline-flex; align-items: center; gap: .6rem; min-height: 3.25rem; padding: .3rem 1.1rem .3rem .3rem;
  border: 2px solid #084C61; border-radius: 999px; background: #FFFFFF; color: #061B22;
  font: 800 .92rem/1.1 Inter, system-ui, sans-serif; letter-spacing: .01em; cursor: pointer;
  box-shadow: 0 10px 28px rgba(6, 27, 34, .18);
}
.se-crown-launcher img { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: block; }
.se-crown-launcher:hover { border-color: #DA3A34; }
.se-crown-launcher:focus-visible { outline: 3px solid #DA3A34; outline-offset: 3px; }
.se-crown-launcher.se-crown-lifted { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
/* One floating door per page: the older route-finder button stays reachable from the panel. */
html[data-se-crown="installed"] .crown-butler-trigger { display: none !important; }
html[data-se-crown="installed"] body[data-se-canonical-product="true"] .se-crown-launcher { bottom: calc(5.8rem + env(safe-area-inset-bottom)); }

.se-crown-panel {
  position: fixed; top: max(.75rem, env(safe-area-inset-top)); right: max(.75rem, env(safe-area-inset-right)); z-index: 96;
  width: min(25rem, calc(100vw - 1.5rem)); max-height: calc(100dvh - 1.5rem); overflow: auto;
  padding: 1.1rem 1.1rem 1.2rem; border-radius: 20px; background: #FFFFFF; color: #061B22;
  border-top: 5px solid #DA3A34; box-shadow: 0 24px 60px rgba(6, 27, 34, .28);
  font: 400 .98rem/1.5 Inter, system-ui, sans-serif;
}
.se-crown-panel[data-motion="full"] { transform: translateY(-120%); opacity: 0; transition: transform .55s cubic-bezier(.2, .9, .25, 1.15), opacity .3s ease; }
.se-crown-panel[data-motion="full"].is-in { transform: none; opacity: 1; }
.se-crown-panel[data-motion="full"] .se-crown-mark { transform: rotate(-200deg); transition: transform .9s cubic-bezier(.2, .8, .2, 1) .1s; }
.se-crown-panel[data-motion="full"].is-in .se-crown-mark { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .se-crown-panel, .se-crown-panel .se-crown-mark { transition: none !important; transform: none !important; opacity: 1 !important; }
}
.se-crown-head { display: grid; grid-template-columns: 3.5rem 1fr 2.5rem; gap: .75rem; align-items: start; }
.se-crown-mark { width: 3.5rem; height: 3.5rem; border-radius: 50%; display: block; }
.se-crown-label { margin: 0 0 .15rem; color: #C4322C; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.se-crown-panel h2 { margin: 0; font-size: 1.12rem; line-height: 1.3; color: #061B22; }
.se-crown-panel h2::after { display: none !important; }
.se-crown-ask { margin: .7rem 0 .8rem; color: #24383F; }
.se-crown-close { width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: #EEF2F4; color: #061B22; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.se-crown-close:hover { background: #DA3A34; color: #FFFFFF; }
.se-crown-doors { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.se-crown-door { display: grid; gap: .15rem; min-height: 4.4rem; padding: .7rem .75rem; border: 1px solid #D5DEE1; border-radius: 12px; color: #061B22 !important; text-decoration: none; background: #F6F8F9; }
.se-crown-door strong { color: #084C61; font-size: .95rem; }
.se-crown-door span { font-size: .8rem; color: #40535A; line-height: 1.35; }
.se-crown-door:hover, .se-crown-door:focus-visible { border-color: #DA3A34; background: #FFFFFF; }
.se-crown-door:hover strong { color: #C4322C; }
.se-crown-finder { width: 100%; margin: 0 0 .9rem; min-height: 2.75rem; border: 0; border-radius: 10px; background: #DA3A34; color: #FFFFFF; font: 800 .92rem Inter, system-ui, sans-serif; cursor: pointer; }
.se-crown-finder:hover { background: #9E2A25; }
.se-crown-faq label { display: block; font-weight: 800; font-size: .9rem; margin-bottom: .3rem; }
.se-crown-faq input { width: 100%; min-height: 2.75rem; padding: .55rem .75rem; border: 2px solid #084C61; border-radius: 10px; font: inherit; color: #061B22; background: #FFFFFF; }
.se-crown-status { margin: .5rem 0 .3rem; font-size: .82rem; color: #40535A; }
.se-crown-answer { border-bottom: 1px solid #E3E9EB; padding: .5rem 0; }
.se-crown-answer summary { cursor: pointer; font-weight: 700; color: #084C61; }
.se-crown-answer p { margin: .4rem 0 0; font-size: .9rem; }
.se-crown-more { margin: .7rem 0 0; font-size: .88rem; }
.se-crown-panel a { color: #C4322C; font-weight: 700; }
@media (max-width: 560px) {
  .se-crown-launcher span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .se-crown-launcher { padding: .3rem; }
  .se-crown-doors { grid-template-columns: 1fr; }
  .se-crown-door { min-height: 0; }
}
@media print { .se-crown-launcher, .se-crown-panel { display: none !important; } }

/* Home page narration slot (stays hidden until a real narration file is set). */
.se-narration-slot { margin: 1.5rem auto 0; max-width: 40rem; }
.se-narration { margin: 0; padding: 1rem; border-radius: 14px; background: #F6F8F9; border-left: 4px solid #DA3A34; }
.se-narration figcaption { font-weight: 800; margin-bottom: .5rem; color: #084C61; }
.se-narration audio { width: 100%; }
