/* V6.56: Blend the floating experience pills into the opening hero on phones.
   The protected iOS/Scriptable status bar is outside the website's control. */
@media (max-width:767px){
  main#top::before{
    content:"";position:absolute;inset:0 0 auto;height:160px;
    z-index:0;pointer-events:none;
    background:linear-gradient(118deg,#fcfaff 15%,#f3eafa 65%,#ead9f7);
  }
  html[data-experience="services"] main#top::before{
    background:linear-gradient(125deg,#fffcfd 8%,#fff0f7 65%,#f8ddec);
  }
  html[data-experience="course"] main#top::before{
    background:linear-gradient(115deg,#111015 7%,#22172f 60%,#332047);
  }
  html[data-experience="artist"][data-theme="dark"] main#top::before{
    background:linear-gradient(118deg,#19151d 15%,#2a2035 65%,#362644);
  }
  html[data-experience="services"][data-theme="dark"] main#top::before{
    background:linear-gradient(120deg,#1c1420 8%,#35223a 65%,#4b2f49);
  }
  html[data-experience="course"][data-theme="light"] main#top::before{
    background:linear-gradient(115deg,#fcfaff 6%,#f0e6fc 65%,#e3d0f3);
  }
  .nav:not(.scrolled){background:transparent!important;backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;border-bottom-color:transparent!important;}
  #experienceSwitch{isolation:isolate;z-index:64;}
  #experienceSwitch .experience-choice{
    -webkit-backdrop-filter:blur(13px);backdrop-filter:blur(13px);
  }
  /* The hero paint now reaches behind the lower part of the three bubbles;
     its copy retains essentially the same vertical position. */
  main#top>.hero{margin-top:-22px;padding-top:42px!important;}
}

/* V6.56: Keep whole words intact in the four private status cards.
   The long not-yet-due description is shortened in its display label only;
   complete terminology remains on the chip's accessible name and tooltip. */
.mua-unified-status-chip .mua-unified-detail{
  overflow-wrap:normal;word-break:normal;hyphens:none;
  white-space:normal;text-wrap:balance;max-width:100%;
}

/* A petite, persistent accessibility handle with a larger invisible hit area.
   Colors come from each page's existing light/dark and experience variables. */
.mua-a11y-dock{position:fixed;z-index:85;left:max(2px,env(safe-area-inset-left,0px));
  top:49%;transform:translateY(-50%);width:43px;min-height:43px;
  font-family:inherit;color:var(--ink,#33243b);}
.mua-a11y-trigger{display:grid;place-items:center;width:32px;height:32px;margin:5px;
  padding:0;border:1px solid var(--line,#d9c7e5);border-radius:50%;
  color:var(--violet,#8756a5);background:var(--card,var(--surface,#fff));
  box-shadow:0 3px 13px rgba(51,29,68,.16);opacity:.82;cursor:pointer;
  transition:opacity .18s ease,transform .18s ease,box-shadow .18s ease;}
.mua-a11y-trigger:hover,.mua-a11y-trigger:focus-visible,
.mua-a11y-trigger[aria-expanded="true"]{opacity:1;box-shadow:0 5px 19px rgba(51,29,68,.23);}
.mua-a11y-trigger svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round;fill:none;}
.mua-a11y-panel{position:absolute;left:calc(100% + 3px);top:50%;
  transform:translateY(-50%);width:min(280px,calc(100vw - 60px));
  max-height:min(440px,calc(100dvh - 36px));overflow:auto;
  padding:14px;border:1px solid var(--line,#e5d6ea);border-radius:17px;
  background:var(--card,var(--surface,#fff));color:var(--ink,#33243b);
  box-shadow:0 17px 45px rgba(42,20,54,.21);font-size:13px;line-height:1.45;}
.mua-a11y-panel[hidden]{display:none!important}
.mua-a11y-head{display:flex;align-items:center;justify-content:space-between;gap:8px;
  margin-bottom:9px;font-weight:800;}
.mua-a11y-close{display:grid;place-items:center;border:0;background:transparent;
  color:inherit;border-radius:8px;width:30px;height:30px;font-size:22px;cursor:pointer;}
.mua-a11y-option{display:flex;align-items:center;gap:10px;padding:10px 2px;
  border-bottom:1px solid var(--line,#e5d6ea);cursor:pointer;font-size:13px;line-height:1.35;}
.mua-a11y-option input{accent-color:var(--violet,#8756a5);width:18px;height:18px;flex:none;}
.mua-a11y-reset{width:100%;margin-top:12px;padding:10px;border-radius:11px;
  border:1px solid var(--line,#e5d6ea);background:var(--bg,#faf6fc);
  color:var(--ink,#33243b);font-weight:750;font-size:13px;cursor:pointer;}
.mua-a11y-result{margin:8px 0 0;color:var(--muted,#756680);font-size:11px;min-height:1.3em;}
.mua-a11y-dock :is(button,input):focus-visible{outline:3px solid var(--violet,#8756a5);outline-offset:2px;}
@media(max-width:767px){
  .mua-a11y-trigger{width:30px;height:30px;margin:6px;}
  .mua-a11y-trigger svg{width:17px;height:17px;}
  .mua-a11y-panel{width:min(268px,calc(100vw - 60px));}
}
body.modal-open .mua-a11y-dock{pointer-events:none;opacity:0;}

/* Preferences apply only when explicitly selected and may all be reset. */
html[data-mua-a11y-text="on"] main :is(p,li,blockquote){
  font-size:max(18px,1.125em)!important;line-height:1.7!important;
}
html[data-mua-a11y-text="on"] :is(main,article) :is(.help-note,.supporting){
  font-size:max(14px,1em)!important;line-height:1.6!important;
}
html[data-mua-a11y-contrast="on"][data-theme="light"],
html[data-mua-a11y-contrast="on"][data-agenda-theme="light"]{
  --muted:#4e3d5b;--line:#9272a4;
}
html[data-mua-a11y-contrast="on"][data-theme="dark"],
html[data-mua-a11y-contrast="on"][data-agenda-theme="dark"]{
  --muted:#f4e7fa;--line:#aa8bbd;
}
html[data-mua-a11y-motion="reduce"] *,
html[data-mua-a11y-motion="reduce"] *::before,
html[data-mua-a11y-motion="reduce"] *::after{
  animation-duration:.01ms!important;animation-iteration-count:1!important;
  transition-duration:.01ms!important;scroll-behavior:auto!important;
}
