/* Shell canonical two-zone surface anatomy for every site and domain.
   Owners still supply data, permissions and actions. Only Shell places UI. */
html body .shayos-item-card.shayos-item-card--surface.shayos-surface-zoned {
  display:block!important;overflow:visible!important;padding:0!important;
  margin:0!important;box-sizing:border-box!important;border-radius:24px!important;
  background:#fff!important;transform:none!important;height:auto!important;
}
html body .shayos-item-card.shayos-item-card--surface.shayos-surface-zoned > .shayos-surface-card-body,
html body .shayos-item-card.shayos-item-card--surface.shayos-surface-zoned.shayos-surface-card-body {
  display:flex!important;flex-direction:column!important;width:100%!important;
  gap:0!important;padding:0!important;margin:0!important;min-height:0!important;
  background:transparent!important;box-shadow:none!important;border:0!important;
}
html body .shayos-item-card.shayos-item-card--surface.shayos-surface-zoned .shayos-surface-upper {
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  flex-wrap:nowrap!important;gap:12px!important;box-sizing:border-box!important;
  width:100%!important;padding:12px 14px!important;margin:0!important;
  min-height:0!important;border:0!important;border-radius:0!important;
  background:#dff3fc!important;background-image:none!important;
}
html body .shayos-item-card.shayos-item-card--surface.shayos-surface-zoned .shayos-surface-upper > .shayos-item-card__heading {
  display:flex!important;align-items:center!important;flex:1 1 auto!important;
  min-width:0!important;width:auto!important;min-height:0!important;
  padding:0!important;margin:0!important;gap:8px!important;
  background:transparent!important;background-image:none!important;border:0!important;
  border-radius:0!important;box-shadow:none!important;
}
html body .shayos-item-card.shayos-item-card--surface.shayos-surface-zoned .shayos-surface-upper :is(.shayos-item-card__title,.focus-canonical-bridge-title) {
  display:block!important;flex:1 1 auto!important;min-width:0!important;
  margin:0!important;padding:0!important;color:#153f67!important;
  font-size:clamp(19px,4.4vw,28px)!important;line-height:1.35!important;
  text-align:start!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
html body .shayos-item-card.shayos-item-card--surface.shayos-surface-zoned .shayos-surface-lower {
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:10px 13px!important;flex-wrap:wrap!important;box-sizing:border-box!important;
  width:100%!important;min-height:0!important;padding:10px 14px 12px!important;
  margin:0!important;background:#fff!important;background-image:none!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
}
html body .shayos-item-card.shayos-item-card--surface.shayos-surface-zoned .shayos-surface-lower > :is(.shayos-item-card__identity,.focus-owner-badge) {
  display:inline-flex!important;position:static!important;inset:auto!important;
  align-items:center!important;justify-content:center!important;flex:0 0 auto!important;
  width:auto!important;max-width:none!important;height:auto!important;
  padding:0!important;margin:0!important;transform:none!important;opacity:1!important;
  background:transparent!important;box-shadow:none!important;
}
html body .shayos-item-card.shayos-item-card--surface.shayos-surface-zoned .shayos-surface-lower .shayos-item-card__identity img {
  display:block!important;width:46px!important;height:46px!important;max-width:46px!important;
  object-fit:contain!important;border-radius:50%!important;
}
html body .shayos-item-card.shayos-item-card--surface.shayos-surface-zoned .shayos-surface-lower :is(.shayos-item-card__tags,.focus-note__tags) {
  display:flex!important;position:static!important;flex-wrap:wrap!important;align-items:center!important;
  flex:1 1 auto!important;width:auto!important;max-width:100%!important;min-width:60px!important;
  padding:0!important;margin:0!important;min-height:0!important;background:transparent!important;
  border:0!important;border-radius:0!important;gap:7px!important;order:0!important;
}
html body .shayos-item-card.shayos-item-card--surface.shayos-surface-zoned .shayos-surface-lower .shayos-item-card__controls,
html body .shayos-item-card.shayos-item-card--surface.shayos-surface-zoned .shayos-surface-lower .focus-note__direct-actions {
  display:flex!important;position:static!important;inset:auto!important;
  flex:0 1 auto!important;align-items:center!important;justify-content:flex-start!important;
  gap:8px!important;width:auto!important;max-width:100%!important;padding:0!important;
  margin:0!important;transform:none!important;background:transparent!important;box-shadow:none!important;
}
html body .shayos-item-card.shayos-item-card--surface.shayos-surface-zoned .shayos-surface-lower :is(.shayos-item-card__schedule-tag,.shayos-item-card__schedule) {
  display:inline-flex!important;position:static!important;inset:auto!important;
  white-space:nowrap!important;order:0!important;direction:ltr!important;
  padding:4px 8px!important;margin:0!important;font-size:clamp(15px,3.2vw,20px)!important;
}
/* The note body owns BOTH halves. Never let provider actions escape beneath the card. */
html body .shayos-item-card.shayos-surface-zoned > .focus-item-card.shayos-surface-card-body,
html body .shayos-item-card.shayos-surface-zoned > .shayos-surface-card-body {
 display:flex!important;flex-direction:column!important;box-sizing:border-box!important;
 width:100%!important;height:auto!important;min-height:0!important;
 padding:0!important;margin:0!important;gap:0!important;
 border:1px solid #c8dbe7!important;border-radius:22px!important;overflow:hidden!important;
 background:#fff!important;box-shadow:none!important;
}
html body .shayos-item-card.shayos-surface-zoned :is(.focus-canonical-clean-main,.shayos-item-card__main):empty {display:none!important;}
html body .shayos-item-card.shayos-surface-zoned > .focus-item-card > .shayos-surface-lower {
 position:relative!important;inset:auto!important;display:flex!important;box-sizing:border-box!important;
 width:100%!important;max-width:100%!important;margin:0!important;border-radius:0 0 21px 21px!important;
 height:auto!important;min-height:0!important;padding:10px 14px 12px!important;
}
/* Every panel hero has the same two zones; image/logo stays beside its title. */
html body .shayos-surface-panel-hero.shayos-surface-zoned {
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  position:relative!important;box-sizing:border-box!important;
  height:auto!important;min-height:0!important;padding:0!important;margin:0!important;
  overflow:hidden!important;gap:0!important;
}
html body .shayos-surface-panel-hero.shayos-surface-zoned > .shayos-surface-upper {
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px!important;flex-wrap:wrap!important;box-sizing:border-box!important;
  width:100%!important;min-height:0!important;padding:12px 14px!important;
  margin:0!important;background:transparent!important;border:0!important;
}
html body .shayos-surface-panel-hero.shayos-surface-zoned > .shayos-surface-upper :is(h1,h2,h3) {
  margin:0!important;flex:1 1 auto!important;min-width:0!important;
  text-align:start!important;position:static!important;
}
html body .shayos-surface-panel-hero.shayos-surface-zoned > .shayos-surface-upper img {
  display:block!important;position:static!important;inset:auto!important;
  width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important;
  object-fit:contain!important;margin:0!important;order:0!important;transform:none!important;
}
html body .shayos-surface-panel-hero.shayos-surface-zoned > .shayos-surface-lower {
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  flex-wrap:wrap!important;gap:12px!important;min-height:0!important;
  box-sizing:border-box!important;width:100%!important;padding:8px 14px 12px!important;
  margin:0!important;background:transparent!important;border:0!important;
}
html body .shayos-surface-panel-hero.shayos-surface-zoned > .shayos-surface-lower :is(.shayos-panel-priority-pin,.focus-board-toolbar,.focus-board-tools,.shaysport-space-panel__hero-actions) {
  position:static!important;inset:auto!important;display:flex!important;
  align-items:center!important;transform:none!important;margin:0!important;
}
html body .shayos-surface-panel-hero.shayos-surface-zoned > .shayos-surface-lower .shayos-panel-priority-pin {
  order:99!important;flex:0 0 auto!important;
}
html body .shayos-surface-panel-hero.shayos-surface-zoned > .shayos-surface-lower > .shaysport-space-panel__heading {
  display:flex!important;flex-wrap:wrap!important;gap:10px!important;flex:1 1 auto!important;
  align-items:center!important;justify-content:flex-start!important;
  min-width:0!important;position:static!important;
}
/* Compact two-row hero: legacy panel spacers and toolbar min-heights do not
 * survive the new layout. Keep controls and counters inside the lower zone. */
html body .shayos-surface-panel-hero.shayos-surface-zoned,
html body .shayos-panel > .shayos-surface-panel-hero.shayos-surface-zoned,
html body .shaysport-space-panel > .shayos-surface-panel-hero.shayos-surface-zoned,
html body .focus-standalone-panel > .shayos-surface-panel-hero.shayos-surface-zoned {
 padding:0!important;margin-bottom:0!important;min-height:0!important;
 height:auto!important;max-height:none!important;gap:0!important;
}
html body .shayos-surface-panel-hero.shayos-surface-zoned > :is(.shayos-surface-upper,.shayos-surface-lower) {
 position:relative!important;inset:auto!important;flex:0 0 auto!important;
 min-height:0!important;height:auto!important;max-height:none!important;
 margin:0!important;align-content:center!important;
}
html body .shayos-surface-panel-hero.shayos-surface-zoned > .shayos-surface-lower :is(
 .focus-board-toolbar,.focus-board-tools,[data-focus-board-tools],.shaysport-space-panel__hero-actions,
 .focus-count-indicator--hero,.focus-panel-active-filters,.shayos-panel__actions) {
 min-height:0!important;height:auto!important;max-height:none!important;
 padding:0!important;margin:0!important;position:static!important;
 flex-basis:auto!important;align-self:center!important;
}
html body .shayos-surface-panel-hero.shayos-surface-zoned > .shayos-surface-upper :is(.shayos-surface-read-aloud,[data-shayos-read-aloud]) {flex:none!important;}
/* The ball itself is the icon. The click target is transparent on every surface. */
html body :is(.focus-board-tool--event,.focus-event-card-edit,.shayos-event-create-action--ball,.shayos-space-event-card-edit) {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:transparent!important;background-image:none!important;
  border:0!important;border-radius:50%!important;box-shadow:none!important;
  outline-offset:3px!important;filter:none!important;min-height:44px!important;min-width:44px!important;
  padding:0!important;margin:0!important;transform:none!important;
}
html body :is(.focus-board-tool--event,.focus-event-card-edit,.shayos-event-create-action--ball,.shayos-space-event-card-edit)::before,
html body :is(.focus-board-tool--event,.focus-event-card-edit,.shayos-event-create-action--ball,.shayos-space-event-card-edit)::after {content:none!important;display:none!important;}
/* Do not hide buttons because of missing server permissions. Denials occur on click. */
html body .shayos-surface-read-aloud {display:inline-grid!important;place-items:center!important;flex:0 0 38px!important;width:38px;height:38px;padding:6px;
  color:#17436b;border:0;border-radius:50%;background:transparent;cursor:pointer;}
html.shayos-a11y-reading-disabled .shayos-surface-read-aloud,body.shayos-a11y-reading-disabled .shayos-surface-read-aloud {display:none!important;}
@media(prefers-reduced-motion:reduce){html body .shayos-event-ball__mark-track,html body .focus-event-ball__mark-track{animation:none!important;}}

/* Read-aloud is an Accessibility preference, not a separate panel action. */
html body .shayos-surface-panel-hero.shayos-surface-zoned > .shayos-surface-upper :is([data-shayos-read-aloud],[data-read-aloud],[data-speech-trigger],.shayos-read-aloud-button,.shayos-tts-button) {display:inline-flex!important;position:static!important;inset:auto!important;}
html.shayos-a11y-reading-disabled .shayos-surface-panel-hero.shayos-surface-zoned > .shayos-surface-upper :is([data-shayos-read-aloud],[data-read-aloud],[data-speech-trigger],.shayos-read-aloud-button,.shayos-tts-button) {display:none!important;}
/* Strongest Shell backplate reset across existing ShayOS and ShaySport skins. */
html body .focus-page .shayos-surface-panel-hero.shayos-surface-zoned .focus-board-tool--event,
html body .shaysport-space-page .shayos-surface-panel-hero.shayos-surface-zoned .shayos-event-create-action--ball,
html body .shayos-item-card.shayos-surface-zoned .shayos-surface-lower :is(.focus-event-card-edit,.shayos-space-event-card-edit) {
  background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;
  outline-offset:3px!important;filter:none!important;
}

/* Heading-only legacy panels still consume the generic two-zone contract. */
html body .shayos-surface-panel-hero.shayos-surface-zoned > .shayos-surface-upper > .shayos-surface-heading-label {
  flex:1 1 auto!important;text-align:start!important;font-weight:800!important;font-size:1.25rem!important;
}

/* Canonical Shell mounted pin v2. ONE control and ONE paint model for panel and card.
 * The provider's existing native button owns focus, click, aria-pressed and storage.
 * Only the transparent dock ::before and ::after are visible. This prevents
 * legacy panel button skins from painting an oversized beige disk. */
html body :is(.shayos-item-card.shayos-shell-card-pin-enabled,
 .shayos-surface-panel-hero.shayos-shell-panel-pin-enabled) {
 position:relative!important;overflow:visible!important;isolation:isolate!important;
}
html body :is(.shayos-item-card.shayos-shell-card-pin-enabled,
 .shayos-surface-panel-hero.shayos-shell-panel-pin-enabled) >
 :is(.shayos-shell-card-pin-dock,.shayos-shell-panel-pin-dock) {
 position:absolute!important;z-index:400!important;top:-19px!important;
 left:50%!important;right:auto!important;transform:translateX(-50%)!important;
 display:grid!important;place-items:center!important;box-sizing:border-box!important;
 width:48px!important;height:48px!important;
 padding:0!important;margin:0!important;background:transparent!important;
 background-image:none!important;border:0!important;box-shadow:none!important;
 pointer-events:none!important;
}
html body :is(.shayos-shell-card-pin-dock,.shayos-shell-panel-pin-dock)::before {
 content:''!important;display:block!important;position:absolute!important;
 width:17px!important;height:17px!important;left:50%!important;top:16px!important;
 transform:translateX(-50%)!important;box-sizing:border-box!important;
 border-radius:50%!important;border:2px solid #8aa5b9!important;
 background:radial-gradient(circle at 50% 48%,#fff 0 56%,#e6f2f9 66%,#fff 100%)!important;
 box-shadow:inset 0 1px 2px #56779070,0 1px 1px #fff!important;
 pointer-events:none!important;
}
html body :is(.shayos-shell-card-pin-dock,.shayos-shell-panel-pin-dock)::after {content:none!important;display:none!important;}
html body :is(.shayos-shell-card-pin-dock,.shayos-shell-panel-pin-dock) > .shayos-shell-pin-glyph {
 position:absolute!important;top:-18px!important;left:50%!important;z-index:2!important;
 transform:translateX(-50%)!important;display:block!important;width:46px!important;height:46px!important;
 overflow:visible!important;pointer-events:none!important;opacity:0!important;
}
html body :is(.shayos-shell-card-pin-dock,.shayos-shell-panel-pin-dock)[data-pin-state='pinned'] > .shayos-shell-pin-glyph {opacity:1!important;}
/* Make old system button paints invisible, without disabling hit testing.
 * Opacity is intentional: the full button remains keyboard/pointer operable. */
html body :is(.shayos-shell-card-pin-dock,.shayos-shell-panel-pin-dock) >
 :is(button,.shayos-shell-card-pin-native,.shayos-shell-panel-pin-native) {
 all:unset!important;position:relative!important;display:block!important;
 width:48px!important;height:48px!important;min-width:48px!important;
 min-height:48px!important;box-sizing:border-box!important;z-index:1!important;
 opacity:0!important;cursor:pointer!important;pointer-events:auto!important;
 background:transparent!important;border:0!important;box-shadow:none!important;
}
html body :is(.shayos-shell-card-pin-dock,.shayos-shell-panel-pin-dock):has(> button:focus-visible) {
 outline:2px solid #235d9c!important;outline-offset:1px!important;border-radius:50%!important;
}
html body .shayos-item-card.shayos-shell-card-pin-enabled {margin-block-start:20px!important;}
/* The native control's parent frame may not clip the tip of the pin. */
html body :is(.shayos-item-card.shayos-shell-card-pin-enabled,.shayos-surface-panel-hero.shayos-shell-panel-pin-enabled),
html body :is(.shayos-activity-event-card,.shayos-unified-event-entry,.shaysport-events-shared-card):has(.shayos-shell-card-pin-enabled),
html body :is(.shayos-panel,.shaysport-panel,.shaysport-space-panel,.focus-standalone-panel,.focus-ui-panel):has(> .shayos-shell-panel-pin-enabled) {overflow:visible!important;}

html body .shayos-surface-panel-hero.shayos-shell-panel-pin-enabled {margin-block-start:20px!important;}
/* Shared event edit button paints nothing outside its white SVG sphere. */
html body :is(.shayos-item-card,.shayos-activity-event-card) :is(.shayos-activity-event-card-edit,.focus-event-card-edit,.shayos-space-event-card-edit),
html body .shayos-activity-event-card-edit {
 appearance:none!important;display:inline-flex!important;align-items:center!important;
 justify-content:center!important;min-width:44px!important;min-height:44px!important;
 padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
 background:transparent!important;background-image:none!important;box-shadow:none!important;
 filter:none!important;
}
html body :is(.shayos-activity-event-card-edit,.focus-event-card-edit,.shayos-space-event-card-edit)::before,
html body :is(.shayos-activity-event-card-edit,.focus-event-card-edit,.shayos-space-event-card-edit)::after {
 content:none!important;display:none!important;
}

/* A sphere is NOT a system button. Target its real button, including legacy
 * FOCUS >button specificity, rather than styling only its inner svg. */
html body .focus-page [data-focus-tabs-all] .shayos-corkboard-slot .focus-note__direct-actions > button:has(> :is(.focus-event-ball,.shayos-event-ball,.shayos-activity-fallback-ball)),
html body .focus-page [data-focus-board-tools] button.focus-board-tool--event,
html body .shaysport-space-panel button:has(> :is(.shayos-event-ball,.shayos-activity-fallback-ball)),
html body .shayos-activity-event-card button[data-shayos-event-card-edit],
html body .shayos-activity-event-card-fallback button[data-shayos-event-card-edit] {
 appearance:none!important;display:inline-flex!important;place-items:center!important;
 justify-content:center!important;align-items:center!important;
 padding:0!important;margin:0!important;min-width:44px!important;min-height:44px!important;
 width:44px!important;height:44px!important;border:0!important;border-radius:0!important;
 background:transparent!important;background-color:transparent!important;background-image:none!important;
 box-shadow:none!important;filter:none!important;outline-offset:3px!important;
}
html body .focus-page [data-focus-tabs-all] .shayos-corkboard-slot .focus-note__direct-actions > button:has(> :is(.focus-event-ball,.shayos-event-ball,.shayos-activity-fallback-ball))::before,
html body .focus-page [data-focus-tabs-all] .shayos-corkboard-slot .focus-note__direct-actions > button:has(> :is(.focus-event-ball,.shayos-event-ball,.shayos-activity-fallback-ball))::after {content:none!important;display:none!important;}

/* 5.4.0: event edit sphere has no system-colored click-target backplate. */
html body .shayos-activity-event-card [data-shayos-event-card-edit],
html body [data-focus-tabs-all] .shayos-activity-event-card button[data-shayos-event-card-edit],
html body .shaysport-events-space-panel--items button[data-shayos-event-card-edit],
html body [data-shayos-activity-event-payload] button[data-shayos-space-fallback-edit] {
 appearance:none!important;background:transparent!important;background-color:transparent!important;
 background-image:none!important;border:0!important;outline-offset:3px!important;
 border-radius:0!important;box-shadow:none!important;filter:none!important;
 padding:0!important;margin:0!important;min-width:44px!important;min-height:44px!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
html body .shayos-activity-event-card [data-shayos-event-card-edit]::before,
html body .shayos-activity-event-card [data-shayos-event-card-edit]::after {content:none!important;display:none!important;}
html body :is(.shayos-activity-event-card,[data-shayos-activity-event-payload]) :is(.shayos-event-ball,.focus-event-ball,.shayos-activity-fallback-ball) {
 background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;
 padding:0!important;margin:0!important;display:inline-flex!important;width:44px!important;height:44px!important;
 overflow:hidden!important;border-radius:50%!important;
}

/* 5.4.0 - canonical ball presentation: only the animated white SVG sphere is
 * visible. Shell owns the interactive surface; consumers must not paint a
 * backplate, square, ring or pseudo-element around ShaySport event balls. */
html body button.shayos-shell-ball-target,
html body :is(.focus-board-tool--event,.focus-event-card-edit,.shayos-event-create-action--ball,.shayos-space-event-card-edit,.shayos-activity-event-card-edit),
html body button[data-shayos-event-card-edit],
html body button[data-shayos-space-fallback-edit] {
  appearance:none!important;-webkit-appearance:none!important;
  background:transparent!important;background-color:transparent!important;
  background-image:none!important;border:0!important;box-shadow:none!important;
  -webkit-box-shadow:none!important;filter:none!important;
  padding:0!important;margin:0!important;
}
html body button.shayos-shell-ball-target::before,
html body button.shayos-shell-ball-target::after,
html body :is(.focus-board-tool--event,.focus-event-card-edit,.shayos-event-create-action--ball,.shayos-space-event-card-edit,.shayos-activity-event-card-edit)::before,
html body :is(.focus-board-tool--event,.focus-event-card-edit,.shayos-event-create-action--ball,.shayos-space-event-card-edit,.shayos-activity-event-card-edit)::after {
  content:none!important;display:none!important;background:none!important;
  border:0!important;box-shadow:none!important;
}
html body :is(.focus-event-ball,.shayos-event-ball) {
  background:transparent!important;background-image:none!important;
  border:0!important;box-shadow:none!important;filter:none!important;
}

/* 5.4.1: canonical compact panel hero and pin elevation.
 * A consumer may retain legacy min-height, bottom pin lane and hidden overflow
 * for an unconverted panel. Once Shell zones a hero, those old styles must not
 * impose vertical blank space or clip the native pin's decorative SVG. */
html body :is(.shaysport-space-panel,.shayos-panel,.focus-standalone-panel,
  .focus-ui-panel,.shayos-shared-management-panel,.shayos-manager-panel,
  .shayos-admin-panel,.shayos-space-panel,[data-shayos-generic-panel]):has(>
  .shayos-surface-panel-hero.shayos-shell-panel-pin-enabled) {
  position:relative!important;z-index:12!important;overflow:visible!important;
  isolation:auto!important;
}
html body .shayos-surface-panel-hero.shayos-surface-zoned {
  position:relative!important;overflow:visible!important;
  isolation:auto!important;z-index:2!important;
  min-height:0!important;height:auto!important;max-height:none!important;
  padding:0!important;margin:0!important;gap:0!important;
  align-items:stretch!important;justify-content:flex-start!important;
}
html body .shayos-surface-panel-hero.shayos-surface-zoned >
  :is(.shayos-surface-upper,.shayos-surface-lower) {
  box-sizing:border-box!important;position:relative!important;
  flex:0 0 auto!important;height:auto!important;min-height:0!important;
  max-height:none!important;align-self:stretch!important;
  margin:0!important;gap:8px!important;
  align-content:center!important;justify-content:space-between!important;
  overflow:visible!important;
}
html body .shayos-surface-panel-hero.shayos-surface-zoned > .shayos-surface-upper {
  padding:10px 12px 4px!important;
}
html body .shayos-surface-panel-hero.shayos-surface-zoned > .shayos-surface-lower {
  padding:4px 12px 10px!important;
}
html body .shayos-surface-panel-hero.shayos-surface-zoned > .shayos-surface-lower
  :is(.shaysport-space-panel__heading,.shaysport-space-panel__hero-actions,
  .focus-board-toolbar,.focus-board-tools,[data-focus-board-tools],
  .focus-count-indicator--hero,.focus-panel-active-filters) {
  box-sizing:border-box!important;position:static!important;
  display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
  width:auto!important;max-width:100%!important;height:auto!important;
  min-height:0!important;max-height:none!important;
  flex:0 1 auto!important;align-items:center!important;
  justify-content:flex-start!important;align-content:center!important;
  margin:0!important;padding:0!important;gap:6px!important;
  transform:none!important;
}
/* A Space skin historically forced every panel heading into a horizontal row.
 * Once zoned, the two Shell bands must stack vertically instead. */
html body .shaysport-space-page .shaysport-space-panel >
 .shaysport-space-panel__hero.shayos-surface-panel-hero.shayos-surface-zoned {
 display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
 width:100%!important;min-height:0!important;height:auto!important;
 padding:0!important;gap:0!important;overflow:visible!important;
 align-items:stretch!important;justify-content:flex-start!important;
}
/* The event-only Space hero styles used to reserve a 74-82px empty pin lane.
 * When two-zone mode is present, layout contracts override those obsolete sizes.
 * The :not(.shayos-surface-zoned) legacy rules in Spaces remain functional. */
html body .shaysport-space-page .shaysport-space-panel:is(
  [data-panel-type="events-upcoming"],[data-panel-type="events-shaysport-round"])
  > .shaysport-space-panel__hero.shayos-surface-panel-hero.shayos-surface-zoned {
  display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
  min-height:0!important;height:auto!important;max-height:none!important;
  padding:0!important;gap:0!important;overflow:visible!important;
  align-items:stretch!important;justify-content:flex-start!important;
}
html body .focus-page .focus-standalone-panel >
  .focus-standalone-panel__head.shayos-surface-panel-hero.shayos-surface-zoned {
  min-height:0!important;height:auto!important;max-height:none!important;
  padding:0!important;gap:0!important;overflow:visible!important;
}
/* Keep the original click target in place. Paint the pin in the foreground;
 * the outer panel and all relevant header layers must allow the glyph to escape. */
html body .shayos-surface-panel-hero.shayos-shell-panel-pin-enabled >
  .shayos-shell-panel-pin-dock {
  z-index:2147480!important;isolation:isolate!important;
  overflow:visible!important;filter:none!important;
}
html body .shayos-surface-panel-hero.shayos-shell-panel-pin-enabled >
  .shayos-shell-panel-pin-dock > .shayos-shell-pin-glyph {
  z-index:3!important;overflow:visible!important;clip-path:none!important;
}

/* 5.4.3: the zoned lower surface, not the outer card, owns the event ball.
   Put metadata on row one and the animated identity on row two. */
html body .shaysport-events-space-panel--items .shayos-item-card.shayos-surface-zoned .shayos-surface-lower {
 display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
 grid-auto-rows:auto!important;align-items:center!important;column-gap:12px!important;row-gap:10px!important;
 min-width:0!important;overflow:visible!important;
}
html body .shaysport-events-space-panel--items .shayos-item-card.shayos-surface-zoned .shayos-surface-lower > :is(.shayos-item-card__tags,.focus-note__tags) {
 grid-column:1 / -1!important;grid-row:1!important;justify-self:stretch!important;
 width:100%!important;min-width:0!important;flex:none!important;
 justify-content:flex-start!important;overflow-wrap:anywhere!important;
}
html body .shaysport-events-space-panel--items .shayos-item-card.shayos-surface-zoned .shayos-surface-lower > :is(.shayos-item-card__identity,.focus-owner-badge) {
 grid-column:1!important;grid-row:2!important;justify-self:start!important;
 position:static!important;transform:none!important;margin:0!important;
}
html body .shaysport-events-space-panel--items .shayos-item-card.shayos-surface-zoned .shayos-surface-lower > :is(.shayos-item-card__controls,.focus-note__direct-actions) {
 grid-column:2!important;grid-row:2!important;justify-self:end!important;
 position:static!important;transform:none!important;margin:0!important;
}

/* Generic single-card identity/actions and full-width related-link rows. */
html body .shayos-item-card.shayos-surface-zoned .shayos-surface-lower > .shayos-surface-identity-actions {
 display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
 justify-content:space-between!important;gap:12px!important;width:100%!important;
 min-width:0!important;flex:0 0 100%!important;box-sizing:border-box!important;
 margin:0!important;padding:0!important;border:0!important;background:transparent!important;
}
html body .shayos-item-card.shayos-surface-zoned .shayos-surface-identity-actions > .shayos-item-card__identity {
 display:flex!important;align-items:center!important;flex:0 0 auto!important;
 position:static!important;margin:0!important;padding:0!important;
}
html body .shayos-item-card.shayos-surface-zoned .shayos-surface-identity-actions > .shayos-item-card__controls {
 display:flex!important;align-items:center!important;justify-content:flex-end!important;
 flex:1 1 auto!important;min-width:0!important;position:static!important;
 margin:0!important;padding:0!important;
}
html body .shayos-item-card.shayos-surface-zoned .shayos-surface-lower > .shayos-surface-related-links {
 display:flex!important;flex-direction:column!important;gap:10px!important;
 flex:0 0 100%!important;width:100%!important;max-width:100%!important;
 min-width:0!important;box-sizing:border-box!important;position:static!important;
 margin:0!important;padding:0!important;border:0!important;background:transparent!important;
}
html body .shayos-item-card.shayos-surface-zoned .shayos-surface-related-links > a {
 display:flex!important;width:100%!important;max-width:100%!important;min-width:0!important;
 box-sizing:border-box!important;white-space:normal!important;
}

/* Generic provider-related link rows: style regardless of whether the card's
   async renderer mounts the collection as a sibling or inside the card. */
html body [data-shayos-card-related-links] {
 display:flex!important;flex-direction:column!important;gap:10px!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 box-sizing:border-box!important;margin:0!important;padding:12px 14px!important;
 background:transparent!important;border:0!important;float:none!important;clear:both!important;
}
html body [data-shayos-card-related-links] > a {
 display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
 direction:rtl!important;gap:10px!important;width:100%!important;max-width:100%!important;
 min-width:0!important;box-sizing:border-box!important;padding:10px 12px!important;
 border:1px solid #b5cbd9!important;border-radius:14px!important;
 background:#fff!important;color:#173d5d!important;text-decoration:none!important;
 overflow:hidden!important;white-space:normal!important;
}
html body [data-shayos-card-related-links] > a > img,
html body [data-shayos-card-related-links] > a > .shaysport-event-source-thumb-fallback {
 display:flex!important;flex:0 0 52px!important;width:52px!important;max-width:52px!important;
 height:52px!important;max-height:52px!important;min-width:52px!important;
 object-fit:cover!important;border-radius:10px!important;margin:0!important;
 align-items:center!important;justify-content:center!important;
}
html body [data-shayos-card-related-links] > a > .shaysport-event-source-article-type {
 flex:0 0 auto!important;border:1px solid #a7bdcb!important;border-radius:999px!important;
 padding:3px 9px!important;white-space:nowrap!important;
}
html body [data-shayos-card-related-links] > a > .shaysport-event-source-article-title {
 flex:1 1 auto!important;min-width:0!important;white-space:normal!important;
 overflow-wrap:anywhere!important;text-align:right!important;line-height:1.4!important;
}
html body [data-shayos-card-related-links] > a:focus-visible {outline:3px solid #174476!important;outline-offset:2px!important;}

/* 5.4.7 - Shell-owned four stacked card regions: hero, indicators,
   space identity and controls, provider extensions. No overlapping rows. */
html body .shayos-item-card.shayos-surface-zoned .shayos-surface-card-body {
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
}
html body .shayos-item-card.shayos-surface-zoned .shayos-surface-card-body > .shayos-surface-lower,
html body .shayos-item-card.shayos-surface-zoned.shayos-surface-card-body > .shayos-surface-lower {
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 flex-wrap:nowrap!important;gap:0!important;width:100%!important;min-width:0!important;
 position:static!important;inset:auto!important;overflow:visible!important;
 padding:0!important;margin:0!important;box-sizing:border-box!important;
}
html body .shayos-item-card.shayos-surface-zoned .shayos-surface-lower > .shayos-surface-indicators,
html body .shayos-item-card.shayos-surface-zoned .shayos-surface-lower > .shayos-surface-identity-actions,
html body .shayos-item-card.shayos-surface-zoned .shayos-surface-lower > .shayos-surface-extensions {
 display:flex!important;position:static!important;inset:auto!important;
 flex:0 0 auto!important;order:initial!important;width:100%!important;
 max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
 margin:0!important;transform:none!important;float:none!important;
 border:0!important;box-shadow:none!important;background:transparent!important;
}
html body .shayos-item-card.shayos-surface-zoned .shayos-surface-lower > .shayos-surface-indicators {
 flex-flow:row wrap!important;align-items:center!important;gap:8px!important;
 padding:12px 14px 6px!important;
}
html body .shayos-item-card.shayos-surface-zoned .shayos-surface-lower > .shayos-surface-identity-actions {
 flex-flow:row nowrap!important;align-items:center!important;justify-content:space-between!important;
 gap:10px!important;padding:8px 14px 12px!important;min-height:60px!important;
}
html body .shayos-item-card.shayos-surface-zoned .shayos-surface-identity-actions > * {
 position:static!important;inset:auto!important;transform:none!important;
 margin:0!important;float:none!important;grid-column:auto!important;grid-row:auto!important;
}
html body .shayos-item-card.shayos-surface-zoned .shayos-surface-lower > .shayos-surface-extensions {
 flex-direction:column!important;align-items:stretch!important;gap:10px!important;
 padding:0 14px 14px!important;
}
html body .shayos-item-card.shayos-surface-zoned .shayos-surface-extensions > [data-shayos-card-related-links] {
 width:100%!important;max-width:100%!important;padding:0!important;
 margin:0!important;position:static!important;inset:auto!important;
}
html body .shayos-item-card.shayos-surface-zoned .shayos-surface-extensions > [data-shayos-card-related-links] > a {
 width:100%!important;max-width:100%!important;min-width:0!important;
}

/* Shell four-zone contract: an Activity persistent event launcher is an
   identity-row control, never an absolute overlay on extension rows. */
html body .shayos-item-card.shayos-surface-zoned .shayos-surface-identity-actions > [data-shayos-space-persistent-edit] {
 position:static!important;inset:auto!important;bottom:auto!important;
 inset-inline-end:auto!important;transform:none!important;z-index:auto!important;
 flex:0 0 44px!important;width:44px!important;height:44px!important;
 min-width:44px!important;min-height:44px!important;
 margin:0!important;padding:0!important;align-self:center!important;
}


/* Shell 5.7.6: FOCUS personal consumes the same unified panel/event card skin.
   The FOCUS slot remains a functional list host, never a pinned sticky-note skin.
   This only applies to cards explicitly declared personal by their provider. */
html body .focus-page [data-focus-page-contract="personal"] .shayos-corkboard-slot:has(> .shayos-item-card__legacy-action-host > article.focus-personal-shell-card),
html body .focus-page [data-focus-page-contract="personal"] .shayos-corkboard-slot:has(> article.focus-personal-shell-card) {
  min-width:0!important;max-width:100%!important;width:100%!important;
  height:auto!important;min-height:0!important;aspect-ratio:auto!important;
  padding:0!important;margin:0!important;overflow:visible!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
html body .focus-page [data-focus-page-contract="personal"] .focus-note__wrap.shayos-item-card__legacy-action-host:has(> article.focus-personal-shell-card) {
  display:block!important;position:relative!important;box-sizing:border-box!important;
  width:100%!important;max-width:100%!important;height:auto!important;
  min-height:0!important;aspect-ratio:auto!important;
  margin:0!important;padding:0!important;overflow:visible!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
  transform:none!important;
}
html body .focus-page [data-focus-page-contract="personal"] article.shayos-item-card--surface.focus-personal-shell-card {
  display:flex!important;flex-direction:column!important;box-sizing:border-box!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:auto!important;min-height:0!important;aspect-ratio:auto!important;
  padding:0!important;margin:0!important;gap:0!important;overflow:hidden!important;
  border:1px solid #c8dbe7!important;border-radius:24px!important;
  background:#fff!important;box-shadow:0 2px 8px #17395716!important;
}
html body .focus-page [data-focus-page-contract="personal"] article.shayos-item-card--surface.focus-personal-shell-card > .shayos-surface-upper {
  display:flex!important;align-items:center!important;box-sizing:border-box!important;
  width:100%!important;height:auto!important;min-height:108px!important;
  padding:16px 18px!important;margin:0!important;
  background:#dff3fc!important;border-radius:23px 23px 0 0!important;
}
html body .focus-page [data-focus-page-contract="personal"] article.shayos-item-card--surface.focus-personal-shell-card > .shayos-surface-lower {
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:70px!important;
  padding:12px 16px 16px!important;margin:0!important;gap:12px!important;
  border-radius:0 0 23px 23px!important;background:#fff!important;
}
html body .focus-page [data-focus-page-contract="personal"] article.shayos-item-card--surface.focus-personal-shell-card > .shayos-surface-lower > :is(.shayos-surface-indicators,.shayos-surface-identity-actions,.shayos-surface-extensions) {
  display:flex!important;position:static!important;box-sizing:border-box!important;
  width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;
  padding:0!important;margin:0!important;gap:10px!important;flex-wrap:wrap!important;
  justify-content:flex-start!important;align-items:center!important;background:transparent!important;
}
html body .focus-page [data-focus-page-contract="personal"] article.shayos-item-card--surface.focus-personal-shell-card .shayos-surface-identity-actions .focus-goal-toggle--in-actions {
  display:inline-flex!important;position:static!important;inset:auto!important;
  flex:0 0 auto!important;width:44px!important;min-width:44px!important;height:44px!important;
  align-items:center!important;justify-content:center!important;
  margin:0!important;padding:0!important;border:1px solid #bb925c!important;
  border-radius:12px!important;background:#fff4dc!important;color:#183e66!important;
  box-shadow:0 2px 4px #17395720!important;opacity:1!important;pointer-events:auto!important;
  transform:none!important;font-size:22px!important;cursor:pointer!important;
}
html body .focus-page [data-focus-page-contract="personal"] article.shayos-item-card--surface.focus-personal-shell-card .shayos-surface-identity-actions .focus-goal-toggle--in-actions[aria-pressed="true"] {
  border-color:#8b6a37!important;background:#f4dfb8!important;
}
@media (max-width:480px) {
 html body .focus-page [data-focus-page-contract="personal"] article.shayos-item-card--surface.focus-personal-shell-card > .shayos-surface-upper {padding:14px!important;min-height:94px!important;}
 html body .focus-page [data-focus-page-contract="personal"] article.shayos-item-card--surface.focus-personal-shell-card > .shayos-surface-lower {padding:10px 14px 14px!important;}
}


/* Event period is domain data; Shell owns every rendered card surface. */
html body .shayos-activity-event-card.shayos-event-is-past.shayos-item-card.shayos-surface-zoned,
html body .shayos-unified-event-entry[data-event-period="past"] .shayos-activity-event-card.shayos-item-card {
 --shayos-card-upper-bg:#e1e4e8!important;
 --shayos-card-lower-bg:#f0f1f3!important;
 border-color:#b9c0c8!important;
 background:#f0f1f3!important;
}
html body .shayos-activity-event-card.shayos-event-is-past.shayos-surface-zoned .shayos-surface-card-body>.shayos-surface-upper,
html body .shayos-unified-event-entry[data-event-period="past"] .shayos-activity-event-card.shayos-surface-zoned .shayos-surface-card-body>.shayos-surface-upper {
 background:#e1e4e8!important;
}
html body .shayos-activity-event-card.shayos-event-is-past.shayos-surface-zoned .shayos-surface-card-body>.shayos-surface-lower,
html body .shayos-unified-event-entry[data-event-period="past"] .shayos-activity-event-card.shayos-surface-zoned .shayos-surface-card-body>.shayos-surface-lower {
 background:#f0f1f3!important;
}
/* Two visual calendar actions have exactly the size and backplate of edit. */
html body .shayos-activity-event-card button.shayos-event-calendar-action,
html body .shayos-item-card button.shayos-event-calendar-action {
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;
 flex:0 0 46px!important;padding:0!important;margin:0!important;
 border:0!important;border-radius:0!important;background:transparent!important;
 background-image:none!important;box-shadow:none!important;filter:none!important;
}
html body .shayos-activity-event-card .shayos-item-card__controls,
html body .shayos-activity-event-card .focus-note__direct-actions {
 display:flex!important;align-items:center!important;justify-content:center!important;
 gap:3px!important;flex-wrap:nowrap!important;margin:0!important;padding:0!important;
}
html body .shayos-activity-event-card .shayos-surface-identity-actions {
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:6px!important;flex-wrap:nowrap!important;
}
html body .shayos-activity-event-card .shayos-surface-identity-actions > .shayos-item-card__controls {
 flex:0 1 auto!important;min-width:0!important;
}
html body .shayos-activity-event-card .shayos-surface-identity-actions > [data-shayos-space-persistent-edit] {
 flex:0 0 46px!important;width:46px!important;height:46px!important;
}
