.workspace-build-actions {
  display: none !important;
}

.workspace-build-actions [data-review-request] {
  display: none !important;
}

.workspace-build-actions .workspace-production-check-copy {
  position: relative;
  max-width: 76ch;
  margin: 0;
  padding-left: 22px;
}

.workspace-build-actions .workspace-production-check-copy::before {
  position: absolute;
  top: .42em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6f47dc;
  box-shadow: 0 0 0 5px rgba(111, 71, 220, .12);
  content: "";
}

.workspace-artist-identity-confirmation[data-state="reused"] {
  display: none !important;
}

.workspace-artist-identity-confirmation > label[data-artist-identity-confirmation-label] {
  border: 1px solid #e2b83f;
  color: #5a4105;
  background: #fff3bf;
  box-shadow: 0 8px 20px rgba(176, 122, 12, .1), inset 0 1px 0 rgba(255, 255, 255, .72);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.workspace-artist-identity-confirmation > label[data-artist-identity-confirmation-label] input {
  border-color: #bd8614;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.workspace-artist-identity-confirmation > label[data-artist-identity-confirmation-label]:focus-within {
  box-shadow: 0 0 0 4px rgba(224, 166, 25, .18), 0 8px 20px rgba(176, 122, 12, .1), inset 0 1px 0 rgba(255, 255, 255, .72);
}

.workspace-artist-identity-confirmation > label[data-artist-identity-confirmation-label]:has(input:checked) {
  border-color: #b6dfd0;
  color: #174c3b;
  background: #e8f6f0;
  box-shadow: 0 8px 20px rgba(63, 156, 128, .09), inset 0 1px 0 rgba(255, 255, 255, .72);
}

.workspace-artist-identity-confirmation > label[data-artist-identity-confirmation-label] input:checked {
  border-color: #3f9c80;
  background: #3f9c80;
}

.workspace-artist-identity-confirmation > label[data-artist-identity-confirmation-label]:has(input:checked):focus-within {
  box-shadow: 0 0 0 4px rgba(63, 156, 128, .17), 0 8px 20px rgba(63, 156, 128, .09), inset 0 1px 0 rgba(255, 255, 255, .72);
}

@media (prefers-reduced-motion: reduce) {
  .workspace-artist-identity-confirmation > label[data-artist-identity-confirmation-label],
  .workspace-artist-identity-confirmation > label[data-artist-identity-confirmation-label] input {
    transition: none;
  }
}

[data-review-rights-line] {
  display: none !important;
}

.workspace-review-lower-grid {
  transition: grid-template-columns 260ms cubic-bezier(.2, .8, .2, 1);
}

.workspace-review-summary-card {
  min-width: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.workspace-review-summary-card[open] > div {
  padding: 16px 18px 18px;
}

.workspace-review-visual-card[open] {
  border-color: #cec5e7;
  background: #fbfaff;
  box-shadow: 0 18px 38px rgba(43, 34, 68, .09);
}

.workspace-review-visual-card[open] > .workspace-review-visual-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  background: #fbfaff;
}

.workspace-review-visual-details > p {
  align-content: start;
  padding: 12px 14px;
  border: 1px solid #e3ddec;
  border-radius: 12px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 7px 18px rgba(53, 42, 78, .035);
}

.workspace-review-visual-details > p:first-child,
.workspace-review-visual-details > p:last-child {
  grid-column: 1 / -1;
}

.workspace-review-visual-details > p > b {
  color: #393342;
  font-size: .78rem;
  font-weight: 760;
  line-height: 1.5;
}

@media (min-width: 721px) {
  .workspace-review-lower-grid[data-expanded-card="rights"] {
    grid-template-columns: minmax(0, 1fr) 88px;
  }

  .workspace-review-lower-grid[data-expanded-card="visual"] {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .workspace-review-lower-grid[data-expanded-card] .workspace-review-summary-card:not([open]) summary {
    grid-template-columns: 43px minmax(0, 0) 0;
    gap: 0;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 22px;
  }

  .workspace-review-lower-grid[data-expanded-card] .workspace-review-summary-card:not([open]) {
    width: 88px;
    height: 88px;
    aspect-ratio: 1;
    align-self: start;
    justify-self: start;
  }

  .workspace-review-lower-grid[data-expanded-card] .workspace-review-summary-card:not([open]) summary > span:nth-child(2) {
    overflow: hidden;
    width: 0;
    opacity: 0;
    pointer-events: none;
  }

  .workspace-review-lower-grid[data-expanded-card] .workspace-review-summary-card:not([open]) summary::after {
    width: 0;
    opacity: 0;
  }
}

.workspace-backend-review {
  position: relative;
  border: 1px solid #dcd6e5;
  border-radius: 16px;
  color: #29242e;
  background: #fff;
  box-shadow: 0 12px 28px rgba(43, 34, 68, .055);
}

.workspace-backend-review[data-flow-state="checking"] {
  display: none !important;
}

.workspace-backend-review[data-flow-state="complete"],
.workspace-backend-review[data-flow-state="queued"] {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 13px 16px !important;
  border-color: #b8dfd1;
  color: #184a3a;
  background: linear-gradient(135deg, #edf9f4, #f7fbf9);
}

.workspace-backend-review[data-flow-state="attention"] {
  padding-right: 58px !important;
  border-color: #e6b1aa;
  color: #6b302e;
  background: linear-gradient(135deg, #fff1ef, #fff8f6);
}

.workspace-backend-review[data-flow-state="complete"] > strong,
.workspace-backend-review[data-flow-state="queued"] > strong {
  grid-column: 2;
  grid-row: 1;
  color: #174c3b;
  font-size: .92rem;
}

.workspace-backend-review[data-flow-state="complete"] > pre,
.workspace-backend-review[data-flow-state="queued"] > pre {
  display: none;
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 2px 0 0 !important;
  padding: 13px 14px;
  border: 1px solid rgba(79, 150, 126, .2);
  border-radius: 12px;
  color: #466158;
  background: rgba(255, 255, 255, .7);
  font-size: .76rem;
  line-height: 1.55;
}

.workspace-backend-review[data-flow-state="complete"].is-details-open > pre,
.workspace-backend-review[data-flow-state="queued"].is-details-open > pre {
  display: block;
}

.workspace-backend-review[data-flow-state="attention"] > strong,
.workspace-backend-review[data-flow-state="attention"] > pre {
  color: #6b302e;
}

.workspace-backend-review-success-toggle {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid #7fc0a9;
  border-radius: 50%;
  color: #fff;
  background: #48a887;
  box-shadow: 0 0 0 5px rgba(72, 168, 135, .11);
  cursor: pointer;
}

.workspace-backend-review-success-toggle > span {
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 950;
  animation: studio-production-success-pop 360ms cubic-bezier(.2, .9, .28, 1.2) both;
}

.workspace-backend-review-success-toggle:focus-visible {
  outline: 3px solid rgba(72, 168, 135, .3);
  outline-offset: 3px;
}

@keyframes studio-production-success-pop {
  from { opacity: 0; transform: scale(.55) rotate(-12deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

.workspace-backend-review-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(107, 48, 46, .2);
  border-radius: 50%;
  color: #6b302e;
  background: rgba(255, 255, 255, .68);
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
}

.workspace-backend-review-actions {
  margin-top: 14px;
}

.workspace-backend-review-actions button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(107, 48, 46, .22);
  border-radius: 10px;
  color: #fff;
  background: #6b302e;
  cursor: pointer;
  font: inherit;
  font-size: .75rem;
  font-weight: 900;
}

.workspace-backend-review-close:focus-visible,
.workspace-backend-review-actions button:focus-visible {
  outline: 3px solid rgba(157, 116, 255, .42);
  outline-offset: 2px;
}

.workspace-step-next.is-build {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.workspace-step-next.is-build::before {
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(100deg, #6f47dc, #8f5af0);
  content: "";
  transition: width 420ms cubic-bezier(.2, .8, .2, 1);
}

.workspace-step-next.is-build.is-production-ready:not(:disabled) {
  background: #7046da;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 12px 30px rgba(102, 63, 207, .22);
}

.workspace-step-next.is-build.is-production-ready:not(:disabled)::before {
  width: 100%;
}

.workspace-step-next.is-build[data-production-flow-state="checking"]:not(:disabled) {
  background: #17161b;
  box-shadow: inset 0 0 0 1px rgba(156, 119, 246, .34);
}

.workspace-step-next.is-build[data-production-flow-state="checking"]:not(:disabled)::before {
  width: 74%;
  animation: studio-build-check-fill 2.6s cubic-bezier(.18, .78, .28, 1) both;
}

.workspace-step-next.is-build[data-production-flow-state="complete"]:not(:disabled)::before,
.workspace-step-next.is-build[data-production-flow-state="queued"]:not(:disabled)::before {
  width: 100%;
}

.workspace-step-next.is-build[data-production-flow-state="attention"]:not(:disabled) {
  background: #17161b;
  box-shadow: inset 6px 0 0 #d77570;
}

.workspace-step-next.is-build[data-production-flow-state="attention"]:not(:disabled)::before {
  width: 0;
}

@keyframes studio-build-check-fill {
  from { width: 6px; }
  to { width: 74%; }
}

.workspace-rights-confirm {
  position: relative;
}

.workspace-rights-validation {
  position: absolute;
  z-index: 12;
  top: calc(100% - 1px);
  left: 28px;
  display: flex;
  width: max-content;
  max-width: min(460px, calc(100% - 44px));
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 9px 16px 9px 9px;
  border: 1px solid #e4c46d;
  border-radius: 10px;
  color: #2b2416;
  background: linear-gradient(135deg, #fffdf4 0%, #fff7d8 100%);
  box-shadow: 0 14px 32px rgba(64, 48, 18, .2);
  font-size: .9rem;
  font-weight: 720;
  line-height: 1.35;
  pointer-events: none;
}

.workspace-rights-validation[hidden] {
  display: none;
}

.workspace-rights-validation::before {
  position: absolute;
  top: -7px;
  left: 16px;
  width: 12px;
  height: 12px;
  border-top: 1px solid #e4c46d;
  border-left: 1px solid #e4c46d;
  background: #fffdf4;
  content: "";
  transform: rotate(45deg);
}

.workspace-rights-validation-icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: #dc6b1d;
  font-size: 1.2rem;
  font-weight: 950;
  line-height: 1;
}

.workspace-rights-confirm input[aria-invalid="true"] {
  border-color: #dc6b1d;
  outline: 3px solid rgba(255, 219, 125, .42);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .workspace-rights-validation {
    top: auto;
    right: 12px;
    bottom: calc(100% - 1px);
    left: 12px;
    width: auto;
    max-width: none;
  }
  .workspace-rights-validation::before {
    top: auto;
    bottom: -7px;
    border-top: 0;
    border-right: 1px solid #e4c46d;
    border-bottom: 1px solid #e4c46d;
    border-left: 0;
  }
  .workspace-backend-review { padding-right: 52px !important; }
  .workspace-review-summary-card[open] > div { padding: 14px !important; }
  .workspace-review-visual-card[open] > .workspace-review-visual-details { grid-template-columns: 1fr; }
  .workspace-review-visual-details > p:first-child,
  .workspace-review-visual-details > p:last-child { grid-column: auto; }
  .workspace-backend-review[data-flow-state="complete"],
  .workspace-backend-review[data-flow-state="queued"] { padding: 12px 14px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .workspace-step-next.is-build,
  .workspace-step-next.is-build::before,
  .workspace-backend-review-success-toggle > span,
  .workspace-rights-validation {
    animation: none !important;
    transition: none !important;
  }
}
