/* Editor Docs — chrome da visão pública (prosa em prose.css) */

.ed-public-body {
  margin: 0;
  min-height: 100vh;
  background: #fff;
  color: var(--ed-text-1);
  font-family: var(--ed-sans);
  display: flex;
  flex-direction: column;
}

.alg-shared-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(26, 25, 23, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
}

.alg-shared-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  flex-shrink: 0;
}

.alg-shared-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.alg-shared-wordmark {
  font-size: 13px;
  font-weight: 700;
  color: #1A1917;
  letter-spacing: -0.2px;
  line-height: 1;
}

.alg-shared-wordmark span {
  color: #3C2FA0;
}

.alg-shared-label {
  font-size: 11px;
  color: #8A8880;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
}

.alg-shared-cta {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 6px;
  background: #3C2FA0;
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.12s, transform 0.1s;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}

.alg-shared-cta:hover {
  background: #2A2070;
  transform: translateY(-0.5px);
}

.alg-shared-cta svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.alg-shared-spacer {
  height: 36px;
  flex-shrink: 0;
}

.ed-public-main {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}

.ed-public-title {
  font-family: var(--ed-serif);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 28px;
  color: var(--ed-text-1);
}

.ed-public-content.ev-editor {
  min-height: 0;
}

.ed-public-content .ev-image-block {
  cursor: default;
}

.ed-public-footer {
  text-align: center;
  padding: 24px;
  font-size: 12px;
  color: var(--ed-text-4);
  border-top: 0.5px solid var(--ed-border);
}

.ed-public-unavailable {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 64px;
  min-height: calc(100vh - 36px - 70px);
}

.ed-public-unavailable-card {
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.ed-public-unavailable-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: var(--ed-brand-light, #EEEDFE);
  color: var(--ed-brand, #3C2FA0);
  display: grid;
  place-items: center;
  font-size: 26px;
}

.ed-public-unavailable-title {
  font-family: var(--ed-serif, 'Lora', Georgia, serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.25;
  color: var(--ed-text-1, #1A1917);
  margin: 0 0 12px;
}

.ed-public-unavailable-desc {
  font-family: var(--ed-sans, 'Inter', system-ui, sans-serif);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ed-text-2, #4A4946);
  margin: 0 0 28px;
}

.ed-public-unavailable-actions {
  display: flex;
  justify-content: center;
}

.ed-public-unavailable-actions .ed-btn {
  text-decoration: none;
}

@media (max-width: 768px) {
  .ed-public-main {
    padding: 32px 20px 60px;
  }

  .ed-public-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .alg-shared-label { display: none; }
  .alg-shared-cta span { display: none; }
  .alg-shared-cta { padding: 5px 10px; gap: 0; }
}
