/* ShayOS Activity Area fragment cards. Loaded explicitly by the provider asset contract. */
.shayos-toot-actions{
  width:min(1120px,calc(100% - 24px))!important;
  margin:18px auto 28px!important;
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
}
.shayos-toot-action{
  box-sizing:border-box!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  min-height:118px!important;
  height:auto!important;
  aspect-ratio:auto!important;
  margin:0!important;
  padding:18px 20px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:stretch!important;
  text-align:center!important;
  border-radius:18px!important;
  border:2px solid #82afe0!important;
  background:#f8fbff!important;
  color:#102a43!important;
  clip-path:none!important;
  transform:none!important;
  overflow:hidden!important;
  cursor:pointer!important;
}
.shayos-toot-action::before,
.shayos-toot-action::after{
  content:none!important;
  display:none!important;
}
.shayos-toot-action strong{
  display:block!important;
  margin:0 0 7px!important;
  font-size:clamp(1.02rem,2vw,1.22rem)!important;
  line-height:1.25!important;
  color:inherit!important;
}
.shayos-toot-action span{
  display:block!important;
  margin:0!important;
  line-height:1.45!important;
  color:inherit!important;
}
.shayos-toot-action:focus-visible{
  outline:3px solid rgba(18,59,112,.28)!important;
  outline-offset:3px!important;
}
@media(max-width:760px){
  .shayos-toot-actions{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))!important;gap:10px!important;width:min(100% - 14px,1120px)!important}
  .shayos-toot-action{min-height:104px!important;padding:15px 16px!important;border-radius:16px!important}
}
@media(max-width:480px){
  .shayos-toot-actions{grid-template-columns:1fr!important}
  .shayos-toot-action{min-height:96px!important}
}

/* Activity Area wizard progress strip. It is the first surface inside the page,
   directly below the shared ShayOS navigation bars. */
.shayos-toot-steps{
  box-sizing:border-box!important;
  width:min(1120px,calc(100% - 14px))!important;
  margin:8px auto 10px!important;
  padding:6px!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:8px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  list-style:none!important;
  scrollbar-width:thin;
}
.shayos-toot-steps[hidden]{display:none!important}
.shayos-toot-steps li{
  box-sizing:border-box!important;
  flex:1 0 min(210px,72vw)!important;
  min-height:46px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:9px 14px!important;
  border:1px solid #d7e3ee!important;
  border-radius:16px!important;
  background:#edf3f8!important;
  color:#60788d!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.shayos-toot-steps li span{
  flex:0 0 26px!important;
  width:26px!important;
  height:26px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:#d9e5ee!important;
  color:#34566f!important;
}
.shayos-toot-steps li strong{font:inherit!important;color:inherit!important}
.shayos-toot-steps li.is-active{background:#e4f3e9!important;color:#1f5e3a!important;border-color:#bfdfca!important}
.shayos-toot-steps li.is-active span{background:#bee4ca!important;color:#174e31!important}
.shayos-toot-steps li.is-done{background:#e7eff7!important;color:#2c587c!important}
@media(max-width:640px){
  .shayos-toot-steps{margin-top:4px!important}
  .shayos-toot-steps li{flex-basis:min(165px,58vw)!important;min-height:42px!important;padding:8px 10px!important;font-size:12px!important}
}

/* Generic Activity wizard lifecycle and provider surface alignment. */
[data-shayos-toot-wizard] .shayos-toot-wizard__exit{
  width:min(1120px,calc(100% - 14px));
  margin:6px auto 12px;
  display:flex;
  justify-content:flex-start;
  box-sizing:border-box;
}
[data-shayos-toot-wizard] .shayos-toot-wizard__exit[hidden]{display:none!important}
[data-shayos-toot-wizard] .shayos-control--exit{
  min-height:44px;
  border:2px solid #123b70!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#123b70!important;
  padding:9px 18px!important;
  font:inherit!important;
  font-weight:900!important;
  cursor:pointer!important;
}
[data-shayos-toot-wizard] .shayos-toot-provider-loading{
  width:min(760px,calc(100% - 20px));
  margin:24px auto;
  padding:24px;
  border:2px solid #82afe0;
  border-radius:20px;
  background:#f8fbff;
  color:#123b70;
  text-align:center;
  font-weight:900;
  box-sizing:border-box;
}
@media(max-width:640px){
  [data-shayos-toot-wizard] .shayos-toot-wizard__exit{width:calc(100% - 10px);margin-top:4px}
  [data-shayos-toot-wizard] .shayos-control--exit{width:auto;max-width:100%}
}

/* Any site launcher can opt into the canonical movable-launcher contract. */
[data-shayos-movable-launcher][data-shayos-movable-ready="1"]{touch-action:none!important;-webkit-user-select:none!important;user-select:none!important;cursor:grab!important}
[data-shayos-movable-launcher][data-shayos-dragging="1"]{cursor:grabbing!important;transition:none!important;transform:none!important}
[data-shayos-movable-launcher][data-shayos-user-positioned="1"]{inset:auto!important;right:auto!important;bottom:auto!important}

/* 1.12.1 generic guest book wizard */
.shayos-guestbook-wizard{display:grid;gap:20px;width:100%;padding:clamp(12px,2.5vw,26px);box-sizing:border-box;background:transparent;color:inherit}
.shayos-guestbook-wizard[hidden]{display:none!important}.shayos-guestbook-steps{display:flex;gap:10px;overflow-x:auto;list-style:none;padding:0;margin:0}.shayos-guestbook-steps li{flex:1 0 160px;padding:10px 14px;border-radius:999px;background:#edf3f9;font-weight:800}.shayos-guestbook-steps li.is-active{background:#cfe5fb;color:#123b70}.shayos-guestbook-pickers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.shayos-guestbook-picker{position:relative;display:grid;place-items:center;min-height:120px;padding:18px;border:2px dashed #6f99c8;border-radius:20px;background:#f7fbff;color:#123b70;cursor:pointer;font:inherit;font-weight:900;text-align:center}.shayos-guestbook-picker input{position:absolute;opacity:0;pointer-events:none}.shayos-guestbook-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px;margin-top:14px}.shayos-guestbook-preview-item{position:relative;margin:0;border-radius:14px;overflow:hidden;background:#eaf1f7}.shayos-guestbook-preview-item img{width:100%;height:130px;object-fit:cover;display:block}.shayos-guestbook-remove{position:absolute;inset-inline-end:6px;top:6px;border:0;border-radius:999px;padding:6px 10px;background:#781010;color:#fff;font:inherit;font-size:.82rem;font-weight:800;cursor:pointer}.shayos-guestbook-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.shayos-guestbook-fields label,.shayos-guestbook-dedication{display:grid;gap:7px;font-weight:800}.shayos-guestbook-fields input:not([type=checkbox]),.shayos-guestbook-dedication textarea{width:100%;box-sizing:border-box;min-height:46px;border:1px solid #9eb4cc;border-radius:12px;padding:9px 12px;font:inherit}.shayos-guestbook-dedication textarea{min-height:150px;resize:vertical}.shayos-guestbook-consent{grid-column:1/-1;display:flex!important;align-items:flex-start;gap:8px}.shayos-guestbook-exit,.shayos-guestbook-controls{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.shayos-guestbook-exit{justify-content:flex-end}.shayos-guestbook-exit button,.shayos-guestbook-controls button{min-height:44px;padding:9px 20px;border:2px solid #123b70;border-radius:999px;background:#fff;color:#123b70;font:inherit;font-weight:900;cursor:pointer}.shayos-guestbook-controls [data-guestbook-next],.shayos-guestbook-controls [data-guestbook-submit]{background:#123b70;color:#fff}.shayos-guestbook-status,.shayos-guestbook-count{min-height:1.4em;text-align:center;font-weight:800}@media(max-width:640px){.shayos-guestbook-pickers,.shayos-guestbook-fields{grid-template-columns:1fr}}


/* 1.13.5 - Canonical ShayOS wizard surface. Never inherit wp-admin UI. */
[data-shayos-toot-wizard]{--wiz-accent:var(--shayos-accent,#0b6fa4);--wiz-accent-2:var(--shayos-accent-2,#07518f);--wiz-border:var(--shayos-highlight,#a70d46);--wiz-text:var(--shayos-text,#173b66);--wiz-action-text:var(--shayos-action-text,#ffe34f);}
[data-shayos-toot-wizard] [data-shayos-toot-step-panel]{width:min(1120px,calc(100% - 18px))!important;margin:10px auto 24px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--wiz-text)!important;}
[data-shayos-toot-wizard] [data-shayos-toot-step-panel] form,
[data-shayos-toot-wizard] [data-shayos-toot-step-panel] .ssaw-admin-form,
[data-shayos-toot-wizard] [data-shayos-toot-step-panel] .ss-ew,
[data-shayos-toot-wizard] [data-shayos-toot-step-panel] .shayos-media-sync-wizard{box-sizing:border-box!important;width:100%!important;margin:0!important;padding:18px!important;border:1px solid #c8d9e8!important;border-radius:24px!important;background:rgba(255,255,255,.92)!important;box-shadow:0 12px 30px rgba(24,63,95,.08)!important;color:var(--wiz-text)!important;font:inherit!important;}
[data-shayos-toot-wizard] [data-shayos-toot-step-panel] label{display:grid!important;gap:7px!important;margin:0 0 14px!important;color:var(--wiz-text)!important;font:inherit!important;font-weight:800!important;}
[data-shayos-toot-wizard] [data-shayos-toot-step-panel] input:not([type=checkbox]):not([type=radio]),
[data-shayos-toot-wizard] [data-shayos-toot-step-panel] select,
[data-shayos-toot-wizard] [data-shayos-toot-step-panel] textarea{appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;width:100%!important;min-height:50px!important;margin:0!important;padding:11px 14px!important;border:2px solid #9eb9d0!important;border-radius:16px!important;background:#fff!important;color:var(--wiz-text)!important;box-shadow:none!important;outline:none!important;font:inherit!important;line-height:1.3!important;}
[data-shayos-toot-wizard] [data-shayos-toot-step-panel] textarea{min-height:110px!important;resize:vertical!important;}
[data-shayos-toot-wizard] [data-shayos-toot-step-panel] input:focus,
[data-shayos-toot-wizard] [data-shayos-toot-step-panel] select:focus,
[data-shayos-toot-wizard] [data-shayos-toot-step-panel] textarea:focus{border-color:var(--wiz-accent)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--wiz-accent) 18%,transparent)!important;}
[data-shayos-toot-wizard] [data-shayos-toot-step-panel] button,
[data-shayos-toot-wizard] [data-shayos-toot-step-panel] .button,
[data-shayos-toot-wizard] [data-shayos-toot-step-panel] .button-primary,
[data-shayos-toot-wizard] [data-shayos-toot-step-panel] input[type=submit]{appearance:none!important;-webkit-appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:50px!important;height:auto!important;margin:4px 0!important;padding:11px 20px!important;border:2px solid var(--wiz-border)!important;border-radius:18px!important;background:linear-gradient(180deg,var(--wiz-accent),var(--wiz-accent-2))!important;color:var(--wiz-action-text)!important;box-shadow:0 8px 18px rgba(11,111,164,.16)!important;text-shadow:none!important;text-decoration:none!important;font:inherit!important;font-weight:900!important;line-height:1.2!important;cursor:pointer!important;}
[data-shayos-toot-wizard] [data-shayos-toot-step-panel] button[disabled],
[data-shayos-toot-wizard] [data-shayos-toot-step-panel] input[disabled]{opacity:.45!important;cursor:not-allowed!important;}
[data-shayos-toot-wizard] .shayos-toot-wizard__exit button{border:2px solid var(--wiz-border)!important;border-radius:999px!important;background:linear-gradient(180deg,var(--wiz-accent),var(--wiz-accent-2))!important;color:var(--wiz-action-text)!important;font-weight:900!important;box-shadow:0 8px 18px rgba(11,111,164,.14)!important;}
[data-shayos-toot-wizard] .shayos-toot-steps li{border:2px solid #c3d6e6!important;background:#f5f9fc!important;color:#49677e!important;border-radius:999px!important;}
[data-shayos-toot-wizard] .shayos-toot-steps li.is-active{border-color:#a9d4bb!important;background:#e7f6ec!important;color:#1f5e3a!important;}
@media(max-width:640px){[data-shayos-toot-wizard] [data-shayos-toot-step-panel] form,[data-shayos-toot-wizard] [data-shayos-toot-step-panel] .ss-ew,[data-shayos-toot-wizard] [data-shayos-toot-step-panel] .shayos-media-sync-wizard{padding:14px!important;border-radius:20px!important}}

/* 1.13.5: selector is a clean ShayOS surface. Generic wizard controls and restore notices never belong on the options page. */
.shayos-toot-wizard:not(.is-wizard-active) .shayos-toot-wizard__controls,
.shayos-toot-wizard:not(.is-wizard-active) .shayos-toot-session-notice{display:none!important}
.shayos-toot-session-notice{display:none!important}
.shayos-toot-action[data-shayos-toot-implementation="media-album-upload"]{border-color:#58a7c8!important;background:linear-gradient(180deg,#f3fbff,#e8f6fb)!important}
.shayos-toot-action[data-shayos-toot-implementation="media-asset-sync"]{border-color:#9b78d0!important;background:linear-gradient(180deg,#fbf8ff,#f0eafb)!important}
.shayos-toot-action[data-shayos-toot-implementation="media-album-upload"] .shayos-toot-action__title::before{content:"IMG";display:inline-grid;place-items:center;min-width:42px;height:28px;margin-inline-end:8px;border-radius:999px;background:#d8f0fa;color:#174d68;font-size:.72rem;font-weight:900}
.shayos-toot-action[data-shayos-toot-implementation="media-asset-sync"] .shayos-toot-action__title::before{content:"SYNC";display:inline-grid;place-items:center;min-width:48px;height:28px;margin-inline-end:8px;border-radius:999px;background:#e8def7;color:#573b7c;font-size:.68rem;font-weight:900}

/* 1.13.6 guestbook canonical three-step flow and explicit send progress */
.shayos-guestbook-submit-state{display:grid;gap:8px;margin-top:16px}.shayos-guestbook-submit-state[hidden]{display:none!important}.shayos-guestbook-progress{height:10px;border-radius:999px;background:#e4edf6;overflow:hidden}.shayos-guestbook-progress>span{display:block;width:0;height:100%;background:currentColor;transition:width .3s ease}.shayos-guestbook-status{min-height:1.5em;margin:0;text-align:center;font-weight:800}.shayos-guestbook-controls [data-guestbook-submit][hidden]{display:none!important}


/* 1.13.7 guestbook: capture-first flow, quiet exit control, no provider-loading placeholder. */
[data-shayos-toot-wizard] .shayos-toot-provider-loading{display:none!important}
.shayos-guestbook-exit{order:-2;display:flex!important;justify-content:flex-start!important;margin:0 0 4px!important;padding:0!important;border:0!important;background:transparent!important}
[data-shayos-toot-wizard] [data-shayos-toot-step-panel] .shayos-guestbook-exit button,
.shayos-guestbook-exit button{min-height:38px!important;padding:7px 14px!important;border:1px solid #9aa9b7!important;border-radius:999px!important;background:transparent!important;color:#5e6f7f!important;box-shadow:none!important;font-size:.9rem!important;font-weight:700!important;text-shadow:none!important}
.shayos-guestbook-exit button::before{content:'X';display:inline-grid;place-items:center;width:22px;height:22px;margin-inline-end:7px;border:1px solid currentColor;border-radius:50%;font-size:.72rem;font-weight:900}
.shayos-guestbook-controls{margin-top:8px!important}
.shayos-guestbook-controls [data-guestbook-next]{min-width:130px!important}
.shayos-guestbook-preview-item video{width:100%;height:130px;object-fit:cover;display:block;background:#000}
