/* AI image editor workspace */
._sxc1qk79b7042342m {
  display: none;
  position: absolute;
  inset: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--bg);
}

._sxc1nu5ky114acf65[data-workspace-tab="ai-image"] ._sxc1f4xcwb1jo33yh,
._sxc1nu5ky114acf65[data-workspace-tab="ai-image"] ._sxc10ep4vs0gyyhka {
  display: none !important;
}

._sxc1nu5ky114acf65[data-workspace-tab="ai-image"] ._sxc1qk79b7042342m {
  display: block;
}

._sxc1nu5ky114acf65[data-workspace-tab="ai-image"] ._sxc0tgqj4l1c1ui96 {
  visibility: hidden;
  pointer-events: none;
}

._sxc093swvz0zlvjcn {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
  color: var(--text);
  background: var(--bg);
}

._sxc0utq2em1lifgj9 {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-inline-end: 1px solid var(--border);
  background: var(--panelSolid);
}

._sxc0f1au7j1wok6mm,
._sxc1s176321pac14e {
  flex: 0 0 auto;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

._sxc0f1au7j1wok6mm strong {
  font-size: 13px;
  letter-spacing: .08em;
}

._sxc0f7uv1i08wbjfx,
._sxc0ib4cb60uwoqms,
._sxc1yme85n1kkdlcp {
  min-width: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._sxc0f7uv1i08wbjfx { margin-inline-start: auto; }

._sxc0aa1swv0150bwz,
._sxc0bi3nhr1o1jiyx {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  border-radius: 10px;
  min-height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  transition: background .18s ease, border-color .18s ease, opacity .18s ease, transform .18s ease;
}

._sxc0aa1swv0150bwz {
  width: 36px;
  padding: 0;
  font-size: 17px;
}

._sxc0bi3nhr1o1jiyx:hover,
._sxc0aa1swv0150bwz:hover {
  border-color: var(--border2);
  background: rgba(56, 189, 248, .10);
}

._sxc0bi3nhr1o1jiyx:active,
._sxc0aa1swv0150bwz:active { transform: translateY(1px); }
._sxc0bi3nhr1o1jiyx:disabled,
._sxc0aa1swv0150bwz:disabled { opacity: .45; cursor: default; transform: none; }
._sxc0bi3nhr1o1jiyx._sxc1xq5umy1hko6n9 { background: var(--accent); color: #fff; border-color: transparent; }
._sxc0bi3nhr1o1jiyx._sxc00b1oew0heygyv { color: #fff; background: #dc2626; border-color: transparent; }

._sxc12r0lnb0ugh3qs {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 8px;
  padding: 10px;
}

._sxc0tyqks50kk5h7j {
  position: relative;
  min-width: 0;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--panel2);
  cursor: pointer;
  color: var(--text);
}

._sxc0tyqks50kk5h7j img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

._sxc1t8w7wd1mepzwb {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 7px 8px;
  color: #fff;
  background: rgba(0, 0, 0, .60);
  backdrop-filter: blur(6px);
  font-size: 10px;
  text-align: start;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._sxc0mrjwcc0eciws5 {
  position: absolute;
  top: 7px;
  inset-inline-end: 7px;
  max-width: calc(100% - 14px);
  padding: 4px 7px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(15,23,42,.78);
  backdrop-filter: blur(7px);
  font-size: 9px;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._sxc0tyqks50kk5h7j._sxc1fh4vev1h1qp8f {
  border-color: var(--accent3);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, .20);
}

._sxc15fly5w0ned9yq,
._sxc19lezwo1iclucu {
  grid-column: 1 / -1;
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  line-height: 1.65;
}

._sxc1cvfdpp0b2o19e {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

._sxc1s176321pac14e {
  background: var(--panelSolid);
}

._sxc0ib4cb60uwoqms { flex: 1; }
._sxc0hejhx017m8tse { color: var(--muted); font-size: 11px; white-space: nowrap; }
._sxc1luol1u06y8lhe { width: 110px; accent-color: var(--accent3); }

._sxc1103qhy16kkq5n {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 15%, rgba(56, 189, 248, .07), transparent 34%),
    var(--bg);
}

._sxc0jveqh40nk4389 {
  position: relative;
  display: none;
  line-height: 0;
  max-width: 100%;
  max-height: 100%;
  user-select: none;
  touch-action: none;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
  background: repeating-conic-gradient(rgba(128,128,128,.14) 0 25%, transparent 0 50%) 50% / 18px 18px;
}

._sxc0jveqh40nk4389._sxc17bb3u81cbux51 { display: inline-block; }

._sxc0yok2st1v7zmh7,
._sxc1w1op3h14c9n56,
._sxc0mqbqal1kocd27 {
  display: block;
  max-width: min(100%, 1500px);
  max-height: calc(100vh - 190px);
}

._sxc0yok2st1v7zmh7 {
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

._sxc1w1op3h14c9n56,
._sxc0mqbqal1kocd27 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

._sxc1w1op3h14c9n56 {
  cursor: crosshair;
  z-index: 3;
}

._sxc0mqbqal1kocd27 {
  z-index: 4;
  display: none;
  pointer-events: none;
  background: linear-gradient(110deg,
    rgba(255,255,255,.02) 0%,
    rgba(56,189,248,.65) 35%,
    rgba(167,139,250,.80) 50%,
    rgba(56,189,248,.65) 65%,
    rgba(255,255,255,.02) 100%);
  background-size: 240% 100%;
  mix-blend-mode: screen;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  animation: aiImageEditorWorkingSweep 1.25s linear infinite;
}

._sxc0jveqh40nk4389.is-working ._sxc0mqbqal1kocd27 { display: block; }
._sxc0jveqh40nk4389.is-working ._sxc1w1op3h14c9n56 { pointer-events: none; }

@keyframes aiImageEditorWorkingSweep {
  from { background-position: 170% 0; filter: brightness(.85); }
  50% { filter: brightness(1.35); }
  to { background-position: -70% 0; filter: brightness(.85); }
}

._sxc1j8t08p0xz62q2 {
  position: absolute;
  z-index: 7;
  display: none;
  width: min(360px, calc(100% - 18px));
  padding: 9px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(13, 17, 23, .92);
  color: #fff;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .34);
  backdrop-filter: blur(14px);
  line-height: normal;
}

._sxc1j8t08p0xz62q2._sxc17bb3u81cbux51 { display: block; }
._sxc1j8t08p0xz62q2 textarea {
  width: 100%;
  min-height: 62px;
  max-height: 150px;
  resize: vertical;
  border: 0;
  outline: 0;
  border-radius: 9px;
  padding: 9px 10px;
  background: rgba(255,255,255,.09);
  color: #fff;
  font: 13px/1.45 var(--font);
}
._sxc1j8t08p0xz62q2 textarea::placeholder { color: rgba(255,255,255,.58); }
._sxc1s7jc5f0ji2rdi { display: flex; gap: 7px; margin-top: 8px; }
._sxc1j8t08p0xz62q2 ._sxc0bi3nhr1o1jiyx { flex: 1; color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.13); }
._sxc1j8t08p0xz62q2 ._sxc0bi3nhr1o1jiyx._sxc1xq5umy1hko6n9 { background: #2563eb; }
._sxc1j8t08p0xz62q2 ._sxc0bi3nhr1o1jiyx._sxc00b1oew0heygyv { flex: 0 0 auto; background: #dc2626; }

._sxc0alabv41aoagmm {
  display: none;
  width: min(100%, 1400px);
  flex-direction: column;
  gap: 12px;
}
._sxc0alabv41aoagmm._sxc17bb3u81cbux51 { display: flex; }
._sxc0atz7gv0y9ocar {
  position: relative;
  overflow: hidden;
  margin: auto;
  max-width: 100%;
  max-height: calc(100vh - 245px);
  line-height: 0;
  box-shadow: 0 24px 70px rgba(0,0,0,.25);
  background: #111;
}
._sxc0atz7gv0y9ocar img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 245px);
  width: auto;
  height: auto;
  object-fit: contain;
}
._sxc0ac4o8k15s2u94 {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
}
._sxc0ac4o8k15s2u94 img { width: 100%; height: 100%; object-fit: fill; }
._sxc1u48vmy16ac8va {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-1px);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.34), 0 0 18px rgba(0,0,0,.45);
  pointer-events: none;
}
._sxc1u48vmy16ac8va::after {
  content: "↔";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #111;
  background: #fff;
  font: 18px var(--font);
  box-shadow: 0 8px 26px rgba(0,0,0,.28);
}
._sxc0lfxtbx0oo52d9 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}
._sxc0i1kni30lpeymb {
  position: absolute;
  inset: 12px 12px auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
._sxc0i1kni30lpeymb span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0,0,0,.56);
  font: 11px var(--font);
  backdrop-filter: blur(6px);
}
._sxc11aa04d0i295po {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

._sxc0v7b00j0dxbr30 {
  flex: 0 0 auto;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-top: 1px solid var(--border);
  background: var(--panelSolid);
}
._sxc1yme85n1kkdlcp { flex: 1; }
._sxc0vxt6eu1m4k5sw { color: var(--accent); font-size: 11px; font-family: var(--mono); }

@media (max-width: 980px) {
  ._sxc093swvz0zlvjcn { grid-template-columns: 190px minmax(0, 1fr); }
  ._sxc12r0lnb0ugh3qs { grid-template-columns: 1fr; }
  ._sxc1s176321pac14e { flex-wrap: wrap; }
  ._sxc0ib4cb60uwoqms { flex-basis: 100%; order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  ._sxc0mqbqal1kocd27 { animation-duration: 2.5s; }
  ._sxc0bi3nhr1o1jiyx,
  ._sxc0aa1swv0150bwz { transition: none; }
}
