/* The new video Studio (portal rethink stage 12; studio.js, CONFIG.STUDIO_NEW).
   Every rule is scoped under .st, except the one that sets the Social screen aside
   while the Studio draws (.st-takes). Black for decisions, red only for what waits on
   the owner and for what stopped, the yellow whisper on the one primary button. */
.view.st-takes > :not(#st-root) { display: none !important; }
/* the Business front page (#bz-social, business.css) and desk2's page set themselves to block with high specificity; this wins */
html #view-social.view.st-takes.st-takes.st-takes.st-takes > :not(#st-root) { display: none !important; }
html #view-social.view.st-takes.st-takes > #st-root:not([hidden]) { display: block !important; }
.st[hidden] { display: none !important; }
.st { --st-ink: #111; --st-ink2: #3A3A36; --st-line: #E3E3DC; --st-line2: #EFEFE9; --st-mute: #73736D; --st-col: #EBEBE4; --st-red: #D6362B; --st-y: #F5C500; --st-ph: #DEDDD6;
  color: var(--st-ink); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; }
.st button, .st input, .st textarea { font: inherit; color: inherit; }
.st-wrap { padding: 4px 0 40px; }
.st .st-mute { color: var(--st-mute); font-size: 13px; }
.st .is-red { color: var(--st-red); }
.st .is-strong { font-weight: 600; color: var(--st-ink); }
.st-grow { flex: 1; }
.st .st-link { padding: 0; border: 0; background: none; font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; color: var(--st-ink); }
.st .st-link.is-red { color: var(--st-red); text-decoration: none; }
.st-crumbs { display: flex; align-items: center; gap: 8px; color: var(--st-mute); font-size: 15px; margin: 0 0 14px; }
.st-crumbs button { border: 0; background: none; padding: 0; color: var(--st-mute); cursor: pointer; font-size: 15px; }
.st-crumbs b { color: var(--st-ink); font-size: 17px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 640px; }
.st-top { display: flex; align-items: flex-start; gap: 16px; }
.st .st-big { font-size: 26px; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; margin: 0; max-width: 900px; }
.st .st-big2 { font-size: 22px; line-height: 1.2; letter-spacing: -.015em; font-weight: 700; margin: 0 0 8px; }
.st .st-sub { color: var(--st-mute); font-size: 15px; margin: 6px 0 0; }
.st .st-h2 { font-size: 17px; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.st .st-h3 { font-size: 16px; font-weight: 650; margin: 24px 0 10px; }
.st .st-para { font-size: 15px; line-height: 1.45; margin: 6px 0 0; }
.st .st-pre { white-space: pre-wrap; }
.st .st-gap { margin-top: 10px; }
.st .st-gap2 { margin-top: 18px; }
.st .st-center { text-align: center; }
.st .st-msg { font-size: 14px; margin: 12px 0 0; color: var(--st-ink2); }
.st .st-note { font-size: 13.5px; color: var(--st-mute); margin: 10px 0 0; display: flex; gap: 6px; align-items: center; }
.st .st-why { font-size: 13px; color: var(--st-mute); margin: 8px 0 0; }
.st .st-empty { color: var(--st-mute); font-size: 14px; margin: 0; padding: 4px 20px 18px; }
.st .st-foot { color: var(--st-mute); font-size: 12.5px; margin: 0; padding: 12px 20px 14px; border-top: 1px solid var(--st-line2); display: flex; gap: 6px; align-items: center; }
.st .st-foot2 { color: var(--st-mute); font-size: 13px; margin: 16px 0 0; }
.st .st-foot2 .st-link { font-size: 13px; font-weight: 500; color: var(--st-mute); }
.st .st-try { margin: 6px 0 0; }

.st-card { background: #fff; border: 1px solid var(--st-line); border-radius: 14px; padding: 18px 20px; }
.st-card.st-tbl { padding: 18px 0 0; overflow: hidden; }
.st-tbl > .st-ch { padding: 0 20px 10px; border-bottom: 1px solid var(--st-line2); }
.st-ch { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.st-col { display: flex; flex-direction: column; min-width: 0; gap: 16px; }
.st-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; align-items: start; margin-top: 22px; }
.st-three { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 18px; }
.st-three.is-post { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr); }
.st-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; align-items: start; margin-top: 18px; }
.st-mid { align-items: stretch; }

.st-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 16px; border: 1px solid var(--st-line); border-radius: 10px; background: #fff; font-size: 14.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.st-btn:hover { background: #FAFAF7; }
.st-btn[disabled] { opacity: .4; cursor: default; }
.st-btn.is-k { background: var(--st-ink); border-color: var(--st-ink); color: #fff; }
.st-btn.is-y { background: var(--st-y); border-color: var(--st-y); color: var(--st-ink); height: 44px; padding: 0 22px; font-size: 15.5px; }
.st-btn.is-soft { background: var(--st-col); border-color: transparent; }
.st-btn.st-wide { width: 100%; margin-top: 12px; }
.st-acts { display: flex; gap: 10px; margin-top: 14px; }
.st-acts .st-btn.st-wide { flex: 1; margin-top: 0; }

/* rows on the home */
.st-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 16px 20px; border-left: 3px solid transparent; }
.st-row + .st-row { border-top: 1px solid var(--st-line2); }
.st-row.is-you { border-left-color: var(--st-red); }
.st-row.is-flat { grid-template-columns: minmax(0, 1fr) auto auto; }
.st-row b { font-weight: 650; font-size: 15.5px; }
.st-stack { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.st-line { font-size: 14.5px; }
.st-age { white-space: nowrap; }
.st-rstate { font-size: 14px; color: var(--st-mute); white-space: nowrap; }
.st-rstate.is-strong { color: var(--st-ink); font-weight: 600; }
.st-thumb { position: relative; width: 56px; height: 80px; border-radius: 8px; background: var(--st-ph); display: flex; align-items: center; justify-content: center; color: #6E6D66; flex: 0 0 auto; }
.st-thumb em { position: absolute; left: 7px; bottom: 6px; font-style: normal; font-size: 11px; font-weight: 600; color: #4A4A45; }
.st-prog { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.st-prog b { font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.st-prog .st-bar { flex: 0 1 320px; }
.st-prog.is-wide .st-bar { flex: 1; }
.st-bar { display: block; height: 5px; border-radius: 3px; background: var(--st-line2); overflow: hidden; min-width: 60px; }
.st-bar i { display: block; height: 100%; border-radius: 3px; background: var(--st-ink); }
.st-kv { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; font-size: 14.5px; }
.st-kv + .st-kv { border-top: 1px solid var(--st-line2); }
.st-kv b { font-weight: 600; text-align: right; }
.st-side .st-card .st-bar { margin-top: 4px; }

/* new video */
.st-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.st-doors.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.st-door { text-align: left; border: 1px solid var(--st-line); border-radius: 14px; background: #fff; padding: 20px 24px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.st-door b { font-size: 17px; font-weight: 650; }
.st-door span { color: var(--st-mute); font-size: 14.5px; }
.st-door.is-on { border: 2px solid var(--st-ink); padding: 19px 23px; }
.st-drop { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 18px 22px; border: 1.5px dashed #CFCFC6; border-radius: 14px; background: #fff; color: var(--st-mute); }
.st-drop b { color: var(--st-ink); font-size: 15.5px; font-weight: 650; }
.st-drop.is-big { margin-top: 0; min-height: 160px; }
.st-browse { font-weight: 600; color: var(--st-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14.5px; white-space: nowrap; }
.st-opt { display: flex; align-items: center; gap: 20px; padding: 14px 24px 14px 16px; border: 1px solid var(--st-line); border-radius: 14px; background: #fff; }
.st-opt.is-on { border: 2px solid var(--st-ink); padding: 13px 23px 13px 15px; }
.st-opt.is-off { opacity: .62; }
.st-opt .st-thumb { width: 52px; height: 66px; }
.st-opt b { font-size: 16px; }
.st-opt .st-r { margin-left: auto; white-space: nowrap; font-size: 14px; }
.st-in { width: 100%; box-sizing: border-box; height: 46px; padding: 0 18px; border: 1px solid var(--st-line); border-radius: 10px; background: #fff; font-size: 15.5px; }
.st-in.st-ta { height: auto; padding: 14px 18px; line-height: 1.5; resize: vertical; }
.st-in:focus, .st-ta:focus { outline: 2px solid var(--st-ink); outline-offset: -1px; }
.st-change { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 18px; padding: 16px 20px; background: #fff; border: 1px solid var(--st-line); border-radius: 14px; }
.st-change label { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; }
.st-seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--st-col); }
.st-seg button { height: 32px; padding: 0 14px; border: 0; border-radius: 8px; background: none; color: var(--st-mute); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.st-seg button.is-on { background: #fff; color: var(--st-ink); font-weight: 600; box-shadow: 0 0 0 .5px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08); }
.st-takes { align-self: center; margin-bottom: 14px; }
.st-picks { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--st-line); border-radius: 14px; overflow: hidden; }
.st-pick { text-align: left; border: 0; border-left: 3px solid transparent; background: none; padding: 13px 20px; cursor: pointer; }
.st-pick + .st-pick { border-top: 1px solid var(--st-line2); }
.st-pick.is-on { border-left-color: var(--st-ink); background: #FAFAF7; }
.st-pick b { font-weight: 600; font-size: 15px; }
.st-new .st-doors.is-two + .st-opt, .st-new .st-doors.is-two + .st-drop { margin-top: 16px; }
.st-bottom { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--st-line); }
.st-bottom .st-mute { font-size: 14.5px; }

/* one video */
.st-vhead { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.st-vhead .st-crumbs { margin: 0; }
.st-flag { color: var(--st-red); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.st-stages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding: 18px 22px; }
.st-stage { position: relative; display: flex; flex-direction: column; gap: 3px; padding-right: 10px; min-width: 0; }
.st-stage b { font-size: 14.5px; font-weight: 650; margin-top: 8px; }
.st-stage span:last-child { font-size: 13px; color: var(--st-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-stage .st-dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #BDBDB5; background: #fff; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.st-stage::before { content: ""; position: absolute; left: 30px; right: 10px; top: 10px; height: 1.5px; background: var(--st-line); }
.st-stage:last-child::before { display: none; }
.st-stage.is-done .st-dot { background: var(--st-ink); border-color: var(--st-ink); color: #fff; }
.st-stage.is-done::before { background: var(--st-ink); }
.st-stage.is-now .st-dot { border: 2px solid var(--st-ink); }
.st-stage.is-now .st-dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--st-ink); }
.st-stage.is-now.is-you .st-dot { border-color: var(--st-red); }
.st-stage.is-now.is-you .st-dot::after { background: var(--st-red); }
.st-stage.is-now.is-you span:last-child { color: var(--st-red); font-weight: 600; }
.st-stage.is-now span:last-child { color: var(--st-ink); font-weight: 600; }
.st-stage.is-todo b { color: var(--st-ink2); font-weight: 600; }
.st-player { width: 100%; max-width: 300px; align-self: center; }
.st-player video { display: block; width: 100%; border-radius: 16px; background: #111; aspect-ratio: 9 / 16; object-fit: contain; }
.st-player.is-empty { aspect-ratio: 9 / 16; border-radius: 16px; background: var(--st-ph); display: flex; align-items: center; justify-content: center; }
.st-ph { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 0 18px; }
.st-ph b { font-size: 16px; font-weight: 650; color: #3A3A36; }
.st-ph span { color: #55554F; font-size: 14px; }
.st-under { width: 100%; max-width: 300px; align-self: center; margin-top: 14px; }
.st-marks { position: relative; width: 100%; max-width: 300px; height: 14px; align-self: center; margin-top: 8px; }
.st-marks button { position: absolute; top: 3px; width: 9px; height: 9px; margin-left: -4px; padding: 0; border: 0; border-radius: 50%; background: var(--st-ink); cursor: pointer; }
.st-sline { display: flex; gap: 14px; padding: 13px 20px; font-size: 14.5px; line-height: 1.4; }
.st-sline + .st-sline { border-top: 1px solid var(--st-line2); }
.st-sline em { font-style: normal; color: var(--st-mute); width: 14px; flex: 0 0 auto; }
.st-note-row { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; font-size: 14.5px; border-bottom: 1px solid var(--st-line2); }
.st-note-row.is-sent { color: var(--st-mute); }
.st-note-row em { font-style: normal; font-size: 12px; color: var(--st-mute); }
.st-note-row span { flex: 1; }
.st .st-at { border: 0; background: none; padding: 0; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; font-size: 14.5px; }
.st-x { border: 0; background: none; padding: 2px; cursor: pointer; color: var(--st-mute); }
.st-voice { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; background: #F4F4EF; border-radius: 12px; }
.st-voice audio { width: 100%; margin-top: 6px; height: 36px; }
.st-voice .st-stack { flex: 1; }
.st-ok { color: #1E7B3A; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.st-approve { padding: 30px 32px; }
.st-after { margin-top: 26px; padding: 0 4px; }
.st-after .st-h3 { margin-top: 0; }
.st-row2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.st-row2 .st-mute { display: inline-flex; gap: 6px; align-items: center; }
.st-sw { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font-size: 15px; cursor: pointer; }
.st-sw + .st-sw { border-top: 1px solid var(--st-line2); }
.st-sw input { position: absolute; opacity: 0; pointer-events: none; }
.st-sw i { width: 46px; height: 28px; border-radius: 14px; background: #D9D9D2; position: relative; transition: background .15s; }
.st-sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: left .15s; }
.st-sw input:checked + i { background: var(--st-ink); }
.st-sw input:checked + i::after { left: 21px; }
.st-radio { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; margin-top: 10px; border: 1px solid var(--st-line); border-radius: 12px; cursor: pointer; }
.st-radio.is-on { border: 2px solid var(--st-ink); padding: 13px 15px; }
.st-radio > input { margin-top: 3px; accent-color: #111; width: 18px; height: 18px; }
.st-radio b { font-size: 15px; }
.st-radio .st-in { height: 40px; margin-top: 6px; font-size: 14.5px; }

/* the states sheet */
.st-states .st-srow { display: grid; grid-template-columns: 160px minmax(0, 1fr) 200px; gap: 18px; padding: 11px 20px; font-size: 14.5px; align-items: center; }
.st-states .st-srow + .st-srow { border-top: 1px solid var(--st-line2); }
.st-states .st-srow.is-h { display: block; padding-top: 16px; background: #FAFAF7; }
.st-states .st-r { text-align: right; }
.st-chip { display: inline-block; padding: 6px 12px; border-radius: 9px; background: var(--st-col); font-weight: 600; font-size: 13.5px; }
.st-states { margin-top: 20px; }

/* phone: a full-screen page over the app, under its tab bar */
#st-root.is-phone { position: fixed; inset: 0; padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)) !important; z-index: 45; overflow-y: auto; background: #F4F4EF; padding: calc(env(safe-area-inset-top, 0px) + 12px) 18px 24px; }
.st-wrap.is-phone { padding: 0; }
.st-wrap.is-phone .st-big { font-size: 23px; }
.st-wrap.is-phone .st-grid, .st-wrap.is-phone .st-three, .st-wrap.is-phone .st-two { grid-template-columns: minmax(0, 1fr); }
.st-wrap.is-phone .st-doors { grid-template-columns: minmax(0, 1fr); }
.st-wrap.is-phone .st-row { grid-template-columns: 48px minmax(0, 1fr) auto; }
.st-wrap.is-phone .st-row .st-age { display: none; }
.st-wrap.is-phone .st-top { flex-direction: column; gap: 12px; }
.st-wrap.is-phone .st-top .st-btn.is-y { align-self: stretch; }
.st-phead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 14px; }
.st-back { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 0; font-size: 17px; font-weight: 600; cursor: pointer; }
.st .st-pbig { font-size: 23px; line-height: 1.2; font-weight: 750; letter-spacing: -.02em; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-wrap.is-phone .st-flag { display: block; margin: 4px 0 14px; }
.st-wrap.is-phone .st-player { max-width: 210px; margin: 0 auto; }
.st-wrap.is-phone .st-marks { max-width: 210px; margin: 8px auto 0; }
.st-wrap.is-phone .st-takes { margin: 0 0 12px; }
.st-pnote { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 13px 18px; background: #fff; border: 1px solid var(--st-line); border-radius: 22px; font-size: 15.5px; }
.st-pnote span { flex: 1; }
.st-pnote em { font-style: normal; color: var(--st-mute); font-size: 14px; }
.st-wrap.is-phone .st-in { border-radius: 22px; height: 48px; }
.st-pacts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.st-pacts .st-btn { height: 50px; border-radius: 14px; font-size: 16px; }
.st-pacts .st-btn:only-child { grid-column: span 2; }
@media (max-width: 1180px) { .st-three { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .st-three > .st-col:first-child { grid-column: span 2; order: 3; } }
/* the "Try the new studio" link on the classic video screens (outside .st) */
.st-try { margin: 6px 0 0; }
.st-try .st-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: #111; }
