.enterprise-promo-shell {
  position: fixed;
  inset: 0 0 0 var(--product-nav-width);
  z-index: 80;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  background:
    radial-gradient(circle at 86% 8%, rgba(45, 187, 145, .14), transparent 28rem),
    linear-gradient(145deg, #08100f 0%, #0b1513 42%, #07100e 100%);
  color: #eef7f3;
}

body.product-nav-collapsed .enterprise-promo-shell {
  left: 0;
}

.enterprise-promo-shell[hidden] {
  display: none;
}

.ep-header {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(160, 231, 208, .13);
  background: rgba(5, 13, 12, .9);
  backdrop-filter: blur(18px);
}

.ep-header h1 {
  margin: 0;
  font-size: 20px;
  letter-spacing: .03em;
}

.ep-header p {
  margin: 3px 0 0;
  color: #8fa9a1;
  font-size: 12px;
}

.ep-header-spacer {
  flex: 1;
}

.ep-main {
  min-height: 0;
  overflow: auto;
  overflow-anchor: none;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 24px;
}

.ep-layout {
  width: min(1420px, 100%);
  margin: 0 auto;
}

.ep-card,
.ep-panel {
  border: 1px solid rgba(152, 221, 199, .15);
  border-radius: 18px;
  background: rgba(12, 27, 24, .92);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .22);
}

.ep-card {
  padding: 20px;
}

.ep-toolbar,
.ep-row,
.ep-actions,
.ep-health,
.ep-project-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ep-toolbar {
  justify-content: space-between;
  margin-bottom: 18px;
}

.ep-toolbar h2,
.ep-card h3,
.ep-panel h3 {
  margin: 0;
}

.ep-muted,
.ep-help {
  color: #8fa9a1;
}

.ep-help {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.6;
}

.ep-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(161, 225, 204, .22);
  border-radius: 10px;
  color: #e9f7f2;
  background: #122823;
  cursor: pointer;
}

.ep-button:hover:not(:disabled) {
  border-color: rgba(128, 235, 199, .55);
  background: #17332c;
}

.ep-button.primary {
  border-color: transparent;
  color: #08231c;
  background: linear-gradient(135deg, #79e4b9, #3dd6a5);
  font-weight: 700;
}

.ep-button.danger {
  border-color: rgba(255, 126, 126, .35);
  color: #ffc7c7;
  background: rgba(92, 24, 24, .45);
}

.ep-button:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.ep-health {
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 12px 15px;
  border-radius: 14px;
  background: rgba(24, 44, 39, .86);
}

.ep-health.ready {
  border: 1px solid rgba(76, 224, 171, .25);
}

.ep-health.blocked {
  border: 1px solid rgba(241, 171, 91, .35);
  color: #ffd8ac;
}

.ep-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #49dba8;
  box-shadow: 0 0 0 5px rgba(73, 219, 168, .12);
}

.ep-health.blocked .ep-status-dot {
  background: #efad5e;
  box-shadow: 0 0 0 5px rgba(239, 173, 94, .12);
}

.ep-project-list {
  display: grid;
  gap: 10px;
}

.ep-project-row {
  justify-content: space-between;
  padding: 14px;
  border: 1px solid rgba(143, 211, 190, .12);
  border-radius: 12px;
  background: rgba(7, 18, 16, .6);
}

.ep-project-row small {
  display: block;
  margin-top: 4px;
  color: #8fa9a1;
}

.ep-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ep-field {
  display: grid;
  gap: 7px;
  color: #b6c9c3;
  font-size: 13px;
}

.ep-field.full {
  grid-column: 1 / -1;
}

.ep-field input,
.ep-field textarea,
.ep-field select,
.ep-segment textarea,
.ep-segment input,
.ep-segment select,
.ep-shot textarea,
.ep-shot input,
.ep-shot select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(149, 213, 194, .18);
  border-radius: 9px;
  padding: 10px 11px;
  color: #e9f8f2;
  background: #091713;
  font: inherit;
}

.ep-segment select[multiple] {
  min-height: 112px;
}

.ep-field textarea,
.ep-segment textarea,
.ep-shot textarea {
  min-height: 86px;
  resize: vertical;
  line-height: 1.55;
}

.ep-field input:focus,
.ep-field textarea:focus,
.ep-field select:focus,
.ep-segment textarea:focus,
.ep-shot textarea:focus {
  outline: 2px solid rgba(68, 216, 170, .32);
  border-color: #3dd6a5;
}

.ep-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ep-slot {
  padding: 14px;
  border: 1px dashed rgba(153, 220, 200, .25);
  border-radius: 12px;
  background: rgba(7, 18, 16, .48);
}

.ep-slot.required {
  border-color: rgba(91, 220, 177, .35);
}

.ep-slot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.ep-slot-assets {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.ep-asset {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 11px;
  padding: 10px;
  border-radius: 10px;
  background: #0b1d19;
}

.ep-asset-preview {
  width: 92px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background: #081411;
}

.ep-asset-fields {
  display: grid;
  gap: 7px;
}

.ep-asset-fields input,
.ep-asset-fields textarea,
.ep-asset-fields select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(149, 213, 194, .16);
  border-radius: 7px;
  padding: 7px 8px;
  color: #e9f8f2;
  background: #07130f;
  font: inherit;
  font-size: 12px;
}

.ep-checkline {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #b6c9c3;
  line-height: 1.5;
}

.ep-checkline input {
  width: auto;
  margin-top: 3px;
}

.ep-stage-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.ep-stage-pill {
  padding: 7px 11px;
  border-radius: 999px;
  color: #829d94;
  background: rgba(139, 205, 184, .08);
  font-size: 12px;
}

.ep-stage-pill.active {
  color: #08231c;
  background: #58d9ad;
  font-weight: 700;
}

.ep-error {
  margin: 14px 0;
  padding: 13px 15px;
  border: 1px solid rgba(255, 127, 127, .28);
  border-radius: 11px;
  color: #ffc6c6;
  background: rgba(84, 22, 22, .35);
  line-height: 1.6;
}

.ep-motion-warning {
  display: grid;
  gap: 4px;
  margin: 12px 0;
  padding: 11px 13px;
  border: 1px solid rgba(255, 190, 92, .3);
  border-radius: 10px;
  color: #f4d19b;
  background: rgba(96, 61, 10, .28);
  font-size: 13px;
  line-height: 1.55;
}

.ep-progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #07120f;
}

.ep-progress > i {
  display: block;
  width: var(--ep-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1e9a75, #67e0b5);
  transition: width .35s ease;
}

.ep-progress.running > i {
  background-size: 220% 100%;
  animation: ep-flow 1.5s linear infinite;
  background-image: linear-gradient(90deg, #1c8065, #6ce5ba, #1c8065);
}

@keyframes ep-flow {
  to { background-position: -220% 0; }
}

.ep-segment-list {
  display: grid;
  gap: 14px;
}

.ep-segment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(148, 216, 195, .15);
  border-radius: 14px;
  background: rgba(8, 20, 17, .74);
}

.ep-segment > .ep-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ep-segment h4 {
  margin: 0 0 4px;
  font-size: 15px;
}

.ep-shot-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.ep-shot-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 100px;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(18, 42, 36, .65);
  font-size: 12px;
}

.ep-shot-item {
  display: grid;
  gap: 8px;
}

.ep-shot-preview {
  overflow: hidden;
  border: 1px solid rgba(142, 226, 198, .14);
  border-radius: 11px;
  background: #020706;
}

.ep-shot-preview video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 320px;
  object-fit: contain;
  background: #020706;
}

.ep-shot-preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  color: #9fc8ba;
  font-size: 12px;
}

.ep-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  color: #9be6cc;
  background: rgba(61, 214, 165, .1);
  font-size: 11px;
}

.ep-badge.warn {
  color: #ffd5a3;
  background: rgba(238, 167, 83, .12);
}

.ep-badge.fail {
  color: #ffb9b9;
  background: rgba(237, 100, 100, .12);
}

.ep-badge.done {
  color: #a4f0d1;
  background: rgba(58, 203, 154, .14);
}

.ep-stage-card {
  display: grid;
  gap: 16px;
}

.ep-segment-editor {
  display: grid;
  gap: 12px;
}

.ep-industry-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(93, 219, 174, .24);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20, 64, 51, .72), rgba(9, 29, 25, .86));
}

.ep-framework-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(93, 219, 174, .18);
  border-radius: 12px;
  background: rgba(10, 31, 26, .72);
  color: #a9c9be;
  font-size: 11px;
}

.ep-framework-strip > span:not(.ep-badge) {
  padding: 5px 7px;
  border-radius: 7px;
  background: rgba(72, 194, 151, .08);
}

.ep-asset-plan,
.ep-asset-gallery-card {
  display: grid;
  gap: 14px;
}

.ep-asset-plan-grid,
.ep-asset-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ep-asset-plan-card,
.ep-asset-gallery-item {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(148, 216, 195, .14);
  border-radius: 13px;
  background: rgba(8, 20, 17, .74);
}

.ep-asset-gallery-item {
  grid-template-rows: auto 1fr auto;
}

.ep-asset-gallery-item.adopted {
  border-color: rgba(75, 221, 169, .5);
  box-shadow: inset 0 0 0 1px rgba(75, 221, 169, .15);
}

.ep-asset-gallery-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  color: #7fa99a;
  background:
    linear-gradient(135deg, rgba(37, 104, 82, .28), rgba(4, 14, 12, .88)),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(90, 211, 171, .04) 14px 15px);
  font-size: 12px;
  letter-spacing: .12em;
}

.ep-asset-gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-asset-gallery-body {
  display: grid;
  gap: 8px;
  align-content: start;
}

.ep-asset-prompt {
  margin: 0;
  color: #9ebdb3;
  font-size: 12px;
  line-height: 1.55;
}

.ep-basis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ep-basis-grid textarea {
  min-height: 108px;
}

.ep-timeline-list {
  display: grid;
  gap: 8px;
}

.ep-timeline-row {
  display: grid;
  grid-template-columns: 76px 76px minmax(0, 1fr) minmax(160px, .55fr);
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(18, 42, 36, .58);
}

.ep-timeline-row label {
  display: grid;
  gap: 5px;
  color: #9fc8ba;
  font-size: 12px;
}

.ep-timeline-row textarea,
.ep-timeline-row input {
  min-height: 38px;
}

.ep-segment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  color: #9fc8ba;
  font-size: 12px;
}

.ep-segment-meta span {
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(60, 170, 132, .1);
}

.ep-narration {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(142, 226, 198, .12);
  border-radius: 10px;
  color: #c8ddd6;
}

.ep-narration summary {
  cursor: pointer;
}

.ep-narration p,
.ep-narration ul,
.ep-narration ol {
  line-height: 1.65;
}

.ep-cinematic-list {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding-left: 24px;
}

.ep-cinematic-list li {
  padding: 9px 11px;
  border: 1px solid rgba(142, 226, 198, .12);
  border-radius: 9px;
  background: rgba(5, 18, 15, .55);
}

.ep-cinematic-list strong,
.ep-cinematic-list span,
.ep-cinematic-list small {
  display: block;
}

.ep-cinematic-list span {
  margin-top: 4px;
  color: #d9eee7;
}

.ep-cinematic-list small {
  margin-top: 4px;
  color: #8fb5a8;
  line-height: 1.55;
}

.ep-screen-copy-preview {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(112, 165, 224, .24);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(232, 241, 255, .96), rgba(212, 225, 243, .94));
  color: #182b48;
}

.ep-screen-copy-preview > strong {
  color: #4d83d4;
  font-size: 12px;
  letter-spacing: .08em;
}

.ep-screen-copy-preview p {
  display: grid;
  gap: 3px;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(77, 131, 212, .15);
}

.ep-screen-copy-preview b {
  color: #4d83d4;
  font-size: 11px;
}

.ep-screen-copy-preview span {
  font-size: 17px;
  font-weight: 700;
}

.ep-screen-copy-preview small {
  color: #536884;
  line-height: 1.55;
}

.ep-segment-preview {
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid rgba(142, 226, 198, .14);
  border-radius: 12px;
  background: #020706;
}

.ep-segment-preview video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #020706;
}

.ep-shot {
  display: grid;
  gap: 9px;
  padding: 13px;
  border: 1px solid rgba(148, 216, 195, .12);
  border-radius: 11px;
  background: rgba(6, 16, 14, .55);
}

.ep-final {
  display: grid;
  gap: 16px;
}

.ep-final video {
  width: 100%;
  max-height: 62vh;
  border-radius: 14px;
  background: #020706;
}

.ep-empty {
  padding: 40px 18px;
  text-align: center;
  color: #8fa9a1;
}

.ep-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  max-width: min(460px, calc(100vw - 44px));
  padding: 12px 15px;
  border: 1px solid rgba(150, 224, 201, .2);
  border-radius: 11px;
  color: #e9f8f2;
  background: #10241f;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .38);
}

@media (max-width: 900px) {
  .ep-main { padding: 16px; }
  .ep-grid,
  .ep-slot-grid,
  .ep-basis-grid { grid-template-columns: 1fr; }
  .ep-asset-plan-grid,
  .ep-asset-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ep-segment { grid-template-columns: 1fr; }
  .ep-timeline-row { grid-template-columns: 72px 72px minmax(0, 1fr); }
  .ep-timeline-camera { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .enterprise-promo-shell {
    inset: 0;
  }
  .enterprise-promo-shell .ep-header {
    padding-left: 64px;
  }
}

@media (max-width: 620px) {
  .ep-header { padding: 11px 14px; }
  .ep-header p { display: none; }
  .ep-main { padding: 12px; }
  .ep-card { padding: 14px; }
  .ep-project-row { align-items: flex-start; flex-direction: column; }
  .ep-shot-row { grid-template-columns: 1fr; }
  .ep-timeline-row { grid-template-columns: 1fr 1fr; }
  .ep-timeline-visual,
  .ep-timeline-camera { grid-column: 1 / -1; }
  .ep-asset-plan-grid,
  .ep-asset-gallery { grid-template-columns: 1fr; }
  .ep-asset { grid-template-columns: 1fr; }
  .ep-asset-preview { width: 100%; height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .ep-progress.running > i { animation: none; }
  .ep-progress > i { transition: none; }
}
