/* 5.1.11: reserve a dedicated lower lane for the pin. No absolute overlay on actions. */
:is(.shayos-panel,.shayos-shared-management-panel,.shaysport-panel,[data-shayos-generic-panel],.shayos-manager-panel,.shayos-admin-panel,.shayos-space-panel) > :is(header,.shayos-panel__hero,.shayos-shared-management-panel__header,.shayos-manager-panel__header){position:relative!important;box-sizing:border-box!important;padding-bottom:52px!important;min-height:110px!important;}
:is(.shayos-panel,.shayos-shared-management-panel,.shaysport-panel,[data-shayos-generic-panel],.shayos-manager-panel,.shayos-admin-panel,.shayos-space-panel) .shayos-panel-priority-pin{position:absolute!important;left:12px!important;right:auto!important;bottom:10px!important;top:auto!important;transform:none!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;max-width:28px!important;max-height:28px!important;padding:0!important;margin:0!important;border:1px solid #b99a67!important;border-radius:50%!important;background:#fff4dd;font-size:14px!important;line-height:1!important;z-index:4!important;box-shadow:0 1px 3px #0002!important;cursor:pointer!important;}
.shayos-panel-pin-logo-header .shayos-panel-pin-title{box-sizing:border-box!important;max-width:calc(100% - 58px)!important;margin-inline-start:58px!important;overflow-wrap:anywhere!important;}
.shayos-panel-pin-logo-header .shayos-panel-pin-logo{position:absolute!important;right:12px!important;left:auto!important;top:12px!important;width:38px!important;height:38px!important;max-width:38px!important;max-height:38px!important;object-fit:contain!important;}

/* 5.1.18: memory book's large Add control occupies the left action row. */
.shayos-memory-book-pin-header{padding-bottom:110px!important;height:auto!important;}
.shayos-memory-book-pin-header > .shayos-panel-priority-pin{bottom:12px!important;top:auto!important;left:12px!important;}

/* 5.2.2 - Keep panel identity marks inside the rounded hero on mobile. */
html body .shaysport-space-panel > .shaysport-space-panel__hero,
html body .shayos-panel > .shayos-panel__hero {overflow:hidden!important;isolation:isolate!important;}
html body .shaysport-space-panel > .shaysport-space-panel__hero .shaysport-space-panel__demo-logo,
html body .shayos-panel-pin-logo-header > .shayos-panel-pin-logo {
  box-sizing:border-box!important;position:relative!important;inset:auto!important;
  transform:none!important;display:block!important;flex:0 0 38px!important;
  width:38px!important;height:38px!important;max-width:38px!important;max-height:38px!important;
  object-fit:contain!important;object-position:center!important;margin:0!important;
  border-radius:50%!important;overflow:hidden!important;
}
html body .shayos-panel-compact-sibling > :not(header):not(.shayos-panel__hero):not(.focus-standalone-panel__head) {display:none!important;}
html body .shayos-panel-compact-sibling > :is(header,.shayos-panel__hero) {min-height:0!important;padding-block:12px!important;}
html body .shaysport-space-panel > .shaysport-space-panel__hero .shaysport-space-panel__demo-logo {order:-1!important;}
html body .shaysport-space-panel > .shaysport-space-panel__hero .shaysport-space-panel__heading {flex:1 1 auto!important;min-width:0!important;}

/* 5.6.4: explicit page visibility overrides priority compact styling. */
[data-shayos-panel-visibility="all-visible"] .shayos-panel-compact-sibling > :not(header):not(.shayos-panel__hero):not(.focus-standalone-panel__head) {display:revert!important;}
