@import url("/static/css/brand-palette.css?v=20261017");

.video-takes-toolbar { margin: 0 0 1.25rem; }
.video-takes-layout { display: grid; gap: 1.5rem; align-items: start; }
.video-takes-honey, .video-takes-parts, .video-take-part, .video-shot-card { min-width: 0; }
.video-takes-honey[hidden] { display: none; }
.video-takes-honey { position: sticky; top: 1rem; }
.video-takes-parts { display: grid; gap: 1.5rem; }
.video-take-part { padding: 1.2rem; border: 1px solid var(--bb-line); border-radius: 18px; background: #fffdf8; }
.video-take-part h3 { margin-top: 0; }
.video-shot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 1rem; }
.video-shot-card { border: 1px solid var(--bb-line); padding: .8rem; border-radius: 14px; background: #fff; overflow-wrap: anywhere; }
.video-shot-card h4 { margin: 0 0 .75rem; }
.video-shot-choices { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.video-shot-choices .button { flex: 1 1 130px; min-height: 44px; }
.video-shot-choices .button > span { margin-right: .35rem; }
.video-take-preview { display: block; width: 100%; max-height: 390px; object-fit: contain; background: var(--bb-charcoal); border-radius: 10px; }
.video-take-navigation { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin-top: .7rem; }
.video-take-navigation .button { padding: .35rem .8rem; min-height: 44px; }
.video-take-picker { display: grid; gap: .45rem; margin-top: .8rem; min-width: 0; }
.video-take-picker > span { color: var(--bb-muted); font-size: .85rem; font-weight: 650; }
.video-take-picker select { width: 100%; min-width: 0; min-height: 44px; padding: .6rem; border: 1px solid var(--bb-line); border-radius: 10px; background: #fffdf8; color: inherit; font: inherit; font-size: .85rem; }
.video-take-picker select:focus-visible { outline: 3px solid var(--bb-teal); outline-offset: 3px; }
.video-take-selected { color: var(--bb-charcoal); font-weight: 700; }
.video-full-take { margin-top: 1rem; padding: .8rem; border-top: 1px solid var(--bb-line); }
.video-full-take summary, .video-cut-editor summary { cursor: pointer; min-height: 38px; font-weight: 650; }
.video-full-take > .video-take-preview { max-width: 420px; margin: .75rem 0; }
.video-cut-editor { margin-top: 1rem; }
.video-cut-field { display: grid; gap: .45rem; margin: .8rem 0; }
.video-cut-field input { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid var(--bb-line); border-radius: 10px; padding: .8rem; font: inherit; }
.video-retake { border-top: 1px solid var(--bb-line); margin-top: 1rem; padding-top: .5rem; }
.video-takes-assembly { border-top: 1px solid var(--bb-line); margin-top: 1.5rem; padding-top: 1rem; }
.video-watermark-option { margin: 1rem 0; }
.video-watermark-option .consent { margin-bottom: .4rem; }
.video-watermark-option p { margin-top: .4rem; }
.video-assembly-result { margin-top: 1.3rem; }
.video-assembly-result > video, .video-assembly-media > video { max-width: 420px; margin-bottom: .8rem; }
.video-assembly-result--with-posting { display: grid; gap: 1.2rem; align-items: start; }
.video-assembly-media, .video-posting-package { min-width: 0; }
.video-posting-package { padding: 1rem; border: 1px solid var(--bb-line); border-radius: 14px; background: #fffdf8; overflow-wrap: anywhere; }
.video-posting-package h4 { margin: 0 0 .8rem; }
.video-posting-package h5 { font-size: 1rem; margin: 1.2rem 0 .6rem; }
.video-posting-copy { margin: 0 0 .8rem; white-space: pre-wrap; line-height: 1.65; }
.posting-contest-notice { margin-top: 16px; padding: 16px; border: 1px solid var(--bb-line); border-radius: 14px; color: var(--bb-charcoal); background: var(--bb-powder); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.posting-contest-notice p { margin: 8px 0 0; }
.posting-contest-notice .posting-contest-label { margin: 0 0 6px; color: var(--bb-teal); font-size: 11px; font-weight: 750; }
.video-posting-music { padding-left: 1.2rem; }
.video-posting-music li + li { margin-top: .8rem; }
.video-posting-music p { margin: .35rem 0; }
#video-takes-panel .button, #video-takes-panel .consent { overflow-wrap: anywhere; white-space: normal; }
@media (min-width: 760px) { .video-assembly-result--with-posting { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); } }
@media (min-width: 1100px) { .video-takes-layout.has-honey { grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr); } }
@media (max-width: 600px) { .video-take-part { padding: .8rem; } .video-takes-honey { position: static; } .video-shot-grid { grid-template-columns: minmax(0, 1fr); } }

/* Customer previews share one review strip throughout creation and completion. */
body[data-customer-reference-workflow] #video-takes-panel { font-family: inherit; }
body[data-customer-reference-workflow] .video-takes-toolbar:has(button[hidden]) { display: none; }
body[data-customer-reference-workflow] .customer-scene-strip { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; padding: 12px; border: 1px solid var(--bb-line); border-radius: 20px; background: rgba(var(--bb-powder-rgb), .48); scroll-snap-type: x proximity; scrollbar-width: thin; }
body[data-customer-reference-workflow] .customer-scene-strip :is(.video-take-part, .video-shot-grid) { display: contents; }
body[data-customer-reference-workflow] .customer-scene-card { flex: 0 0 clamp(210px, 23vw, 260px); padding: 0 0 12px; overflow: hidden; border: 2px solid transparent; border-radius: 16px; background: var(--bb-pearl); scroll-snap-align: start; }
body[data-customer-reference-workflow] .customer-scene-card.is-approved { border-color: #28734e; }
.customer-scene-media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--bb-charcoal); }
.customer-scene-playback-status { position: absolute; bottom: 0; left: 0; right: 0; margin: 0; padding: 10px; background: rgba(20,30,35,.85); color: white; font-size: 13px; text-align: center; }
body[data-customer-reference-workflow] .customer-scene-media video { width: 100%; height: 100%; max-height: none; border-radius: 0; object-fit: contain; }
body[data-customer-reference-workflow] .customer-scene-card h4 { margin: 12px 12px 8px; font-family: inherit; font-size: 14px; font-weight: 650; line-height: 1.4; }
body[data-customer-reference-workflow] #video-takes-panel .customer-scene-play { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; min-height: 52px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(20,30,35,.65); color: white; font: inherit; font-size: 20px; cursor: pointer; }
body[data-customer-reference-workflow] .video-shot-choices { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px; margin: 8px 12px; }
body[data-customer-reference-workflow] .video-shot-choices :is(.scene-approve, .scene-reject) { flex: 0 0 46px; width: 46px; height: 46px; padding: 0; border-radius: 50%; background: var(--bb-teal); color: white; border: 1px solid var(--bb-teal); font-size: 24px !important; }
body[data-customer-reference-workflow] .video-shot-choices .scene-approve[aria-pressed="true"] { background: #28734e; border-color: #28734e; opacity: 1; }
body[data-customer-reference-workflow] .video-shot-choices .scene-reject[aria-pressed="true"] { background: #a34547; border-color: #a34547; opacity: 1; }
body[data-customer-reference-workflow] .video-shot-choices .scene-retry { flex: 1 1 auto; min-width: 0; min-height: 46px; padding: 6px; border-radius: 24px; font-size: 13px; }
body[data-customer-reference-workflow] .video-shot-choices:has(.retry-credit-summary) { flex-wrap: wrap; }
body[data-customer-reference-workflow] .video-shot-choices .retry-credit-summary { flex: 0 0 100%; text-align: right; font-size: 13px; }
body[data-customer-reference-workflow] .customer-scene-card .video-take-navigation { margin: 8px 12px 0; font-size: 12px; color: var(--bb-muted); }
body[data-customer-reference-workflow] .customer-scene-card .video-take-navigation .button { width: 44px; height: 44px; padding: 0; font-size: 22px; border-radius: 50%; }
.customer-scene-status { min-height: 18px; margin: 8px 12px 0; font-size: 12px; color: var(--bb-muted); }
.customer-scene-card.is-approved .customer-scene-status { color: #28734e; font-weight: 650; }
.video-preview-loading-card { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 14px; background: var(--bb-powder); }
.customer-scene-media > .video-preview-loading-card { width: 100%; height: 100%; border-radius: 0; }
.video-preview-loading-card > img { width: 100%; height: 100%; object-fit: cover; filter: blur(12px); transform: scale(1.12); opacity: .5; animation: scene-preview-breathe 3s ease-in-out infinite; }
.video-preview-loading-card::after { content: ''; position: absolute; inset: 0; background: rgba(236,247,251,.45); pointer-events: none; }
.video-preview-loading-status { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; margin: 0 !important; padding: 18px; color: #17495c !important; font-size: 14px !important; font-weight: 650; text-align: center; text-shadow: 0 1px 8px white; }
.video-preview-spinner { width: 30px; height: 30px; border: 3px solid rgba(32,83,101,.22); border-top-color: #205365; border-radius: 50%; animation: scene-preview-spin 1s linear infinite; }
.video-preview-loading-card.is-paused img { animation: none; }
body[data-customer-reference-workflow] .video-takes-assembly { border-top: 0; margin-top: 20px; padding-top: 0; }
.customer-reel-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 22px; border: 1px solid var(--bb-line); border-radius: 20px; background: var(--bb-pearl); }
.customer-reel-actions h3 { margin: 0 0 6px; font-family: inherit; font-size: 17px; }
.customer-reel-actions p { margin: 0; font-size: 14px; }
body[data-customer-reference-workflow] #video-takes-panel .customer-download-reel { min-height: 48px; padding: 14px 24px; border-radius: 16px; background: var(--bb-teal); color: white; white-space: normal; }
.customer-watermark { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 4px; font-size: 12px; color: var(--bb-muted); }
.customer-watermark small { font-size: inherit; }
@keyframes scene-preview-breathe { 0%, 100% { opacity: .4; } 50% { opacity: .7; } }
@keyframes scene-preview-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  body[data-customer-reference-workflow] .customer-scene-card { flex-basis: min(74vw, 280px); }
  .customer-reel-actions { align-items: stretch; padding: 18px; }
  .customer-reel-actions .customer-download-reel { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .video-preview-loading-card > img, .video-preview-spinner { animation: none; }
}
