/* Active Photopea Editor stylesheet. Root-level /styles is the live CSS architecture. */
.editor-hero {
  padding-top: 72px;
  padding-bottom: 18px;
}

.editor-hero__head {
  background: rgba(20, 21, 26, 0.55);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  margin: 0 auto;
  max-width: 1080px;
}

.editor-kicker {
  color: rgba(239, 233, 221, 0.72);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.editor-workspace {
  padding-top: 22px;
  padding-bottom: 34px;
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.editor-panel {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 84px;
}

.editor-panel__card {
  background: rgba(20, 21, 26, 0.45);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.editor-panel__card h2,
.editor-panel__card h3 {
  margin: 0 0 8px;
}

.editor-panel__card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.workflow-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
}

.workflow-list li {
  color: var(--text);
  line-height: 1.35;
  font-size: 14px;
}

.editor-panel__card--tips ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
}

.editor-panel__card--tips li {
  color: var(--muted);
  font-size: 14px;
}

.editor-stage {
  background: rgba(20, 21, 26, 0.45);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.editor-stage__head h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.editor-stage__head p {
  margin: 0;
  color: var(--muted);
}

.editor-transparency-note {
  margin: 12px 0 14px;
  font-size: 13px;
  color: rgba(239, 233, 221, 0.86);
  background: rgba(244, 190, 79, 0.14);
  border: 1px solid rgba(244, 190, 79, 0.45);
  border-radius: 10px;
  padding: 10px 12px;
}

.tool-editor-shell {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.tool-editor-shell iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
}

.tool-editor-lock {
  padding: 24px;
  background: #fff;
  color: #0b0f19;
}

.tool-editor-lock p {
  margin: 0 0 14px;
  color: #2c3a4d;
}

.tool-editor-lock .btn {
  display: inline-flex;
}

.tool-editor-status {
  margin-top: 12px;
  font-size: 13px;
  color: #596579;
}

.tool-editor-shell.is-locked .tool-editor-frame {
  display: none;
}

.tool-editor-shell:not(.is-locked) .tool-editor-lock {
  display: none;
}

@media (max-width: 1080px) {
  .editor-layout {
    grid-template-columns: 1fr;
  }

  .editor-panel {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .editor-hero {
    padding-top: 58px;
  }

  .editor-hero__head,
  .editor-stage,
  .editor-panel__card {
    padding: 14px;
  }

  .editor-panel {
    grid-template-columns: 1fr;
  }

  .tool-editor-shell iframe {
    height: 560px;
  }
}
