/*
 * ShiftControl Default presentation.
 *
 * Scope: brand, tokens, paint, and bounded responsive polish only. Runtime,
 * module anatomy, actions, state, and page composition remain canonical.
 */

body.shiftcontrol-default-theme {
  --scd-ink: #081b5b;
  --scd-ink-soft: #355797;
  --scd-blue: #0878f9;
  --scd-cyan: #17e4e4;
  --scd-violet: #7547ff;
  --scd-pink: #ff3d92;
  --scd-gold: #ffb52e;
  --scd-border: rgba(83, 159, 220, .2);
  --scd-glass: rgba(255, 255, 255, .91);
  --scd-glass-strong: rgba(255, 255, 255, .97);
  --scd-glow: 0 18px 52px rgba(24, 113, 191, .14);
  --scd-card-shadow: 0 10px 34px rgba(32, 90, 151, .09);
  --scd-radius: 17px;
  --scd-hero: url("../images/alpine-community-hero.webp");
  --scd-rail: url("../images/alpine-community-rail.webp");
  --scd-auth: url("../images/alpine-community-auth.webp");
  --scd-login-hero: url("../images/login-hero.webp");
  --scd-butterfly: url("../images/login-butterfly-panel.webp");
  --scd-clouds: var(--scd-login-hero);
  --scd-cloud-canvas:
    linear-gradient(145deg, rgba(225, 247, 255, .72), rgba(250, 253, 255, .84) 46%, rgba(231, 249, 255, .76)),
    var(--scd-clouds);
  --scd-canonical-canvas-width: 1440px;
  --scd-canonical-left-rail-width: clamp(200px, 18.25vw, 264px);
  --scd-canonical-right-rail-width: clamp(248px, 22.15vw, 320px);
  --scd-canonical-region-gap: 16px;
  margin: 0;
  color: var(--scd-ink);
  background-color: #e9f8ff;
  background-image: var(--scd-cloud-canvas);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif;
}

body.shiftcontrol-default-theme *,
body.shiftcontrol-default-theme *::before,
body.shiftcontrol-default-theme *::after { box-sizing: border-box; }

body.shiftcontrol-default-theme,
body.shiftcontrol-default-theme * { scrollbar-width: none; }
body.shiftcontrol-default-theme::-webkit-scrollbar,
body.shiftcontrol-default-theme *::-webkit-scrollbar { width: 0; height: 0; }

body.shiftcontrol-default-theme h1,
body.shiftcontrol-default-theme h2,
body.shiftcontrol-default-theme h3,
body.shiftcontrol-default-theme h4,
body.shiftcontrol-default-theme strong {
  color: var(--scd-ink);
  font-family: Manrope, "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

body.shiftcontrol-default-theme a { color: #075fe6; }
body.shiftcontrol-default-theme button,
body.shiftcontrol-default-theme input,
body.shiftcontrol-default-theme textarea,
body.shiftcontrol-default-theme select { font: inherit; }

body.shiftcontrol-default-theme[data-sc-blueprint-drawer-open] { overflow: hidden; }

/* Canonical authenticated canvas geometry shared by Stream and Profile.
 * Blueprint Kit continues to own placement and responsive order; the theme
 * owns this bounded presentation frame so page navigation cannot resize it. */
body.shiftcontrol-default-theme.shiftcontrol-view-profile .sc-blueprint-authenticated-shell__body {
  padding-inline: 16px !important;
}
body.shiftcontrol-default-theme.shiftcontrol-view-profile .sc-blueprint-authenticated-shell__canvas > .sc-blueprint[data-sc-blueprint-surface="profile"] {
  width: min(100%, var(--scd-canonical-canvas-width)) !important;
  max-width: var(--scd-canonical-canvas-width) !important;
  max-inline-size: var(--scd-canonical-canvas-width) !important;
  margin-inline: auto !important;
  padding: 0 !important;
  gap: var(--scd-canonical-region-gap) !important;
}
body.shiftcontrol-default-theme.shiftcontrol-view-profile .sc-blueprint[data-sc-blueprint-surface="profile"] > :is(
  .sc-blueprint-region--left_rail,
  .sc-blueprint-region--primary,
  .sc-blueprint-region--right_rail
) {
  gap: var(--scd-canonical-region-gap);
}
@media (min-width: 1025px) {
  body.shiftcontrol-default-theme.shiftcontrol-view-profile .sc-blueprint[data-sc-blueprint-surface="profile"][data-sc-blueprint-composition-variant="neutral-basic-profile"] {
    grid-template-columns: var(--scd-canonical-left-rail-width) minmax(0, 1fr) var(--scd-canonical-right-rail-width) !important;
  }
}
@media (max-width: 1024px) {
  body.shiftcontrol-default-theme.shiftcontrol-view-profile .sc-blueprint-authenticated-shell__canvas > .sc-blueprint[data-sc-blueprint-surface="profile"] {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 760px !important;
    max-inline-size: 760px !important;
  }
}
@media (max-width: 760px) {
  body.shiftcontrol-default-theme.shiftcontrol-view-profile .sc-blueprint-authenticated-shell__body {
    padding-inline: 10px !important;
  }
}

/* Theme profile tokens consumed by canonical modules. */
body.shiftcontrol-default-theme [data-scmk-theme-profile] {
  --sc-module-accent: var(--scd-blue);
  --sc-module-action-primary-bg: linear-gradient(110deg, #1f5fff, #078dfb 54%, #22e1df);
  --sc-module-action-primary-text: #fff;
  --sc-module-bg: var(--scd-glass);
  --sc-module-surface: var(--scd-glass-strong);
  --sc-module-surface-bg: var(--scd-glass);
  --sc-module-surface-bg-quiet: rgba(235, 247, 255, .85);
  --sc-module-border: var(--scd-border);
  --sc-module-text: var(--scd-ink);
  --sc-module-heading: var(--scd-ink);
  --sc-module-muted: var(--scd-ink-soft);
  --sc-module-radius: var(--scd-radius);
  --sc-module-radius-inner: 13px;
  --sc-module-shadow: var(--scd-card-shadow);
  --scmk-theme-colors-accent-primary: var(--scd-blue);
  --scmk-theme-colors-accent-secondary: var(--scd-cyan);
  --scmk-theme-colors-border-default: var(--scd-border);
  --scmk-theme-colors-border-strong: rgba(64, 134, 205, .36);
  --scmk-theme-colors-focus: #15c9ec;
  --scmk-theme-colors-surface-default: var(--scd-glass);
  --scmk-theme-colors-surface-elevated: var(--scd-glass-strong);
  --scmk-theme-colors-surface-muted: rgba(232, 247, 255, .84);
  --scmk-theme-colors-surface-page: #edf9ff;
  --scmk-theme-colors-text-primary: var(--scd-ink);
  --scmk-theme-colors-text-secondary: var(--scd-ink-soft);
  --scmk-theme-radius-lg: 17px;
  --scmk-theme-radius-md: 15px;
  --scmk-theme-radius-xl: 22px;
  --scmk-theme-shadows-control: 0 9px 24px rgba(24, 96, 165, .12);
  --scmk-theme-shadows-focus: 0 0 0 3px rgba(32, 226, 225, .3), 0 0 28px rgba(96, 91, 255, .25);
  --scmk-theme-shadows-surface: var(--scd-card-shadow);
  --scmk-theme-typography-family-sans: "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif;
}

/* Shared authenticated shell. */
body.shiftcontrol-default-theme.shiftcontrol-public-body,
body.shiftcontrol-default-theme.shiftcontrol-public-body.admin-bar:not(.wp-admin):not(.curt-core-shell) {
  padding-top: 0 !important;
}

body.shiftcontrol-default-theme .sc-blueprint-authenticated-shell {
  --scd-authenticated-topbar-height: 64px;
  min-height: 100dvh;
  background-color: #e9f8ff;
  background-image: var(--scd-cloud-canvas);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

body.shiftcontrol-default-theme .sc-blueprint-authenticated-shell__top {
  position: fixed;
  top: var(--sc-shell-adminbar-height, 0px);
  right: 0;
  left: 0;
  z-index: 9990;
  min-height: 64px;
  padding: 6px 28px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .38);
  background:
    linear-gradient(90deg, rgba(5, 83, 166, .96), rgba(12, 136, 218, .86) 55%, rgba(40, 178, 229, .78)),
    var(--scd-hero) center 35% / cover;
  box-shadow: 0 12px 36px rgba(13, 76, 145, .18);
  color: #fff;
}

body.shiftcontrol-default-theme .scmk-shell-identity {
  display: inline-grid;
  grid-template-columns: 44px auto;
  align-items: center;
  gap: 9px;
  min-width: 215px;
  color: #fff;
  text-decoration: none;
}

body.shiftcontrol-default-theme .scmk-shell-identity > span {
  width: 44px;
  height: 38px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: url("../images/shiftcontrol-butterfly.svg") center / contain no-repeat;
  color: transparent;
  box-shadow: none;
}

body.shiftcontrol-default-theme .scmk-shell-identity > strong {
  color: #fff;
  font-size: 0;
  letter-spacing: -.04em;
}
body.shiftcontrol-default-theme .scmk-shell-identity > strong::after {
  content: "ShiftControl";
  font-size: 25px;
  font-weight: 800;
}

body.shiftcontrol-default-theme .sc-blueprint-authenticated-shell__top .scmk-navigation-card {
  justify-content: center;
  gap: 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.shiftcontrol-default-theme .sc-blueprint-authenticated-shell__top .scmk-navigation-card__item {
  min-height: 43px;
  padding: 10px 15px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255,255,255,.9);
  box-shadow: none;
  font-weight: 600;
}
body.shiftcontrol-default-theme .sc-blueprint-authenticated-shell__top .scmk-navigation-card__item:hover {
  background: rgba(255,255,255,.13);
  color: #fff;
}
body.shiftcontrol-default-theme .sc-blueprint-authenticated-shell__top .scmk-navigation-card__item.is-active {
  background: rgba(255,255,255,.15);
  color: #fff;
  box-shadow: inset 0 -3px 0 #7ffff1, 0 8px 22px rgba(4, 72, 158, .22);
}
body.shiftcontrol-default-theme .sc-blueprint-authenticated-shell__top .scmk-navigation-card__icon { display: none; }

body.shiftcontrol-default-theme .scmk-account-utilities { gap: 10px; color: #fff; }
body.shiftcontrol-default-theme .scmk-account-utilities__profile { color: #fff; font-weight: 700; }
body.shiftcontrol-default-theme .scmk-account-utilities__avatar {
  width: 46px;
  height: 46px;
  border: 3px solid rgba(255,255,255,.92);
  box-shadow: 0 0 0 2px rgba(36, 225, 237, .36);
}
body.shiftcontrol-default-theme .scmk-account-utilities__logout { color: rgba(255,255,255,.8); }

body.shiftcontrol-default-theme .sc-blueprint-authenticated-shell__body {
  max-width: none;
  margin-top: 0;
  padding: calc(var(--scd-authenticated-topbar-height) + 16px) 18px 36px;
}

body.shiftcontrol-default-theme .sc-blueprint-authenticated-shell__canvas > .sc-blueprint {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.shiftcontrol-default-theme .sc-blueprint[data-sc-blueprint-composition-variant^="neutral-basic-"]:has(> .sc-blueprint-region--right_rail),
body.shiftcontrol-default-theme .sc-blueprint[data-sc-blueprint-canonical-left-rail-enabled="true"]:has(> .sc-blueprint-region--right_rail) {
  grid-template-columns: 280px minmax(0, 1fr) 320px !important;
  gap: 16px !important;
}

body.shiftcontrol-default-theme .sc-blueprint-region { min-width: 0; }
body.shiftcontrol-default-theme .sc-blueprint-region--left_rail,
body.shiftcontrol-default-theme .sc-blueprint-region--primary,
body.shiftcontrol-default-theme .sc-blueprint-region--right_rail,
body.shiftcontrol-default-theme .sc-blueprint-stream-supporting-rail { gap: 16px; }

body.shiftcontrol-default-theme .sc-blueprint-region--left_rail,
body.shiftcontrol-default-theme .sc-blueprint-region--right_rail {
  align-self: start;
}

body.shiftcontrol-default-theme .sc-blueprint-region--left_rail::before {
  content: "Create · Connect · Belong";
  display: grid;
  min-height: 116px;
  place-items: end start;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(4, 63, 135, .12), rgba(4, 39, 92, .68)),
    var(--scd-hero) 73% center / cover;
  box-shadow: var(--scd-card-shadow);
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}

body.shiftcontrol-default-theme .sc-blueprint-region--left_rail::after {
  content: "Real People\A Brighter Tomorrows";
  display: flex;
  min-height: 330px;
  align-items: flex-end;
  margin-top: 0;
  padding: 26px 22px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(2, 26, 72, .04), rgba(2, 26, 72, .78)),
    var(--scd-rail) center / cover;
  box-shadow: var(--scd-glow);
  color: #fff;
  white-space: pre-line;
  font-family: Manrope, sans-serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.05;
}

body.shiftcontrol-default-theme .sc-blueprint-region--left_rail .scmk-navigation-card,
body.shiftcontrol-default-theme .sc-blueprint-region--left_rail [data-scmk-card-contract],
body.shiftcontrol-default-theme .sc-blueprint-region--right_rail [data-scmk-card-contract],
body.shiftcontrol-default-theme .sc-blueprint-region--right_rail .scmk-runtime-module,
body.shiftcontrol-default-theme .sc-blueprint-region--right_rail .scmk-rendered-module--footer-card-runtime {
  border: 1px solid var(--scd-border);
  border-radius: var(--scd-radius);
  background: var(--scd-glass);
  box-shadow: var(--scd-card-shadow);
  backdrop-filter: blur(18px) saturate(1.15);
}

body.shiftcontrol-default-theme .sc-blueprint-region--left_rail .scmk-navigation-card {
  padding: 11px;
  gap: 6px;
}
body.shiftcontrol-default-theme .sc-blueprint-region--left_rail .scmk-navigation-card__item {
  min-height: 48px;
  padding: 11px 13px;
  border: 0;
  border-radius: 12px;
  color: var(--scd-ink);
  font-weight: 600;
}
body.shiftcontrol-default-theme .sc-blueprint-region--left_rail .scmk-navigation-card__item.is-active {
  color: #fff;
  background: linear-gradient(105deg, #6c4cff, #058dfb 54%, #28e1df);
  box-shadow: 0 10px 25px rgba(42, 122, 236, .3), inset 0 0 20px rgba(255,255,255,.2);
}
body.shiftcontrol-default-theme .sc-blueprint-region--left_rail .scmk-navigation-card__icon {
  width: 27px;
  color: currentColor;
  font-size: 18px;
}

/* Shared card language. */
body.shiftcontrol-default-theme [data-scmk-card-contract],
body.shiftcontrol-default-theme .scmk-runtime-module:not(.scmk-groups-hero):not(.scmk-pages-hero):not(.scmk-members-directory-hero):not(.scmk-profile-hero),
body.shiftcontrol-default-theme .scmk-stream-post-card {
  border-color: var(--scd-border);
  border-radius: var(--scd-radius);
  box-shadow: var(--scd-card-shadow);
}

body.shiftcontrol-default-theme :is(button, .button, [role="button"], input[type="submit"], .scmk-state-card__action--primary) {
  border-radius: 999px;
}

body.shiftcontrol-default-theme :is(button, .button, input[type="submit"]):focus-visible,
body.shiftcontrol-default-theme a:focus-visible,
body.shiftcontrol-default-theme input:focus-visible,
body.shiftcontrol-default-theme textarea:focus-visible,
body.shiftcontrol-default-theme select:focus-visible {
  outline: 3px solid rgba(24, 226, 225, .58);
  outline-offset: 3px;
}

body.shiftcontrol-default-theme .scmk-composer-create,
body.shiftcontrol-default-theme .scmk-composer-v1__submit,
body.shiftcontrol-default-theme .scmk-state-card__action--primary,
body.shiftcontrol-default-theme [class*="__primary-action"],
body.shiftcontrol-default-theme [class*="__create"]:is(a,button) {
  border: 0;
  color: #fff;
  background: linear-gradient(105deg, #6e46ff, #087ef7 54%, #20dfdf);
  box-shadow: 0 8px 24px rgba(24, 117, 225, .24);
}

/* Stream: canonical Stories becomes the branded story/hero surface. */










body.shiftcontrol-default-theme .scmk-composer-v1--compact-create {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 21px;
  background:
    radial-gradient(circle at 84% 32%, rgba(255,255,255,.95), transparent 5%),
    linear-gradient(125deg, rgba(223,247,255,.92), rgba(255,255,255,.96) 48%, rgba(223,242,255,.9));
  box-shadow: 0 0 0 2px rgba(111,225,244,.23), 0 15px 45px rgba(19,106,191,.16);
}
body.shiftcontrol-default-theme .scmk-composer-v1__trigger {
  border: 1px solid rgba(70,151,218,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: var(--scd-ink-soft);
}
body.shiftcontrol-default-theme .scmk-composer-v1__actions button {
  border: 1px solid rgba(70,151,218,.18);
  background: rgba(255,255,255,.8);
  color: var(--scd-ink);
}

body.shiftcontrol-default-theme .scmk-stream-feed-controls {
  min-height: 54px;
  padding: 8px 16px;
  border: 1px solid var(--scd-border);
  border-radius: 15px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--scd-card-shadow);
}
body.shiftcontrol-default-theme .scmk-stream-post-card {
  overflow: visible;
  background: rgba(255,255,255,.96);
}
body.shiftcontrol-default-theme .scmk-stream-post-card__media-grid {
  overflow: hidden;
  border-radius: 14px;
}
body.shiftcontrol-default-theme .scmk-stream-post-card__actions {
  gap: 8px;
}
body.shiftcontrol-default-theme .scmk-stream-post-card__actions > * {
  border-radius: 999px;
  background: rgba(240,248,255,.72);
}







/* Directory and community heroes. */
body.shiftcontrol-default-theme :is(.scmk-groups-hero, .scmk-pages-hero, .scmk-members-directory-hero, .scmk-profile-hero) {
  position: relative;
  isolation: isolate;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(2,31,79,.84), rgba(4,65,124,.34) 66%, rgba(3,25,66,.18)),
    var(--scd-hero) center / cover;
  box-shadow: var(--scd-glow);
  color: #fff;
}
body.shiftcontrol-default-theme :is(.scmk-groups-hero, .scmk-pages-hero, .scmk-members-directory-hero, .scmk-profile-hero) :is(h1,h2,h3,p,strong,span,label) {
  color: #fff;
  text-shadow: 0 2px 12px rgba(1,28,68,.45);
}
body.shiftcontrol-default-theme :is(.scmk-groups-hero, .scmk-pages-hero, .scmk-members-directory-hero) input {
  min-height: 54px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 0 0 3px rgba(57,224,231,.18), 0 10px 30px rgba(3,44,96,.2);
  color: var(--scd-ink);
}

body.shiftcontrol-default-theme .scmk-members-search-bar,
body.shiftcontrol-default-theme .scmk-people-mode-navigation,
body.shiftcontrol-default-theme .scmk-groups-list,
body.shiftcontrol-default-theme .scmk-pages-list,
body.shiftcontrol-default-theme .scmk-groups-card-set,
body.shiftcontrol-default-theme .scmk-page-categories,
body.shiftcontrol-default-theme .scmk-canonical-discover-results,
body.shiftcontrol-default-theme .scmk-profile-tab-bar,
body.shiftcontrol-default-theme .scmk-profile-identity,
body.shiftcontrol-default-theme .scmk-profile-action-bar,
body.shiftcontrol-default-theme .scmk-profile-about-stack,
body.shiftcontrol-default-theme .scmk-profile-media {
  border: 1px solid var(--scd-border);
  border-radius: var(--scd-radius);
  background: rgba(255,255,255,.93);
  box-shadow: var(--scd-card-shadow);
  backdrop-filter: blur(16px);
}

body.shiftcontrol-default-theme .scmk-group-card,
body.shiftcontrol-default-theme .scmk-page-card,
body.shiftcontrol-default-theme [class*="result-card"],
body.shiftcontrol-default-theme [class*="directory-card"] {
  overflow: hidden;
  border-color: var(--scd-border);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 26px rgba(29,85,147,.1);
}

/* Profile uses the same scenic visual language while canonical identity/actions remain real. */
body.shiftcontrol-default-theme.shiftcontrol-view-profile .scmk-profile-hero { min-height: 265px; }
body.shiftcontrol-default-theme.shiftcontrol-view-profile .sc-blueprint[data-sc-blueprint-surface="profile"] .scmk-profile-hero__media,
body.shiftcontrol-default-theme.shiftcontrol-view-profile .sc-blueprint[data-sc-blueprint-surface="profile"] .scmk-profile-hero__fallback {
  background-image:
    linear-gradient(90deg, rgba(2,31,79,.34), rgba(4,65,124,.08) 64%, rgba(3,25,66,.2)),
    url("../images/alpine-community-hero.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
body.shiftcontrol-default-theme.shiftcontrol-view-profile .scmk-profile-hero__shade {
  background: linear-gradient(180deg, rgba(3,32,78,.02), rgba(3,32,78,.46));
}
body.shiftcontrol-default-theme.shiftcontrol-view-profile .scmk-profile-hero__aurora { opacity: .22; }
body.shiftcontrol-default-theme.shiftcontrol-view-profile .scmk-profile-identity {
  margin-top: -82px;
  position: relative;
  z-index: 3;
  background: rgba(255,255,255,.96);
}
body.shiftcontrol-default-theme.shiftcontrol-view-profile .scmk-profile-tab-bar { overflow-x: auto; }

/* Canonical footer card: simple, quiet, and integrated. */
body.shiftcontrol-default-theme .scmk-rendered-module--footer-card-runtime {
  padding: 15px 17px !important;
  border: 1px solid rgba(67,133,199,.18) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.78) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
}

/* Messages remains owned by Messenger; this theme paints its public shell. */
body.shiftcontrol-default-theme.curt-messenger-page-body {
  min-height: 100dvh;
  background-color: #e9f8ff !important;
  background-image: var(--scd-cloud-canvas) !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}
body.shiftcontrol-default-theme.curt-messenger-page-body #curt-messenger-root[data-curt-messenger-mode="page"] .cm-page-shell {
  min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
  color: var(--scd-ink);
  background: transparent !important;
  font-family: "DM Sans", Inter, sans-serif;
}
body.shiftcontrol-default-theme.curt-messenger-page-body #curt-messenger-root[data-curt-messenger-mode="page"] .cm-page-topbar {
  min-height: 72px;
  border-bottom: 1px solid rgba(255,255,255,.34);
  background-image:
    linear-gradient(90deg, rgba(5,83,166,.96), rgba(12,136,218,.86) 60%, rgba(40,178,229,.78)),
    url("../images/alpine-community-hero.webp");
  background-position: center 36%;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 12px 36px rgba(13,76,145,.18);
}
body.shiftcontrol-default-theme.curt-messenger-page-body #curt-messenger-root[data-curt-messenger-mode="page"] .cm-page-brand { color: #fff; }
body.shiftcontrol-default-theme.curt-messenger-page-body #curt-messenger-root[data-curt-messenger-mode="page"] .cm-page-brand__mark {
  border: 0;
  background: url("../images/shiftcontrol-butterfly.svg") center / contain no-repeat;
  color: transparent;
}
body.shiftcontrol-default-theme.curt-messenger-page-body #curt-messenger-root[data-curt-messenger-mode="page"] .cm-page-nav a,
body.shiftcontrol-default-theme.curt-messenger-page-body #curt-messenger-root[data-curt-messenger-mode="page"] .cm-page-utils { color: #fff; }
body.shiftcontrol-default-theme.curt-messenger-page-body .cm-page-workspace {
  width: min(1500px, calc(100% - 32px));
  margin: 16px auto 30px;
  gap: 16px;
}
body.shiftcontrol-default-theme.curt-messenger-page-body #curt-messenger-root[data-curt-messenger-mode="page"] :is(.cm-page-card,.cm-page-rail,.cm-page-blank,.cm-page-details__quiet) {
  border: 1px solid var(--scd-border);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--scd-card-shadow);
  backdrop-filter: blur(18px);
}
body.shiftcontrol-default-theme.curt-messenger-page-body #curt-messenger-root[data-curt-messenger-mode="page"] .cm-page-blank {
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(224,247,255,.7)),
    url("../images/alpine-community-hero.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
body.shiftcontrol-default-theme.curt-messenger-page-body .cm-search-shell,
body.shiftcontrol-default-theme.curt-messenger-page-body .cm-search {
  border-radius: 999px;
  background: rgba(235,248,255,.88);
}

/* Canonical auth surfaces. */
body.shiftcontrol-default-theme:is(.shiftcontrol-view-login,.shiftcontrol-view-register,.shiftcontrol-view-access) {
  min-height: 100dvh;
  background:
    linear-gradient(90deg, rgba(3,54,119,.28), rgba(4,45,101,.08) 55%, rgba(3,31,76,.18)),
    var(--scd-clouds) center / cover fixed;
}
body.shiftcontrol-default-theme .sc-blueprint--layout-auth {
  width: min(1500px, calc(100% - 40px));
  min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
  margin: 0 auto;
  padding: 24px;
  gap: 18px 28px;
  background: transparent;
}
body.shiftcontrol-default-theme .sc-blueprint--layout-auth .sc-blueprint-region--header,
body.shiftcontrol-default-theme .sc-blueprint--layout-auth .sc-blueprint-region--footer {
  color: #fff;
}
body.shiftcontrol-default-theme .sc-blueprint--layout-auth .sc-blueprint-region--hero {
  min-height: 780px;
  align-content: end;
  padding: clamp(28px,4vw,64px);
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(2,26,70,.02), rgba(2,29,76,.72)),
    var(--scd-auth) center / cover;
  box-shadow: 0 24px 64px rgba(2,36,87,.28);
  color: #fff;
}
body.shiftcontrol-default-theme .sc-blueprint--layout-auth .sc-blueprint-region--hero :is(h1,h2,h3,p,strong,span) { color: #fff; }
body.shiftcontrol-default-theme .sc-blueprint--layout-auth .sc-blueprint-region--form {
  padding: clamp(24px,3vw,44px);
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 24px;
  background: rgba(238,249,255,.78);
  box-shadow: 0 20px 65px rgba(2,44,102,.26), inset 0 1px 0 rgba(255,255,255,.86);
  backdrop-filter: blur(22px) saturate(1.12);
}
body.shiftcontrol-default-theme .sc-blueprint--layout-auth .sc-blueprint-region--form input:not([type="checkbox"]):not([type="radio"]) {
  min-height: 54px;
  border: 1px solid rgba(69,137,203,.18);
  border-radius: 15px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 8px 24px rgba(25,94,161,.09);
}
body.shiftcontrol-default-theme .sc-blueprint--layout-auth .sc-blueprint-region--form button[type="submit"] {
  width: 100%;
  min-height: 56px;
  border: 0;
  color: #fff;
  background: linear-gradient(105deg, #7146ff, #087ef7 54%, #20dfdf);
  box-shadow: 0 10px 30px rgba(21,113,220,.28), 0 0 22px rgba(35,226,225,.2);
}

/* Canonical Register blueprint: paint only; Runtime and Module Kit retain content and actions. */
body.shiftcontrol-default-theme:has([data-sc-blueprint-surface="register"]) {
  min-height: 100dvh;
  background:
    linear-gradient(90deg, rgba(2,42,96,.36), rgba(5,73,137,.08) 55%, rgba(2,32,79,.22)),
    var(--scd-clouds) center / cover fixed;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] { color: #fff; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-entry {
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  gap: 22px;
  width: min(1536px,100%);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 22px 48px 26px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-topbar {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 36px;
  min-height: 66px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-logo {
  display: inline-grid;
  grid-template-columns: 62px auto;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-logo::before {
  width: 62px;
  height: 54px;
  background: url("../images/shiftcontrol-butterfly.svg") center / contain no-repeat;
  filter: drop-shadow(0 9px 18px rgba(22,137,236,.35));
  content: "";
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-logo strong {
  background: linear-gradient(100deg,#fff 0 48%,#26a9ff 70%,#21dfe6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -.04em;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] :is(.sc-register-nav,.sc-register-actions) {
  display: flex;
  align-items: center;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-nav {
  justify-content: flex-end;
  gap: 30px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-actions { gap: 12px; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] :is(.sc-register-nav,.sc-register-actions) a {
  color: rgba(255,255,255,.94);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(15,83,160,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 10px 24px rgba(2,42,100,.16);
  backdrop-filter: blur(12px);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-join {
  background: linear-gradient(105deg,rgba(81,70,255,.9),rgba(10,150,246,.9),rgba(29,221,223,.88)) !important;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-shell {
  display: grid;
  grid-template-columns: minmax(0,1.18fr) minmax(500px,.82fr);
  align-items: stretch;
  gap: 30px;
  min-width: 0;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-story {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 1160px;
  padding: clamp(28px,4vw,62px) clamp(18px,3.5vw,54px) 34px 18px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  margin-bottom: 18px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-shadow: 0 3px 15px rgba(0,22,60,.45);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-story h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(58px,6vw,88px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .98;
  text-shadow: 0 12px 38px rgba(0,29,75,.4);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-story h1 span {
  background: linear-gradient(100deg,#63e8ff,#8bcfff 48%,#fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-story > p {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.94);
  font-size: clamp(20px,2vw,27px);
  line-height: 1.45;
  text-shadow: 0 4px 22px rgba(0,28,70,.55);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-stats {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  width: min(100%,660px);
  margin-top: 34px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-stats > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 9px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 16px;
  background: rgba(7,61,126,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 12px 32px rgba(1,33,85,.16);
  backdrop-filter: blur(14px);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-stats > div > span {
  grid-row: 1 / 3;
  font-size: 25px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-stats strong {
  color: #fff;
  font-size: 22px;
  line-height: 1;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-stats em {
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-style: normal;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-photo { display: none; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] :is(.sc-register-float,.sc-register-quote) {
  position: absolute;
  display: grid;
  min-width: 210px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 18px;
  background: rgba(9,66,137,.3);
  box-shadow: 0 18px 45px rgba(1,31,82,.2), inset 0 1px 0 rgba(255,255,255,.28);
  backdrop-filter: blur(16px);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-float { bottom: 205px; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-float-good { left: 18px; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-float-crew { left: 250px; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-avatar-stack { display: none; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] :is(.sc-register-float,.sc-register-quote) strong { color: #fff; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] :is(.sc-register-float,.sc-register-quote) em {
  margin-top: 4px;
  color: rgba(255,255,255,.76);
  font-size: 12px;
  font-style: normal;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-quote {
  right: 24px;
  bottom: 76px;
  min-width: 330px;
  border-left: 4px solid #61e9ff;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-quote > span { display: none; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-panel {
  align-self: stretch;
  min-width: 0;
  padding: clamp(34px,3.4vw,52px);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 28px;
  background: linear-gradient(145deg,rgba(249,253,255,.93),rgba(222,244,255,.86));
  box-shadow: 0 28px 90px rgba(2,36,89,.3), inset 0 1px 0 rgba(255,255,255,.92), 0 0 28px rgba(63,223,255,.16);
  backdrop-filter: blur(24px) saturate(1.08);
  color: var(--scd-ink);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-panel-head {
  position: relative;
  padding-top: 92px;
  text-align: center;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-panel-head::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 84px;
  height: 76px;
  transform: translateX(-50%);
  background: url("../images/shiftcontrol-butterfly.svg") center / contain no-repeat;
  filter: drop-shadow(0 9px 20px rgba(29,137,225,.25));
  content: "";
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-panel-head h2 {
  margin: 0;
  color: var(--scd-ink);
  font-size: clamp(36px,3.3vw,50px);
  letter-spacing: -.045em;
  line-height: 1.05;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-panel-head h2 span { color: #0782ed; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-panel-head p {
  margin: 10px 0 26px;
  color: var(--scd-ink-soft);
  font-size: 18px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-form { display: grid; gap: 15px; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-two {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-form label:not(.sc-register-terms) {
  display: grid;
  gap: 7px;
  color: var(--scd-ink);
  font-size: 13px;
  font-weight: 700;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-form label:not(.sc-register-terms) > span {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid rgba(65,137,204,.2);
  border-radius: 15px;
  background: rgba(255,255,255,.8);
  box-shadow: 0 8px 24px rgba(28,94,159,.08);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-form label b {
  color: var(--scd-ink-soft);
  font-size: 17px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-form :is(input:not([type="checkbox"]):not([type="radio"]),select) {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0 0 0 10px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--scd-ink);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-form label:focus-within > span {
  border-color: rgba(13,142,242,.58);
  box-shadow: 0 0 0 3px rgba(31,213,230,.16), 0 10px 28px rgba(28,94,159,.1);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-terms {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: start;
  gap: 10px;
  color: var(--scd-ink-soft);
  font-size: 12px;
  line-height: 1.5;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-terms input {
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: var(--scd-blue);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(105deg,#6846ff,#087ef7 52%,#20dddf);
  box-shadow: 0 14px 34px rgba(21,113,220,.28), 0 0 22px rgba(35,226,225,.2);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--scd-ink-soft);
  font-size: 12px;
  text-transform: uppercase;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-divider::before,
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-divider::after {
  flex: 1;
  height: 1px;
  background: rgba(62,132,199,.2);
  content: "";
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-alt-row {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-alt-row button {
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(64,136,204,.18);
  border-radius: 13px;
  background: rgba(255,255,255,.66);
  color: var(--scd-ink-soft);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-bottom {
  margin: 2px 0 0;
  color: var(--scd-ink);
  text-align: center;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-footer {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 22px;
  color: rgba(255,255,255,.82);
  font-size: 12px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-footer nav {
  display: flex;
  justify-content: center;
  gap: 18px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-footer :is(a,strong) { color: #fff; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-footer a { text-decoration: none; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-footer strong span { color: #ff62ab; }

/* Login blueprint: canonical welcome content at left, canonical auth form at right. */
body.shiftcontrol-default-theme:has([data-sc-blueprint-surface="login"]) {
  min-height: 100dvh;
  overflow-x: clip;
  background: #052b65;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] {
  min-height: 100dvh;
  background: #052b65;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] > .sc-welcome-entry {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(1,36,87,.73) 0%, rgba(2,58,119,.36) 48%, rgba(3,55,112,.12) 72%),
    linear-gradient(0deg, rgba(1,24,61,.28), rgba(3,58,118,.02) 55%),
    var(--scd-login-hero) center / cover no-repeat;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] > .sc-welcome-entry::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 54% 43%, rgba(255,196,93,.2), transparent 24%),
    linear-gradient(180deg, rgba(0,88,176,.1), rgba(0,24,67,.08));
  content: "";
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-entry-nav {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  min-height: 106px;
  grid-template-columns: minmax(280px,1fr) auto minmax(280px,1fr);
  align-items: center;
  gap: 30px;
  padding: 18px 62px;
  background: transparent;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-entry-nav .sc-welcome-logo {
  display: inline-grid;
  grid-template-columns: 72px auto;
  align-items: center;
  justify-self: start;
  gap: 12px;
  color: #fff;
  font: 800 32px/1 Manrope, "DM Sans", sans-serif;
  text-decoration: none;
  text-shadow: 0 3px 18px rgba(0,26,72,.32);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-entry-nav .sc-welcome-logo::before {
  width: 72px;
  height: 66px;
  background: url("../images/shiftcontrol-butterfly.svg") center / contain no-repeat;
  filter: drop-shadow(0 5px 12px rgba(0,41,94,.25));
  content: "";
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-entry-nav .sc-welcome-logo strong { color: #fff; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-mini-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-mini-nav :is(a,button) {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.94);
  font-size: 16px;
  text-decoration: none;
  text-shadow: 0 2px 12px rgba(0,31,79,.35);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-login { display: none; }
html:not(.scmk-auth-dialog-open) body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-login {
  position: fixed;
  z-index: 5;
  top: 26px;
  right: 270px;
  display: inline-flex;
  min-width: 112px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 999px;
  background: rgba(3,48,105,.28);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(12px);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-stage {
  position: absolute;
  z-index: 2;
  top: 154px;
  left: 62px;
  width: min(720px, calc(100% - 700px));
  min-height: 290px;
  padding: 0;
  background: transparent;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-stage-overlay { display: none; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-stage-copy {
  max-width: 710px;
  color: #fff;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-stage-copy h1 {
  max-width: 700px;
  margin: 0;
  color: #fff;
  font: 800 clamp(48px,5.2vw,76px)/.98 Manrope, "DM Sans", sans-serif;
  letter-spacing: -.05em;
  text-wrap: balance;
  text-shadow: 0 6px 28px rgba(0,34,78,.22);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-stage-copy h1 span {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: .28em;
  font-weight: 700;
  letter-spacing: .28em;
  line-height: 1.3;
  text-transform: uppercase;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-stage-copy p {
  max-width: 590px;
  margin: 34px 0 0;
  color: rgba(255,255,255,.95);
  font-size: 24px;
  line-height: 1.34;
  text-shadow: 0 3px 18px rgba(0,29,72,.38);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-cta-row {
  position: static;
  margin: 0;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-primary {
  position: fixed;
  z-index: 5;
  top: 26px;
  right: 62px;
  display: inline-flex;
  min-width: 188px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 999px;
  background: rgba(8,98,188,.22);
  box-shadow: 0 0 26px rgba(26,211,255,.25), inset 0 0 18px rgba(255,255,255,.06);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(14px);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-secondary { display: none; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-benefits {
  position: absolute;
  z-index: 2;
  top: 510px;
  left: 62px;
  display: grid;
  width: min(600px, calc(100% - 760px));
  gap: 22px;
  padding: 0;
  background: transparent;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-benefits article {
  display: grid;
  grid-template-columns: 76px minmax(0,1fr);
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-benefit-thumb {
  position: relative;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: rgba(1,52,110,.42);
  box-shadow: 0 0 25px rgba(38,207,255,.3), inset 0 0 18px rgba(255,255,255,.1);
  color: #fff;
  backdrop-filter: blur(8px);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-benefit-thumb::before {
  color: #fff;
  font: 700 25px/1 Manrope, sans-serif;
  content: "✦";
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-benefit-meet::before { content: "◎"; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-benefit-world::before { content: "↗"; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-benefits :is(h2,p) {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,27,69,.44);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-benefits h2 {
  margin: 0 0 3px;
  font-size: 19px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-benefits p {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-feature-section { display: none; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-footer {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  min-height: 124px;
  grid-template-columns: minmax(360px,1fr) auto auto;
  align-items: center;
  gap: 28px;
  padding: 24px 56px;
  border-top: 1px solid rgba(255,255,255,.18);
  background: rgba(1,27,61,.72);
  color: #fff;
  backdrop-filter: blur(18px);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-footer-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-footer-brand .sc-welcome-logo {
  color: #fff;
  font: 800 21px/1 Manrope, sans-serif;
  text-decoration: none;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-footer-brand .sc-welcome-logo strong { color: #fff; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-footer-brand p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 13px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-footer-brand :is(.sc-welcome-apps,.sc-welcome-socials),
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-footer nav:nth-of-type(n/**/+2) { display: none; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-footer > nav:first-of-type {
  display: flex;
  align-items: center;
  gap: 22px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-footer > nav:first-of-type strong { display: none; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-footer > nav:first-of-type a,
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-footer small {
  color: rgba(255,255,255,.86);
  font-size: 12px;
  text-decoration: none;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog {
  position: fixed;
  inset: 114px 38px auto auto;
  width: 550px;
  height: min(1172px, calc(100dvh - 142px));
  max-width: calc(100% - 76px);
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 26px;
  background: transparent;
  box-shadow: 0 28px 80px rgba(0,33,82,.28), 0 0 0 1px rgba(255,255,255,.64), 0 0 32px rgba(58,220,255,.18);
  color: var(--scd-ink);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog::backdrop {
  background: transparent;
  backdrop-filter: none;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog__panel {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-rows: 78px minmax(0,1fr) 258px;
  gap: 18px;
  padding: 30px 34px 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(248,253,255,.94), rgba(220,242,255,.88)),
    var(--scd-auth) center / cover;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.94);
  backdrop-filter: blur(26px) saturate(1.06);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog__panel::after {
  min-height: 258px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(2,36,82,.7), rgba(1,44,92,.06) 68%),
    url("../images/login-butterfly-panel.webp") center / cover no-repeat;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.36), 0 10px 26px rgba(7,62,119,.12);
  content: "";
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog__close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(54,125,200,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--scd-ink);
  cursor: pointer;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog__brand {
  display: inline-grid;
  grid-template-columns: 68px auto;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 68px;
  color: var(--scd-ink);
  font-size: 25px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog__brand::before {
  width: 68px;
  height: 64px;
  background: url("../images/shiftcontrol-butterfly.svg") center / contain no-repeat;
  content: "";
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog__form {
  display: grid;
  min-height: 0;
  align-content: start;
  gap: 20px;
  overflow: auto;
  padding: 48px 1px 8px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-panel-head { text-align: center; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-panel-head h2 {
  margin: 0;
  color: var(--scd-ink);
  font-size: 40px;
  line-height: 1.06;
  letter-spacing: -.035em;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-panel-head h2 span { color: var(--scd-ink); }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-panel-head p {
  margin: 8px 0 0;
  color: var(--scd-ink-soft);
  font-size: 17px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-form {
  position: relative;
  display: grid;
  gap: 15px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-form > label:not(.sc-register-terms) {
  display: grid;
  color: transparent;
  font-size: 0;
  font-weight: 700;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-form > label:not(.sc-register-terms) > span {
  display: grid;
  min-height: 62px;
  grid-template-columns: 30px minmax(0,1fr);
  align-items: center;
  padding-inline: 18px;
  border: 1px solid rgba(76,142,205,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 9px 24px rgba(24,92,159,.08), inset 0 1px 0 rgba(255,255,255,.88);
  color: var(--scd-ink);
  font-size: 16px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-form > label > span > b {
  color: var(--scd-ink);
  font-size: 18px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-form input:not([type="checkbox"]):not([type="radio"]) {
  width: 100%;
  min-height: 58px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--scd-ink);
  font-size: 16px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-terms {
  display: flex;
  min-height: 28px;
  align-items: center;
  gap: 10px;
  color: var(--scd-ink);
  font-size: 15px;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-terms input {
  width: 20px;
  height: 20px;
  accent-color: var(--scd-blue);
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-submit {
  min-height: 64px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(105deg, #7146ff, #087ef7 54%, #20dfdf);
  box-shadow: 0 12px 32px rgba(21,113,220,.27), 0 0 22px rgba(35,226,225,.2);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-divider { display: none; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-alt-row {
  height: 0;
  margin: 0;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-alt-row a:first-child {
  position: absolute;
  top: 166px;
  right: 0;
  color: #075fe6;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-alt-row a:nth-child(n/**/+2) { display: none; }
body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 2px 0 0;
  color: var(--scd-ink);
  font-size: 15px;
  text-align: center;
}

@media (max-width: 1120px) {
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-entry-nav {
    grid-template-columns: minmax(0,1fr) auto;
    padding-inline: 34px;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-mini-nav { display: none; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-primary { right: 34px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-stage {
    left: 38px;
    width: calc(100% - 650px);
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-stage-copy h1 { font-size: clamp(42px,5vw,58px); }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-stage-copy p { font-size: 20px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-benefits {
    left: 38px;
    width: calc(100% - 680px);
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog {
    right: 24px;
    width: 540px;
  }
}

@media (max-width: 1020px) {
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] > .sc-welcome-entry {
    min-height: 100dvh;
    background-position: 44% center;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-entry-nav {
    min-height: 82px;
    padding: 10px 18px;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-entry-nav .sc-welcome-logo {
    grid-template-columns: 52px auto;
    gap: 8px;
    font-size: 24px;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-entry-nav .sc-welcome-logo::before {
    width: 52px;
    height: 48px;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-primary {
    top: 19px;
    right: 18px;
    min-width: 128px;
    min-height: 44px;
    padding-inline: 16px;
    font-size: 13px;
  }
  html:not(.scmk-auth-dialog-open) body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-login {
    top: 72px;
    right: 18px;
    min-width: 96px;
    min-height: 42px;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-stage,
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-benefits,
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-footer { display: none; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog {
    inset: 96px 16px auto;
    width: auto;
    height: auto;
    max-width: none;
    max-height: calc(100dvh - 114px);
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog::backdrop {
    background: rgba(2,28,72,.32);
    backdrop-filter: blur(7px);
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog__panel {
    height: auto;
    min-height: min(660px, calc(100dvh - 114px));
    grid-template-rows: 66px minmax(0,1fr);
    padding: 22px 20px;
    overflow: auto;
    border-radius: 22px;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog__panel::after { display: none; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog__form { padding: 16px 1px 8px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog__brand {
    grid-template-columns: 54px auto;
    min-height: 54px;
    font-size: 22px;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog__brand::before {
    width: 54px;
    height: 50px;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-panel-head h2 { font-size: 34px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-form > label:not(.sc-register-terms) > span { min-height: 58px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-form input:not([type="checkbox"]):not([type="radio"]) { min-height: 54px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-alt-row a:first-child { top: 153px; }
}

@media (max-width: 460px) {
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-entry-nav .sc-welcome-logo {
    grid-template-columns: 44px auto;
    font-size: 20px;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-entry-nav .sc-welcome-logo::before {
    width: 44px;
    height: 42px;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-welcome-primary {
    min-width: 112px;
    padding-inline: 12px;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog {
    inset: 84px 10px auto;
    height: auto;
    max-height: calc(100dvh - 96px);
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog__panel { padding: 20px 16px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog__close { top: 12px; right: 12px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog__brand {
    grid-template-columns: 48px auto;
    justify-content: start;
    font-size: 20px;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .scmk-auth-dialog__brand::before {
    width: 48px;
    height: 44px;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-panel-head h2 { font-size: 31px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-panel-head p { font-size: 15px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-form { gap: 13px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-form > label:not(.sc-register-terms) > span {
    min-height: 56px;
    padding-inline: 14px;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-form input:not([type="checkbox"]):not([type="radio"]) { min-height: 52px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="login"] .sc-register-alt-row a:first-child { top: 145px; }
}

/* Responsive: follow the canonical collapse order and only tune paint/spacing. */
@media (max-width: 1180px) {
  body.shiftcontrol-default-theme .sc-blueprint[data-sc-blueprint-composition-variant^="neutral-basic-"]:has(> .sc-blueprint-region--right_rail),
  body.shiftcontrol-default-theme .sc-blueprint[data-sc-blueprint-canonical-left-rail-enabled="true"]:has(> .sc-blueprint-region--right_rail) {
    grid-template-columns: 230px minmax(0,1fr) 280px !important;
    gap: 14px !important;
  }
  body.shiftcontrol-default-theme .sc-blueprint-authenticated-shell__top { padding-inline: 18px; }
  body.shiftcontrol-default-theme .scmk-shell-identity { min-width: 190px; }
  body.shiftcontrol-default-theme .scmk-shell-identity > strong::after { font-size: 22px; }
}

@media (max-width: 980px) {
  body.shiftcontrol-default-theme .sc-blueprint-region--left_rail::before,
  body.shiftcontrol-default-theme .sc-blueprint-region--left_rail::after { display: none; }
  body.shiftcontrol-default-theme .sc-blueprint-authenticated-shell__body { padding-inline: 14px; }
  body.shiftcontrol-default-theme .sc-blueprint[data-sc-blueprint-composition-variant^="neutral-basic-"]:has(> .sc-blueprint-region--right_rail),
  body.shiftcontrol-default-theme .sc-blueprint[data-sc-blueprint-canonical-left-rail-enabled="true"]:has(> .sc-blueprint-region--right_rail) {
    grid-template-columns: minmax(0,1fr) 270px !important;
  }
  body.shiftcontrol-default-theme .sc-blueprint-region--left_rail { grid-column: 1 / -1; }
  
  body.shiftcontrol-default-theme .sc-blueprint--layout-auth { width: min(100%, 780px); grid-template-columns: minmax(0,1fr); }
  body.shiftcontrol-default-theme .sc-blueprint--layout-auth .sc-blueprint-region--hero { min-height: 460px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-entry { padding-inline: 24px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-shell { grid-template-columns: minmax(0,1fr); }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-story { min-height: 610px; }
}

@media (max-width: 720px) {
  body.shiftcontrol-default-theme .sc-blueprint-authenticated-shell {
    --scd-authenticated-topbar-height: 113px;
  }

  body.shiftcontrol-default-theme .sc-blueprint-authenticated-shell__top {
    min-height: 64px;
    padding: 8px 11px;
  }
  body.shiftcontrol-default-theme .scmk-shell-identity { min-width: 0; grid-template-columns: 38px auto; }
  body.shiftcontrol-default-theme .scmk-shell-identity > span { width: 38px; height: 34px; }
  body.shiftcontrol-default-theme .scmk-shell-identity > strong::after { font-size: 19px; }
  body.shiftcontrol-default-theme .scmk-account-utilities__profile span,
  body.shiftcontrol-default-theme .scmk-account-utilities__logout { display: none; }
  body.shiftcontrol-default-theme .sc-blueprint-authenticated-shell__body {
    padding: calc(var(--scd-authenticated-topbar-height) + 11px) 10px 26px;
  }
  body.shiftcontrol-default-theme .sc-blueprint[data-sc-blueprint-composition-variant^="neutral-basic-"]:has(> .sc-blueprint-region--right_rail),
  body.shiftcontrol-default-theme .sc-blueprint[data-sc-blueprint-canonical-left-rail-enabled="true"]:has(> .sc-blueprint-region--right_rail) {
    grid-template-columns: minmax(0,1fr) !important;
  }
  
  
  
  body.shiftcontrol-default-theme :is(.scmk-groups-hero,.scmk-pages-hero,.scmk-members-directory-hero,.scmk-profile-hero) {
    min-height: 210px;
    border-radius: 17px;
  }
  body.shiftcontrol-default-theme.shiftcontrol-view-profile .scmk-profile-identity { margin-top: -42px; }
  body.shiftcontrol-default-theme.curt-messenger-page-body .cm-page-workspace { width: calc(100% - 20px); margin-top: 10px; }
  body.shiftcontrol-default-theme .sc-blueprint--layout-auth { width: 100%; padding: 12px; }
  body.shiftcontrol-default-theme .sc-blueprint--layout-auth .sc-blueprint-region--hero { min-height: 330px; padding: 26px; border-radius: 19px; }
  body.shiftcontrol-default-theme .sc-blueprint--layout-auth .sc-blueprint-region--form { padding: 22px 16px; border-radius: 19px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-entry {
    gap: 16px;
    width: 100%;
    max-width: 100vw;
    padding: 14px 12px 20px;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-topbar {
    grid-template-columns: minmax(0,1fr) auto;
    gap: 12px;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-logo { grid-template-columns: 46px minmax(0,1fr); min-width: 0; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-logo::before { width: 46px; height: 42px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-logo strong { font-size: 23px; white-space: nowrap; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-nav,
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-signin { display: none; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-actions { min-width: 0; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-actions a { min-height: 42px; padding-inline: 13px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-story {
    min-height: 0;
    padding: 30px 8px;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-story h1 {
    max-width: 100%;
    font-size: clamp(44px,14vw,58px);
    overflow-wrap: anywhere;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-story > p { max-width: 100%; font-size: 18px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-stats { grid-template-columns: 1fr; width: min(100%,300px); }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-float {
    position: static;
    width: min(100%,300px);
    min-width: 0;
    margin-top: 10px;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-quote { display: none; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-panel { padding: 30px 18px; border-radius: 22px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-panel-head { padding-top: 74px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-panel-head::before { width: 68px; height: 62px; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-panel-head h2 {
    max-width: 100%;
    font-size: clamp(30px,10vw,40px);
    overflow-wrap: anywhere;
    text-wrap: balance;
  }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-two,
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-alt-row { grid-template-columns: minmax(0,1fr); }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-footer { grid-template-columns: minmax(0,1fr); text-align: center; }
  body.shiftcontrol-default-theme [data-sc-blueprint-surface="register"] .sc-register-footer nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  body.shiftcontrol-default-theme *,
  body.shiftcontrol-default-theme *::before,
  body.shiftcontrol-default-theme *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/*
 * Stream / approved light blueprint — presentation revision 1.0.15.
 * One Stream skin, replacing the previous overlapping Stream overrides.
 * Blueprint Kit still owns region order, rail anchoring, drawer state and the
 * 1024px composition collapse. Module Kit still renders every live control.
 * Artwork is unchanged. Glass, highlights and ribbons below are CSS paint.
 */
body.shiftcontrol-default-theme.shiftcontrol-view-stream {
  --scd-card-shadow: 0 4px 16px rgba(26, 103, 163, .065);
  --scd-radius: 15px;
  --scd-stream-nav-width: var(--scd-canonical-left-rail-width);
  --scd-stream-context-width: var(--scd-canonical-right-rail-width);
  --scd-stream-canvas-width: var(--scd-canonical-canvas-width);
  background: #f2fbff;
  font-size: 14px;
  line-height: 1.5;
}

body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-authenticated-shell {
  --sc-blueprint-shell-content-gap: 0px;
  background-color: #e9f8ff;
  background-image: var(--scd-cloud-canvas);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-authenticated-shell__top {
  padding-inline: max(16px, calc((100vw - var(--scd-stream-canvas-width)) / 2));
  border-bottom: 0;
  background:
    linear-gradient(90deg, rgba(2,57,122,.94), rgba(3,112,202,.76) 52%, rgba(56,181,232,.54)),
    var(--scd-hero) center 16% / cover;
  box-shadow: none;
}

body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-shell-identity {
  min-width: 0;
  grid-template-columns: 40px auto;
  gap: 8px;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-shell-identity > span { width: 40px; height: 38px; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-shell-identity > strong::after {
  font-size: 25px;
  letter-spacing: -.045em;
  background: linear-gradient(90deg, #fff 0 41%, #00d6f4 42% 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-authenticated-shell__top .scmk-navigation-card {
  justify-content: flex-start;
  padding: 0;
  gap: 2px;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-authenticated-shell__top .scmk-navigation-card__item {
  position: relative;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-authenticated-shell__top .scmk-navigation-card__item.is-active {
  background: transparent;
  box-shadow: none;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-authenticated-shell__top .scmk-navigation-card__item.is-active::after {
  content: "";
  position: absolute;
  inset: auto 14px 0;
  height: 3px;
  border-radius: 4px;
  background: #9affff;
  box-shadow: 0 0 7px #1bedff;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-account-utilities { justify-content: flex-end; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-account-utilities__avatar {
  width: 42px;
  height: 42px;
  border-width: 2px;
  box-shadow: none;
}

body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-authenticated-shell__body {
  margin-top: 0;
  padding-inline: 16px;
  padding-bottom: 36px;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-authenticated-shell__canvas > .sc-blueprint[data-sc-blueprint-surface="stream"] {
  width: min(100%, var(--scd-stream-canvas-width)) !important;
  max-width: var(--scd-stream-canvas-width) !important;
  max-inline-size: var(--scd-stream-canvas-width) !important;
  margin-inline: auto;
  padding: 0 !important;
  gap: var(--scd-canonical-region-gap) !important;
}
/* Bounded widths for the existing three canonical tracks; accept both native
 * direct-right and native supporting-wrapper markup. Never create a track
 * for an absent rail or override Blueprint's mobile region ordering. */
@media (min-width: 1025px) {
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint[data-sc-blueprint-composition-variant="neutral-basic-stream"][data-sc-blueprint-canonical-left-rail-enabled="true"]:has(> :is(.sc-blueprint-region--right_rail,.sc-blueprint-stream-supporting-rail)) {
    grid-template-columns: var(--scd-stream-nav-width) minmax(0,1fr) var(--scd-stream-context-width) !important;
  }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-authenticated-shell__top {
    grid-template-columns: var(--scd-stream-nav-width) minmax(0,1fr) auto;
    gap: 16px;
  }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-authenticated-shell__top-navigation {
    grid-column: 2;
    grid-row: 1;
  }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-authenticated-shell__account {
    grid-column: 3;
    grid-row: 1;
  }
}

/* Neutral modules consume the same theme paint tokens even without an authored
 * Theme Profile. Defaults/disabled states remain defined by Module Kit. */
body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint[data-sc-blueprint-module-baseline="canonical-neutral-v1"] {
  --sc-module-surface-bg: rgba(255,255,255,.95);
  --sc-module-surface-bg-quiet: #edf8ff;
  --sc-module-body-text: #081b5b;
  --sc-module-header-text: #081b5b;
  --sc-module-muted-text: #4d6b91;
  --sc-module-action-primary-bg: linear-gradient(110deg, #0878f9, #15c9ea);
  --sc-module-action-primary-text: #fff;
  --sc-module-border: rgba(83,159,220,.2);
  --sc-module-radius: 15px;
  --sc-module-shadow: var(--scd-card-shadow);
  color: var(--scd-ink);
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
}

/* A continuous quiet navigation rail. Its scroll/sticky lifecycle remains
 * Blueprint-owned: no theme overflow lock, top override or nested scroller. */
body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-region--left_rail {
  padding: 0 14px;
  gap: 16px;
  border: 1px solid rgba(255,255,255,.54);
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(190,230,255,.55), rgba(248,253,255,.91) 250px, rgba(247,253,255,.94));
  box-shadow: none;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-region--left_rail::before {
  min-height: 98px;
  margin: 0 -14px;
  padding: 22px 18px;
  border: 0;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(145deg, rgba(19,100,172,.65), rgba(53,166,216,.25));
  box-shadow: none;
  font-size: 14px;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-region--left_rail::after {
  content: "Real\A People\A Brighter\A Tomorrows";
  min-height: 388px;
  margin: 0 -14px;
  padding: 26px 23px;
  align-items: flex-start;
  border-radius: 0 0 14px 14px;
  background:
    linear-gradient(180deg, rgba(21,125,203,.30), transparent 56%),
    var(--scd-login-hero) 52% center / cover;
  box-shadow: none;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.06;
  text-shadow: 0 1px 10px rgba(1,48,105,.4);
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-region--left_rail :is(.scmk-navigation-card,[data-scmk-card-contract]) {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-region--left_rail .scmk-navigation-card { padding: 0; gap: 5px; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-region--left_rail .scmk-navigation-card__item {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 500;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-region--left_rail .scmk-navigation-card__item.is-active {
  border-color: rgba(234,255,255,.94);
  background: linear-gradient(100deg, #378cff, #12b9ee 58%, #26ddec);
  box-shadow: inset 0 1px 10px rgba(255,255,255,.4), 0 0 0 1px rgba(172,249,255,.50), 0 0 15px rgba(40,204,255,.38);
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-region--left_rail :is(.scmk-daily-engagement-v1,.scmk-online-friends-v1) {
  padding: 16px 2px;
  border-top: 1px solid rgba(82,154,207,.23);
}

/* Existing Stories surface: preserve Add Story, every story and the live
 * status heading. Decorative headline cannot replace this functional strip. */
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-story-card {
  position: relative;
  min-height: 260px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(255,245,210,.52), rgba(246,250,254,.18) 48%, rgba(1,46,91,.04)),
    var(--scd-hero) center 53% / cover;
  box-shadow: none;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-story-card::before {
  content: "Bigger\A Thoughts";
  position: absolute;
  top: 22px;
  left: 30px;
  max-width: 65%;
  color: #05194e;
  white-space: pre-line;
  font-family: Manrope, "DM Sans", ui-sans-serif, sans-serif;
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .92;
  pointer-events: none;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-story-card::after {
  content: "Brighter People";
  position: absolute;
  top: 105px;
  left: 30px;
  max-width: 85%;
  color: #008cd6;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: clamp(27px, 3.35vw, 42px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.045em;
  text-shadow: 0 1px 1px rgba(255,255,255,.7);
  pointer-events: none;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-story-card__header {
  position: absolute;
  inset: 16px 18px auto auto;
  width: auto;
  margin: 0;
  padding: 4px 10px;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 8px;
  background: rgba(2,36,75,.55);
  color: #fff;
  z-index: 1;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-story-card__header :is(h2,span) {
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-story-strip {
  position: absolute;
  inset: auto 16px 12px;
  z-index: 1;
  display: flex;
  width: auto;
  min-height: 78px;
  gap: 12px;
  padding: 7px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 12px;
  background: rgba(241,252,255,.75);
  box-shadow: inset 0 1px 0 #fff;
  backdrop-filter: blur(10px);
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-story-tile { flex: 0 0 60px; width: 60px; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-story-avatar {
  width: 42px;
  height: 42px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #259ff7;
  background: #e8f9ff;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-story-name { font-size: 11px; line-height: 1.25; }

/* A genuine two-row composer. Size the action row to its container, not to
 * the viewport: a six-control desktop row must never squash the launcher. */
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create[data-scmk-runtime-module-id="composer"] {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: auto;
  gap: 12px !important;
  min-height: 138px;
  padding: 16px !important;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.98);
  border-radius: 16px;
  container-type: inline-size;
  background:
    linear-gradient(148deg, transparent 10%, rgba(255,255,255,.74) 12%, transparent 16%),
    radial-gradient(ellipse at 7% 100%, rgba(255,210,143,.55), transparent 34%),
    linear-gradient(120deg, rgba(167,224,252,.76), rgba(224,247,255,.88) 35%, rgba(162,219,255,.7) 77%, rgba(217,250,255,.9));
  box-shadow: inset 0 0 9px 2px rgba(255,255,255,.96), inset 0 -2px 6px rgba(37,175,234,.32), 0 0 0 1px rgba(151,230,255,.40), 0 5px 17px rgba(31,135,188,.16);
  backdrop-filter: blur(16px) saturate(1.15);
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(148deg, transparent 66%, rgba(255,255,255,.9) 67%, rgba(255,202,99,.55) 68%, rgba(88,163,255,.46) 70%, transparent 74%),
    linear-gradient(150deg, transparent 59%, rgba(255,255,255,.66) 61%, transparent 64%);
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create .scmk-composer-v1__launcher {
  display: grid;
  grid-template-columns: 46px minmax(0,1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 46px !important;
  min-block-size: 46px;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create .scmk-composer-v1__avatar,
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create .scmk-composer-v1__avatar :is(img,.avatar) {
  width: 46px !important;
  height: 46px !important;
  inline-size: 46px;
  block-size: 46px;
  border-radius: 50%;
  object-fit: cover;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create .scmk-composer-v1__trigger {
  position: relative;
  min-width: 0;
  min-height: 46px !important;
  min-block-size: 46px;
  justify-content: flex-start;
  padding: 10px 38px 10px 20px;
  border: 1px solid rgba(255,255,255,.97);
  background: linear-gradient(95deg, rgba(255,255,255,.38), rgba(210,242,255,.5) 65%, rgba(255,255,255,.58));
  color: #335b89;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 400;
  box-shadow: inset 0 1px 4px #fff, 0 0 12px rgba(255,255,255,.35);
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create .scmk-composer-v1__trigger::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background: linear-gradient(0deg, transparent 47%, #fff 50%, transparent 53%), linear-gradient(90deg, transparent 47%, #fff 50%, transparent 53%), radial-gradient(circle, #fff, transparent 61%);
  filter: drop-shadow(0 0 3px #fff);
  pointer-events: none;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create .scmk-composer-v1__actions {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr)) minmax(102px,1.25fr);
  align-items: stretch;
  gap: 6px;
  min-width: 0;
  margin: 0;
  margin-block-start: 0;
  padding: 0;
  padding-block-start: 0;
  border: 0;
  border-block-start: 0;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create .scmk-composer-v1__actions button {
  min-width: 0;
  min-height: 44px;
  padding: 7px 8px;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 999px;
  background: rgba(245,253,255,.86);
  box-shadow: inset 0 1px 0 #fff, 0 3px 9px rgba(63,154,200,.055);
  color: #082966;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create .scmk-composer-v1__actions button > span[aria-hidden="true"] { font-size: 18px; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create .scmk-composer-v1__actions > button:nth-child(1) > span[aria-hidden="true"] { color: #065dff; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create .scmk-composer-v1__actions > button:nth-child(2) > span[aria-hidden="true"] { color: #e26612; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create .scmk-composer-v1__actions .scmk-composer-create {
  width: 100%;
  min-width: 0;
  max-width: none;
  max-inline-size: none;
  border-color: #fff;
  background: linear-gradient(113deg, #eeb348, #7274ea 32%, #0779fb 62%, #02d9ee);
  box-shadow: inset 0 1px 5px rgba(255,255,255,.6), 0 0 0 1px rgba(255,255,255,.65), 0 3px 12px rgba(0,168,242,.30);
  color: #fff;
  font-size: 14px;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create .scmk-composer-v1__actions .scmk-composer-create::after { content: "→"; margin-left: 6px; font-size: 21px; line-height: 1; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create[data-scmk-canonical-state="runtime-unavailable"] { min-height: 0; }
@container (max-width: 600px) {
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create .scmk-composer-v1__actions { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
}

/* The native focus-within comment disclosure grows the post at pointer-down.
 * Keep the browser from anchoring to a lower rail and moving the pressed
 * control before pointer-up. Disclosure, focus, and scrolling stay native. */
body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint[data-sc-blueprint-surface="stream"]:has(.scmk-stream-post-card:focus-within) {
  overflow-anchor: none;
}

/* Quiet, legible feed cards; never crop the canonical media-primary image or
 * hide endpoint-unavailable, permission, processing, or empty state output. */
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-feed-controls {
  min-height: 50px;
  margin: 0;
  padding: 4px 18px;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 14px;
  background: rgba(255,255,255,.89);
  box-shadow: none;
}
/* Retain the semantic Stream heading for assistive technology. The native
 * All posts scope is the one visible label, not an additional pseudo-tab. */
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-feed-controls h2 { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-feed-controls__scope { position:relative; align-self:stretch; display:flex; align-items:center; padding:7px 3px; border:0; border-radius:0; background:transparent; color:var(--scd-ink); }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-feed-controls__scope::after { content:""; position:absolute; inset:auto 0 -4px; height:3px; background:linear-gradient(90deg,#2673ff,#02d9e8); border-radius:3px; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-feed-controls__order { margin-left:auto; border:0; background:transparent; color:#4d6b91; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-list { gap: 16px; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-card {
  min-width: 0;
  padding: 16px 18px 10px;
  border: 1px solid rgba(168,211,236,.26);
  border-radius: 15px;
  background: rgba(255,255,255,.97);
  box-shadow: var(--scd-card-shadow);
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-card__header { gap: 12px; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-card__avatar { width: 44px; height: 44px; flex-shrink: 0; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-card__byline { min-width: 0; overflow-wrap: anywhere; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-card__byline strong { color: #0467ed; font-size: 14px; font-weight: 700; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-card__byline small { color: #4d6b91; font-size: 12px; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-card__body { margin-top: 0; gap: 0; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-card__text { margin: 8px 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-card__media-grid { margin-top: 0; border-radius: 10px; }
/* The native single-image contract supplies intrinsic width/height. Retire
 * neutral baseline's fixed 174/162px placeholders for this theme presentation. */
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-card__media--image[data-scmk-media-geometry="single-image-v1"],
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-card__media--image[data-scmk-media-geometry="single-image-v1"] > a {
  height: auto !important;
  block-size: auto !important;
  max-height: none !important;
  max-block-size: none !important;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-card__media--image[data-scmk-media-geometry="single-image-v1"] .scmk-stream-post-card__media-primary {
  position: relative;
  display: block;
  height: auto !important;
  block-size: auto !important;
  max-height: 42rem !important;
  max-block-size: 42rem !important;
  max-width: 100%;
  object-fit: contain;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-card__media--image[data-scmk-media-geometry="single-image-v1"] .scmk-stream-post-card__media-backdrop {
  height: 100% !important;
  block-size: 100% !important;
  max-height: none !important;
  max-block-size: none !important;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-card__footer { min-height: 34px; margin-top: 6px; padding: 4px 0; font-size: 12px; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-card__actions { gap: 12px; padding-top: 4px; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-card__actions > * { border: 0; background: transparent; box-shadow: none; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-card__actions :is(button,a) { min-height: 40px; border: 0; background: transparent; box-shadow: none; }

/* Native context content, not invented inspiration/suggestion features. */
body.shiftcontrol-default-theme.shiftcontrol-view-stream [data-scmk-canonical-module="stream-community-context"] { padding: 0; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-canonical-stream-context { display: grid; gap: 16px; background: transparent; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream :is(.scmk-canonical-rail-card,.scmk-stream-trending-now) {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 14px;
  background: rgba(255,255,255,.95);
  color: var(--scd-ink);
  box-shadow: none;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-canonical-rail-card h2 { margin: 0; font-size: 14px; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-canonical-stream-context .scmk-canonical-welcome {
  min-height: 280px;
  align-content: end;
  padding: 22px 18px;
  border-color: rgba(255,255,255,.92);
  background: linear-gradient(180deg, rgba(1,28,67,.05), rgba(0,21,52,.88)), var(--scd-butterfly) 67% center / cover;
  color: #fff;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-canonical-welcome :is(h2,h3,p,small,span,strong) { color: #fff; text-shadow: 0 1px 7px rgba(0,24,55,.4); }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-canonical-welcome h2 { font-size: 24px; line-height: 1.08; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-canonical-welcome small { display: block; margin-top: 12px; font-size: 13px; line-height: 1.5; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-canonical-quick-actions { gap: 9px; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-canonical-quick-actions a {
  min-height: 44px;
  padding: 10px;
  border: 1px solid rgba(180,224,249,.54);
  border-radius: 10px;
  background: #edf9ff;
  color: #09569e;
  font-size: 13px;
}
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-canonical-announcements a { overflow-wrap: anywhere; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-trending-now__item { min-height: 54px; }
body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-rendered-module--footer-card-runtime {
  padding: 10px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

@media (max-width: 1024px) {
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-authenticated-shell { --sc-blueprint-shell-content-gap: 12px; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-authenticated-shell__canvas > .sc-blueprint[data-sc-blueprint-surface="stream"] { max-width: 760px !important; max-inline-size: 760px !important; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint[data-sc-blueprint-composition-variant="neutral-basic-stream"]:has(> :is(.sc-blueprint-region--right_rail,.sc-blueprint-stream-supporting-rail)) { grid-template-columns: minmax(0,1fr) !important; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-region--left_rail { border-radius: 14px; padding: 14px; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-region--left_rail::before,
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-region--left_rail::after { display: none; }
}
@media (max-width: 760px) {
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-authenticated-shell__body { padding-inline: 10px; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-authenticated-shell__top { padding-inline: 10px; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-shell-identity { grid-template-columns: 30px auto; gap: 6px; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-shell-identity > span { width: 30px; height: 32px; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-shell-identity > strong::after { font-size: 20px; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-account-utilities { gap: 6px; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-account-utilities__avatar { width: 34px; height: 34px; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-authenticated-shell__top .scmk-navigation-card { gap: 0; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .sc-blueprint-authenticated-shell__top .scmk-navigation-card__item { min-height: 44px; padding: 10px 4px; font-size: 12px; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-story-card { min-height: 260px; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-story-card::before { top: 22px; left: 20px; font-size: 35px; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-story-card::after { top: 102px; left: 20px; font-size: 32px; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-story-card__header { inset: 12px 12px auto auto; padding: 4px 6px; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-story-card__header :is(h2,span) { font-size: 10px; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-story-strip { left: 12px; right: 12px; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create[data-scmk-runtime-module-id="composer"] { padding: 12px !important; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create .scmk-composer-v1__launcher { gap: 10px; grid-template-columns: 42px minmax(0,1fr); }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create .scmk-composer-v1__avatar,
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create .scmk-composer-v1__avatar :is(img,.avatar) { width: 42px !important; height: 42px !important; inline-size: 42px; block-size: 42px; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-composer-v1--compact-create .scmk-composer-v1__trigger { padding-left: 12px; font-size: 13px; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-card { padding-inline: 13px; }
  body.shiftcontrol-default-theme.shiftcontrol-view-stream .scmk-stream-post-card__actions { gap: 8px; }
}
