/* The same controls serve the entrance, standalone pages and Booking Manager. */
@layer central-surfaces {
  @media screen {
    html:root body :is(#globalPageNavigation,#legacy-toolbar,.om-header-actions) {
      align-items:center;
      column-gap:clamp(1px,.45vw,7px)!important;
      row-gap:3px!important;
    }
    html:root body :is(#globalPageNavigation,#legacy-toolbar,#mobileManagerDialog .om-header-actions) button {
      box-sizing:border-box;
      width:clamp(32px,8vw,44px)!important;
      height:clamp(38px,9vw,44px)!important;
      min-height:0!important;
      padding:5px!important;
      border:0!important;
      border-radius:9px!important;
      box-shadow:none!important;
      background:transparent!important;
      color:var(--nav-ink,var(--team-accent,#e8be73))!important;
    }
    html:root body :is(#globalPageNavigation,#legacy-toolbar,#mobileManagerDialog .om-header-actions) button svg {
      width:22px!important;height:22px!important;vertical-align:middle;
    }
    html:root body :is(#globalPageNavigation,#legacy-toolbar,#mobileManagerDialog .om-header-actions) button:is(:hover,:focus-visible),
    html:root body:has(:is([data-view="home"],[data-view="signed-in"]):not([hidden])) #legacy-toolbar button[data-action="Home"] {
      background:var(--team-accent,#e8be73)!important;
      color:var(--team-bg,#16130d)!important;
    }
    html:root body :is(#globalPageNavigation,#legacy-toolbar,.om-header-actions,.planner-destinations) :is(button,a):focus-visible {
      outline:2px solid var(--team-accent,#e8be73)!important;outline-offset:2px;
    }
    html:root body .planner-destinations {
      display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(6px,2vw,14px);
      width:min(100%,32rem);box-sizing:border-box;
      margin:clamp(14px,3vh,26px) auto 0;padding:0 0 max(8px,env(safe-area-inset-bottom));
    }
    html:root body .planner-destinations a {
      display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 8px;
      box-sizing:border-box;min-width:0;padding:.42em .3em;
      text-decoration:none!important;color:#fff6df!important;
      font:italic 600 clamp(1rem,2vw,1.32rem)/1.15 Georgia,serif;
      border:1px solid #ac8b5a!important;border-radius:14px;
      background:linear-gradient(120deg,#361527,#200e1b)!important;
    }
    html:root body .planner-destinations a:nth-child(2) {background:linear-gradient(120deg,#103c40,#08262b)!important}
    .planner-destinations a:hover {filter:brightness(1.16)}
    .planner-destinations img {width:clamp(44px,6vw,64px);height:auto;border-radius:10px;flex:none}
    html:root .shell:not(:has(:is([data-view="home"],[data-view="signed-in"],[data-view="guest"]):not([hidden]))) > .planner-destinations,
    html:root body[data-landing-area="vendor"]:has(#account:not([hidden]) #logout[hidden]) .planner-destinations {display:none}
  }
}
@media print {.planner-destinations {display:none!important}}
/* All finishes use the same artwork. The small corner emblem identifies the selected style. */
html[data-theme]:not([data-theme="gold"]) {
  --hub-canvas:var(--team-bg);
  --hub-canvas-mid:var(--team-chrome);
  --hub-glow:color-mix(in srgb,var(--hub-rim) 20%,var(--team-bg));
  --hub-tile-mid:var(--team-panel);
  --hub-tile-top:color-mix(in srgb,var(--hub-rim) 17%,var(--team-panel));
  --hub-tile-end:color-mix(in srgb,var(--hub-rim) 7%,var(--team-panel));
  --hub-label:var(--team-text);
  --hub-button-top:color-mix(in srgb,white 23%,var(--team-accent));
  --hub-button-mid:var(--team-accent);
  --hub-button-end:color-mix(in srgb,black 12%,var(--team-accent));
  --hub-button-ink:#19151a;
}
html[data-theme="ivory"] {--hub-rim:#a37e52;--hub-finish:sepia(.25) saturate(.85) brightness(.49)}
html[data-theme="fiesta"] {--hub-rim:#ffb656;--hub-finish:saturate(1.65)}
html[data-theme="dancehall"] {--hub-rim:#bb855e;--hub-finish:sepia(.18) hue-rotate(-13deg) saturate(1.22)}
html[data-theme="usa"] {--hub-rim:#c68b91;--hub-finish:grayscale(.92) brightness(1.15)}
html[data-theme="valentines"] {--hub-rim:#d18ca1;--hub-finish:sepia(.30) hue-rotate(304deg) saturate(1.45)}
html[data-theme="winter"] {--hub-rim:#80b4cb;--hub-finish:hue-rotate(147deg) saturate(.85) brightness(1.18)}
html[data-theme="spring"] {--hub-rim:#a185a9;--hub-finish:hue-rotate(235deg) saturate(.83) brightness(.49)}
html[data-theme="summer"] {--hub-rim:#74bcb7;--hub-finish:hue-rotate(112deg) saturate(1.18) brightness(1.05)}
html[data-theme="fall"] {--hub-rim:#c58a5c;--hub-finish:hue-rotate(-19deg) saturate(1.48)}
html:is([data-theme="ivory"],[data-theme="spring"]):root {
  --hub-button-top:var(--team-accent);
  --hub-button-mid:color-mix(in srgb,black 8%,var(--team-accent));
  --hub-button-ink:#fff;
}
html[data-theme="fiesta"] #workspace-links :is([data-workspace="dj"],[href="/directory/"]) {--hub-finish:hue-rotate(115deg) saturate(1.6);--hub-rim:#56c9bd}
html[data-theme="fiesta"] #workspace-links [data-workspace="vendor-home"] {--hub-finish:hue-rotate(285deg) saturate(1.8);--hub-rim:#f780a7}
html[data-theme="usa"] #workspace-links [data-workspace="booking-manager"] {--hub-finish:hue-rotate(-40deg) saturate(1.4)}
html[data-theme="usa"] #workspace-links [data-workspace="dj"] {--hub-finish:hue-rotate(165deg) saturate(.95)}
@layer central-surfaces {
  @media screen {
    html:root[data-theme]:not([data-theme="gold"]) :is(.hub-crest,.hub-destination-art) {filter:var(--hub-finish)}
    html:root[data-theme]:not([data-theme="gold"]) [data-view="signed-in"] h2::after,
    html:root[data-theme]:not([data-theme="gold"]) [data-view="home"] h1.brand::after {filter:var(--hub-finish)}
    html:root[data-theme]:not([data-theme="gold"]) #workspace-links .workspace-tile > svg {
      display:block!important;position:absolute;top:6%;right:6%;width:14%!important;height:14%!important;
      max-width:26px;max-height:26px;pointer-events:none;
    }
    html:root[data-theme]:not([data-theme="gold"]) #workspace-links .workspace-tile > svg .tile-glyph {display:none!important}
    html:root[data-navigation-color]:not([data-navigation-color="gold"]) body :is(#legacy-toolbar,#globalPageNavigation,.om-header-actions) button:not(:is(:hover,:focus-visible))::after {
      background:linear-gradient(155deg,var(--nav-ink,var(--team-accent)) 32%,color-mix(in srgb,var(--team-text) 55%,var(--nav-ink,var(--team-accent))));
    }
    html:root[data-navigation-color]:not([data-navigation-color="gold"]) body:has(:is([data-view="home"],[data-view="signed-in"]):not([hidden])) #legacy-toolbar button[data-action="Home"]::after {background:currentColor}
  }
}
.hub-crest {display:block;height:auto;margin-inline:auto;object-fit:contain}
.hub-destination-art {display:none}
@layer central-surfaces {
  @media screen {
    .om-header-actions button[title="Back"],#legacy-toolbar button[data-action="Back"],#globalPageNavigation button[title="Back"] {--hub-glyph:url("/icons/nav-back.png")}
    .om-header-actions button[title="Settings"],#legacy-toolbar button[data-action="Settings"],#globalPageNavigation button[title="Settings"] {--hub-glyph:url("/icons/nav-settings.png")}
    .om-header-actions button[title="Refresh"],#legacy-toolbar button[data-action="Refresh"],#globalPageNavigation button[title="Refresh"] {--hub-glyph:url("/icons/nav-refresh.png")}
    .om-header-actions button[title="Home"],#legacy-toolbar button[data-action="Home"],#globalPageNavigation button[title="Home"] {--hub-glyph:url("/icons/nav-home.svg")}
    .om-header-actions button[title="Visit Website"],#legacy-toolbar button[data-action="Visit Website"],#globalPageNavigation button[title="Visit Website"] {--hub-glyph:url("/icons/nav-website.png")}
    .om-header-actions button[title="Help"],#legacy-toolbar button[data-action="Help"],#globalPageNavigation button[title="Help"] {--hub-glyph:url("/icons/nav-help.png")}
    .om-header-actions button[title="Feedback"],#legacy-toolbar button[data-action="Feedback"],#globalPageNavigation button[title="Feedback"] {--hub-glyph:url("/icons/nav-feedback.png")}
    .om-header-actions button[title="Share"],#legacy-toolbar button[data-action="Share"],#globalPageNavigation button[title="Share"] {--hub-glyph:url("/icons/nav-share.png")}
    html:root body :is(#legacy-toolbar,#globalPageNavigation,.om-header-actions) button:is([title="Back"],[title="Settings"],[title="Refresh"],[title="Home"],[title="Visit Website"],[title="Help"],[title="Feedback"],[title="Share"]) {
      position:relative;min-width:0!important;font-size:0!important;
    }
    html:root body :is(#legacy-toolbar,#globalPageNavigation,.om-header-actions) button:is([title="Back"],[title="Settings"],[title="Refresh"],[title="Home"],[title="Visit Website"],[title="Help"],[title="Feedback"],[title="Share"]) > svg {opacity:0}
    html:root body :is(#legacy-toolbar,#globalPageNavigation,.om-header-actions) button:is([title="Back"],[title="Settings"],[title="Refresh"],[title="Home"],[title="Visit Website"],[title="Help"],[title="Feedback"],[title="Share"])::after {
      content:"";position:absolute;inset:0;margin:auto;width:clamp(22px,5.5vw,31px);height:clamp(22px,5.5vw,31px);
      background:currentColor;mask:var(--hub-glyph) center / contain no-repeat;
    }
    html:root:is([data-theme="gold"],[data-navigation-color="gold"]) body :is(#legacy-toolbar,#globalPageNavigation,.om-header-actions) button::after {
      background:linear-gradient(160deg,#ffffdb 4%,#eec986 47%,#ac7939 90%);
    }
    html:root body:has(:is([data-view="home"],[data-view="signed-in"]):not([hidden])) #legacy-toolbar button[data-action="Home"]::after,
    html:root body :is(#legacy-toolbar,#globalPageNavigation,.om-header-actions) button:is(:hover,:focus-visible)::after {background:currentColor}
    html:root body:has(:is([data-view="home"],[data-view="signed-in"]):not([hidden])) {
      display:block!important;padding:0!important;
    }
    html:root body:has(:is([data-view="home"],[data-view="signed-in"]):not([hidden])) #legacy-toolbar {
      position:static;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;margin:0 auto;
      padding:max(8px,env(safe-area-inset-top)) 4px 8px;max-width:100%;width:100%;
      background:var(--team-chrome,#171513);border-bottom:1px solid var(--team-line,#aa8345);
    }
    html:root body:has(:is([data-view="home"],[data-view="signed-in"]):not([hidden])) main {
      display:grid;place-items:center;padding:14px 10px max(12px,env(safe-area-inset-bottom));
      min-height:calc(100svh / var(--hub-text-scale,1) - 68px);box-sizing:border-box;
    }
    html:root body .shell:has(:is([data-view="home"],[data-view="signed-in"]):not([hidden])) {
      width:min(100%,35rem)!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
    }
    .shell:has(:is([data-view="home"],[data-view="signed-in"]):not([hidden])) > .star {display:none}
    [data-view="home"] .hub-crest {width:min(88%,24rem);margin:clamp(20px,5vh,64px) auto clamp(15px,3vh,34px)}
    [data-view="signed-in"] .hub-crest {width:min(56%,14rem);margin:0 auto .4rem}
    [data-view="signed-in"] h2,[data-view="home"] h1.brand {
      font:600 clamp(1.7rem,6vw,2.7rem)/1.05 Georgia,serif!important;letter-spacing:-.03em;
      color:var(--team-text,#f9ebd0)!important;max-width:19ch;margin:.24em auto .28em;text-wrap:balance;
    }
    [data-view="home"] h1.brand::after,[data-view="signed-in"] h2::after {
      content:"";display:block;margin:.23em auto .32em;width:70%;height:.72em;
      background:url("/icons/hub-divider.png") center / contain no-repeat;
    }
    [data-view="home"] .actions {margin:clamp(16px,3vh,40px) auto;max-width:26rem}
    html:root body [data-view="home"] h1.brand {white-space:normal!important;max-width:100%!important}
    html:root[data-theme] [data-view="home"] .actions .button {font:600 clamp(1.2rem,4vw,1.95rem)/1.15 Georgia,serif;color:var(--hub-label,#fcedcf)!important;border:2px solid var(--hub-rim,#b88f54)!important;border-radius:13px;padding:.56em}
    html:root[data-theme] [data-view="home"] .actions .primary {background:linear-gradient(140deg,var(--hub-button-top,#ead197),var(--hub-button-mid,#c08c49) 80%,var(--hub-button-end,#a77134))!important;color:var(--hub-button-ink,#181109)!important}
    html:root[data-theme] body:has(:is([data-view="home"],[data-view="signed-in"]):not([hidden])) {
      background:radial-gradient(ellipse at 50% 37%,var(--hub-glow,#24201d) 0%,var(--hub-canvas-mid,#11100f) 35%,var(--hub-canvas,#080808) 78%)!important;
    }
    html:root[data-theme] body:has([data-view="signed-in"]:not([hidden])) #workspace-links a.workspace-tile {
      background:linear-gradient(145deg,var(--hub-tile-top,#302b24),var(--hub-tile-mid,#141311) 58%,var(--hub-tile-end,#232019))!important;
      border:2px solid var(--hub-rim,#c9a46b)!important;border-radius:clamp(12px,3vw,20px);
      box-shadow:inset 0 1px 0 #fff1ce80;
      font:600 clamp(1.02rem,3.5vw,1.52rem)/1.02 Georgia,serif!important;
      position:relative;text-wrap:balance;color:var(--hub-label,#faebcb)!important;padding:.42rem;gap:.18em;
    }
    html:root[data-theme="gold"] #workspace-links .workspace-tile svg {display:none!important}
    html:root[data-theme] #workspace-links .hub-destination-art {display:block!important;width:73%!important;height:54%!important;object-fit:contain}
    html:root[data-theme] #workspace-links {
      width:min(100%,28rem);max-width:100%;margin:.6rem auto;gap:.55rem;
      grid-template-columns:repeat(2,minmax(0,1fr));
    }
    html:root[data-theme] #workspace-links .workspace-tile {aspect-ratio:1.1!important}
    html:root[data-theme] #workspace-links .workspace-tile:first-child:nth-last-child(odd) {width:calc((100% - .55rem)/2)}
    html:root body .planner-destinations {width:min(100%,30rem);gap:.5rem;margin:clamp(14px,3vh,32px) auto 0}
    html:root body .planner-destinations a {
      display:block;min-width:0;padding:0;background:transparent!important;border:0!important;border-radius:11%;overflow:hidden;
    }
    html:root body .planner-destinations img {display:block;width:100%;height:auto;border-radius:0}
    [data-view="signed-in"] .back {font-size:.85rem}
    html:root[data-theme] body:has([data-view="signed-in"]:not([hidden])) .hub-crest {
      width:clamp(110px,16svh,180px)!important;
    }
    html:root[data-theme] body:has([data-view="signed-in"]:not([hidden])) #workspace-links {
      width:min(100%,clamp(15rem,38svh,27rem))!important;gap:.5rem!important;
    }
    html:root body .planner-destinations {width:min(100%,clamp(16rem,40svh,30rem))!important}
    html:root[data-theme] body [data-view="home"] .actions a.button {font:600 clamp(1.25rem,4vw,1.9rem)/1.2 Georgia,serif!important}
    html:root[data-theme] [data-view="signed-in"] > a.back {display:none}
    html:root body:has(:is([data-view="signed-in"],[data-view="home"]):not([hidden])) #legacy-toolbar {
      justify-content:center!important;max-width:100%!important;width:100%!important;
    }
  }
}

/* Toolbar buttons keep their own positioning context for the icon artwork. */
html:root body #globalPageNavigation {
  right: max(8px, env(safe-area-inset-right)) !important;
  max-width: calc(100% - 16px) !important;
  gap: clamp(2px, .45vw, 7px) !important;
  flex-wrap: nowrap !important;
}
html:root body #globalPageNavigation > :is(button, #lsShareButton):not([hidden]) {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 1 44px !important;
  min-height: 44px !important;
  min-width: 0 !important;
  max-width: 44px !important;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 4px !important;
}
html:root body #globalPageNavigation > button[hidden] {display:none!important}

@media(max-width:600px){
  html:root body #globalPageNavigation {justify-content:flex-end!important}
}
@media screen {
  html:root body:has(dialog[open]) > #globalPageNavigation {display:none!important}
}
