/*
 * ShiftControl Blueprint Kit structural CSS.
 * Owner: ShiftControl Blueprint Kit.
 * Scope: shell geometry, regions, slots, responsive collapse, and adapter/dependency state markers.
 * Prohibited: branding, module internals, runtime behavior, data state.
 */
:root {
  --sc-blueprint-max-width: 1440px;
  --sc-blueprint-gutter: clamp(16px, 2vw, 28px);
  --sc-blueprint-region-gap: clamp(14px, 1.8vw, 22px);
  --sc-shell-left-rail-width: 260px;
  --sc-shell-right-rail-width: 300px;
  --sc-shell-adminbar-height: 0px;
  --sc-shell-topbar-clearance-height: 88px;
  --sc-shell-topbar-offset: 88px;
  --sc-blueprint-left-rail: var(--sc-shell-left-rail-width);
  --sc-blueprint-right-rail: var(--sc-shell-right-rail-width);
  --sc-blueprint-filter-rail: 280px;
  --sc-blueprint-compact-rail: 260px;
  --sc-blueprint-sticky-offset: 88px;
  --sc-blueprint-slot-gap: 14px;
  --sc-blueprint-authenticated-left-rail: 264px;
  --sc-blueprint-authenticated-gap: 16px;
  --sc-blueprint-authenticated-gutter: 16px;
  --sc-blueprint-communication-left-rail: 264px;
  --sc-blueprint-communication-gap: 16px;
  --sc-blueprint-communication-gutter: 16px;
  --sc-blueprint-communication-height: calc(100dvh - var(--sc-shell-adminbar-height, 0px) - var(--sc-shell-topbar-clearance-height, 88px) - 32px);
  --sc-blueprint-pages-left-rail: 264px;
  --sc-blueprint-pages-right-rail: 264px;
  --sc-blueprint-pages-gap: 16px;
  --sc-blueprint-pages-gutter: 16px;
  --sc-blueprint-pages-height: calc(100dvh - var(--sc-shell-adminbar-height, 0px) - var(--sc-shell-topbar-clearance-height, 88px) - 32px);
}

.sc-blueprint {
  box-sizing: border-box;
  width: min(100%, var(--sc-blueprint-max-width));
  margin-inline: auto;
  padding-inline: var(--sc-blueprint-gutter);
  display: grid;
  gap: var(--sc-blueprint-region-gap);
  align-items: start;
}

.sc-blueprint *,
.sc-blueprint *::before,
.sc-blueprint *::after { box-sizing: border-box; }

.sc-blueprint-region {
  min-width: 0;
  display: grid;
  gap: var(--sc-blueprint-slot-gap);
}

.sc-blueprint-region-kind--rail {
  align-self: start;
  position: sticky;
  top: var(--sc-blueprint-sticky-offset);
  max-height: calc(100vh - var(--sc-blueprint-sticky-offset) - 16px);
  overflow: auto;
  overscroll-behavior: contain;
}

.sc-blueprint-slot { min-width: 0; }

/* Pass503: canonical topbar shell geometry.
 * The surface adapter exposes neutral regions; Blueprint Kit alone owns shell
 * sizing, grid placement, responsive reflow, and page-level region visibility.
 */
[data-sc-blueprint-shell-topbar="v1"][data-sc-blueprint-shell-owner="shiftcontrol-blueprint-kit"] {
  position: sticky !important;
  top: var(--sc-shell-adminbar-height, 0px) !important;
  z-index: 99990 !important;
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 72px !important;
  min-height: 72px !important;
  max-height: 72px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

[data-sc-blueprint-shell-topbar="v1"] > [data-sc-blueprint-shell-region="topbar-inner"] {
  display: grid !important;
  grid-template-columns: minmax(96px, 128px) minmax(180px, 286px) minmax(0, 1fr) max-content max-content max-content !important;
  align-items: center !important;
  gap: 16px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 72px !important;
  min-height: 72px !important;
  max-height: 72px !important;
  margin: 0 !important;
  padding: 7px 32px !important;
  overflow: visible !important;
}

@media (max-width: 1460px) {
  [data-sc-blueprint-shell-topbar="v1"] > [data-sc-blueprint-shell-region="topbar-inner"] {
    grid-template-columns: minmax(96px, 122px) minmax(180px, 260px) minmax(0, 1fr) max-content max-content !important;
    padding-inline: 20px !important;
  }

  html body [data-sc-blueprint-shell-topbar="v1"][data-sc-blueprint-shell-owner="shiftcontrol-blueprint-kit"] > [data-sc-blueprint-shell-region="topbar-inner"] > [data-sc-blueprint-shell-region-role="create-action"] {
    display: none !important;
  }
}

@media (max-width: 1180px) {
  [data-sc-blueprint-shell-topbar="v1"] > [data-sc-blueprint-shell-region="topbar-inner"] {
    grid-template-columns: minmax(96px, 118px) minmax(0, 1fr) max-content max-content !important;
  }

  html body [data-sc-blueprint-shell-topbar="v1"][data-sc-blueprint-shell-owner="shiftcontrol-blueprint-kit"] > [data-sc-blueprint-shell-region="topbar-inner"] > [data-sc-blueprint-shell-region-role="search"] {
    display: none !important;
  }

  html body [data-sc-blueprint-shell-topbar="v1"][data-sc-blueprint-shell-owner="shiftcontrol-blueprint-kit"] > [data-sc-blueprint-shell-region="topbar-inner"] > [data-sc-blueprint-shell-region-role="primary-navigation"] {
    display: flex !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: thin;
  }

  html body [data-sc-blueprint-shell-topbar="v1"] > [data-sc-blueprint-shell-region="topbar-inner"] > [data-sc-blueprint-shell-region-role="primary-navigation"] > a {
    flex: 0 0 auto;
  }
}

@media (max-width: 900px) {
  [data-sc-blueprint-shell-topbar="v1"],
  [data-sc-blueprint-shell-topbar="v1"] > [data-sc-blueprint-shell-region="topbar-inner"] {
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
  }

  [data-sc-blueprint-shell-topbar="v1"] > [data-sc-blueprint-shell-region="topbar-inner"] {
    grid-template-columns: auto minmax(0, 1fr) auto auto !important;
    gap: 8px !important;
    padding: 7px 10px !important;
  }

  html body [data-sc-blueprint-shell-topbar="v1"][data-sc-blueprint-shell-owner="shiftcontrol-blueprint-kit"] > [data-sc-blueprint-shell-region="topbar-inner"] [data-sc-blueprint-shell-component="utility-label"],
  html body [data-sc-blueprint-shell-topbar="v1"][data-sc-blueprint-shell-owner="shiftcontrol-blueprint-kit"] > [data-sc-blueprint-shell-region="topbar-inner"] > [data-sc-blueprint-shell-region-role="account"] [data-sc-blueprint-shell-component="account-meta"],
  html body [data-sc-blueprint-shell-topbar="v1"][data-sc-blueprint-shell-owner="shiftcontrol-blueprint-kit"] > [data-sc-blueprint-shell-region="topbar-inner"] > [data-sc-blueprint-shell-region-role="create-action"] {
    display: none !important;
  }
}

@media (max-width: 480px) {
  [data-sc-blueprint-shell-topbar="v1"] > [data-sc-blueprint-shell-region="topbar-inner"] {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
  }

  html body [data-sc-blueprint-shell-topbar="v1"][data-sc-blueprint-shell-owner="shiftcontrol-blueprint-kit"] > [data-sc-blueprint-shell-region="topbar-inner"] > [data-sc-blueprint-shell-region-role="utilities"] {
    display: none !important;
  }
}

/* Pass496: canonical authenticated outer shell.
 * Surface blueprints retain ownership of their internal columns and regions.
 */
.sc-blueprint-authenticated-topbar-placement { display: contents; }

.sc-blueprint-authenticated-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
}

.sc-blueprint-authenticated-shell__body {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 16px 0 0;
  padding: 0 var(--sc-blueprint-authenticated-gutter);
  display: grid;
  grid-template-columns: var(--sc-blueprint-authenticated-left-rail) minmax(0, 1fr);
  gap: var(--sc-blueprint-authenticated-gap);
  align-items: start;
}

.sc-blueprint-authenticated-shell__left-rail {
  box-sizing: border-box;
  width: var(--sc-blueprint-authenticated-left-rail);
  min-width: 0;
  align-self: start;
  position: sticky;
  top: calc(var(--sc-shell-adminbar-height, 0px) + 104px);
  max-height: calc(100vh - var(--sc-shell-adminbar-height, 0px) - 120px);
  overflow: auto;
  overscroll-behavior: contain;
}

.sc-blueprint-authenticated-shell__canvas {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.sc-blueprint-authenticated-shell__canvas[aria-busy="true"] { cursor: progress; }
.sc-blueprint-authenticated-shell__rail-context { display: block; min-width: 0; }

.sc-blueprint-authenticated-shell__canvas > .sc-blueprint {
  width: 100%;
  max-width: none;
  margin: 0 0 48px;
}

/* Pass498: canonical Pages directory shell and layout.community variant. */
.sc-blueprint-pages-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
}

.sc-blueprint-pages-shell__body {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 16px 0 0;
  padding: 0 var(--sc-blueprint-pages-gutter);
  display: grid;
  grid-template-columns: var(--sc-blueprint-pages-left-rail) minmax(0, 1fr);
  gap: var(--sc-blueprint-pages-gap);
  align-items: start;
}

.sc-blueprint-pages-shell__left-rail {
  box-sizing: border-box;
  width: var(--sc-blueprint-pages-left-rail);
  min-width: 0;
  align-self: start;
  position: sticky;
  top: calc(var(--sc-shell-adminbar-height, 0px) + 104px);
  max-height: none;
  overflow: visible;
}

.sc-blueprint-pages-shell__canvas {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.sc-blueprint-pages-shell__canvas > .sc-blueprint--layout-pages {
  width: 100%;
  max-width: none;
  min-height: var(--sc-blueprint-pages-height);
  margin: 0 0 48px;
  padding: 0;
  grid-template-columns: minmax(0, 1fr) var(--sc-blueprint-pages-right-rail);
  grid-template-areas:
    "header header"
    "primary right";
  gap: var(--sc-blueprint-pages-gap);
  align-items: start;
  align-content: start;
  overflow: visible;
}

.sc-blueprint--layout-pages .sc-blueprint-region--header { grid-area: header; }
.sc-blueprint--layout-pages .sc-blueprint-region--primary { grid-area: primary; }
.sc-blueprint--layout-pages .sc-blueprint-region--right_rail {
  grid-area: right;
  align-self: start;
  position: sticky;
  top: calc(var(--sc-shell-adminbar-height, 0px) + 104px);
  width: var(--sc-blueprint-pages-right-rail);
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
  scrollbar-gutter: auto;
}

@media (max-width: 1180px) {
  .sc-blueprint-pages-shell__body {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 12px;
  }

  .sc-blueprint-pages-shell .sc-blueprint-pages-shell__left-rail,
  .sc-blueprint--layout-pages .sc-blueprint-region--right_rail {
    display: none;
    position: static;
    width: auto;
    max-height: none;
    overflow: visible;
  }

  .sc-blueprint-pages-shell__canvas > .sc-blueprint--layout-pages {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "header"
      "primary";
  }
}

@media (max-width: 720px) {
  .sc-blueprint-pages-shell__body { padding-inline: 10px; }
}

@media (max-width: 1180px) {
  .sc-blueprint-authenticated-shell__body {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 12px;
  }

  .sc-blueprint-authenticated-shell .sc-blueprint-authenticated-shell__left-rail {
    display: none;
    position: static;
    width: auto;
    max-height: none;
    overflow: visible;
  }

  .sc-blueprint-authenticated-shell__canvas > .sc-blueprint {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 720px) {
  .sc-blueprint-authenticated-shell__body {
    padding-inline: 10px;
  }
}

.sc-blueprint--layout-social,
.sc-blueprint--layout-decision,
.sc-blueprint--layout-editorial {
  grid-template-columns: var(--sc-blueprint-left-rail) minmax(0, 1fr) var(--sc-blueprint-right-rail);
}

.sc-blueprint--layout-profile {
  grid-template-columns: minmax(0, 1fr) var(--sc-blueprint-right-rail);
}
.sc-blueprint--layout-profile .sc-blueprint-region--profile_header { grid-column: 1 / -1; }

.sc-blueprint--layout-directory,
.sc-blueprint--layout-marketplace {
  grid-template-columns: var(--sc-blueprint-filter-rail) minmax(0, 1fr) var(--sc-blueprint-right-rail);
}

.sc-blueprint--layout-media,
.sc-blueprint--layout-community {
  grid-template-columns: minmax(0, 1fr) var(--sc-blueprint-right-rail);
}
.sc-blueprint--layout-media .sc-blueprint-region--header,
.sc-blueprint--layout-community .sc-blueprint-region--header { grid-column: 1 / -1; }

.sc-blueprint--layout-auth {
  width: min(100%, 1500px);
  padding-inline: clamp(18px, 2.4vw, 34px);
  grid-template-columns: minmax(0, 1.07fr) minmax(420px, .99fr);
  gap: 14px;
  align-items: stretch;
}
.sc-blueprint--layout-auth .sc-blueprint-region--header,
.sc-blueprint--layout-auth .sc-blueprint-region--footer { grid-column: 1 / -1; }
.sc-blueprint--layout-auth .sc-blueprint-region--header { grid-row: 1; }
.sc-blueprint--layout-auth .sc-blueprint-region--hero,
.sc-blueprint--layout-auth .sc-blueprint-region--form { grid-row: 2; align-self: stretch; }
.sc-blueprint--layout-auth .sc-blueprint-region--footer { grid-row: 3; }
.sc-blueprint--layout-auth[data-sc-blueprint-surface="login"] .sc-blueprint-region--form { grid-column: 1; }
.sc-blueprint--layout-auth[data-sc-blueprint-surface="login"] .sc-blueprint-region--hero { grid-column: 2; }
.sc-blueprint--layout-auth[data-sc-blueprint-surface="register"] .sc-blueprint-region--hero { grid-column: 1; }
.sc-blueprint--layout-auth[data-sc-blueprint-surface="register"] .sc-blueprint-region--form { grid-column: 2; }

.sc-blueprint--layout-admin,
.sc-blueprint--layout-settings {
  grid-template-columns: var(--sc-blueprint-compact-rail) minmax(0, 1fr) var(--sc-blueprint-compact-rail);
}

@media (max-width: 1180px) {
  .sc-blueprint--layout-social,
  .sc-blueprint--layout-directory,
  .sc-blueprint--layout-marketplace,
  .sc-blueprint--layout-admin,
  .sc-blueprint--layout-settings,
  .sc-blueprint--layout-decision,
  .sc-blueprint--layout-editorial {
    grid-template-columns: minmax(0, 1fr) var(--sc-blueprint-right-rail);
  }
  .sc-blueprint--layout-social .sc-blueprint-region--left_rail,
  .sc-blueprint--layout-directory .sc-blueprint-region--filters,
  .sc-blueprint--layout-marketplace .sc-blueprint-region--filters,
  .sc-blueprint--layout-admin .sc-blueprint-region--nav,
  .sc-blueprint--layout-settings .sc-blueprint-region--nav,
  .sc-blueprint--layout-decision .sc-blueprint-region--left_rail,
  .sc-blueprint--layout-editorial .sc-blueprint-region--left_rail {
    position: static;
    max-height: none;
    overflow: visible;
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .sc-blueprint,
  .sc-blueprint--layout-social,
  .sc-blueprint--layout-profile,
  .sc-blueprint--layout-directory,
  .sc-blueprint--layout-media,
  .sc-blueprint--layout-community,
  .sc-blueprint--layout-marketplace,
  .sc-blueprint--layout-auth,
  .sc-blueprint--layout-admin,
  .sc-blueprint--layout-settings,
  .sc-blueprint--layout-decision,
  .sc-blueprint--layout-editorial {
    grid-template-columns: minmax(0, 1fr);
  }
  .sc-blueprint-region-kind--rail {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .sc-blueprint--layout-auth .sc-blueprint-region--header,
  .sc-blueprint--layout-auth .sc-blueprint-region--hero,
  .sc-blueprint--layout-auth .sc-blueprint-region--form,
  .sc-blueprint--layout-auth .sc-blueprint-region--footer,
  .sc-blueprint--layout-profile .sc-blueprint-region--profile_header,
  .sc-blueprint--layout-media .sc-blueprint-region--header,
  .sc-blueprint--layout-community .sc-blueprint-region--header { grid-column: auto; }
}


@media (max-width: 900px) {
  .sc-blueprint--layout-auth .sc-blueprint-region--header,
  .sc-blueprint--layout-auth .sc-blueprint-region--hero,
  .sc-blueprint--layout-auth .sc-blueprint-region--form,
  .sc-blueprint--layout-auth .sc-blueprint-region--footer {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

/* Pass005: Blueprint Kit owns reusable responsive width/collapse geometry. */
.shiftcontrol-blueprint-kit-active.sc-blueprint-width-compact {
  --sc-blueprint-max-width: 1180px;
}
.shiftcontrol-blueprint-kit-active.sc-blueprint-width-comfortable {
  --sc-blueprint-max-width: 1320px;
}
.shiftcontrol-blueprint-kit-active.sc-blueprint-width-wide {
  --sc-blueprint-max-width: 1440px;
}
.shiftcontrol-blueprint-kit-active.sc-blueprint-width-full {
  --sc-blueprint-max-width: 100%;
}

.sc-blueprint[data-sc-blueprint-responsive-owner="shiftcontrol-blueprint-kit"] {
  min-inline-size: 0;
}

.sc-blueprint-region[data-sc-blueprint-collapse="canonical"] {
  min-inline-size: 0;
}

/* Pass006: Blueprint Kit owns reusable rail width, sticky, scroll, and overflow geometry. */
.shiftcontrol-blueprint-rail-authority-active {
  --sc-blueprint-left-rail: 320px;
  --sc-blueprint-right-rail: 360px;
  --sc-blueprint-profile-rail: 340px;
  --sc-blueprint-filter-rail: 280px;
  --sc-blueprint-communication-rail: 300px;
  --sc-blueprint-admin-rail: 280px;
  --sc-blueprint-sticky-offset: var(--sc-shell-topbar-offset, 88px);
  --sc-blueprint-rail-scroll-padding: 16px;
}

.sc-blueprint[data-sc-blueprint-rail-owner="shiftcontrol-blueprint-kit"] .sc-blueprint-region[data-sc-blueprint-rail-sticky="canonical"] {
  align-self: start;
  position: sticky;
  top: var(--sc-blueprint-sticky-offset);
  max-height: calc(100vh - var(--sc-blueprint-sticky-offset) - var(--sc-blueprint-rail-scroll-padding));
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.sc-blueprint[data-sc-blueprint-rail-profile="rail.social"] {
  grid-template-columns: var(--sc-blueprint-left-rail) minmax(0, 1fr) var(--sc-blueprint-right-rail);
}

.sc-blueprint[data-sc-blueprint-rail-profile="rail.two-column"],
.sc-blueprint--layout-profile,
.sc-blueprint--layout-media,
.sc-blueprint--layout-community {
  grid-template-columns: minmax(0, 1fr) var(--sc-blueprint-profile-rail);
}

.sc-blueprint[data-sc-blueprint-rail-profile="rail.filter-grid"] {
  grid-template-columns: var(--sc-blueprint-filter-rail) minmax(0, 1fr) var(--sc-blueprint-right-rail);
}

.sc-blueprint--layout-admin,
.sc-blueprint--layout-settings {
  grid-template-columns: var(--sc-blueprint-admin-rail) minmax(0, 1fr) var(--sc-blueprint-communication-rail);
}

@media (max-width: 1180px) {
  .sc-blueprint[data-sc-blueprint-rail-owner="shiftcontrol-blueprint-kit"] .sc-blueprint-region[data-sc-blueprint-rail-role="navigation"],
  .sc-blueprint[data-sc-blueprint-rail-owner="shiftcontrol-blueprint-kit"] .sc-blueprint-region[data-sc-blueprint-rail-role="filters"],
  .sc-blueprint[data-sc-blueprint-rail-owner="shiftcontrol-blueprint-kit"] .sc-blueprint-region[data-sc-blueprint-rail-role="list"] {
    position: static;
    max-height: none;
    overflow: visible;
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .sc-blueprint[data-sc-blueprint-rail-profile="rail.two-column"],
  .sc-blueprint--layout-profile,
  .sc-blueprint--layout-media,
  .sc-blueprint--layout-community {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Pass511: the canonical Groups-detail surface must not retain the
   * desktop profile rail when later theme styles participate in cascade. */
  .sc-blueprint--layout-community[data-sc-blueprint-surface="group"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .sc-blueprint--layout-community[data-sc-blueprint-surface="group"] > .sc-blueprint-region {
    grid-column: 1 !important;
  }

  .sc-blueprint[data-sc-blueprint-rail-owner="shiftcontrol-blueprint-kit"] .sc-blueprint-region[data-sc-blueprint-rail-sticky="canonical"] {
    position: static;
    max-height: none;
    overflow: visible;
  }
}


/* Pass007: Blueprint Kit owns reusable app shell, topbar offset, frame, and main-column geometry. */
.shiftcontrol-blueprint-shell-authority-active {
  --sc-blueprint-shell-topbar-offset: var(--sc-shell-topbar-offset, 88px);
  --sc-blueprint-shell-frame-max: var(--sc-blueprint-max-width, 1440px);
  --sc-blueprint-shell-gutter: var(--sc-blueprint-gutter, clamp(16px, 2vw, 28px));
  --sc-blueprint-shell-main-min: 0;
}

.sc-blueprint[data-sc-blueprint-shell-owner="shiftcontrol-blueprint-kit"] {
  width: min(100%, var(--sc-blueprint-shell-frame-max));
  margin-inline: auto;
  padding-inline: var(--sc-blueprint-shell-gutter);
  min-inline-size: var(--sc-blueprint-shell-main-min);
  isolation: isolate;
}

/* Profile page completion pass527.
 * The supplied full-resolution Profile blueprint owns this surface-specific
 * three-column inner canvas. Shared authenticated shell geometry is unchanged. */
.sc-blueprint--layout-profile[data-sc-blueprint-surface="profile"] {
  --sc-blueprint-profile-context-min: 248px;
  --sc-blueprint-profile-activity-min: 240px;
  --sc-blueprint-profile-gap: 14px;
  width: 100%;
  max-width: none;
  padding: 0;
  grid-template-columns:
    minmax(var(--sc-blueprint-profile-context-min), .52fr)
    minmax(0, 1fr)
    minmax(var(--sc-blueprint-profile-activity-min), .54fr);
  grid-template-areas:
    "profile-header profile-header activity"
    "profile-context profile-primary activity";
  gap: var(--sc-blueprint-profile-gap);
  align-items: start;
  align-content: start;
}

.sc-blueprint--layout-profile[data-sc-blueprint-surface="profile"] > .sc-blueprint-region--profile_header {
  grid-area: profile-header;
  position: relative;
  display: block;
  height: 386px;
  min-height: 386px;
}

.sc-blueprint--layout-profile[data-sc-blueprint-surface="profile"] > .sc-blueprint-region--profile_context {
  grid-area: profile-context;
  position: static;
  display: grid;
  gap: var(--sc-blueprint-profile-gap);
  max-height: none;
  overflow: visible;
}

.sc-blueprint--layout-profile[data-sc-blueprint-surface="profile"] > .sc-blueprint-region--primary {
  grid-area: profile-primary;
  display: grid;
  gap: var(--sc-blueprint-profile-gap);
}

.sc-blueprint--layout-profile[data-sc-blueprint-surface="profile"] > .sc-blueprint-region--right_rail {
  grid-area: activity;
  align-self: start;
  position: sticky;
  top: calc(var(--sc-shell-adminbar-height, 0px) + 88px);
  width: auto;
  max-height: none;
  overflow: visible;
  display: grid;
  gap: var(--sc-blueprint-profile-gap);
  overscroll-behavior: auto;
  scrollbar-gutter: auto;
}

/* Pass535: the Profile blueprint uses a compact 158px navigation rail and
 * near-contiguous topbar relationship. Keep this surface-scoped so certified
 * Stream and the other authenticated shells retain their existing geometry. */
body.shiftcontrol-view-profile.vibes-network-theme:not(.shiftcontrol-view-stream) {
  --sc-blueprint-authenticated-left-rail: 154px;
}

body.shiftcontrol-view-profile.vibes-network-theme:not(.shiftcontrol-view-stream) .sc-blueprint-authenticated-shell__body {
  margin-top: 1px;
}

body.shiftcontrol-view-profile .sc-blueprint--layout-profile[data-sc-blueprint-surface="profile"] > .sc-blueprint-region--right_rail {
  top: calc(var(--sc-shell-adminbar-height, 0px) + 73px);
}

.sc-blueprint--layout-profile[data-sc-blueprint-surface="profile"] .sc-blueprint-region--profile_header > [data-sc-blueprint-adapter-slot-render-slot] {
  position: absolute;
  z-index: 1;
  min-width: 0;
}

.sc-blueprint--layout-profile[data-sc-blueprint-surface="profile"] .sc-blueprint-region--profile_header > [data-sc-blueprint-adapter-slot-render-slot="profile.cover"] {
  inset: 0 0 auto;
  height: 330px;
}

.sc-blueprint--layout-profile[data-sc-blueprint-surface="profile"] .sc-blueprint-region--profile_header > [data-sc-blueprint-adapter-slot-render-slot="profile.identity"] {
  inset: 122px 0 auto;
  z-index: 3;
}

.sc-blueprint--layout-profile[data-sc-blueprint-surface="profile"] .sc-blueprint-region--profile_header > [data-sc-blueprint-adapter-slot-render-slot="profile.actions"] {
  top: 214px;
  right: 16px;
  z-index: 4;
}

.sc-blueprint--layout-profile[data-sc-blueprint-surface="profile"] > .sc-blueprint-region .sc-blueprint-slot[data-sc-blueprint-slot-registered-modules="0"] {
  display: none;
}

.sc-blueprint--layout-profile[data-sc-blueprint-surface="profile"] .sc-blueprint-region--profile_header > [data-sc-blueprint-adapter-slot-render-slot="profile.tabs"] {
  inset: 338px 0 auto;
  z-index: 2;
}

@media (max-width: 1020px) {
  .sc-blueprint--layout-profile[data-sc-blueprint-surface="profile"] {
    --sc-blueprint-profile-context-min: 200px;
    --sc-blueprint-profile-activity-min: 230px;
    --sc-blueprint-profile-gap: 12px;
  }
}

@media (max-width: 900px) {
  .sc-blueprint--layout-profile[data-sc-blueprint-surface="profile"] {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "profile-header"
      "profile-primary"
      "profile-context"
      "activity";
  }

  .sc-blueprint--layout-profile[data-sc-blueprint-surface="profile"] > .sc-blueprint-region--right_rail {
    position: static;
  }
}

@media (max-width: 620px) {
  .sc-blueprint--layout-profile[data-sc-blueprint-surface="profile"] > .sc-blueprint-region--profile_header {
    height: auto;
    min-height: 0;
    display: grid;
    gap: 10px;
  }

  .sc-blueprint--layout-profile[data-sc-blueprint-surface="profile"] .sc-blueprint-region--profile_header > [data-sc-blueprint-adapter-slot-render-slot] {
    position: relative;
    inset: auto;
  }

  .sc-blueprint--layout-profile[data-sc-blueprint-surface="profile"] .sc-blueprint-region--profile_header > [data-sc-blueprint-adapter-slot-render-slot="profile.cover"] {
    height: auto;
  }
}

.sc-blueprint[data-sc-blueprint-shell-profile="shell.auth"] {
  --sc-blueprint-shell-topbar-offset: 0px;
  --sc-blueprint-shell-frame-max: 1180px;
}

.sc-blueprint[data-sc-blueprint-shell-profile="shell.profile"] {
  --sc-blueprint-shell-frame-max: 1360px;
}

.sc-blueprint[data-sc-blueprint-shell-profile="shell.directory"] {
  --sc-blueprint-shell-frame-max: 1400px;
}

.sc-blueprint[data-sc-blueprint-shell-profile="shell.admin"] {
  --sc-blueprint-shell-topbar-offset: 72px;
}

.sc-blueprint[data-sc-blueprint-shell-owner="shiftcontrol-blueprint-kit"] .sc-blueprint-region-kind--main,
.sc-blueprint[data-sc-blueprint-shell-owner="shiftcontrol-blueprint-kit"] .sc-blueprint-region--primary {
  min-inline-size: 0;
  inline-size: 100%;
}

.sc-blueprint[data-sc-blueprint-shell-owner="shiftcontrol-blueprint-kit"] .sc-blueprint-region-kind--header,
.sc-blueprint[data-sc-blueprint-shell-owner="shiftcontrol-blueprint-kit"] .sc-blueprint-region-kind--control {
  min-inline-size: 0;
}

/* Pass497: one communication shell, geometry, height, scroll, and responsive owner. */
.sc-blueprint-communication-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
}

.sc-blueprint-communication-shell__body {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 16px 0 0;
  padding: 0 var(--sc-blueprint-communication-gutter);
  display: grid;
  grid-template-columns: var(--sc-blueprint-communication-left-rail) minmax(0, 1fr);
  gap: var(--sc-blueprint-communication-gap);
  align-items: start;
}

.sc-blueprint-communication-shell__left-rail {
  box-sizing: border-box;
  width: var(--sc-blueprint-communication-left-rail);
  min-width: 0;
  height: var(--sc-blueprint-communication-height);
  align-self: start;
  position: sticky;
  top: calc(var(--sc-shell-adminbar-height, 0px) + var(--sc-shell-topbar-clearance-height, 88px) + 16px);
  max-height: var(--sc-blueprint-communication-height);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.sc-blueprint-communication-shell .sc-blueprint-communication-shell__left-rail {
  overflow-x: auto;
  overflow-y: auto;
}

.sc-blueprint-communication-shell__canvas {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.sc-blueprint.sc-blueprint--layout-communication {
  width: 100%;
  max-width: none;
  height: var(--sc-blueprint-communication-height);
  min-height: 640px;
  margin: 0;
  padding: 0;
  gap: var(--sc-blueprint-communication-gap);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  overflow: visible;
}

.sc-blueprint--layout-communication[data-sc-blueprint-communication-variant="messages"] {
  grid-template-columns: minmax(240px, 27fr) minmax(0, 46fr) minmax(240px, 27fr);
  grid-template-areas: "list primary right";
}

.sc-blueprint--layout-communication[data-sc-blueprint-communication-variant="notifications"] {
  grid-template-columns: minmax(0, 75fr) minmax(280px, 25fr);
  grid-template-areas: "primary right";
}

.sc-blueprint--layout-communication > .sc-blueprint-region--list { grid-area: list; }
.sc-blueprint--layout-communication > .sc-blueprint-region--primary { grid-area: primary; }
.sc-blueprint--layout-communication > .sc-blueprint-region--right_rail { grid-area: right; }

.sc-blueprint.sc-blueprint--layout-communication[data-sc-blueprint-rail-owner="shiftcontrol-blueprint-kit"] > .sc-blueprint-region {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  position: static;
  top: auto;
  max-height: none;
  overflow-x: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

@media (max-width: 1180px) {
  .sc-blueprint-communication-shell__body {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 12px;
  }

  .sc-blueprint-communication-shell .sc-blueprint-communication-shell__left-rail {
    display: none;
    position: static;
    width: auto;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .sc-blueprint.sc-blueprint--layout-communication {
    height: auto;
    min-height: var(--sc-blueprint-communication-height);
    overflow: visible;
  }

  .sc-blueprint--layout-communication[data-sc-blueprint-communication-variant="messages"] {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 32fr);
    grid-template-areas: "primary right";
  }

  .sc-blueprint--layout-communication[data-sc-blueprint-communication-variant="messages"] > .sc-blueprint-region--list {
    display: none;
  }

  .sc-blueprint.sc-blueprint--layout-communication[data-sc-blueprint-rail-owner="shiftcontrol-blueprint-kit"] > .sc-blueprint-region {
    height: auto;
    overflow: visible;
    scrollbar-gutter: auto;
  }
}

@media (max-width: 900px) {
  .sc-blueprint-communication-shell__body {
    padding-inline: 10px;
  }

  .sc-blueprint--layout-communication[data-sc-blueprint-communication-variant="messages"],
  .sc-blueprint--layout-communication[data-sc-blueprint-communication-variant="notifications"] {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "primary";
  }

  .sc-blueprint--layout-communication > .sc-blueprint-region--right_rail {
    display: none;
  }
}


/* Pass008: composition contract authority. */
.sc-blueprint[data-sc-blueprint-composition-owner="shiftcontrol-blueprint-kit"] {
    --sc-blueprint-composition-owner: shiftcontrol-blueprint-kit;
}
.sc-blueprint-region[data-sc-blueprint-region-contract="canonical"] {
    min-width: 0;
    box-sizing: border-box;
}
.sc-blueprint-region > .sc-blueprint-slot {
    min-width: 0;
}


/* Pass009: Blueprint Kit owns module placement policy surfaces; modules remain internal UI only. */
.sc-blueprint-slot[data-sc-blueprint-placement-owner="shiftcontrol-blueprint-kit"] {
    contain: layout style;
}
.sc-blueprint-slot[data-sc-blueprint-slot-density="compact"] {
    --sc-blueprint-slot-gap: clamp(10px, 1vw, 14px);
}
.sc-blueprint-slot[data-sc-blueprint-slot-overflow="rail-scroll"] {
    min-height: 0;
}
.sc-blueprint-slot[data-sc-blueprint-slot-overflow="content-fit"] {
    overflow: visible;
}

/* Pass010: Blueprint Kit owns module intake/slot acceptance containment. */
.shiftcontrol-blueprint-module-intake-authority-active .sc-blueprint-slot[data-sc-blueprint-slot-placement-state="unregistered"] {
  display: none;
}

.sc-blueprint-slot[data-sc-blueprint-placement-owner="shiftcontrol-blueprint-kit"] {
  contain: layout paint;
}

.sc-blueprint-slot[data-sc-blueprint-slot-overflow="rail-scroll"] {
  min-height: 0;
}


/* Pass015: Blueprint Kit owns adapter enforcement visibility. */
.shiftcontrol-blueprint-adapter-enforcement-active [data-sc-blueprint-adapter-enforcement-state="adapter-enforcement-fail"] {
  outline: 2px dashed currentColor;
  outline-offset: 4px;
}

.sc-blueprint[data-sc-blueprint-adapter-enforced="false"] {
  min-inline-size: 0;
}

.shiftcontrol-blueprint-dependency-readiness-active .sc-blueprint { --sc-blueprint-dependency-readiness-state: active; }


/* Pass020: activation readiness state markers. Structural only; themes skin visible diagnostics. */
.shiftcontrol-blueprint-activation-readiness-active [data-sc-blueprint-activation-readiness-state] {
    --sc-blueprint-activation-readiness-owner: shiftcontrol-blueprint-kit;
}
[data-sc-blueprint-activation-blocked="true"] {
    --sc-blueprint-activation-blocked: 1;
}

/* Pass021: certification status is state truth only; it does not grant fallback layout authority. */
.shiftcontrol-blueprint-certification-status-active [data-sc-blueprint-certification-status-owner="shiftcontrol-blueprint-kit"] {
  contain: layout style;
}

/* Pass026: adapter slot render bridge containment. Blueprint Kit owns the slot bridge; Module Kit owns module internals. */
.shiftcontrol-blueprint-adapter-slot-render-active .sc-blueprint-adapter-slot {
  min-width: 0;
  box-sizing: border-box;
  contain: layout style;
}
.shiftcontrol-blueprint-adapter-slot-render-active .sc-blueprint-adapter-slot--blocked {
  display: none;
}
.shiftcontrol-blueprint-adapter-slot-render-active .sc-blueprint-adapter-slot > .sc-blueprint-slot {
  min-width: 0;
}

/* Canonical authenticated topbar presentation outside the Stream replica.
 * Pass503 above remains the singular geometry authority; these rules supply
 * bounded shared-shell presentation from Vibes/Theme Profile variables. */
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica)[data-sc-blueprint-shell-topbar="v1"][data-sc-blueprint-shell-owner="shiftcontrol-blueprint-kit"] {
  color: var(--scmk-theme-colors-text-primary, var(--vibes-text, #f7f3ff));
  background: color-mix(in srgb, var(--scmk-theme-colors-surface-elevated, var(--vibes-surface-raised, #17132d)) 94%, transparent);
  border: 1px solid var(--scmk-theme-colors-border-default, var(--vibes-border, rgba(255,255,255,.14)));
  border-radius: var(--scmk-theme-radius-lg, var(--vibes-radius, 18px));
  box-shadow: 0 18px 52px rgba(5, 8, 22, .28);
  backdrop-filter: blur(18px);
}
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) *,
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) *::before,
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) *::after { box-sizing: border-box; }
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-logo {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-logo > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 12px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--scmk-theme-colors-accent-primary, var(--vibes-primary, #ec168c)), var(--scmk-theme-colors-accent-secondary, var(--vibes-secondary, #7c3cff)));
}
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-logo > strong { font-size: 18px; letter-spacing: .08em; }
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-search {
  min-width: 0;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid var(--scmk-theme-colors-border-default, var(--vibes-border, rgba(255,255,255,.14)));
  border-radius: 999px;
  background: var(--scmk-theme-colors-surface-default, var(--vibes-surface, rgba(10,14,34,.82)));
}
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-search button {
  width: auto;
  padding: 0;
  border: 0;
  color: var(--scmk-theme-colors-text-secondary, var(--vibes-text-muted, #aeb7dc));
  background: transparent;
  font-size: 21px;
}
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: inherit;
  background: transparent;
}
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-primary-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-primary-nav::-webkit-scrollbar { display: none; }
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-primary-nav a {
  min-width: 48px;
  padding: 6px 8px;
  display: grid;
  gap: 2px;
  place-items: center;
  border-radius: 10px;
  color: var(--scmk-theme-colors-text-secondary, var(--vibes-text-muted, #aeb7dc));
  text-decoration: none;
}
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-primary-nav a:hover,
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-primary-nav a.is-active {
  color: var(--scmk-theme-colors-text-primary, var(--vibes-text, #fff));
  background: color-mix(in srgb, var(--scmk-theme-colors-accent-primary, var(--vibes-primary, #ec168c)) 18%, transparent);
}
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-primary-nav a > span { font-size: 18px; line-height: 1; }
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-primary-nav small { font-size: 11px; }
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-topnav-utility,
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-userbar { display: flex; align-items: center; gap: 7px; }
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-utility-action {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--scmk-theme-colors-text-secondary, var(--vibes-text-muted, #aeb7dc));
  text-decoration: none;
  background: color-mix(in srgb, var(--scmk-theme-colors-surface-default, var(--vibes-surface, #17132d)) 84%, transparent);
}
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-utility-icon,
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-utility-icon svg { width: 18px; height: 18px; display: block; }
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-utility-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-utility-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-utility-action b {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  padding: 2px 5px;
  border-radius: 999px;
  color: #fff;
  background: var(--scmk-theme-colors-accent-primary, var(--vibes-primary, #ec168c));
  font-size: 10px;
  text-align: center;
}
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-account-menu { position: relative; }
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-account-menu > summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; }
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-account-menu > summary::-webkit-details-marker { display: none; }
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-account-avatar,
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-account-avatar .avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
}
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-account-avatar img { width: 100%; height: 100%; object-fit: cover; }
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .user-meta { min-width: 0; line-height: 1.15; }
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .user-meta strong,
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .user-meta small { display: block; white-space: nowrap; }
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .user-meta small { color: var(--scmk-theme-colors-accent-primary, var(--vibes-primary, #ec168c)); font-size: 11px; }
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-account-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 230px;
  padding: 8px;
  border: 1px solid var(--scmk-theme-colors-border-default, var(--vibes-border, rgba(255,255,255,.14)));
  border-radius: 14px;
  background: var(--scmk-theme-colors-surface-elevated, var(--vibes-surface-raised, #17132d));
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-account-panel a { display: block; padding: 10px 12px; border-radius: 10px; color: inherit; text-decoration: none; }
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-account-panel small { display: block; color: var(--scmk-theme-colors-text-secondary, var(--vibes-text-muted, #aeb7dc)); }
body.vibes-network-theme .vibes-topbar:not(.vibes-topbar--replica) .vibes-create-action {
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 11px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--scmk-theme-colors-accent-secondary, var(--vibes-secondary, #7c3cff)), var(--scmk-theme-colors-accent-primary, var(--vibes-primary, #ec168c)));
}


/* Pass507: Replica 0.3.3 Stream shell authority reset.
 * Blueprint Kit owns Stream page geometry, shell regions, rails, responsive collapse,
 * footer placement, and the Messenger overlay geometry. Vibes is structure-only on Stream.
 * Theme-profile tokens are consumed when present; Replica values are deterministic fallbacks.
 */
body.shiftcontrol-view-stream {
  /* Pass531: Feed Page(10).png is the 1536px desktop proportional authority.
   * These shell variables scale from that reference instead of freezing the
   * left rail/supporting rail at one desktop width. Module internals remain
   * Module Kit-owned and are not bitmap-scaled. */
  --sc-blueprint-authenticated-left-rail:max(196px,13.93vw);
  --sc-blueprint-authenticated-gap:max(14px,1.11vw);
  --sc-blueprint-authenticated-gutter:max(10px,.72vw);
  --sc-stream-canvas-gap:max(12px,.84vw);
  --sc-stream-support-gap:max(12px,.90vw);
  --sc-stream-topbar-logo-track:max(190px,13.73vw);
  --sc-stream-topbar-search-track:max(300px,25.39vw);
  --sc-stream-bg:#050816;
  --sc-stream-bg2:#070d22;
  --sc-stream-panel:rgba(12,20,48,.78);
  --sc-stream-panel2:rgba(17,27,62,.9);
  --sc-stream-border:rgba(139,168,255,.16);
  --sc-stream-text:#f8f7ff;
  --sc-stream-muted:#aeb7dc;
  --sc-stream-soft:#6f7aa8;
  --sc-stream-pink:#ff2f92;
  --sc-stream-mag:#d923ff;
  --sc-stream-purple:#7d3cff;
  --sc-stream-cyan:#29d9ff;
  --sc-stream-blue:#2f6bff;
  --sc-stream-orange:#ff7a22;
  --sc-stream-red:#ff335f;
  --sc-stream-green:#30ff9d;
  --sc-stream-radius:18px;
  --sc-stream-top:72px;
  margin:0;
  min-height:100vh;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  color:var(--sc-theme-text,var(--sc-stream-text));
  background:radial-gradient(circle at 20% 0%,rgba(125,60,255,.18),transparent 35%),radial-gradient(circle at 82% 18%,rgba(255,47,146,.14),transparent 32%),linear-gradient(180deg,#040616,#071126 60%,#050816);
  overflow-x:hidden;
}
body.shiftcontrol-view-stream *, body.shiftcontrol-view-stream *::before, body.shiftcontrol-view-stream *::after { box-sizing:border-box; }
html.sc-blueprint-adminbar-geometry-owned { margin-top:0 !important; padding-top:0 !important; }
html.sc-blueprint-adminbar-geometry-owned body.shiftcontrol-view-stream { padding-top:var(--sc-shell-adminbar-height,0px) !important; }

/* Replica topbar */
body.vibes-theme .vibes-topbar--replica[data-sc-blueprint-shell-topbar="v1"][data-sc-blueprint-shell-owner="shiftcontrol-blueprint-kit"] {
  position:sticky;
  top:var(--sc-shell-adminbar-height,0px);
  z-index:50;
  width:calc(100% - (2 * var(--sc-blueprint-authenticated-gutter)));
  height:auto;
  min-height:0;
  max-height:none;
  margin:14px auto 0;
  padding:10px 4px 16px;
  background:linear-gradient(180deg,rgba(5,8,22,.98),rgba(5,8,22,.82) 72%,transparent);
  backdrop-filter:blur(18px);
}
body.vibes-theme .vibes-topbar--replica > .vibes-topbar__inner[data-sc-blueprint-shell-region="topbar-inner"] {
  width:100%; margin:0; padding:0; display:grid; grid-template-columns:var(--sc-stream-topbar-logo-track) var(--sc-stream-topbar-search-track) minmax(0,1fr) auto; gap:var(--sc-blueprint-authenticated-gap); align-items:center;
}

/* Pass532: the authenticated Stream topbar consumes the same proportional
 * tracks declared by the 1536px blueprint authority. The explicit important
 * is a boundary assertion against generic theme grid defaults; paint and
 * brand containment remain Vibes-owned. */
@media (min-width:1601px) {
  body.shiftcontrol-view-stream.vibes-theme .vibes-topbar--replica > .vibes-topbar__inner[data-sc-blueprint-shell-region="topbar-inner"] {
    grid-template-columns:var(--sc-stream-topbar-logo-track) var(--sc-stream-topbar-search-track) minmax(0,1fr) auto !important;
  }
}
body.vibes-theme .vibes-topbar--replica .vibes-logo--replica { position:relative; text-decoration:none; color:var(--sc-stream-text); line-height:.82; }
body.vibes-theme .vibes-topbar--replica .vibes-logo--replica:not(.vibes-canonical-logo--fallback) .vibes-logo-word { font-family:"Brush Script MT","Segoe Script",cursive; font-size:45px; font-weight:900; letter-spacing:.5px; background:linear-gradient(135deg,#ff876f,#ff2f92 70%); -webkit-background-clip:text; background-clip:text; color:transparent; text-shadow:0 0 20px rgba(255,47,146,.38); }
body.vibes-theme .vibes-topbar--replica .vibes-logo-heart { color:var(--sc-stream-pink); font-size:18px; margin-left:8px; text-shadow:0 0 16px var(--sc-stream-pink); }
body.vibes-theme .vibes-topbar--replica .vibes-logo--replica small { display:block; margin-left:65px; margin-top:4px; color:#fff; font-size:11px; }
body.vibes-theme .vibes-topbar--replica .vibes-search { height:48px; border-radius:24px; display:flex; align-items:center; gap:12px; padding:0 18px; background:rgba(18,25,64,.82); border:1px solid rgba(139,168,255,.10); box-shadow:inset 0 1px 0 rgba(255,255,255,.05); }
body.vibes-theme .vibes-topbar--replica .vibes-search button { width:auto; height:auto; padding:0; border:0; background:transparent; color:#bfd1ff; font-size:25px; cursor:pointer; }
body.vibes-theme .vibes-topbar--replica .vibes-search input { width:100%; border:0; outline:0; background:transparent; color:var(--sc-stream-text); font-size:15px; }
body.vibes-theme .vibes-topbar--replica .vibes-search input::placeholder { color:#a9b1d9; }
body.vibes-theme .vibes-topbar--replica .vibes-primary-nav { display:flex; align-items:center; justify-content:center; gap:28px; }
body.vibes-theme .vibes-topbar--replica .vibes-primary-nav a { position:relative; min-width:72px; text-decoration:none; color:#c8d1ef; display:grid; gap:2px; place-items:center; transition:.25s; }
body.vibes-theme .vibes-topbar--replica .vibes-primary-nav a > span { font-size:24px; line-height:1; }
body.vibes-theme .vibes-topbar--replica .vibes-primary-nav a small { font-size:13px; }
body.vibes-theme .vibes-topbar--replica .vibes-primary-nav a:hover, body.vibes-theme .vibes-topbar--replica .vibes-primary-nav a.is-active { color:#fff; transform:translateY(-2px); }
body.vibes-theme .vibes-topbar--replica .vibes-primary-nav a.is-active::after { content:""; position:absolute; left:13px; right:13px; bottom:-12px; height:4px; border-radius:999px; background:linear-gradient(90deg,var(--sc-stream-pink),var(--sc-stream-mag)); box-shadow:0 0 18px var(--sc-stream-pink); }
body.vibes-theme .vibes-topbar--replica .vibes-primary-nav b { position:absolute; top:-9px; right:16px; padding:2px 7px; border-radius:999px; background:var(--sc-stream-pink); color:#fff; font-size:12px; box-shadow:0 0 16px rgba(255,47,146,.7); }
body.vibes-theme .vibes-topbar--replica .vibes-userbar { display:flex; align-items:center; gap:12px; }
body.vibes-theme .vibes-topbar--replica .vibes-userbar .icon-btn { height:36px; width:36px; border:0; border-radius:14px; background:transparent; color:#dbe5ff; cursor:pointer; }
body.vibes-theme .vibes-topbar--replica .vibes-userbar .glow-dot { color:#9bc9ff; text-shadow:0 0 12px var(--sc-stream-cyan); animation:scBlueprintPulse 2.2s infinite; }
body.vibes-theme .vibes-topbar--replica .vibes-switch { width:52px; height:28px; border:1px solid rgba(255,255,255,.14); background:linear-gradient(90deg,#273569,#130e36); border-radius:999px; padding:3px; cursor:default; }
body.vibes-theme .vibes-topbar--replica .vibes-switch span { display:block; width:20px; height:20px; border-radius:50%; background:#fff; box-shadow:0 0 18px rgba(255,255,255,.6); }
body.vibes-theme .vibes-topbar--replica .vibes-divider { width:1px; height:38px; background:rgba(255,255,255,.14); margin:0 4px; }
body.vibes-theme .vibes-topbar--replica .vibes-account-menu { position:relative; }
body.vibes-theme .vibes-topbar--replica .vibes-account-menu > summary { list-style:none; display:flex; align-items:center; gap:10px; cursor:pointer; }
body.vibes-theme .vibes-topbar--replica .vibes-account-menu > summary::-webkit-details-marker { display:none; }
body.vibes-theme .vibes-topbar--replica .vibes-account-avatar .avatar { width:46px; height:46px; border-radius:50%; object-fit:cover; overflow:hidden; display:grid; place-items:center; border:2px solid rgba(255,255,255,.18); box-shadow:0 0 0 2px rgba(255,47,146,.16),0 0 18px rgba(255,47,146,.16); background:#182044; }
body.vibes-theme .vibes-topbar--replica .vibes-account-avatar .avatar img { width:100%; height:100%; object-fit:cover; }
body.vibes-theme .vibes-topbar--replica .user-meta { line-height:1.15; min-width:70px; }
body.vibes-theme .vibes-topbar--replica .user-meta strong { display:block; font-size:15px; color:#fff; }
body.vibes-theme .vibes-topbar--replica .user-meta small { color:var(--sc-stream-pink); font-weight:700; }
body.vibes-theme .vibes-topbar--replica .vibes-account-caret { color:#dbe5ff; }
body.vibes-theme .vibes-topbar--replica .vibes-account-panel { position:absolute; right:0; top:calc(100% + 10px); width:230px; padding:8px; border:1px solid var(--sc-stream-border); border-radius:14px; background:rgba(8,15,38,.98); box-shadow:0 20px 50px rgba(0,0,0,.45); z-index:60; }
body.vibes-theme .vibes-topbar--replica .vibes-account-panel a { display:block; padding:10px 12px; border-radius:10px; color:#fff; text-decoration:none; }
body.vibes-theme .vibes-topbar--replica .vibes-account-panel a:hover { background:rgba(255,255,255,.06); }
body.vibes-theme .vibes-topbar--replica .vibes-account-panel small { display:block; color:var(--sc-stream-muted); font-size:11px; }
body.vibes-theme .vibes-topbar--replica .vibes-create-action { height:46px; border:0; border-radius:13px; padding:0 18px; display:flex; align-items:center; gap:8px; color:#fff; text-decoration:none; font-weight:800; background:linear-gradient(135deg,var(--sc-stream-mag),var(--sc-stream-pink) 50%,var(--sc-stream-orange)); box-shadow:0 14px 28px rgba(255,47,146,.28); transition:.25s; white-space:nowrap; }
body.vibes-theme .vibes-topbar--replica .vibes-create-action:hover { transform:translateY(-2px); box-shadow:0 18px 36px rgba(255,47,146,.38); }
body.shiftcontrol-view-stream .vibes-global-runtime-notice { width:min(calc(100% - 32px),1848px); margin:0 auto 12px; padding:10px 14px; border:1px solid var(--sc-stream-border); border-radius:12px; background:rgba(8,15,38,.9); }
body.shiftcontrol-view-stream .vibes-global-runtime-notice.is-error { border-color:rgba(255,51,95,.45); }

/* Authenticated Stream shell = Replica feed-shell: LEFT | PRIMARY + RIGHT. */
body.shiftcontrol-view-stream .vibes-authenticated-shell--stream > .sc-blueprint-authenticated-shell__body { width:100%; max-width:none; margin:16px 0 0; padding:0 var(--sc-blueprint-authenticated-gutter) 30px; display:grid; grid-template-columns:var(--sc-blueprint-authenticated-left-rail) minmax(0,1fr); gap:var(--sc-blueprint-authenticated-gap); align-items:start; }
body.shiftcontrol-view-stream .vibes-authenticated-shell--stream .sc-blueprint-authenticated-shell__left-rail { width:var(--sc-blueprint-authenticated-left-rail); position:sticky; top:calc(var(--sc-shell-adminbar-height,0px) + var(--sc-stream-top) + 16px); align-self:start; max-height:calc(100vh - var(--sc-shell-adminbar-height,0px) - var(--sc-stream-top) - 32px); overflow-x:hidden; overflow-y:auto; overscroll-behavior-y:contain; touch-action:pan-y; scrollbar-width:none; }
body.shiftcontrol-view-stream .vibes-authenticated-shell--stream .sc-blueprint-authenticated-shell__canvas { min-width:0; overflow:visible; }
body.shiftcontrol-view-stream .sc-blueprint--layout-social-four-column-stream { box-sizing:border-box; width:100%; max-width:none; margin:0; padding:0; display:grid; grid-template-columns:minmax(0,1.18fr) minmax(0,1fr); gap:var(--sc-stream-canvas-gap); align-items:start; overflow:visible; }
body.shiftcontrol-view-stream .sc-blueprint--layout-social-four-column-stream > .sc-blueprint-region--primary { min-width:0; width:100%; }
body.shiftcontrol-view-stream .sc-blueprint--layout-social-four-column-stream > .sc-blueprint-stream-supporting-rail { min-width:0; width:100%; max-height:calc(100vh - var(--sc-shell-adminbar-height,0px) - var(--sc-stream-top) - 16px); display:grid; grid-template-columns:minmax(0,.87fr) minmax(0,1fr); gap:var(--sc-stream-support-gap); align-items:start; align-self:start; position:sticky; top:calc(var(--sc-shell-adminbar-height,0px) + var(--sc-stream-top)); }
body.shiftcontrol-view-stream .sc-blueprint-stream-supporting-rail > .sc-blueprint-region--context_rail,
body.shiftcontrol-view-stream .sc-blueprint-stream-supporting-rail > .sc-blueprint-region--right_rail { min-width:0; width:100%; align-self:start; position:static; top:auto; max-height:calc(100vh - var(--sc-shell-adminbar-height,0px) - var(--sc-stream-top) - 16px); overflow-x:hidden; overflow-y:auto; overscroll-behavior-y:contain; touch-action:pan-y; scrollbar-width:none; }
body.shiftcontrol-view-stream .vibes-authenticated-shell--stream .sc-blueprint-authenticated-shell__left-rail::-webkit-scrollbar,
body.shiftcontrol-view-stream .sc-blueprint-stream-supporting-rail > .sc-blueprint-region--context_rail::-webkit-scrollbar,
body.shiftcontrol-view-stream .sc-blueprint-stream-supporting-rail > .sc-blueprint-region--right_rail::-webkit-scrollbar { display:none; width:0; height:0; }

/* Replica left rail */
body.shiftcontrol-view-stream .vibes-left-rail .nav-card,
body.shiftcontrol-view-stream .vibes-footer-inner { background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.02)),rgba(8,15,38,.82); border:1px solid var(--sc-stream-border); box-shadow:0 24px 70px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.06); border-radius:var(--sc-stream-radius); backdrop-filter:blur(18px); }
body.shiftcontrol-view-stream .vibes-left-rail .nav-card { padding:10px; }
body.shiftcontrol-view-stream .vibes-left-rail .rail-item { height:42px; border-radius:12px; text-decoration:none; color:#f0f4ff; display:flex; align-items:center; gap:14px; padding:0 15px; position:relative; transition:.2s; }
body.shiftcontrol-view-stream .vibes-left-rail .rail-item > span:first-child { width:22px; color:#63dcff; text-shadow:0 0 10px rgba(41,217,255,.45); text-align:center; }
body.shiftcontrol-view-stream .vibes-left-rail .rail-item:hover { background:rgba(255,255,255,.06); transform:translateX(3px); }
body.shiftcontrol-view-stream .vibes-left-rail .rail-item.is-active { background:linear-gradient(90deg,#ff3155,#7f23d5); box-shadow:0 8px 26px rgba(255,47,146,.25); font-weight:800; }
body.shiftcontrol-view-stream .vibes-left-rail .rail-item.is-active > span:first-child { color:#fff; }
body.shiftcontrol-view-stream .vibes-left-rail .badge,
body.shiftcontrol-view-stream .vibes-left-rail .rail-item em { margin-left:auto; border-radius:999px; background:var(--sc-stream-pink); color:#fff; font-style:normal; font-size:12px; font-weight:800; padding:2px 7px; }
body.shiftcontrol-view-stream .vibes-left-rail .rail-item em { font-size:11px; }

/* Three-column family remains Blueprint-owned and unchanged in authority. */
body.shiftcontrol-view-stream .sc-blueprint--layout-social-three-column-stream { box-sizing:border-box; width:100%; max-width:none; margin:0; padding:0; display:grid; grid-template-columns:minmax(0,68fr) minmax(0,32fr); grid-template-areas:"primary right"; gap:16px; align-items:start; }
body.shiftcontrol-view-stream .sc-blueprint--layout-social-three-column-stream > .sc-blueprint-region--primary { grid-area:primary; min-width:0; width:100%; }
body.shiftcontrol-view-stream .sc-blueprint--layout-social-three-column-stream > .sc-blueprint-region--right_rail { grid-area:right; min-width:0; width:100%; position:sticky; top:calc(var(--sc-shell-adminbar-height,0px) + var(--sc-shell-topbar-clearance-height,88px) + 16px); max-height:none; overflow:visible; }

/* Footer */
body.shiftcontrol-view-stream .vibes-footer { width:100%; margin:14px 0 184px; }
body.shiftcontrol-view-stream .vibes-footer-inner {
  display:block;
  padding:14px 16px 13px;
  border-radius:15px;
  background:linear-gradient(180deg,rgba(18,27,61,.9),rgba(8,16,39,.94));
  border-color:rgba(112,137,204,.25);
  box-shadow:0 15px 38px rgba(0,0,0,.23),inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter:blur(14px);
}
body.shiftcontrol-view-stream .footer-links { display:flex; flex-wrap:nowrap; align-items:center; justify-content:flex-start; gap:0; }
body.shiftcontrol-view-stream .footer-links a { display:inline-flex; align-items:center; text-decoration:none; color:#c5c9df; font-size:9.5px; line-height:1; transition:.2s; white-space:nowrap; }
body.shiftcontrol-view-stream .footer-links a + a::before { content:"·"; margin:0 6px; color:#757f9f; }
body.shiftcontrol-view-stream .footer-links a:hover { color:#fff; text-shadow:0 0 14px rgba(255,47,146,.22); }
body.shiftcontrol-view-stream .footer-signature { min-width:0; display:flex; align-items:center; gap:14px; margin-top:12px; padding-top:12px; border-top:1px solid rgba(124,143,200,.16); }
body.shiftcontrol-view-stream .footer-brand { flex:0 0 auto; display:inline-flex; align-items:center; gap:8px; color:#eef1ff; text-decoration:none; }
body.shiftcontrol-view-stream .footer-monogram { color:#ff2f92; font-family:"Brush Script MT","Segoe Script",cursive; font-size:23px; line-height:1; font-weight:900; font-style:italic; text-shadow:0 0 13px rgba(255,47,146,.38); transform:rotate(-5deg); }
body.shiftcontrol-view-stream .footer-brand strong { color:#eef1ff; font-size:12px; line-height:1; font-weight:720; }
body.shiftcontrol-view-stream .footer-signature > small { min-width:0; color:#929bbb; font-size:9.5px; line-height:1.2; white-space:nowrap; }

/* Messenger Replica overlay */
body.shiftcontrol-view-stream .vibes-messenger-dock { position:fixed; right:18px; bottom:18px; z-index:40; display:flex; align-items:flex-end; gap:12px; pointer-events:none; }
body.shiftcontrol-view-stream .vibes-messenger-dock > * { pointer-events:auto; }
body.shiftcontrol-view-stream .messenger-panel { width:340px; max-width:calc(100vw - 108px); border-radius:22px; overflow:hidden; color:#fff; background:linear-gradient(180deg,rgba(255,47,146,.12),rgba(8,15,38,.93) 22%,rgba(7,13,34,.98)); border:1px solid var(--sc-stream-border); box-shadow:0 30px 80px rgba(0,0,0,.42),0 0 0 1px rgba(138,162,255,.12),0 0 40px rgba(255,47,146,.12); transform-origin:bottom right; transition:transform .25s ease,opacity .25s ease,visibility .25s ease; }
body.shiftcontrol-view-stream .messenger-head { display:flex; align-items:center; justify-content:space-between; padding:14px 14px 12px; border-bottom:1px solid rgba(255,255,255,.08); background:linear-gradient(135deg,rgba(255,47,146,.18),rgba(41,217,255,.08)); }
body.shiftcontrol-view-stream .messenger-person { display:flex; align-items:center; gap:12px; min-width:0; }
body.shiftcontrol-view-stream .messenger-person strong { min-width:0; }
body.shiftcontrol-view-stream .messenger-person small { display:block; color:var(--sc-stream-muted); }
body.shiftcontrol-view-stream .messenger-avatar-wrap, body.shiftcontrol-view-stream .messenger-contact-avatar { position:relative; display:inline-grid; }
body.shiftcontrol-view-stream .messenger-avatar-wrap .avatar { width:46px; height:46px; border-radius:50%; overflow:hidden; background:#182044; }
body.shiftcontrol-view-stream .messenger-avatar-wrap img, body.shiftcontrol-view-stream .chat-avatar img, body.shiftcontrol-view-stream .messenger-contact-avatar img { width:100%; height:100%; border-radius:50%; object-fit:cover; }
body.shiftcontrol-view-stream .messenger-avatar-wrap i, body.shiftcontrol-view-stream .messenger-contact-avatar i, body.shiftcontrol-view-stream .launcher-main i { position:absolute; right:2px; bottom:2px; width:10px; height:10px; border-radius:50%; background:#31ffb4; border:2px solid #081028; box-shadow:0 0 12px rgba(49,255,180,.5); animation:scBlueprintPulse 2.1s infinite; }
body.shiftcontrol-view-stream .messenger-actions { display:flex; align-items:center; gap:8px; }
body.shiftcontrol-view-stream .messenger-actions .icon-btn, body.shiftcontrol-view-stream .messenger-foot .icon-btn { width:34px; height:34px; border:0; border-radius:12px; display:grid; place-items:center; text-decoration:none; background:rgba(255,255,255,.06); color:#dbe5ff; }
body.shiftcontrol-view-stream .messenger-size-control { display:none; }
body.shiftcontrol-view-stream .messenger-body { padding:14px; height:300px; overflow:auto; display:flex; flex-direction:column; gap:12px; background:radial-gradient(circle at top left,rgba(125,60,255,.08),transparent 38%),linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,0)); scrollbar-width:thin; scrollbar-color:rgba(255,47,146,.88) rgba(255,255,255,.06); }
body.shiftcontrol-view-stream .messenger-day-label { align-self:center; color:var(--sc-stream-muted); font-size:11px; }
body.shiftcontrol-view-stream .message-row { display:flex; gap:10px; align-items:flex-end; }
body.shiftcontrol-view-stream .message-row.outbound { justify-content:flex-end; }
body.shiftcontrol-view-stream .chat-avatar { width:34px; height:34px; flex:0 0 34px; border-radius:50%; overflow:hidden; background:#182044; }
body.shiftcontrol-view-stream .message-bubble { max-width:230px; padding:12px 13px; border-radius:18px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.045); box-shadow:inset 0 1px 0 rgba(255,255,255,.04); }
body.shiftcontrol-view-stream .outbound .message-bubble { background:linear-gradient(135deg,rgba(47,107,255,.75),rgba(217,35,255,.72)); border-color:rgba(255,255,255,.12); }
body.shiftcontrol-view-stream .message-bubble p { margin:0 0 6px; font-size:14px; line-height:1.42; }
body.shiftcontrol-view-stream .message-bubble small { display:block; color:var(--sc-stream-muted); font-size:11px; }
body.shiftcontrol-view-stream .outbound .message-bubble small { color:rgba(255,255,255,.82); }
body.shiftcontrol-view-stream .messenger-foot { display:grid; grid-template-columns:38px 1fr; gap:10px; align-items:center; padding:12px 14px 14px; border-top:1px solid rgba(255,255,255,.08); background:rgba(6,10,26,.96); }
body.shiftcontrol-view-stream .vibes-messenger-send-form { min-width:0; display:grid; grid-template-columns:1fr 34px 34px; gap:8px; align-items:center; }
body.shiftcontrol-view-stream .messenger-input { display:block; min-width:0; }
body.shiftcontrol-view-stream .messenger-input input { width:100%; height:42px; border-radius:999px; border:1px solid rgba(138,162,255,.14); background:rgba(255,255,255,.045); color:#fff; padding:0 16px; font:inherit; outline:none; box-shadow:inset 0 1px 0 rgba(255,255,255,.05); }
body.shiftcontrol-view-stream .messenger-stack { display:flex; flex-direction:column; align-items:flex-end; gap:10px; }
body.shiftcontrol-view-stream .messenger-launcher { display:flex; align-items:center; gap:12px; padding:10px 14px; border:0; border-radius:999px; background:linear-gradient(135deg,rgba(255,47,146,.95),rgba(47,107,255,.88)); color:#fff; box-shadow:0 18px 38px rgba(0,0,0,.35),0 0 0 1px rgba(255,255,255,.08); min-width:182px; transition:transform .2s ease,box-shadow .2s ease; }
body.shiftcontrol-view-stream .launcher-main { position:relative; width:44px; height:44px; border-radius:50%; display:grid; place-items:center; flex:0 0 auto; background:rgba(0,0,0,.14); }
body.shiftcontrol-view-stream .launcher-copy { display:flex; flex-direction:column; align-items:flex-start; line-height:1.1; }
body.shiftcontrol-view-stream .launcher-copy small { color:rgba(255,255,255,.82); }
body.shiftcontrol-view-stream .messenger-contact-list { display:flex; flex-direction:column; gap:8px; }
body.shiftcontrol-view-stream .messenger-contact-tile { width:52px; height:52px; display:block; text-decoration:none; position:relative; }
body.shiftcontrol-view-stream .messenger-contact-avatar { width:52px; height:52px; padding:3px; border-radius:50%; background:linear-gradient(135deg,rgba(255,47,146,.95),rgba(41,217,255,.92)); box-shadow:0 14px 30px rgba(0,0,0,.34),0 0 0 1px rgba(255,255,255,.08); }
body.shiftcontrol-view-stream .messenger-contact-tile > strong { display:none; }
body.shiftcontrol-view-stream .messenger-new-chat { width:52px; height:52px; display:grid; place-items:center; border-radius:50%; text-decoration:none; color:#fff; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.08); }
body.shiftcontrol-view-stream .messenger-new-chat strong { display:none; }
body.shiftcontrol-view-stream .vibes-messenger-dock:not(.is-open) .messenger-panel { opacity:0; visibility:hidden; transform:translateY(10px) scale(.96); }
body.shiftcontrol-view-stream .vibes-messenger-dock:not(.is-open) .messenger-launcher { min-width:auto; width:62px; height:62px; padding:8px; justify-content:center; }
body.shiftcontrol-view-stream .vibes-messenger-dock:not(.is-open) .launcher-copy { display:none; }

@keyframes scBlueprintPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.72;transform:scale(.94)} }

@media (max-width:1600px) {
  body.vibes-theme .vibes-topbar--replica .vibes-logo--replica { min-width:0; overflow:visible; }
  body.vibes-theme .vibes-topbar--replica .vibes-logo--replica:not(.vibes-canonical-logo--fallback) .vibes-logo-word { font-size:43px; white-space:nowrap; }
  body.vibes-theme .vibes-topbar--replica .vibes-primary-nav { gap:14px; }
  body.vibes-theme .vibes-topbar--replica .vibes-primary-nav a { min-width:62px; }
  body.shiftcontrol-view-stream .vibes-authenticated-shell--stream > .sc-blueprint-authenticated-shell__body { grid-template-columns:var(--sc-blueprint-authenticated-left-rail) minmax(0,1fr); gap:var(--sc-blueprint-authenticated-gap); }
  body.shiftcontrol-view-stream .vibes-authenticated-shell--stream .sc-blueprint-authenticated-shell__left-rail { width:var(--sc-blueprint-authenticated-left-rail); }
  /* Keep the qualified Stream rails side-by-side inside the available desktop canvas.
     The previous 600px + 620px minimums exceeded the canvas at this breakpoint,
     forcing document overflow and collapsing the supporting rail to one column. */
  body.shiftcontrol-view-stream .sc-blueprint--layout-social-four-column-stream { grid-template-columns:minmax(0,1.18fr) minmax(0,1fr); gap:var(--sc-stream-canvas-gap); }
  body.shiftcontrol-view-stream .sc-blueprint--layout-social-four-column-stream > .sc-blueprint-stream-supporting-rail { grid-template-columns:minmax(0,.87fr) minmax(0,1fr); }
  body.shiftcontrol-view-stream .sc-blueprint--layout-social-four-column-stream > .sc-blueprint-region--primary { gap:10px; }
}
@media (min-width:1181px) and (max-width:1220px) {
  body.vibes-theme .vibes-topbar--replica > .vibes-topbar__inner[data-sc-blueprint-shell-region="topbar-inner"] { grid-template-columns:190px minmax(0,1fr) auto; }
  body.vibes-theme .vibes-topbar--replica .vibes-primary-nav { display:none; }
  body.vibes-theme .vibes-topbar--replica .vibes-logo--replica:not(.vibes-canonical-logo--fallback) .vibes-logo-word { font-size:36px; }
  body.shiftcontrol-view-stream .vibes-authenticated-shell--stream > .sc-blueprint-authenticated-shell__body { padding-inline:var(--sc-blueprint-authenticated-gutter); display:grid; grid-template-columns:var(--sc-blueprint-authenticated-left-rail) minmax(0,1fr); column-gap:var(--sc-blueprint-authenticated-gap); row-gap:20px; }
  body.shiftcontrol-view-stream .vibes-authenticated-shell--stream .sc-blueprint-authenticated-shell__left-rail { display:block; position:sticky; width:var(--sc-blueprint-authenticated-left-rail); max-height:calc(100vh - var(--sc-shell-adminbar-height,0px) - 120px); overflow:auto; }
  body.shiftcontrol-view-stream .vibes-authenticated-shell--stream .sc-blueprint-authenticated-shell__canvas { min-width:0; display:block; }
  body.shiftcontrol-view-stream .vibes-authenticated-shell--stream .sc-blueprint--layout-social-four-column-stream { min-width:0; display:grid; }
  body.shiftcontrol-view-stream .vibes-authenticated-shell--stream .sc-blueprint--layout-social-four-column-stream > .sc-blueprint-region--primary { grid-column:2; grid-row:1; }
  body.shiftcontrol-view-stream .vibes-authenticated-shell--stream .sc-blueprint--layout-social-four-column-stream > .sc-blueprint-stream-supporting-rail { grid-column:1/-1; grid-row:2; grid-template-columns:repeat(2,minmax(0,1fr)); position:static; max-height:none; }
  body.shiftcontrol-view-stream .sc-blueprint-stream-supporting-rail > .sc-blueprint-region--context_rail,
  body.shiftcontrol-view-stream .sc-blueprint-stream-supporting-rail > .sc-blueprint-region--right_rail { max-height:none; overflow:visible; overscroll-behavior:auto; touch-action:auto; scrollbar-width:auto; }
  body.shiftcontrol-view-stream .vibes-footer-inner { text-align:left; }
  body.shiftcontrol-view-stream .vibes-messenger-dock { right:12px; bottom:12px; }
  body.shiftcontrol-view-stream .messenger-panel { width:320px; }
}
@media (max-width:1180px) {
  body.shiftcontrol-view-stream .vibes-authenticated-shell--stream > .sc-blueprint-authenticated-shell__body { grid-template-columns:minmax(0,1fr); padding-inline:12px; }
  body.shiftcontrol-view-stream .vibes-authenticated-shell--stream .sc-blueprint-authenticated-shell__left-rail { display:none; position:static; width:auto; max-height:none; overflow:visible; }
}
@media (max-width:979px) {
  body.shiftcontrol-view-stream .sc-blueprint--layout-social-three-column-stream { grid-template-columns:minmax(0,1fr); grid-template-areas:"primary"; }
  body.shiftcontrol-view-stream .sc-blueprint--layout-social-three-column-stream > .sc-blueprint-region--right_rail { position:static; }
}
@media (max-width:900px) {
  body.vibes-theme .vibes-topbar--replica[data-sc-blueprint-shell-topbar="v1"] { width:calc(100% - 16px); margin-top:8px; }
  body.vibes-theme .vibes-topbar--replica > .vibes-topbar__inner[data-sc-blueprint-shell-region="topbar-inner"] {
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-areas:"brand account" "navigation navigation";
    column-gap:10px;
    row-gap:7px;
  }
  body.vibes-theme .vibes-topbar--replica .vibes-logo--replica { grid-area:brand; min-width:0; }
  body.vibes-theme .vibes-topbar--replica .vibes-search { display:none; }
  body.vibes-theme .vibes-topbar--replica .vibes-primary-nav {
    grid-area:navigation;
    display:grid !important;
    grid-template-columns:repeat(5,minmax(0,1fr));
    width:100%;
    gap:0 !important;
    overflow:visible;
  }
  body.vibes-theme .vibes-topbar--replica .vibes-primary-nav a {
    flex:1 1 20%;
    width:20%;
    min-width:44px !important;
    min-height:44px;
    padding:4px 2px;
    transform:none !important;
  }
  body.vibes-theme .vibes-topbar--replica .vibes-primary-nav a > span { font-size:19px; }
  body.vibes-theme .vibes-topbar--replica .vibes-primary-nav a small { max-width:100%; overflow:hidden; text-overflow:ellipsis; font-size:10px; }
  body.vibes-theme .vibes-topbar--replica .vibes-primary-nav a.is-active::after { left:20%; right:20%; bottom:0; }
  body.vibes-theme .vibes-topbar--replica .vibes-userbar { grid-area:account; min-width:0; justify-content:flex-end; }
  body.vibes-theme .vibes-topbar--replica .vibes-logo--replica,
  body.vibes-theme .vibes-topbar--replica .vibes-account-menu > summary { min-height:44px; }
  body.shiftcontrol-view-stream .vibes-authenticated-shell--stream > .sc-blueprint-authenticated-shell__body { padding-inline:12px; display:block; }
  /* The theme declares compact navigation chrome; rails are no longer document-flow content on narrow viewports. */
  body.shiftcontrol-view-stream.vibes-network-theme .vibes-authenticated-shell--stream .sc-blueprint-authenticated-shell__left-rail { display:none; }
  body.shiftcontrol-view-stream .vibes-left-rail .nav-card { display:grid; grid-template-columns:repeat(2,1fr); }
  body.shiftcontrol-view-stream .vibes-authenticated-shell--stream .sc-blueprint--layout-social-four-column-stream { display:block; grid-template-columns:minmax(0,1fr); }
  body.shiftcontrol-view-stream .vibes-authenticated-shell--stream .sc-blueprint--layout-social-four-column-stream > .sc-blueprint-region--primary { width:100%; margin-bottom:20px; }
  body.shiftcontrol-view-stream .vibes-authenticated-shell--stream .sc-blueprint--layout-social-four-column-stream > .sc-blueprint-stream-supporting-rail { display:none; width:100%; grid-template-columns:1fr; position:static; }
  body.shiftcontrol-view-stream .vibes-messenger-dock { right:10px; left:10px; bottom:10px; justify-content:flex-end; }
  body.shiftcontrol-view-stream .messenger-panel { width:min(100%,420px); }
  body.shiftcontrol-view-stream .messenger-contact-list, body.shiftcontrol-view-stream .messenger-new-chat { display:none; }
  body.shiftcontrol-view-stream .footer-links { justify-content:center; flex-wrap:wrap; row-gap:4px; }
  body.shiftcontrol-view-stream .footer-links a { min-width:44px; min-height:44px; justify-content:center; }
  body.shiftcontrol-view-stream .footer-brand { min-height:44px; }
}
@media (max-width:640px) {
  body.shiftcontrol-view-stream .vibes-authenticated-shell--stream > .sc-blueprint-authenticated-shell__body { padding-inline:10px; }
  body.shiftcontrol-view-stream .vibes-left-rail .nav-card { grid-template-columns:1fr; }
  body.vibes-theme .vibes-topbar--replica .user-meta, body.vibes-theme .vibes-topbar--replica .vibes-divider, body.vibes-theme .vibes-topbar--replica .vibes-switch, body.shiftcontrol-view-stream .glow-dot { display:none; }
  body.vibes-theme .vibes-topbar--replica .vibes-create-action { padding:0 12px; }
  body.shiftcontrol-view-stream .vibes-footer { margin:14px 0 72px; }
  body.shiftcontrol-view-stream .vibes-footer-inner { padding:16px; }
  body.shiftcontrol-view-stream .footer-links { justify-content:center; flex-wrap:wrap; row-gap:4px; }
  body.shiftcontrol-view-stream .footer-links a { min-width:44px; justify-content:center; }
  body.shiftcontrol-view-stream .footer-links a,
  body.shiftcontrol-view-stream .footer-brand { min-height:44px; }
  body.shiftcontrol-view-stream .footer-signature { justify-content:center; gap:12px; }
  body.shiftcontrol-view-stream .footer-signature > small { white-space:normal; }
  body.shiftcontrol-view-stream .vibes-messenger-dock { left:auto; }
  body.shiftcontrol-view-stream .messenger-panel { max-width:calc(100vw - 20px); width:calc(100vw - 20px); }
  body.shiftcontrol-view-stream .messenger-body { height:240px; }
}
@media (prefers-reduced-motion:reduce) {
  body.shiftcontrol-view-stream *, body.shiftcontrol-view-stream *::before, body.shiftcontrol-view-stream *::after { animation:none; transition-duration:.01ms; scroll-behavior:auto; }
}

/* Pages keeps page-owned scroll after the generic rail authority rules. */
.sc-blueprint-pages-shell .sc-blueprint-pages-shell__left-rail {
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
}

.sc-blueprint-pages-shell .sc-blueprint[data-sc-blueprint-rail-profile="rail.pages"] .sc-blueprint-region--right_rail {
  top: calc(var(--sc-shell-adminbar-height, 0px) + 104px);
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
  scrollbar-gutter: auto;
}

.sc-blueprint-pages-shell__canvas > .sc-blueprint--layout-pages {
  padding: 0;
}

/* Pass501: page-level Media Canvas containment and scroll authority. */
.sc-blueprint-region--media_canvas {
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  width: 100vw;
  height: 100dvh;
  pointer-events: none;
}

.sc-blueprint-region--media_canvas:empty {
  display: none;
}

.sc-blueprint-region--media_canvas > [data-scmk-media-canvas],
body > [data-scmk-media-canvas] {
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  display: block;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  pointer-events: auto;
  background: var(--scbk-media-canvas-surface, Canvas);
  color: var(--scbk-media-canvas-text, CanvasText);
  overscroll-behavior: contain;
}

html:has(body.scbk-media-canvas-open),
body.scbk-media-canvas-open {
  overflow: hidden;
  overscroll-behavior: none;
}

@supports not (height: 100dvh) {
  .sc-blueprint-region--media_canvas,
  .sc-blueprint-region--media_canvas > [data-scmk-media-canvas],
  body > [data-scmk-media-canvas] {
    height: 100vh;
    max-height: 100vh;
  }
}


/* Pass514: Forum directory composite geometry. Blueprint Kit owns only region placement. */
.sc-blueprint--layout-community[data-sc-blueprint-surface="forum"]{grid-template-columns:minmax(0,1fr) var(--sc-blueprint-profile-rail);align-items:start}
.sc-blueprint--layout-community[data-sc-blueprint-surface="forum"]>.sc-blueprint-region--hero{grid-column:1;grid-row:1;min-width:0}
.sc-blueprint--layout-community[data-sc-blueprint-surface="forum"]>.sc-blueprint-region--categories{grid-column:1;grid-row:2;min-width:0}
.sc-blueprint--layout-community[data-sc-blueprint-surface="forum"]>.sc-blueprint-region--primary{grid-column:1;grid-row:3;min-width:0}
.sc-blueprint--layout-community[data-sc-blueprint-surface="forum"]>.sc-blueprint-region--right_rail{grid-column:2;grid-row:1 / span 3;min-width:0}
@media(max-width:900px){.sc-blueprint--layout-community[data-sc-blueprint-surface="forum"]{grid-template-columns:minmax(0,1fr)!important}.sc-blueprint--layout-community[data-sc-blueprint-surface="forum"]>.sc-blueprint-region{grid-column:1!important;grid-row:auto!important}}

/* Shell Navigation blueprint board: composition and responsive placement only. */
body.vibes-network-theme:not(.shiftcontrol-view-stream){
  --sc-blueprint-authenticated-left-rail:236px;
  --sc-blueprint-authenticated-gap:18px;
  --sc-blueprint-filter-rail:270px;
  color:#f6f3ff;
  background:radial-gradient(circle at 12% 0%,rgba(109,42,199,.16),transparent 33%),radial-gradient(circle at 88% 12%,rgba(232,25,148,.11),transparent 29%),linear-gradient(180deg,#050615,#080b20 58%,#050714);
}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica)[data-sc-blueprint-shell-topbar="v1"]{border:0;border-bottom:1px solid rgba(110,124,203,.16);border-radius:0;background:linear-gradient(180deg,rgba(5,6,20,.98),rgba(7,9,27,.94));box-shadow:0 15px 44px rgba(0,0,0,.24);backdrop-filter:blur(20px)}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica)>.vibes-topbar__inner[data-sc-blueprint-shell-region="topbar-inner"]{grid-template-columns:160px minmax(230px,340px) minmax(350px,1fr) max-content max-content max-content!important;gap:14px!important;padding-inline:22px!important}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) .vibes-logo--shell-suite{position:relative;display:block!important;min-width:150px!important;color:#fff!important;line-height:.78;text-decoration:none}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) .vibes-logo--shell-suite>.vibes-logo-word{display:inline!important;width:auto!important;height:auto!important;min-width:0!important;border-radius:0!important;background:linear-gradient(135deg,#ff896d,#ff315e 46%,#ef1aa8 92%)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;box-shadow:none!important;font-family:"Brush Script MT","Segoe Script",cursive!important;font-size:38px!important;font-weight:900!important;letter-spacing:.4px!important;text-shadow:0 0 18px rgba(255,45,127,.28)!important}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) .vibes-logo--shell-suite>.vibes-logo-heart{display:inline!important;width:auto!important;height:auto!important;margin-left:5px;color:#ff2d8d!important;background:none!important;font-size:12px!important;text-shadow:0 0 12px #ff2d8d}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) .vibes-logo--shell-suite>small{display:block;margin:5px 0 0 38px;color:#fff;font-size:8px;letter-spacing:.02em}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) .vibes-search{height:40px!important;border-color:rgba(112,130,206,.12)!important;background:rgba(18,24,58,.8)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) .vibes-primary-nav{align-self:stretch;gap:7px!important}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) .vibes-primary-nav a{position:relative;min-width:56px!important;padding:7px 9px 8px!important;border-radius:9px!important;background:transparent!important}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) .vibes-primary-nav a:after{content:"";position:absolute;left:20%;right:20%;bottom:0;height:2px;border-radius:2px;background:linear-gradient(90deg,#ff3558,#db1bd4);opacity:0;transform:scaleX(.5);transition:.18s ease;box-shadow:0 0 9px #e721aa}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) .vibes-primary-nav a:hover:after,body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) .vibes-primary-nav a.is-active:after{opacity:1;transform:scaleX(1)}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) .vibes-primary-nav a.is-active{color:#fff!important}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) .vibes-primary-nav a>span{color:#d7d9ec;font-size:16px!important}body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) .vibes-primary-nav small{font-size:10px!important;font-weight:650}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) .vibes-utility-action{width:34px!important;height:34px!important;border-radius:10px!important;background:rgba(16,22,51,.76)!important}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) .vibes-create-action{height:40px!important;border-radius:10px!important;background:linear-gradient(135deg,#a606c6,#ee148f 62%,#ff6335)!important;box-shadow:0 8px 22px rgba(221,18,154,.25)}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .sc-blueprint-authenticated-shell__body{margin-top:16px;padding-inline:var(--sc-blueprint-authenticated-gutter);gap:var(--sc-blueprint-authenticated-gap)}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .sc-blueprint-authenticated-shell__left-rail{top:calc(var(--sc-shell-adminbar-height,0px) + 88px);width:var(--sc-blueprint-authenticated-left-rail);max-height:calc(100vh - var(--sc-shell-adminbar-height,0px) - 104px);scrollbar-width:thin}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .sc-blueprint-authenticated-shell__canvas>.sc-blueprint{padding:0;gap:16px}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .sc-blueprint-adapter-slot>.sc-blueprint-slot{display:grid;gap:14px}

body.shiftcontrol-view-directory .sc-blueprint--layout-directory{grid-template-columns:270px minmax(0,1fr);max-width:1160px;gap:18px}
body.shiftcontrol-view-directory .sc-blueprint--layout-directory>.sc-blueprint-region--filters{grid-column:1;grid-row:1;position:sticky;top:calc(var(--sc-shell-adminbar-height,0px) + 86px);align-self:start}
body.shiftcontrol-view-directory .sc-blueprint--layout-directory>.sc-blueprint-region--primary{grid-column:2;grid-row:1}
body.shiftcontrol-view-directory .sc-blueprint--layout-directory>.sc-blueprint-region--right_rail{display:none}
body.shiftcontrol-view-directory .sc-blueprint-region--primary>.sc-blueprint-adapter-slot:has(.scmk-rendered-slot--capability-blocked){display:block}

body.shiftcontrol-view-jobs .sc-blueprint--layout-marketplace{display:block;max-width:1180px;padding-top:clamp(28px,5vw,72px)}
body.shiftcontrol-view-jobs .sc-blueprint--layout-marketplace>.sc-blueprint-region--filters{width:100%;position:static;max-height:none;overflow:visible}
body.shiftcontrol-view-jobs .sc-blueprint--layout-marketplace>.sc-blueprint-region--primary,body.shiftcontrol-view-jobs .sc-blueprint--layout-marketplace>.sc-blueprint-region--right_rail{display:none}

@media(max-width:1320px){body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica)>.vibes-topbar__inner[data-sc-blueprint-shell-region="topbar-inner"]{grid-template-columns:150px minmax(190px,280px) minmax(300px,1fr) max-content max-content!important}body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) [data-sc-blueprint-shell-region-role="create-action"]{display:none!important}}
@media(max-width:1180px){body.vibes-network-theme:not(.shiftcontrol-view-stream) .sc-blueprint-authenticated-shell__left-rail{display:none}body.vibes-network-theme:not(.shiftcontrol-view-stream) .sc-blueprint-authenticated-shell__body{grid-template-columns:minmax(0,1fr)}body.shiftcontrol-view-directory .sc-blueprint--layout-directory{grid-template-columns:250px minmax(0,1fr)}body.shiftcontrol-view-directory .sc-blueprint--layout-directory>.sc-blueprint-region--filters{display:grid!important;grid-column:1;position:static}body.shiftcontrol-view-directory .sc-blueprint--layout-directory>.sc-blueprint-region--primary{grid-column:2}}
@media(max-width:900px){body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica)>.vibes-topbar__inner[data-sc-blueprint-shell-region="topbar-inner"]{grid-template-columns:132px minmax(0,1fr) max-content max-content!important}body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) .vibes-logo--shell-suite>.vibes-logo-word{font-size:32px!important}body.shiftcontrol-view-directory .sc-blueprint--layout-directory{grid-template-columns:minmax(0,1fr)}body.shiftcontrol-view-directory .sc-blueprint--layout-directory>.sc-blueprint-region--filters,body.shiftcontrol-view-directory .sc-blueprint--layout-directory>.sc-blueprint-region--primary{grid-column:1;grid-row:auto}body.shiftcontrol-view-directory .sc-blueprint--layout-directory>.sc-blueprint-region--filters{grid-template-columns:1fr 1fr}}
@media(max-width:640px){body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica)>.vibes-topbar__inner[data-sc-blueprint-shell-region="topbar-inner"]{grid-template-columns:94px minmax(0,1fr) max-content!important;padding-inline:10px!important}body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) .vibes-logo--shell-suite{min-width:90px!important}body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) .vibes-logo--shell-suite>.vibes-logo-word{font-size:28px!important}body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica) .vibes-logo--shell-suite>small{display:none}body.shiftcontrol-view-directory .sc-blueprint--layout-directory>.sc-blueprint-region--filters{grid-template-columns:1fr}body.vibes-network-theme:not(.shiftcontrol-view-stream) .sc-blueprint-authenticated-shell__body{padding-inline:10px}}
@media(max-width:640px){body.shiftcontrol-view-jobs .sc-blueprint-slot,body.shiftcontrol-view-jobs .scmk-rendered-slot,body.shiftcontrol-view-jobs .scmk-rendered-module{min-width:0!important;width:100%!important;max-width:100%!important}body.shiftcontrol-view-jobs .scmk-shell-jobs-search>nav{max-width:100%;overflow-x:auto}}

/* Shell Navigation fidelity repair: blueprint-owned desktop geometry. */
body.vibes-network-theme:not(.shiftcontrol-view-stream){
  --sc-blueprint-authenticated-left-rail:264px;
  --sc-blueprint-authenticated-gap:16px;
}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica)>.vibes-topbar__inner[data-sc-blueprint-shell-region="topbar-inner"]{
  height:88px!important;
  min-height:88px;
  max-height:88px!important;
  grid-template-columns:minmax(340px,390px) minmax(220px,280px) minmax(330px,1fr) max-content max-content max-content!important;
  gap:10px!important;
  padding:9px 18px!important;
}
body.vibes-network-theme:not(.shiftcontrol-view-stream) [data-sc-blueprint-shell-topbar="v1"][data-sc-blueprint-shell-owner="shiftcontrol-blueprint-kit"]:not(.vibes-topbar--replica){
  height:88px!important;
  min-height:88px!important;
  max-height:88px!important;
}
body.vibes-network-theme:not(.shiftcontrol-view-stream) .sc-blueprint-authenticated-shell__left-rail{width:var(--sc-blueprint-authenticated-left-rail)}
@media(max-width:1320px){
  body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica)>.vibes-topbar__inner[data-sc-blueprint-shell-region="topbar-inner"]{
    height:76px!important;
    min-height:76px;
    max-height:76px!important;
    grid-template-columns:150px minmax(190px,280px) minmax(300px,1fr) max-content max-content!important;
  }
  body.vibes-network-theme:not(.shiftcontrol-view-stream) [data-sc-blueprint-shell-topbar="v1"][data-sc-blueprint-shell-owner="shiftcontrol-blueprint-kit"]:not(.vibes-topbar--replica){height:76px!important;min-height:76px!important;max-height:76px!important}
}
@media(max-width:900px){
  body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica)>.vibes-topbar__inner[data-sc-blueprint-shell-region="topbar-inner"]{
    height:68px!important;
    min-height:68px;
    max-height:68px!important;
    grid-template-columns:132px minmax(0,1fr) max-content max-content!important;
  }
  body.vibes-network-theme:not(.shiftcontrol-view-stream) [data-sc-blueprint-shell-topbar="v1"][data-sc-blueprint-shell-owner="shiftcontrol-blueprint-kit"]:not(.vibes-topbar--replica){height:68px!important;min-height:68px!important;max-height:68px!important}
}
@media(max-width:640px){
  body.vibes-network-theme:not(.shiftcontrol-view-stream) .vibes-topbar:not(.vibes-topbar--replica)>.vibes-topbar__inner[data-sc-blueprint-shell-region="topbar-inner"]{
    height:62px!important;
    min-height:62px;
    max-height:62px!important;
    grid-template-columns:94px minmax(0,1fr) max-content!important;
    padding-inline:10px!important;
  }
  body.vibes-network-theme:not(.shiftcontrol-view-stream) [data-sc-blueprint-shell-topbar="v1"][data-sc-blueprint-shell-owner="shiftcontrol-blueprint-kit"]:not(.vibes-topbar--replica){height:62px!important;min-height:62px!important;max-height:62px!important}
}

/* Pass523: canonical public WordPress and explicit workflow geometry. */
.sc-blueprint--layout-static-content,
.sc-blueprint--layout-editorial[data-sc-blueprint-surface^="wordpress-"]{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(220px,300px);
  gap:22px;
  align-items:start;
}
.sc-blueprint--layout-static-content>.sc-blueprint-region--header,
.sc-blueprint--layout-editorial[data-sc-blueprint-surface^="wordpress-"]>.sc-blueprint-region--header{grid-column:1 / -1}
.sc-blueprint--layout-static-content>.sc-blueprint-region--primary,
.sc-blueprint--layout-editorial[data-sc-blueprint-surface^="wordpress-"]>.sc-blueprint-region--primary{grid-column:1;min-width:0}
.sc-blueprint--layout-static-content>.sc-blueprint-region--right_rail,
.sc-blueprint--layout-editorial[data-sc-blueprint-surface^="wordpress-"]>.sc-blueprint-region--right_rail{grid-column:2;min-width:0}
.scmk-rendered-slot--capability-blocked{min-height:88px}
@media(max-width:780px){
  .sc-blueprint--layout-static-content,
  .sc-blueprint--layout-editorial[data-sc-blueprint-surface^="wordpress-"]{grid-template-columns:minmax(0,1fr);width:min(100% - 20px,720px)}
  .sc-blueprint--layout-static-content>.sc-blueprint-region,
  .sc-blueprint--layout-editorial[data-sc-blueprint-surface^="wordpress-"]>.sc-blueprint-region{grid-column:1!important;grid-row:auto!important}
}

/* Directory structural freeze: the 1536x1024 authority resolves to the
 * canonical shell rail plus a primary people workspace and context rail.
 * Module anatomy remains Module Kit-owned. */
body.shiftcontrol-view-directory .sc-blueprint-authenticated-shell__canvas{min-width:0;overflow:visible}
body.shiftcontrol-view-directory .sc-blueprint--layout-directory{
  box-sizing:border-box;
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,350px);
  gap:16px;
  align-items:start;
}
body.shiftcontrol-view-directory .sc-blueprint--layout-directory>.sc-blueprint-region--filters{display:none!important}
body.shiftcontrol-view-directory .sc-blueprint--layout-directory>.sc-blueprint-region--primary{
  grid-column:1;
  grid-row:1;
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:238px auto auto auto;
  gap:12px;
}
body.shiftcontrol-view-directory .sc-blueprint--layout-directory>.sc-blueprint-region--right_rail{
  grid-column:2;
  grid-row:1;
  min-width:0;
  display:grid;
  gap:14px;
  position:sticky;
  top:calc(var(--sc-shell-adminbar-height,0px) + 108px);
  max-height:calc(100vh - var(--sc-shell-adminbar-height,0px) - 124px);
  overflow:auto;
  scrollbar-width:none;
}
body.shiftcontrol-view-directory .sc-blueprint--layout-directory>.sc-blueprint-region--right_rail::-webkit-scrollbar{display:none}
body.shiftcontrol-view-directory .sc-blueprint-region--primary>.sc-blueprint-adapter-slot:has([data-sc-blueprint-slot="directory.hero"]),
body.shiftcontrol-view-directory .sc-blueprint-region--primary>.sc-blueprint-adapter-slot:has([data-sc-blueprint-slot="directory.search"]),
body.shiftcontrol-view-directory .sc-blueprint-region--primary>.sc-blueprint-adapter-slot:has([data-sc-blueprint-slot="directory.filters"]){grid-column:1;grid-row:1;min-width:0}
body.shiftcontrol-view-directory .sc-blueprint-region--primary>.sc-blueprint-adapter-slot:has([data-sc-blueprint-slot="directory.search"]){z-index:3;align-self:end;margin:0 16px 56px}
body.shiftcontrol-view-directory .sc-blueprint-region--primary>.sc-blueprint-adapter-slot:has([data-sc-blueprint-slot="directory.filters"]){z-index:3;align-self:end;margin:0 16px 12px}
body.shiftcontrol-view-directory .sc-blueprint-region--primary>.sc-blueprint-adapter-slot:has([data-sc-blueprint-slot="directory.categories"]){grid-column:1;grid-row:2;min-width:0}
body.shiftcontrol-view-directory .sc-blueprint-region--primary>.sc-blueprint-adapter-slot:has([data-sc-blueprint-slot="directory.results"]){grid-column:1;grid-row:3;min-width:0}
body.shiftcontrol-view-directory .sc-blueprint-region--primary>.sc-blueprint-adapter-slot:has([data-sc-blueprint-slot="directory.pagination"]){grid-column:1;grid-row:4;min-width:0}
body.shiftcontrol-view-directory .sc-blueprint-region--right_rail>.sc-blueprint-adapter-slot,
body.shiftcontrol-view-directory .sc-blueprint-region--right_rail .sc-blueprint-slot,
body.shiftcontrol-view-directory .sc-blueprint-region--right_rail .scmk-rendered-module{min-width:0;width:100%}
body.shiftcontrol-view-directory .sc-blueprint-region--primary>.sc-blueprint-adapter-slot:has([data-sc-blueprint-slot="directory.categories"]),
body.shiftcontrol-view-directory [data-sc-blueprint-slot="directory.categories"],
body.shiftcontrol-view-directory [data-sc-blueprint-slot="directory.categories"] .scmk-rendered-slot,
body.shiftcontrol-view-directory [data-sc-blueprint-slot="directory.categories"] .scmk-rendered-module{min-width:0;width:100%}
body.shiftcontrol-view-directory .sc-blueprint-authenticated-shell__left-rail>.sc-blueprint-adapter-slot{display:block;margin-top:14px}
body.shiftcontrol-view-directory .sc-blueprint-authenticated-shell__left-rail>.sc-blueprint-adapter-slot .sc-blueprint-slot{display:block}

@media(max-width:1180px){
  body.shiftcontrol-view-directory .sc-blueprint--layout-directory{grid-template-columns:minmax(0,1fr) minmax(280px,320px)}
}
@media(max-width:900px){
  body.shiftcontrol-view-directory .sc-blueprint--layout-directory{grid-template-columns:minmax(0,1fr)}
  body.shiftcontrol-view-directory .sc-blueprint--layout-directory>.sc-blueprint-region--primary,
  body.shiftcontrol-view-directory .sc-blueprint--layout-directory>.sc-blueprint-region--right_rail{grid-column:1;grid-row:auto;position:static;max-height:none;overflow:visible}
  body.shiftcontrol-view-directory .sc-blueprint--layout-directory>.sc-blueprint-region--primary{grid-template-rows:auto}
  body.shiftcontrol-view-directory .sc-blueprint-region--primary>.sc-blueprint-adapter-slot{grid-column:1!important;grid-row:auto!important;align-self:stretch!important;margin:0!important}
}
