.story-panels {
  perspective: 1600px;
  isolation: isolate;
  color: #1b1b1b;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.story-panel {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  transform-origin: 50% 50%;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.story-panel *,
.story-panel *::before,
.story-panel *::after {
  box-sizing: border-box;
}
.story-panel img {
  display: block;
  max-width: 100%;
}
.story-panel h2,
.story-panel h3,
.story-panel h4,
.story-panel p,
.story-panel figure {
  margin: 0;
}
.story-visual {
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(33, 33, 33, 0.07);
  border-radius: 20px;
  background: #fcfcfc;
  box-shadow:
    0 35px 70px -40px rgba(44, 44, 44, 0.31),
    0 10px 24px -18px rgba(44, 44, 44, 0.22);
}
.story-tag {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 20px;
  background: #efefef;
  color: #7a7a7a;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.story-integrations > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 13px 24px;
  border-bottom: 1px solid #eaeaea;
  font-size: 14px;
  font-weight: 500;
}
.story-chat {
  display: grid;
  grid-template-columns: 17.708% minmax(0, 1fr);
  font-size: clamp(12px, 0.85vw, 16px);
  line-height: 1.5;
}
.story-chat-sidebar {
  position: relative;
  background: #f6f6f6;
  padding: 20px 12px 62px;
  border-right: 1px solid #eaeaea;
  color: #323232;
  overflow: hidden;
}
.story-chat-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 23px;
}
.story-chat-brand > span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.story-chat-new,
.story-chat-search {
  padding: 9px 5px;
  font-size: 12px;
  white-space: nowrap;
}
.story-chat-search {
  color: #757575;
}
.story-chat-sidebar > small {
  display: block;
  margin: 29px 5px 9px;
  color: #9a9a9a;
  font-size: 10px;
}
.story-chat-history {
  padding: 9px 7px;
  margin: 2px -3px;
  border-radius: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
}
.story-chat-selected {
  background: #ebebeb;
}
.story-chat-workspace {
  position: absolute;
  bottom: 18px;
  left: 11px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #7c7c7c;
}
.story-chat-workspace > i {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8e8e8;
  color: #464646;
  font-size: 9px;
  font-style: normal;
  flex-shrink: 0;
}
.story-chat-main {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  position: relative;
}
.story-chat-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  height: 52px;
  flex-shrink: 0;
  font-size: 13px;
  color: #8a8a8a;
}
.story-chat-header > span {
  padding: 6px 23px;
  border-radius: 18px;
}
.story-chat-work {
  background: #eaeaea;
  color: #2a2a2a;
  font-weight: 500;
}
.story-chat-thread {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  padding: 15px clamp(18px, 2vw, 40px) 12px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}
.story-chat-question {
  align-self: flex-end;
  max-width: 93%;
  padding: 11px 17px;
  background: #ededed;
  border-radius: 22px 22px 6px 22px;
  line-height: 1.45;
}
.story-tool-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #757575;
  padding: 3px 0;
  white-space: nowrap;
}
.story-tool-chip > i {
  width: 13px;
  height: 13px;
  border: 1.5px solid #a3a3a3;
  border-radius: 4px;
}
.story-tool-chip > span {
  color: #a4a4a4;
  margin-left: 3px;
}
.story-chat-answer {
  line-height: 1.55;
  min-height: 3.1em;
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: normal;
}
.story-streaming::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 1em;
  vertical-align: -0.12em;
  margin-left: 3px;
  background: #747474;
  opacity: 0.65;
}
.story-chat-result {
  width: 100%;
  min-height: 0;
}
.story-chat-footnote {
  margin-top: 11px;
  color: #a6a6a6;
  font-size: 10px;
  line-height: 1.35;
}
.story-chat-footer {
  display: block;
  width: 100%;
  padding: 8px 20px 11px;
  flex-shrink: 0;
}
.story-composer {
  height: 52px;
  max-width: 768px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 9px 8px 14px;
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 4px 80px 8px rgba(0, 0, 0, 0.024);
}
.story-composer > b {
  font-size: 24px;
  font-weight: 300;
}
.story-composer > span {
  color: #969696;
  font-size: 12px;
  flex: 1;
}
.story-composer > i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #191919;
  color: white;
  font-size: 22px;
  font-style: normal;
}
.story-chat-footer > small {
  display: block;
  text-align: center;
  font-size: 9px;
  color: #a6a6a6;
  margin-top: 9px;
}
.story-report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.45;
}
.story-report-table th,
.story-report-table td {
  text-align: left;
  padding: 11px 8px 11px 0;
  white-space: nowrap;
  border-bottom: 1px solid #e8e8e8;
  font-weight: 400;
}
.story-report-table thead th {
  color: #9a9a9a;
  font-size: 10px;
}
.story-report-table td:last-child,
.story-report-table th:last-child {
  text-align: right;
  padding-right: 0;
}
.story-report-table tbody th {
  font-weight: 500;
}
.story-report-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 15px;
  font-size: 11px;
  color: #8d8d8d;
}
.story-report-total strong {
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  color: #2d2d2d;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.story-integrations {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #fff, #fbfbfb);
  border-color: transparent;
  box-shadow: none;
}
.story-integrations > header {
  border: 0;
  padding-left: 12px;
  padding-right: 12px;
}
.story-partner-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 0 8px;
}
.story-partners-primary,
.story-partners-expanded {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  transition: none;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  overscroll-behavior: contain;
}
.story-partners-primary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  padding: 12px 6% 22px;
}
.story-partners-expanded {
  grid-template-columns: repeat(9, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(0, 1fr));
  padding: 10px 0;
  opacity: 0;
}
.story-partner {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 7px;
}
.story-partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 60px;
  width: 100%;
  max-width: 145px;
}
.story-partner-logo > img {
  object-fit: contain;
  max-height: 100%;
  max-width: 100%;
}
.story-partner-name {
  max-width: 100%;
  font-size: 12px;
  color: #6f6f6f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.story-partners-expanded .story-partner {
  padding: 4px;
  gap: 5px;
}
.story-partners-expanded .story-partner-logo {
  height: 33px;
  max-width: 70px;
}
.story-partners-expanded .story-partner-name {
  font-size: 8px;
  line-height: 1.2;
}
.story-partners-expanded .story-partner img {
  max-height: 30px;
  max-width: 64px;
}
.story-logo-missing {
  color: #4a4a4a;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.story-integrations > footer {
  padding: 16px 12px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  color: #929292;
}
.story-integrations > footer > small {
  font-size: 10px;
}
.story-storyboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 17px 22px 0;
}
.story-storyboard > div {
  min-width: 0;
  opacity: 0.58;
}
.story-storyboard > div.story-frame-active {
  opacity: 1;
}
.story-storyboard img {
  width: 100%;
  height: 69px;
  object-fit: cover;
  border-radius: 7px;
}
.story-storyboard span {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  margin-top: 6px;
  font-size: 9px;
  color: #9d9d9d;
}
.story-storyboard b {
  font-size: 9px;
  color: #707070;
  font-weight: 500;
}

@media (max-width: 1100px) {
  .story-chat {
    grid-template-columns: 18% minmax(0, 1fr);
    font-size: 12px;
  }
  .story-chat-sidebar {
    padding-left: 8px;
    padding-right: 7px;
  }
  .story-chat-brand > span {
    font-size: 10px;
  }
  .story-chat-brand {
    gap: 4px;
    font-size: 19px;
  }
  .story-chat-history {
    font-size: 9px;
  }
  .story-chat-new,
  .story-chat-search {
    font-size: 10px;
  }
  .story-chat-sidebar > small {
    font-size: 9px;
  }
  .story-chat-workspace > span {
    display: none;
  }
  .story-chat-thread {
    gap: 9px;
    padding: 10px 17px;
  }
  .story-chat-question {
    padding: 9px 12px;
  }
  .story-tool-chip {
    font-size: 9px;
  }
  .story-chat-answer {
    font-size: 12px;
  }
  .story-report-table {
    font-size: 10px;
  }
  .story-report-table th,
  .story-report-table td {
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .story-report-total {
    font-size: 9px;
  }
  .story-chat-footer {
    padding: 8px 12px 10px;
  }
  .story-composer {
    height: 46px;
  }
  .story-composer > span {
    font-size: 10px;
  }
  .story-partner-name {
    font-size: 11px;
  }
  .story-partners-expanded .story-partner {
    padding: 2px;
  }
  .story-partners-expanded .story-partner-logo {
    max-width: 45px;
  }
  .story-partners-expanded .story-partner-name {
    font-size: 7px;
  }
  .story-partners-expanded .story-partner img {
    max-width: 43px;
  }
}
@media (max-width: 700px) {
  .story-visual {
    border-radius: 14px;
    box-shadow: 0 23px 42px -28px rgba(44, 44, 44, 0.32);
  }
  .story-integrations > header {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 12px;
  }
  .story-tag {
    font-size: 9px;
    padding: 5px 8px;
  }
  .story-chat {
    grid-template-columns: 14% minmax(0, 1fr);
    font-size: 11px;
  }
  .story-chat-sidebar {
    padding-top: 14px;
    padding-left: 5px;
    padding-right: 5px;
  }
  .story-chat-brand {
    justify-content: center;
    font-size: 23px;
    margin-bottom: 24px;
  }
  .story-chat-brand > span,
  .story-chat-new,
  .story-chat-search,
  .story-chat-sidebar > small,
  .story-chat-history,
  .story-chat-workspace > span {
    display: none;
  }
  .story-chat-workspace {
    left: 8px;
    right: auto;
  }
  .story-chat-header {
    height: 42px;
    font-size: 11px;
  }
  .story-chat-header > span {
    padding: 5px 18px;
  }
  .story-chat-thread {
    gap: 9px;
    padding: 8px 13px 8px;
  }
  .story-chat-answer {
    font-size: 11px;
    line-height: 1.5;
  }
  .story-chat-question {
    font-size: 11px;
  }
  .story-tool-chip {
    font-size: 8px;
  }
  .story-chat-footnote {
    font-size: 8px;
  }
  .story-composer {
    height: 42px;
    border-radius: 23px;
  }
  .story-composer > i {
    width: 27px;
    height: 27px;
    font-size: 18px;
  }
  .story-chat-footer > small {
    font-size: 8px;
  }
  .story-report-table {
    font-size: 10px;
  }
  .story-report-table thead th {
    font-size: 8px;
    white-space: normal;
  }
  .story-report-total {
    font-size: 8px;
    gap: 8px;
  }
  .story-report-total strong {
    font-size: 16px;
  }
  .story-partners-primary {
    padding: 4px 0 12px;
  }
  .story-partner {
    gap: 8px;
    padding: 6px;
  }
  .story-partner-logo {
    height: 42px;
    max-width: 92px;
  }
  .story-partner-name {
    font-size: 10px;
  }
  .story-partners-expanded {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(9, minmax(34px, 1fr));
    padding: 0;
  }
  .story-partners-expanded .story-partner {
    gap: 2px;
    padding: 2px;
  }
  .story-partners-expanded .story-partner-logo {
    height: 22px;
    max-width: 42px;
  }
  .story-partners-expanded .story-partner img {
    max-height: 21px;
    max-width: 42px;
  }
  .story-partners-expanded .story-partner-name {
    font-size: 6px;
  }
  .story-integrations > footer {
    padding: 10px 8px;
    gap: 6px;
    flex-direction: column;
    align-items: flex-start;
    font-size: 9px;
  }
  .story-integrations > footer > small {
    font-size: 8px;
  }
  .story-storyboard {
    gap: 10px;
    margin: 13px 16px 0;
  }
  .story-storyboard img {
    height: 59px;
  }
  .story-storyboard span,
  .story-storyboard b {
    font-size: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .story-panel {
    will-change: auto;
  }
  .story-panel *,
  .story-panel *::before,
  .story-panel *::after {
    animation: none !important;
    transition: none !important;
  }
}
.story-chat-thread > * {
  flex-shrink: 0;
}
.story-chat-thread::-webkit-scrollbar,
.story-partners-primary::-webkit-scrollbar,
.story-partners-expanded::-webkit-scrollbar {
  display: none;
}
.story-composer {
  width: 100%;
}
.show-screen .story-panels {
  left: var(--cinema-left, 5%);
  top: var(--cinema-top, 17%);
  width: var(--cinema-width, 48%);
  height: var(--cinema-height, 68%);
}
.show-screen .feature-wheel,
.show-screen .shot-caption,
.show-screen .story-group {
  opacity: calc(var(--feature-opacity, 0) * (1 - var(--cinema-open, 0)));
}
.show-screen .feature-wheel[inert] {
  pointer-events: none;
}
.story-panel {
  display: block;
  padding-top: 86px;
  perspective: 1800px;
  transform-style: preserve-3d;
}
.cinema-heading {
  position: absolute;
  top: 0;
  left: 2%;
  right: 2%;
  text-align: center;
  pointer-events: none;
}
.cinema-heading > span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.07em;
  color: #8d8d92;
  margin-bottom: 10px;
}
.cinema-heading h2 {
  font-family: inherit;
  font-size: clamp(27px, 3vw, 52px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.08;
}
.story-panel > .story-integrations {
  background: none;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.story-panel .story-integrations > header {
  display: none;
}
.story-partner-stage {
  perspective: 1600px;
}
.story-partners-primary {
  display: block;
  overflow: visible;
  padding: 0;
  transform-style: preserve-3d;
}
.story-partners-primary > .story-partner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 102px;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: #fffffff2;
  box-shadow: 0 24px 45px -30px #41414b50;
  backface-visibility: visible;
}
.story-partners-expanded {
  inset: 0 5%;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(55px, 1fr));
  gap: 4px;
  background: transparent;
}
.story-partners-expanded .story-partner {
  border: 1px solid #e6e6e680;
  background: #ffffff70;
  border-radius: 8px;
  gap: 7px;
}
.story-partners-expanded .story-partner-logo {
  max-width: 90px;
  height: 40px;
}
.story-partners-expanded .story-partner-name {
  font-size: 9px;
}
.story-partners-expanded .story-partner img {
  max-width: 76px;
  max-height: 35px;
}
.story-integrations > footer {
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 13px 0 0;
}
.mcp-brief .story-chat {
  z-index: 2;
}
.mcp-numbers {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 15px;
  margin: 22px 0;
}
.mcp-number {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mcp-number > strong {
  font-weight: 500;
  font-size: clamp(24px, 3vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.mcp-number > span {
  font-size: 11px;
  color: #909095;
}
.mcp-insight {
  padding: 20px 0;
  border-top: 1px solid #e4e4e4;
  margin-top: 18px;
}
.mcp-insight > span {
  font-size: 10px;
  color: #8d8d92;
  display: block;
  margin-bottom: 7px;
}
.mcp-insight > strong {
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.025em;
}
.mcp-insight > p {
  font-size: 11px;
  color: #939397;
  margin-top: 7px;
}
.mcp-chat-compact {
  grid-template-columns: minmax(0, 1fr);
}
.mcp-chat-compact .story-chat-sidebar {
  display: none;
}
.mcp-chat-compact .story-chat-thread {
  padding: 20px;
  gap: 18px;
}
.mcp-chat-compact .story-chat-answer {
  font-size: 14px;
}
.mcp-opened-sheet {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  display: flex;
  gap: 13px;
  padding: 15px;
  width: 100%;
  font-size: 13px;
}
.mcp-opened-sheet > span {
  font-size: 24px;
  color: #8b8b8b;
}
.mcp-opened-sheet small {
  display: block;
  font-size: 10px;
  color: #969696;
  margin-top: 5px;
}
.mcp-data-sheet {
  display: flex;
  flex-direction: column;
}
.mcp-data-sheet > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 17px 25px;
  border-bottom: 1px solid #e9e9e9;
  font-size: 14px;
  flex-shrink: 0;
}
.mcp-data-sheet > header > small {
  font-size: 10px;
  color: #999;
}
.mcp-sheet-body {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 22px 28px 26px;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}
.mcp-table-scroll {
  max-width: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}
.mcp-sheet-summary {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 0 0 23px;
}
.mcp-data-sheet .story-report-table {
  font-size: 13px;
}
.mcp-data-sheet .story-report-table th,
.mcp-data-sheet .story-report-table td {
  padding-top: 13px;
  padding-bottom: 13px;
}
.mcp-data-sheet .story-report-table thead th {
  font-size: 10px;
}
.mcp-team-people {
  display: flex;
  justify-content: space-around;
  gap: 12px;
  padding: 12px 0 30px;
}
.mcp-person {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  color: #9b9b9b;
  font-size: 10px;
}
.mcp-person i {
  position: relative;
  width: 50px;
  height: 70px;
  border-radius: 23px 23px 12px 12px;
  background: linear-gradient(120deg, #dadada, #f0f0f0);
  box-shadow: 8px 15px 25px -15px #0005;
}
.mcp-person i:before {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f9f9f9;
  top: 9px;
  left: 13px;
}
.mcp-person.is-missing i {
  background: none;
  border: 1px dashed #999;
  box-shadow: none;
}
.mcp-person.is-missing i:before {
  border: 1px dashed #aaa;
  background: none;
}
.mcp-draft .mcp-data-sheet {
  z-index: 2;
}
.mcp-draft .mcp-sheet-body {
  padding-top: 18px;
}
.mcp-draft .mcp-data-sheet > header {
  display: none;
}
.mcp-approval-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  color: #999;
  align-items: center;
}
.mcp-state {
  padding: 7px 10px;
  border-radius: 20px;
  background: #eee;
  color: #666;
}
.mcp-approval h3 {
  font-size: clamp(28px, 3.1vw, 48px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.02;
  margin: 18px 0 17px;
}
.mcp-approval .story-report-table th {
  white-space: normal;
}
.mcp-approval .story-report-table th > small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #999;
  margin-top: 4px;
}
.mcp-approval .story-report-total {
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}
.mcp-approval-owner {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0;
  font-size: 11px;
}
.mcp-approval-owner > i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eee;
  font-style: normal;
}
.mcp-approval-owner strong {
  font-weight: 500;
}
.mcp-approval-owner > div > span {
  display: block;
  color: #999;
  font-size: 9px;
  margin-top: 4px;
}
.mcp-expense {
  margin-left: auto;
  color: #999;
  font-size: 10px;
}
.mcp-expense b {
  font-weight: 500;
  color: #333;
  margin-left: 8px;
}
.mcp-approval-actions {
  display: flex;
  gap: 10px;
}
.mcp-approval-actions button {
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  font: inherit;
  font-size: 12px;
  padding: 13px 16px;
  min-height: 44px;
  border-radius: 25px;
  cursor: pointer;
  flex: 1;
}
.mcp-approval-actions button:last-child {
  background: #222;
  color: #fff;
  border-color: #222;
}
.mcp-approval-actions button > span {
  margin-left: 10px;
}
.mcp-approval-actions button[aria-disabled='true'] {
  opacity: 0.4;
  cursor: default;
}
.mcp-approval-result {
  min-height: 2.4em;
  line-height: 1.4;
  font-size: 11px;
  margin-top: 12px;
  color: #5f5f5f;
}
.mcp-demo-note {
  font-size: 9px;
  color: #aaa;
  margin-top: 10px;
}
.mcp-network .mcp-data-sheet {
  background: none;
  border: 0;
  box-shadow: none;
}
.mcp-network .mcp-data-sheet > header {
  display: none;
}
.mcp-network .mcp-sheet-body {
  padding: 10px 15px;
}
.mcp-network-places {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 27px;
}
.mcp-network-places > article {
  border: 1px solid #e4e4e4;
  border-radius: 14px;
  background: #fff;
  padding: 20px 16px;
  box-shadow: 0 24px 45px -35px #0005;
}
.mcp-network-places small {
  font-size: 9px;
  color: #999;
}
.mcp-network-places strong {
  font-weight: 400;
  font-size: 35px;
  letter-spacing: -0.05em;
  display: block;
  margin: 19px 0 6px;
}
.mcp-network-places em {
  font-size: 10px;
  letter-spacing: 0;
  font-style: normal;
  color: #999;
}
.mcp-network-places span {
  font-size: 11px;
  color: #777;
}
.mcp-spark {
  height: 55px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-top: 18px;
}
.mcp-spark i {
  flex: 1;
  height: calc(100% * var(--spark));
  background: #e5e5e5;
  border-radius: 3px 3px 0 0;
}
.mcp-network-places > article:nth-child(2) {
  background: #f0f0f0;
}
.cinema-archive-tiles,
.cinema-document-deck,
.cinema-rack-grid {
  position: absolute;
  inset: 86px 0 0;
  pointer-events: none;
  z-index: 0;
}
.cinema-archive-tiles img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22%;
  height: 27%;
  object-fit: cover;
  border-radius: 4px;
}
.cinema-document-deck {
  left: 13%;
  right: 13%;
  top: 115px;
  bottom: 6%;
}
.cinema-document-deck img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 25px 45px -35px #0005;
}
.cinema-rack-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
  padding: 10px 0 25px;
  transform: perspective(1500px) rotateY(-7deg) rotateX(5deg);
}
.cinema-rack-grid i {
  border: 1px solid #ddd;
  border-radius: 6px;
  background: linear-gradient(140deg, #e4e4e470, #fafafa30);
}
@media (max-width: 1100px) {
  .mcp-chat-compact .story-chat-answer {
    font-size: 12px;
  }
  .mcp-data-sheet .story-report-table {
    font-size: 11px;
  }
  .mcp-sheet-body {
    padding: 17px 20px;
  }
  .mcp-network-places {
    gap: 10px;
  }
  .mcp-network-places > article {
    padding: 15px 10px;
  }
  .mcp-network-places strong {
    font-size: 28px;
  }
}
@media (max-width: 700px) {
  .story-panel {
    padding-top: 75px;
  }
  .cinema-heading > span {
    font-size: 9px;
    margin-bottom: 9px;
  }
  .cinema-heading h2 {
    font-family: inherit;
    font-size: 27px;
    max-width: 350px;
    margin: auto;
  }
  .story-partners-primary > .story-partner {
    width: 82px;
    height: 68px;
    padding: 6px;
    gap: 5px;
  }
  .story-partners-primary .story-partner-logo {
    height: 34px;
  }
  .story-partners-primary .story-partner-name {
    font-size: 8px;
  }
  .story-partners-expanded {
    inset: 0;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(9, minmax(38px, 1fr));
    gap: 3px;
  }
  .story-partners-expanded .story-partner {
    gap: 2px;
  }
  .story-partners-expanded .story-partner-logo {
    height: 25px;
    max-width: 42px;
  }
  .story-partners-expanded .story-partner img {
    max-width: 40px;
    max-height: 23px;
  }
  .story-partners-expanded .story-partner-name {
    font-size: 6px;
  }
  .story-integrations > footer {
    align-items: center;
  }
  .mcp-number > strong {
    font-size: 26px;
  }
  .mcp-number > span {
    font-size: 9px;
  }
  .mcp-numbers {
    gap: 10px;
  }
  .mcp-insight > strong {
    font-size: 15px;
  }
  .mcp-insight > p {
    font-size: 10px;
  }
  .mcp-insight {
    padding: 15px 0;
  }
  .mcp-scene:not(.mcp-brief) {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 1%;
  }
  .mcp-scene .mcp-chat-compact {
    flex-shrink: 0;
    border-radius: 12px;
  }
  .mcp-chat-compact .story-chat-header,
  .mcp-chat-compact .story-chat-footer,
  .mcp-chat-compact .story-chat-question,
  .mcp-chat-compact .mcp-opened-sheet {
    display: none;
  }
  .mcp-chat-compact .story-chat-thread {
    padding: 12px 15px;
    gap: 5px;
  }
  .mcp-chat-compact .story-chat-answer {
    font-size: 12px;
    min-height: 0;
  }
  .mcp-scene .mcp-data-sheet {
    flex: 1;
    border-radius: 12px;
  }
  .mcp-sheet-body {
    padding: 15px 16px 20px;
  }
  .mcp-data-sheet > header {
    padding: 12px 16px;
    font-size: 12px;
  }
  .mcp-data-sheet > header > small {
    font-size: 9px;
  }
  .mcp-sheet-summary {
    margin-bottom: 16px;
  }
  .mcp-data-sheet .story-report-table {
    font-size: 11px;
  }
  .mcp-data-sheet .story-report-table thead th {
    font-size: 9px;
  }
  .mcp-data-sheet .story-report-table th,
  .mcp-data-sheet .story-report-table td {
    padding-top: 11px;
    padding-bottom: 11px;
  }
  .mcp-table-scroll:focus-visible,
  .mcp-sheet-body:focus-visible {
    outline: 1px solid #aaa;
    outline-offset: -1px;
  }
  .mcp-team-people {
    gap: 8px;
    padding: 6px 0 22px;
  }
  .mcp-person i {
    width: 35px;
    height: 55px;
  }
  .mcp-person i:before {
    width: 17px;
    height: 17px;
    left: 8px;
  }
  .mcp-person {
    gap: 8px;
    font-size: 9px;
  }
  .mcp-draft .mcp-sheet-body {
    padding: 14px;
  }
  .mcp-approval h3 {
    font-size: 32px;
    margin: 17px 0;
  }
  .mcp-approval-top {
    font-size: 8px;
  }
  .mcp-approval .story-report-table th > small {
    font-size: 9px;
  }
  .mcp-approval-actions {
    gap: 7px;
  }
  .mcp-approval-actions button {
    font-size: 10px;
    padding: 11px 9px;
  }
  .mcp-approval-actions button > span {
    margin-left: 3px;
  }
  .mcp-approval-result {
    font-size: 10px;
  }
  .mcp-demo-note {
    font-size: 8px;
  }
  .mcp-network .mcp-sheet-body {
    padding: 5px 0;
  }
  .mcp-network-places {
    gap: 7px;
    margin-bottom: 13px;
  }
  .mcp-network-places > article {
    padding: 13px 9px;
  }
  .mcp-network-places strong {
    font-size: 24px;
    margin: 15px 0 7px;
  }
  .mcp-network-places em {
    display: block;
    font-size: 8px;
  }
  .mcp-network-places small {
    font-size: 7px;
  }
  .mcp-network-places span {
    font-size: 9px;
  }
  .mcp-spark {
    height: 35px;
    gap: 3px;
    margin-top: 13px;
  }
  .cinema-archive-tiles {
    inset: 75px 0 0;
  }
  .cinema-archive-tiles img {
    width: 40%;
    height: 25%;
  }
  .cinema-document-deck {
    inset: 130px 9% 18%;
  }
  .cinema-rack-grid {
    inset: 100px 0 6%;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(8, 1fr);
    gap: 6px;
  }
}
@media (max-height: 600px) and (min-width: 701px) {
  .story-panel {
    padding-top: 65px;
  }
  .cinema-heading h2 {
    font-family: inherit;
    font-size: 29px;
  }
  .cinema-heading > span {
    margin-bottom: 5px;
  }
  .mcp-sheet-body {
    padding-top: 12px;
  }
  .mcp-number > strong {
    font-size: 28px;
  }
  .mcp-data-sheet .story-report-table th,
  .mcp-data-sheet .story-report-table td {
    padding-top: 9px;
    padding-bottom: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .story-panel {
    will-change: auto;
  }
}
@media (max-width: 700px) {
  .mcp-approval h3 {
    font-size: 29px;
    margin: 13px 0;
  }
  .mcp-draft .story-report-table th,
  .mcp-draft .story-report-table td {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .mcp-approval-owner {
    margin: 13px 0;
  }
  .mcp-approval-result {
    margin-top: 9px;
  }
  .mcp-demo-note {
    margin-top: 5px;
  }
}
.flow-on {
  isolation: isolate;
}
.flow-on .story-panel {
  box-sizing: border-box;
  padding-top: 104px;
  z-index: 3;
  pointer-events: none;
  transform-style: flat;
}
.flow-on .cinema-heading {
  top: 0;
  left: 0;
  right: 0;
  display: block;
}
.flow-on .cinema-heading > span {
  font-size: 10px;
  letter-spacing: 0.045em;
  margin-bottom: 8px;
}
.flow-on .cinema-heading h2 {
  font:
    400 clamp(24px, 2.8vw, 50px) / 1.08 Geist,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  letter-spacing: -0.055em;
  max-width: 90%;
  margin: auto;
}
.flow-on .cinema-heading > p {
  font-size: 12px;
  line-height: 1.4;
  color: #929298;
  margin: 12px auto 0;
  max-width: 75%;
  letter-spacing: -0.01em;
}
.flow-view {
  position: absolute;
  z-index: 1;
  inset: 104px 0 0;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
}
.flow-view[hidden] {
  display: none;
}
.flow-canvas,
.flow-fallback,
.flow-labels {
  position: absolute;
  inset: 0;
}
.flow-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.flow-fallback {
  transform-style: preserve-3d;
  perspective-origin: 50% 50%;
}
.flow-view[data-mode='fallback'] .flow-canvas {
  display: none;
}
.flow-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: center;
  border-radius: 10px;
  overflow: hidden;
  backface-visibility: visible;
  background: #fff;
  box-shadow: 14px 22px 55px -33px #31313c50;
}
.flow-card > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}
.flow-card[hidden] {
  display: none;
}
.flow-card[data-asset='rkeeper'] > img,
.flow-card[data-asset='restoplace'] > img,
.flow-card[data-asset='mcrm'] > img,
.flow-card[data-asset='one-c'] > img,
.flow-card[data-asset='bitrix24'] > img,
.flow-card[data-asset='vk'] > img,
.flow-card[data-asset='yandex'] > img,
.flow-card[data-asset='telegram'] > img,
.flow-card[data-asset='fast-soft'] > img {
  object-fit: contain;
  padding: 20%;
}
.flow-card[data-failed='true'] {
  display: grid;
  place-items: center;
  padding: 15px;
  font-size: 13px;
  color: #777;
  text-align: center;
}
.flow-guest {
  border-radius: 50%;
  background: #bfc0c3;
  box-shadow: none;
}
.flow-rack {
  background: repeating-linear-gradient(#e1e2e3 0 10px, #c5c6c8 10px 12px);
  box-shadow: none;
}
.flow-editor {
  border: 1px solid #ddd;
  background: #f8f8fa;
}
.flow-editor > span {
  position: absolute;
  left: 4%;
  top: 4%;
  font-size: 14px;
  color: #444;
}
.flow-editor > i {
  position: absolute;
  left: 4%;
  bottom: 5%;
  font-size: 11px;
  color: #888;
  font-style: normal;
}
.flow-label {
  position: absolute;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  text-align: center;
  font-size: 12px;
  letter-spacing: -0.01em;
  color: #73737b;
  line-height: 1.3;
}
.flow-label.is-strong {
  font-size: clamp(20px, 2vw, 35px);
  font-weight: 500;
  letter-spacing: -0.045em;
  color: #252529;
}
.flow-label.is-small {
  font-size: 10px;
  color: #77777e;
}
.flow-on .story-panel > .story-integrations {
  display: none;
}
.flow-on .mcp-scene {
  display: block;
  transform-style: preserve-3d;
  pointer-events: none;
}
.flow-on .mcp-scene > .story-chat,
.flow-on .mcp-scene > .mcp-data-sheet {
  background: transparent;
  border: 0;
  box-shadow: none;
  pointer-events: auto;
  flex: none;
  border-radius: 14px;
}
.flow-on .mcp-scene > [inert] {
  pointer-events: none;
}
.flow-on .story-panel[inert] .mcp-scene > .story-chat,
.flow-on .story-panel[inert] .mcp-scene > .mcp-data-sheet {
  pointer-events: none;
}
.flow-on .story-chat {
  font-size: clamp(11px, 1vw, 16px);
  grid-template-columns: 17.708% minmax(0, 1fr);
}
.flow-on .story-chat.mcp-chat-compact {
  display: flex;
  flex-direction: column;
}
.flow-on .mcp-chat-compact .story-chat-main {
  height: 100%;
}
.flow-on .mcp-chat-compact .story-chat-thread {
  padding: 13px 18px;
  gap: 12px;
}
.flow-on .mcp-chat-compact .story-chat-answer {
  font-size: clamp(11px, 0.94vw, 15px);
}
.flow-on .mcp-chat-compact .story-chat-header {
  height: 40px;
}
.flow-on .mcp-chat-compact .story-chat-footer {
  padding: 8px 14px 12px;
}
.flow-on .mcp-chat-compact .story-composer {
  height: 40px;
}
.flow-on .mcp-chat-compact .story-composer > span {
  font-size: 10px;
}
.flow-on .mcp-data-sheet {
  display: flex;
  flex-direction: column;
}
.flow-on .mcp-data-sheet > header {
  padding: 14px 22px;
  font-size: 14px;
  min-height: 48px;
}
.flow-on .mcp-sheet-body {
  padding: 17px 24px;
  min-height: 0;
  flex: 1;
  overscroll-behavior: contain;
}
.flow-on .mcp-data-sheet .story-report-table {
  font-size: 12px;
}
.flow-on .mcp-data-sheet .story-report-table th,
.flow-on .mcp-data-sheet .story-report-table td {
  padding-top: 9px;
  padding-bottom: 9px;
}
.flow-on .mcp-sheet-summary {
  margin-bottom: 16px;
}
.flow-on .mcp-number > strong {
  font-size: clamp(25px, 2.7vw, 43px);
}
.flow-on .mcp-approval h3 {
  font-family: inherit;
  font-size: clamp(27px, 3vw, 46px);
  margin: 16px 0;
}
.flow-on .mcp-draft .mcp-approval h3 {
  font-size: 31px;
  margin: 12px 0;
}
.flow-on .mcp-draft .mcp-approval-owner {
  margin: 12px 0;
}
.flow-on .mcp-draft .story-report-table th,
.flow-on .mcp-draft .story-report-table td {
  padding-top: 7px;
  padding-bottom: 7px;
}
.flow-on .mcp-approval-result:empty {
  display: none;
}
.flow-on .mcp-plan-context {
  font-size: 10px;
  color: #888;
  margin-bottom: 12px;
}
.flow-on .mcp-network .mcp-data-sheet {
  background: transparent;
}
.flow-on .mcp-network .mcp-sheet-body {
  padding: 12px 24px;
}
.flow-on .mcp-network-places {
  gap: 20px;
}
.flow-on .mcp-network-places > article {
  padding: 21px 24px;
  border-radius: 15px;
  box-shadow: 0 15px 30px -28px #3336;
}
.flow-on .mcp-network-places strong {
  font-size: clamp(25px, 3vw, 46px);
}
.flow-on .mcp-network .story-report-table {
  background: #ffffff80;
}
.flow-on .mcp-network .story-report-total {
  margin-top: 16px;
}
.flow-on .mcp-network .story-report-table {
  display: none;
}
.flow-view:not([data-mode='webgl']) ~ .story-panel .mcp-scene > .story-chat,
.flow-view:not([data-mode='webgl']) ~ .story-panel .mcp-scene > .mcp-data-sheet {
  background: #fcfcfc;
  border: 1px solid #e8e8e8;
  box-shadow: 0 25px 55px -38px #2225;
}
.flow-inspect,
.flow-catalog-toggle {
  position: absolute;
  z-index: 8;
  left: 1%;
  bottom: 0;
  border: 1px solid #dddde1;
  border-radius: 30px;
  padding: 10px 15px;
  background: #f8f8fac9;
  color: #55555c;
  font: 400 11px/1.2 inherit;
  min-height: 38px;
  cursor: pointer;
  pointer-events: auto;
}
.flow-inspect[hidden] {
  display: none;
}
.flow-catalog-toggle {
  bottom: 0;
  left: 1%;
}
.flow-on .is-catalog-open > .story-integrations {
  position: absolute;
  inset: 100px 0 42px;
  display: flex;
  background: #f8f8faee;
  backdrop-filter: blur(20px);
  border-radius: 15px;
  width: auto;
  height: auto;
  z-index: 8;
  pointer-events: auto;
  padding: 16px;
}
.flow-on .is-catalog-open .story-partners-primary {
  display: none;
}
.flow-on .is-catalog-open .story-partners-expanded {
  inset: 0;
  visibility: visible;
  pointer-events: auto;
}
.flow-on .is-catalog-open > .flow-catalog-toggle {
  z-index: 9;
}
.flow-dialog {
  position: fixed;
  inset: 3vh 3vw;
  width: 94vw;
  height: 94vh;
  max-width: none;
  max-height: none;
  border: 1px solid #ddd;
  border-radius: 16px;
  background: #f8f8fa;
  padding: 58px 20px 20px;
  color: #252529;
  z-index: 50;
  pointer-events: auto;
  touch-action: auto;
}
.flow-dialog::backdrop {
  background: #e9e9eef2;
  backdrop-filter: blur(16px);
}
.flow-dialog > button {
  position: absolute;
  right: 20px;
  top: 15px;
  border: 1px solid #ccc;
  border-radius: 22px;
  padding: 9px 16px;
  background: #fff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.flow-dialog > div {
  width: 100%;
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  display: grid;
  place-items: start center;
}
.flow-dialog img {
  display: block;
  width: 1600px;
  max-width: none;
  height: 900px;
  object-fit: contain;
}
@media (min-width: 1750px) {
  .flow-dialog img {
    width: min(100%, 1600px);
    height: auto;
  }
}
@media (max-width: 700px) {
  .flow-on .story-panel {
    padding-top: 108px;
  }
  .flow-view {
    inset: 108px 0 25px;
  }
  .flow-on .cinema-heading h2 {
    font-size: 26px;
    max-width: 98%;
    line-height: 1.03;
  }
  .flow-on .cinema-heading > span {
    font-size: 8px;
    margin-bottom: 8px;
  }
  .flow-on .cinema-heading > p {
    font-size: 10px;
    max-width: 95%;
    margin-top: 10px;
    line-height: 1.35;
  }
  .flow-label {
    font-size: 9px;
  }
  .flow-label.is-small {
    font-size: 7px;
  }
  .flow-label.is-strong {
    font-size: 20px;
  }
  .flow-card {
    border-radius: 7px;
  }
  .flow-on .mcp-scene > .story-chat,
  .flow-on .mcp-scene > .mcp-data-sheet {
    border-radius: 12px;
  }
  .flow-on .story-chat {
    grid-template-columns: 14% minmax(0, 1fr);
    font-size: 11px;
  }
  .flow-on .story-chat-header {
    height: 38px;
  }
  .flow-on .story-chat-thread {
    padding: 10px 13px;
    gap: 9px;
  }
  .flow-on .story-chat-question,
  .flow-on .story-chat-answer {
    font-size: 11px;
  }
  .flow-on .mcp-chat-compact .story-chat-header,
  .flow-on .mcp-chat-compact .story-chat-question,
  .flow-on .mcp-chat-compact .story-chat-footer,
  .flow-on .mcp-chat-compact .mcp-opened-sheet {
    display: none;
  }
  .flow-on .mcp-chat-compact .story-chat-thread {
    padding: 10px 13px;
    gap: 4px;
  }
  .flow-on .mcp-chat-compact .story-chat-answer {
    font-size: 10px;
    min-height: 0;
  }
  .flow-on .mcp-data-sheet > header {
    font-size: 11px;
    padding: 10px 13px;
    min-height: 38px;
  }
  .flow-on .mcp-sheet-body {
    padding: 12px 13px 17px;
  }
  .flow-on .mcp-data-sheet .story-report-table {
    font-size: 10px;
  }
  .flow-on .mcp-data-sheet .story-report-table th,
  .flow-on .mcp-data-sheet .story-report-table td {
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .flow-on .mcp-number > strong {
    font-size: 24px;
  }
  .flow-on .mcp-number > span {
    font-size: 8px;
  }
  .flow-on .mcp-sheet-summary {
    margin-bottom: 13px;
  }
  .flow-on .mcp-team-people {
    padding: 3px 0 17px;
  }
  .flow-on .mcp-insight {
    padding: 12px 0;
    margin-top: 12px;
  }
  .flow-on .mcp-insight > strong {
    font-size: 13px;
  }
  .flow-on .mcp-insight > p {
    font-size: 9px;
  }
  .flow-on .mcp-approval h3 {
    font-size: 28px;
    margin: 13px 0;
  }
  .flow-on .mcp-approval-top {
    font-size: 7px;
  }
  .flow-on .mcp-approval .story-report-table th > small {
    font-size: 8px;
  }
  .flow-on .mcp-approval-owner {
    margin: 12px 0;
  }
  .flow-on .mcp-approval-actions button {
    font-size: 9px;
    padding: 10px 7px;
    min-height: 39px;
  }
  .flow-on .mcp-approval-result {
    font-size: 9px;
    margin-top: 9px;
  }
  .flow-on .mcp-demo-note {
    font-size: 7px;
  }
  .flow-on .mcp-draft .mcp-approval .story-report-table :is(th, td) {
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 1.2;
  }
  .flow-on .mcp-draft .mcp-approval h3 {
    font-size: 27px;
    margin: 10px 0;
  }
  .flow-on .mcp-draft .story-report-total {
    margin-top: 10px;
    padding-bottom: 10px;
  }
  .flow-on .mcp-draft .mcp-approval-owner {
    margin: 10px 0;
  }
  .flow-on .mcp-approval-actions button {
    min-height: 44px;
  }
  .flow-on .mcp-network .mcp-sheet-body {
    padding: 12px 8px;
  }
  .flow-on .mcp-network-places {
    gap: 7px;
  }
  .flow-on .mcp-network-places > article {
    padding: 12px 8px;
  }
  .flow-on .mcp-network-places strong {
    font-size: 22px;
  }
  .flow-on .mcp-network-places small {
    font-size: 7px;
  }
  .flow-inspect,
  .flow-catalog-toggle {
    font-size: 10px;
    padding: 8px 12px;
    min-height: 34px;
    bottom: 0;
  }
  .flow-dialog {
    inset: 2vh 2vw;
    width: 96vw;
    height: 96vh;
    padding: 54px 10px 10px;
  }
  .flow-dialog > div {
    display: block;
  }
  .flow-dialog img {
    width: 1200px;
    height: 675px;
  }
  .flow-on .is-catalog-open > .story-integrations {
    inset: 108px 0 42px;
    padding: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .flow-on * {
    animation: none !important;
    transition: none !important;
  }
}
/* A projected surface has one geometry owner, in scene-projection.mjs. */
.flow-on .mcp-scene {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  transform-style: preserve-3d;
  perspective-origin: 50% 50%;
  pointer-events: none;
}
.flow-on .mcp-scene > :is(.story-chat, .mcp-data-sheet) {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--surface-width, 0px);
  height: var(--surface-height, 0px);
  transform: var(--surface-transform);
  right: auto;
  bottom: auto;
  max-height: none;
  min-height: 0;
  margin: 0;
  transform-origin: center;
  flex: none;
}
@media (max-width: 700px) {
  .flow-on .mcp-scene {
    height: calc(100% - 25px);
  }
}
.show-screen {
  touch-action: pinch-zoom;
}
.show-screen :is([data-story-scroll], [data-story-interactive], dialog) {
  touch-action: auto;
}

/* Complete programme: ShadowRoot isolates accepted post-app layouts. */
.complete-tail{position:absolute;inset:0;z-index:25;overflow:hidden;background:#f5f5f7}
.complete-tail[hidden]{display:none!important}
.post-app-active>.show-header{z-index:40}
.post-app-active>:not(.show-header):not(.complete-tail){visibility:hidden;pointer-events:none}
.post-app-active.programme-bridging>:is(.rig,.studio-world,.feature-wheel,.shot-caption,.story-panels){visibility:visible}
.programme-bridging>.complete-tail{background:var(--handoff-background,transparent)}
.programme-bridging .rig .device{opacity:var(--handoff-phone-opacity);will-change:opacity}
.programme-bridging .rig .device:not(.has-webgl){transform:var(--handoff-phone-transform);transform-origin:var(--handoff-origin);will-change:transform,opacity}
.programme-bridging>:is(.feature-wheel,.shot-caption,.story-panels){opacity:var(--handoff-copy-opacity)!important;translate:0 var(--handoff-copy-shift);will-change:translate,opacity}
