/* First–Then workspace. The same width budget and card geometry serve Show and Quiet View. */
.vc-ft-show [hidden], .vc-ft-library [hidden] { display: none !important; }
.vc-app[data-view="firstThenShow"] .vc-main,
.vc-app[data-view="firstThenBoards"] .vc-main {
  width: 100%;
  max-width: none;
  padding: clamp(.85rem, 2vw, 1.55rem) clamp(.6rem, 2.7vw, 2.2rem) calc(.8rem + var(--vc-safe-bottom));
}
.vc-app[data-view="firstThenShow"] .vc-header,
.vc-app[data-view="firstThenBoards"] .vc-header {
  max-width: 86rem;
  padding-inline: clamp(.7rem, 2.7vw, 2.2rem);
}
.vc-app[data-view="firstThenShow"] .vc-header-quiet[data-ft-quiet-available] { display: inline-flex; }

.vc-ft-show {
  --ft-card-cap: 22.5rem;
  --ft-height-reserve: calc(14rem + var(--vc-safe-top) + var(--vc-safe-bottom));
  --ft-card-edge: min(var(--ft-card-cap), max(6.5rem, calc((100vh - var(--ft-height-reserve)) * .88)));
  --ft-card-edge: min(var(--ft-card-cap), max(6.5rem, calc((100dvh - var(--ft-height-reserve)) * .88)));
  --ft-connector: clamp(1.25rem, 5vw, 3.25rem);
  display: grid;
  grid-template-columns: 0px minmax(0, 1fr);
  align-items: start;
  width: 100%;
  max-width: 83rem;
  margin-inline: auto;
  transition: grid-template-columns .24s ease;
}
.vc-ft-show[data-inline-tray="true"] { grid-template-columns: 19.4rem minmax(0, 1fr); }
.vc-ft-stage {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  margin-inline: auto;
  text-align: center;
}
.vc-ft-stage-title {
  max-width: min(100%, 42rem);
  margin: 0 auto clamp(.65rem, 1.65vh, 1rem);
  color: var(--vc-color-text-primary);
  font-size: clamp(1.05rem, 2.1vw, 1.68rem);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vc-ft-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: .26rem;
}
.vc-ft-pair--stage {
  grid-template-columns: minmax(0, 1fr) var(--ft-connector) minmax(0, 1fr);
  gap: 0;
  max-width: calc(var(--ft-card-edge) + var(--ft-card-edge) + var(--ft-connector));
  margin-inline: auto;
}
.vc-ft-card {
  min-width: 0;
  background: var(--vc-color-surface);
  border: 1px solid var(--vc-color-border);
}
.vc-ft-card:first-child { background: var(--vc-color-surface-soft); }
.vc-ft-pair--stage .vc-ft-card {
  position: relative;
  /* A concrete intrinsic block prevents mobile WebKit grid stretching.
     Show and Quiet share this geometry, including when aspect-ratio fails. */
  aspect-ratio: auto;
  height: auto;
  min-height: 0;
  align-self: center;
  border-radius: clamp(.9rem, 2vw, 1.55rem);
  border-color: var(--vc-color-border-strong);
  box-shadow: 0 .4rem 1.35rem rgb(25 75 70 / 9%);
  isolation: isolate;
}
 .vc-ft-pair--stage .vc-ft-card::before {
  content: "";
  display: block;
  padding-top: 108%;
}
.vc-ft-card-body {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  justify-items: center;
  align-items: center;
  min-width: 0;
  width: 100%;
  height: 100%;
}
.vc-ft-pair--stage .vc-ft-card-body {
  position: absolute;
  inset: 0;
  padding: clamp(.46rem, 1.35vw, 1.22rem) clamp(.42rem, 1.4vw, 1.25rem);
  gap: clamp(.18rem, .65vw, .55rem);
}
.vc-ft-card-heading { font-weight: 800; color: var(--vc-color-brand-strong); }
.vc-ft-pair--stage .vc-ft-card-heading {
  font-size: clamp(.69rem, 1.28vw, .96rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .085em;
  padding-block: .2em;
}
.vc-ft-arrow {
  justify-self: center;
  color: var(--vc-color-brand-strong);
  line-height: 1;
}
.vc-ft-pair--stage .vc-ft-arrow {
  display: grid;
  place-items: center;
  width: clamp(1.1rem, 3.2vw, 2.15rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--vc-color-surface-soft);
  font-size: clamp(.92rem, 2vw, 1.35rem);
}
.vc-ft-art.vc-item-visual {
  display: grid; place-items: center;
  width: 100%; height: 100%; min-width: 0; min-height: 0; margin: 0;
  background: transparent; border: 0; box-shadow: none; color: var(--vc-color-brand-strong);
}
.vc-ft-art .vc-icon, .vc-ft-art img, .vc-ft-art svg {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain;
}
.vc-ft-pair--stage .vc-ft-art { width: 79%; }
.vc-ft-pair--stage .vc-ft-art .vc-icon--emoji { font-size: clamp(2.2rem, 9vw, 7rem); line-height: 1; }
.vc-ft-activity {
  color: var(--vc-color-text-primary);
  font-size: clamp(1.04rem, 3vw, 2.5rem);
  line-height: 1.13;
  overflow-wrap: anywhere;
  width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
.vc-ft-activity[data-length="medium"] { font-size: clamp(.89rem, 2.4vw, 1.9rem); }
.vc-ft-activity[data-length="long"] { font-size: clamp(.76rem, 1.86vw, 1.46rem); }
.vc-ft-card--text .vc-ft-activity { grid-row: 2; align-self: center; }
@media (max-width: 74.99rem) { .vc-ft-show { --ft-card-cap: 19.375rem; } }
@media (min-width: 96rem) { .vc-ft-show { --ft-card-cap: 26rem; } }
@media (orientation: landscape) and (max-height: 31rem) and (min-width: 36rem) {
  .vc-ft-show { --ft-height-reserve: calc(10.75rem + var(--vc-safe-top) + var(--vc-safe-bottom)); }
  .vc-ft-stage-controls {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem;
  }
}

.vc-app[data-view="firstThenShow"][data-first-then-quiet="true"] .vc-header__brand,
.vc-app[data-view="firstThenShow"][data-first-then-quiet="true"] .vc-header-more,
.vc-app[data-view="firstThenShow"][data-first-then-quiet="true"] .vc-ft-toolbar,
.vc-app[data-view="firstThenShow"][data-first-then-quiet="true"] .vc-ft-stage-title { display: none; }
.vc-app[data-view="firstThenShow"][data-first-then-quiet="true"] .vc-header { justify-content: flex-end; }
.vc-app[data-view="firstThenShow"][data-first-then-quiet="true"] .vc-header-quiet {
  width: auto; gap: .45rem; padding-inline: .72rem; min-height: 44px;
  color: var(--vc-color-brand-strong); border: 1px solid var(--vc-color-border-strong);
}
.vc-app[data-view="firstThenShow"][data-first-then-quiet="true"] .vc-ft-quiet-exit-label[hidden] {
  display: inline; font-size: .84rem; font-weight: 700;
}
.vc-app[data-view="firstThenShow"][data-first-then-quiet="true"] .vc-main { display: grid; align-content: center; }
.vc-app[data-view="firstThenShow"][data-first-then-quiet="true"] .vc-ft-show {
  --ft-card-cap: 26.875rem;
  --ft-height-reserve: calc(9rem + var(--vc-safe-top) + var(--vc-safe-bottom));
}

.vc-ft-toolbar, .vc-ft-sequence, .vc-ft-builder-actions {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: .45rem; margin-top: clamp(.55rem, 1.75vh, 1rem);
}
.vc-ft-builder-actions { justify-content: flex-start; margin-top: .8rem; }
.vc-ft-toolbar .vc-button, .vc-ft-sequence .vc-button, .vc-ft-builder-actions .vc-button,
.vc-ft-menu summary, .vc-ft-icon-action {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.vc-ft-stage .vc-ft-toolbar .vc-button, .vc-ft-sequence .vc-button, .vc-ft-builder-actions > .vc-button {
  padding: .45rem .75rem; font-size: .88rem; line-height: 1.2;
}
.vc-ft-stage .vc-ft-toolbar .vc-button--secondary, .vc-ft-sequence .vc-button,
.vc-ft-builder-actions > .vc-button, .vc-ft-library-head > .vc-button {
  color: var(--vc-color-brand-strong);
  background: var(--vc-color-surface);
  border: 1px solid var(--vc-color-border);
}
.vc-ft-stage .vc-ft-tray-toggle[aria-expanded="true"] { background: var(--vc-color-surface-soft); border-color: var(--vc-color-border-strong); }
.vc-ft-sequence { color: var(--vc-color-text-muted); font-size: .82rem; }
.vc-ft-sequence > span { min-width: 3.4rem; }
.vc-ft-edit-actions { justify-content: flex-start; }
.vc-ft-menu { position: relative; }
.vc-ft-menu[open] { z-index: 4; }
.vc-ft-menu summary, .vc-ft-icon-action {
  min-width: 44px;
  border: 1px solid var(--vc-color-border);
  background: var(--vc-color-surface);
  color: var(--vc-color-brand-strong);
  border-radius: .8rem;
  cursor: pointer;
  padding-inline: .68rem;
  list-style: none;
  font: inherit;
  font-weight: 700;
}
.vc-ft-menu summary::-webkit-details-marker { display: none; }
.vc-ft-menu > div {
  z-index: 5; position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + .35rem);
  width: max-content; max-width: min(16rem, 82vw); padding: .3rem; border-radius: .8rem;
  text-align: start; border: 1px solid var(--vc-color-border-strong); background: var(--vc-color-surface-raised);
  box-shadow: 0 .45rem 1.25rem #0002;
}
.vc-ft-show .vc-ft-menu > div { inset-block: auto calc(100% + .35rem); }
.vc-ft-menu > div > button { display: flex; width: 100%; justify-content: flex-start; text-align: start; min-height: 44px; }

.vc-ft-tray-host { grid-column: 1; grid-row: 1; min-width: 0; overflow: hidden; }
.vc-ft-tray-host .vc-ft-tray { inline-size: 18rem; }
.vc-ft-show[data-inline-tray="true"] .vc-ft-tray-host .vc-ft-tray { animation: vc-ft-slide-in .24s ease-out; }
@keyframes vc-ft-slide-in { from { transform: translateX(-1.2rem); opacity: .35; } to { transform: translateX(0); opacity: 1; } }
.vc-ft-stage { grid-row: 1; }
.vc-ft-tray {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: .55rem; min-width: 0; padding: .75rem;
  height: min(40rem, calc(100vh - 6rem));
  height: min(40rem, calc(100dvh - 6rem));
  border-radius: 1.1rem;
  border: 1px solid var(--vc-color-border);
  background: var(--vc-color-surface-muted);
}
.vc-ft-tray-heading, .vc-ft-library-head, .vc-ft-tile-tools {
  display: flex; justify-content: space-between; align-items: center; gap: .4rem;
}
.vc-ft-tray h2 { margin: 0; font-size: 1.18rem; }
.vc-ft-tray-heading .vc-ft-icon-action { font-size: 1.25rem; }
.vc-ft-tray-filters { display: grid; gap: .4rem; min-width: 0; }
.vc-ft-field { display: grid; gap: .28rem; min-width: 0; text-align: start; font-size: .875rem; font-weight: 650; }
.vc-ft-field :is(input, select) { min-width: 0; width: 100%; min-height: 44px; }
.vc-ft-search { position: relative; }
.vc-ft-search .vc-input { padding-inline-start: 2.15rem; }
.vc-ft-search-icon {
  position: absolute;
  inset-inline-start: .85rem; top: 50%;
  width: .69rem; height: .69rem;
  border: 1.6px solid var(--vc-color-text-muted);
  border-radius: 50%; transform: translateY(-63%);
  pointer-events: none;
}
.vc-ft-search-icon::after {
  content: ""; position: absolute;
  width: .35rem; height: 1.6px;
  bottom: -.16rem; inset-inline-end: -.25rem;
  background: var(--vc-color-text-muted); transform: rotate(45deg);
}
.vc-ft-tabs {
  display: flex; gap: .15rem; min-width: 0;
  overflow-x: auto; overscroll-behavior-inline: contain; padding: .15rem .18rem;
  scrollbar-width: thin;
}
.vc-ft-tabs .vc-button {
  flex: 0 0 auto; white-space: nowrap; font-size: .86rem;
  min-height: 44px; padding: .36rem .7rem;
  color: var(--vc-color-text-secondary); background: transparent; border: 1px solid transparent;
}
.vc-ft-tabs .vc-button[aria-current="true"] {
  color: var(--vc-color-brand-strong); background: var(--vc-color-surface-soft); border-color: var(--vc-color-border-strong);
}
.vc-ft-tabs .vc-button:focus-visible { outline-offset: -3px; }
.vc-ft-collection-field .vc-select {
  font-size: .86rem; padding-block: .4rem;
  color: var(--vc-color-text-primary); background-color: var(--vc-color-surface);
}
.vc-ft-rows {
  min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable;
  padding: .18rem .25rem;
}
.vc-ft-switch {
  width: 100%; padding: .33rem .48rem;
  display: grid; grid-template-columns: 5.6rem minmax(0, 1fr);
  gap: .5rem; align-items: center; text-align: start; margin-bottom: .32rem; min-height: 56px;
  border-radius: .72rem; cursor: pointer; border: 1px solid var(--vc-color-border);
  background: var(--vc-color-surface); color: var(--vc-color-text-primary); font: inherit; font-size: .86rem;
}
.vc-ft-switch > span { overflow-wrap: anywhere; }
.vc-ft-switch[aria-current="true"] {
  border-color: var(--vc-color-brand-strong); background: var(--vc-color-surface-soft);
  box-shadow: inset .18rem 0 0 var(--vc-color-brand-strong);
}
.vc-ft-pair--thumb .vc-ft-card { border-radius: .5rem; aspect-ratio: 1 / 1.07; }
.vc-ft-pair--thumb .vc-ft-card-body { grid-template-rows: auto minmax(0, 1fr); padding: .18rem; gap: .08rem; }
.vc-ft-pair--thumb .vc-ft-card-heading { font-size: .68rem; line-height: 1.15; }
.vc-ft-pair--thumb .vc-ft-art { max-width: 76%; }
.vc-ft-switch .vc-ft-card-heading { display: none; }
.vc-ft-switch .vc-ft-card-body { grid-template-rows: minmax(0, 1fr); }
.vc-ft-switch .vc-ft-art { max-width: 92%; }
.vc-ft-tray-footer { display: flex; justify-content: center; border-top: 1px solid var(--vc-color-border); }
.vc-ft-tray-footer .vc-button { min-height: 44px; background: transparent; padding-block: .45rem; font-size: .87rem; }

.vc-ft-library { max-width: 65rem; margin-inline: auto; min-width: 0; }
.vc-ft-library-head { margin-bottom: .82rem; }
.vc-ft-library-head > div { display: flex; gap: .55rem; min-width: 0; align-items: center; }
.vc-ft-library-head h2 { margin: 0; font-size: clamp(1.25rem, 3.3vw, 1.92rem); }
.vc-ft-library-head > .vc-button { flex: 0 0 auto; min-height: 44px; padding: .45rem .7rem; font-size: .86rem; }
.vc-ft-library-controls {
  display: grid; gap: .42rem; padding: .65rem .75rem;
  border: 1px solid var(--vc-color-border); border-radius: .95rem;
  background: var(--vc-color-surface-muted);
  margin-bottom: .85rem;
}
.vc-ft-library-controls .vc-ft-search { width: min(100%, 25rem); }
.vc-ft-library-filters, .vc-ft-collection-tools { display: flex; align-items: center; gap: .35rem; min-width: 0; }
.vc-ft-library-filters { justify-content: space-between; flex-wrap: wrap; }
.vc-ft-library-filters .vc-ft-tabs { max-width: 100%; }
.vc-ft-collection-tools .vc-ft-collection-field { width: clamp(7.5rem, 15vw, 12rem); }
.vc-ft-collection-tools .vc-button { min-height: 44px; padding: .38rem .55rem; font-size: .82rem; background: transparent; border-color: transparent; color: var(--vc-color-brand-strong); }
.vc-ft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.vc-ft-grid[data-ft-single] { grid-template-columns: minmax(0, 1fr); }
.vc-ft-tile {
  min-width: 0; padding: .45rem;
  display: grid; align-content: start; gap: .22rem;
  border: 1px solid var(--vc-color-border); border-radius: .95rem; background: var(--vc-color-surface);
}
.vc-ft-open {
  display: grid; align-items: center; gap: .45rem; min-width: 0;
  width: 100%; padding: .27rem; border: 0; border-radius: .6rem; background: transparent;
  color: var(--vc-color-text-primary); font: inherit; text-align: start; cursor: pointer;
}
.vc-ft-open:hover { background: var(--vc-color-surface-muted); }
.vc-ft-tile .vc-ft-pair--thumb { width: min(100%, 12.5rem); margin-inline: auto; }
.vc-ft-open strong { min-width: 0; overflow-wrap: anywhere; font-size: .94rem; line-height: 1.25; }
.vc-ft-tile-tools { justify-content: flex-end; gap: .1rem; }
.vc-ft-tile-tools .vc-button, .vc-ft-tile-tools summary {
  min-width: 44px; min-height: 44px; border-color: transparent; padding: .2rem; background: transparent;
}
.vc-ft-tile-tools .vc-button[aria-pressed="true"] { color: var(--vc-color-brand-strong); background: var(--vc-color-surface-soft); }
.vc-ft-grid[data-ft-single] .vc-ft-tile { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.vc-ft-grid[data-ft-single] .vc-ft-open { grid-template-columns: min(35%, 9rem) minmax(0, 1fr); }
.vc-ft-library-locked { max-width: 42rem; }
.vc-ft-library-locked .vc-ft-toolbar { justify-content: flex-start; }
.vc-ft-empty { margin: .55rem 0; color: var(--vc-color-text-secondary); grid-column: 1 / -1; }

.vc-ft-dialog, .vc-ft-drawer {
  color: var(--vc-color-text-primary); background: var(--vc-color-surface); border: 1px solid var(--vc-color-border-strong);
  border-radius: 1rem; padding: 1.15rem; width: min(29rem, calc(100% - 1.5rem)); max-height: 85vh; overflow: auto;
}
.vc-ft-dialog h2 { font-size: 1.25rem; margin-block: 0 .6rem; }
.vc-ft-dialog [data-ft-dialog-copy]:empty, .vc-ft-dialog [data-ft-dialog-error]:empty { display: none; }
.vc-ft-dialog::backdrop, .vc-ft-drawer::backdrop { background: rgb(14 29 31 / 52%); }
.vc-ft-drawer {
  padding: 0; margin: auto auto 0; width: min(100%, 34rem); max-width: 100%;
  max-height: 92vh; max-height: 92dvh;
  border-radius: 1.2rem 1.2rem 0 0; border-bottom: 0;
}
.vc-ft-drawer .vc-ft-tray {
  height: min(45rem, 86vh); height: min(45rem, 86dvh);
  padding: .85rem 1rem calc(.55rem + var(--vc-safe-bottom));
  border: 0; border-radius: 0; background: var(--vc-color-surface);
}
.vc-ft-drawer .vc-ft-switch { grid-template-columns: 6.2rem minmax(0, 1fr); min-height: 62px; }
.vc-ft-drawer[open] { animation: vc-ft-sheet-in .2s ease-out; }
@keyframes vc-ft-sheet-in { from { transform: translateY(1.5rem); opacity: .65; } to { transform: translateY(0); opacity: 1; } }
.vc-ft-check { min-height: 44px; display: flex; align-items: center; gap: .5rem; }
.vc-ft-show :focus-visible, .vc-ft-library :focus-visible, .vc-ft-builder-actions :focus-visible {
  outline: 3px solid var(--vc-color-focus-ring); outline-offset: 2px;
}
html.vc-high-contrast .vc-ft-card, html.vc-high-contrast .vc-ft-switch,
html.vc-high-contrast .vc-ft-tile { border: 2px solid var(--vc-high-contrast-edge); }

@media (max-width: 63.99rem) {
  .vc-ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 37.49rem) {
  .vc-ft-show { --ft-card-cap: 11.25rem; }
  .vc-ft-stage-title {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    white-space: normal; overflow-wrap: anywhere;
  }
  .vc-ft-grid { grid-template-columns: minmax(0, 1fr); }
  .vc-ft-tile { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0; padding: .3rem; }
  .vc-ft-open, .vc-ft-grid[data-ft-single] .vc-ft-open { grid-template-columns: min(42%, 6.25rem) minmax(0, 1fr); }
  .vc-ft-tile .vc-ft-card-heading { display: none; }
  .vc-ft-tile .vc-ft-card-body { grid-template-rows: minmax(0, 1fr); }
  .vc-ft-tile .vc-ft-art { max-width: 92%; }
  .vc-ft-library-filters { gap: .25rem; }
  .vc-ft-library-controls { padding-inline: .52rem; }
  .vc-ft-collection-tools { width: 100%; }
  .vc-ft-collection-tools .vc-ft-collection-field { flex: 1 1 auto; width: 7.5rem; }
  .vc-ft-collection-tools > .vc-button { flex: 0 0 auto; }
}
@media (max-width: 22.5rem) {
  .vc-ft-stage .vc-ft-toolbar { gap: .28rem; }
  .vc-ft-stage .vc-ft-toolbar .vc-button { padding-inline: .36rem; font-size: .76rem; }
  .vc-ft-stage .vc-ft-menu summary { padding-inline: .3rem; }
}
@media (max-height: 26rem) {
  .vc-ft-drawer .vc-ft-tray-filters { grid-template-columns: minmax(0, 1fr) minmax(7rem, .7fr); }
}
@media (prefers-reduced-motion: reduce) {
  .vc-ft-show { transition: none; }
  .vc-ft-show[data-inline-tray="true"] .vc-ft-tray-host .vc-ft-tray, .vc-ft-drawer[open] { animation: none; }
}
.vc-reduce-motion .vc-ft-show { transition: none; }
.vc-reduce-motion .vc-ft-show[data-inline-tray="true"] .vc-ft-tray-host .vc-ft-tray,
.vc-reduce-motion .vc-ft-drawer[open] { animation: none; }

/* Sample collection mounts only in the non-Pro My Boards introduction. */
.vc-ft-demo { max-width: 64rem; margin-inline: auto; }
.vc-ft-demo-intro { max-width: 45rem; margin-bottom: 1rem; }
.vc-ft-demo-intro h3 { font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1.15; margin: 0 0 .55rem; }
.vc-ft-demo p { color: var(--vc-color-text-secondary); }
.vc-ft-demo-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 1.3rem; align-items: center; padding: 1rem; border-radius: 1.2rem; border: 1px solid var(--vc-color-border); background: var(--vc-color-surface-muted); }
.vc-ft-demo-picker h4 { margin: 0 0 .7rem; }
.vc-ft-demo-choices { display: flex; flex-direction: column; gap: .5rem; }
.vc-ft-demo-choice { font: inherit; font-size: .95rem; text-align: start; padding: .6rem .8rem; min-height: 48px; border-radius: .8rem; border: 1px solid var(--vc-color-border); color: var(--vc-color-text-primary); background: var(--vc-color-surface); cursor: pointer; }
.vc-ft-demo-choice[aria-pressed="true"] { border-color: var(--vc-color-brand-strong); background: var(--vc-color-surface-soft); box-shadow: inset .2rem 0 0 var(--vc-color-brand-strong); }
.vc-ft-demo-picker p { font-size: .85rem; line-height: 1.4; }
.vc-ft-demo-display { min-width: 0; text-align: center; --ft-card-edge: 15rem; --ft-connector: 2rem; }
.vc-ft-demo-display .vc-ft-pair--stage { max-width: 32rem; }
.vc-ft-demo-display .vc-ft-activity { font-size: clamp(1rem, 2.2vw, 1.65rem); }
.vc-ft-demo-tag { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--vc-color-text-muted); margin-bottom: .5rem; }
.vc-ft-demo-footer { margin-top: 1rem; }
.vc-ft-demo-footer .vc-ft-toolbar { justify-content: flex-start; }
.vc-ft-demo-note { font-size: .85rem; }
@media(max-width: 44rem) {
  .vc-ft-demo-layout { grid-template-columns: minmax(0, 1fr); padding: .7rem; gap: .5rem; }
  .vc-ft-demo-choices { flex-direction: row; overflow-x: auto; padding-block: .2rem; }
  .vc-ft-demo-choice { flex: 0 0 9rem; font-size: .85rem; }
  .vc-ft-demo-display .vc-ft-pair--stage { max-width: 24rem; }
}

/* Universal Saved navigation uses canonical records on both tabs. */
.vc-saved-content-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: .25rem; gap: .25rem; border-radius: .9rem; background: var(--vc-color-surface-muted); border: 1px solid var(--vc-color-border); margin-bottom: .8rem; }
.vc-saved-content-tabs button { min-width: 0; min-height: 44px; border: 1px solid transparent; border-radius: .65rem; color: var(--vc-color-text-secondary); background: transparent; font: inherit; font-weight: 700; cursor:pointer; }
.vc-saved-content-tabs button[aria-selected="true"] { color:var(--vc-color-brand-strong); background:var(--vc-color-surface); border-color:var(--vc-color-border-strong); }
.vc-saved-content-tabs button:focus-visible {outline: 3px solid var(--vc-color-focus-ring);outline-offset:-3px;}
.vc-app[data-view="schedules"] [data-saved-first-then] { grid-template-columns: 7.5rem minmax(0,1fr) auto; column-gap: .85rem; max-width: 48rem; margin-inline:auto; width:100%; }
.vc-app[data-view="schedules"] [data-saved-first-then] .vc-saved-board-thumbnail {grid-column:1;grid-row:1 / span 2;align-self:center;}
.vc-app[data-view="schedules"] [data-saved-first-then] .vc-saved-schedule-card__body {grid-column:2;grid-row:1;min-width:0;}
.vc-app[data-view="schedules"] [data-saved-first-then] .vc-saved-schedule-card__menu {grid-column:3;grid-row:1;}
.vc-app[data-view="schedules"] [data-saved-first-then] .vc-saved-schedule-card__actions {grid-column:2 / span 2;grid-row:2;justify-self:start;margin-top:.35rem;}
.vc-app[data-view="schedules"] [data-saved-first-then] .vc-saved-schedule-card__primary {min-height:44px;padding:.45rem .85rem;}
.vc-saved-board-thumbnail {min-width:0;}
.vc-saved-board-thumbnail .vc-ft-art {max-width:90%;}
.vc-saved-board-thumbnail .vc-ft-card-heading {font-size:.59rem;}
.vc-ft-builder-menu > div {max-height: min(18rem,60vh); overflow-y:auto;}
@media(max-width:37rem) {
  .vc-app[data-view="schedules"] [data-saved-first-then] {grid-template-columns:5.3rem minmax(0,1fr) auto;column-gap:.45rem;}
  .vc-app[data-view="schedules"] [data-saved-first-then] .vc-saved-schedule-card__meta {font-size:.73rem;}
  .vc-saved-board-thumbnail .vc-ft-card-heading {display:none;}
  .vc-saved-board-thumbnail .vc-ft-card-body {grid-template-rows:minmax(0,1fr);}
}

.vc-saved-routines-tools[hidden] { display:none !important; }

.vc-app[data-view="schedules"] [data-saved-first-then]:only-child { grid-column: 1 / -1; }

/* .608 final polish: title-row exit and contextual copy only. Card sizing stays .607. */
.vc-ft-title-row { position:relative; min-height:44px; display:grid; align-items:center; margin:0 auto clamp(.65rem,1.65vh,1rem); }
.vc-ft-title-row .vc-ft-stage-title { margin-block:0; padding-inline:3rem; width:100%; box-sizing:border-box; }
.vc-ft-close-board { position:absolute; inset-inline-end:0; inset-block-start:0; width:44px; height:44px; padding:0; border-radius:.8rem; font:inherit; font-size:1.55rem; line-height:1; cursor:pointer; }
.vc-ft-close-board:focus-visible { outline:3px solid var(--vc-color-brand-strong); outline-offset:2px; }
.vc-app[data-view="firstThenShow"][data-first-then-quiet="true"] .vc-ft-title-row { display:none; }
.vc-ft-demo-intro .vc-ft-demo-eyebrow { margin:0 0 .45rem; color:var(--vc-color-brand-strong); font-size:.76rem; font-weight:800; letter-spacing:.075em; line-height:1.5; }
.vc-routines-section > .vc-saved-routines-tools { display:flex; justify-content:flex-end; margin:-.2rem 0 .6rem; }
.vc-saved-routines-tools > [data-open-scheduled-routines] { min-height:44px; padding:.35rem .55rem; font-size:.9rem; }

@media (orientation:landscape) and (max-height:31rem) and (min-width:36rem) {
  .vc-ft-title-row { margin-top:-.5rem; margin-bottom:.25rem; }
}

/* .609 tablet picker: one existing modal/tray, no board-stage reflow. */
.vc-ft-drawer[data-ft-drawer-mode="tablet-overlay"] {
  box-sizing:border-box; inset:0 auto 0 0; margin:0;
  width:clamp(17.5rem,28vw,19rem); max-width:calc(100% - 1rem);
  height:100vh; height:100dvh; max-height:100vh; max-height:100dvh;
  border-radius:0 1.1rem 1.1rem 0; border:1px solid var(--vc-color-border-strong);
}
.vc-ft-drawer[data-ft-drawer-mode="tablet-overlay"] .vc-ft-tray {
  box-sizing:border-box; width:100%; height:100%; min-height:0;
  padding:calc(.85rem + var(--vc-safe-top)) .85rem calc(.55rem + var(--vc-safe-bottom));
}
.vc-ft-drawer[data-ft-drawer-mode="tablet-overlay"][open] { animation:vc-ft-tablet-in .22s ease-out; }
@keyframes vc-ft-tablet-in { from { transform:translateX(-100%); opacity:.65; } to { transform:translateX(0); opacity:1; } }
@media(prefers-reduced-motion:reduce) { .vc-ft-drawer[data-ft-drawer-mode="tablet-overlay"][open] { animation:none; } }
.vc-reduce-motion .vc-ft-drawer[data-ft-drawer-mode="tablet-overlay"][open] { animation:none; }

/* .610 local workspace toolbar. One live action group is rehosted by fit. */
.vc-ft-top-host { display:none; }
.vc-ft-toolbar .vc-ft-top-exit { display:none; }
.vc-ft-show[data-workspace-toolbar="top"] .vc-ft-top-host { display:block; text-align:start; }
.vc-ft-show[data-workspace-toolbar="top"] .vc-ft-top-host .vc-ft-toolbar {
  margin:0 0 1rem; flex-wrap:nowrap; justify-content:flex-end;
}
.vc-ft-show[data-workspace-toolbar="top"] [data-ft-toolbar] > * { flex-shrink:0; }
.vc-ft-show[data-workspace-toolbar="top"] [data-ft-toolbar] .vc-button { white-space:nowrap; }
.vc-ft-show[data-workspace-toolbar="top"] .vc-ft-tray-toggle { margin-inline-end:auto; gap:.5rem; }
.vc-ft-show[data-workspace-toolbar="top"] .vc-ft-tray-toggle::before {
  content:""; width:1em; height:1em; border:1.5px solid currentColor; border-radius:.18em;
  background:linear-gradient(to right,currentColor 0%,currentColor 28%,transparent 28%);
}
.vc-ft-show[data-workspace-toolbar="top"] .vc-ft-toolbar .vc-ft-top-exit { display:inline-flex; }
.vc-ft-show[data-workspace-toolbar="top"] .vc-ft-title-row .vc-ft-close-board { display:none; }
.vc-ft-show[data-workspace-toolbar="top"] .vc-ft-stage-title { padding-inline:0; }
.vc-ft-show[data-workspace-toolbar="top"] .vc-ft-menu > div {
  inset-block:calc(100% + .35rem) auto; max-height:calc(100vh - 11rem); overflow-y:auto;
}

/* .610: center the title and intrinsic pair as a unit below the local toolbar.
   Minimum stage space is a budget, never a forced activity-card height. */
.vc-app[data-view="firstThenShow"] .vc-ft-show[data-workspace-toolbar="top"] .vc-ft-stage {
  display:grid; grid-template-rows:auto minmax(max-content,1fr) auto;
  min-height:var(--ft-stage-available,0px);
}
.vc-app[data-view="firstThenShow"] .vc-ft-show[data-workspace-toolbar="top"] .vc-ft-presentation {
  display:grid; align-items:center; min-width:0;
}
@media(min-width:56.25rem) and (max-width:74.99rem) and (min-height:37.5rem) {
  .vc-app[data-view="firstThenShow"] .vc-ft-show[data-workspace-toolbar="top"] { --ft-card-cap:21.25rem; }
}

/* Keep one custom magnifier; retain WebKit's native search cancel button. */
.vc-ft-search input[type="search"]::-webkit-search-decoration { display:none; }
