/* BookStar Livros com IA v38.6 — navegação e prévia da capa. */
.site-header {
  position: relative;
  z-index: 1000;
}

.site-header .header-inner,
.site-header nav,
.site-header nav a,
.site-header .brand {
  position: relative;
  z-index: 1001;
  pointer-events: auto;
}

.cover-artifact-list {
  display: grid;
  gap: 1rem;
  margin: .75rem 0 1.5rem;
}

.cover-artifact-card {
  display: grid;
  grid-template-columns: minmax(120px, 190px) 1fr;
  gap: 1rem;
  align-items: start;
  padding: .85rem;
  border: 1px solid var(--line, #d7dfd8);
  border-radius: 14px;
  background: #fff;
}

.cover-artifact-card img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #eef2ee;
}

.cover-artifact-card small {
  display: block;
  margin: .35rem 0 .8rem;
}

@media (max-width: 620px) {
  .cover-artifact-card {
    grid-template-columns: 1fr;
  }

  .cover-artifact-card img {
    max-width: 220px;
  }
}
.pipeline-stage.skipped{opacity:.78}.pipeline-stage.skipped .stage-number{background:#eef1ed;color:#52645b}.pipeline-stage.skipped .stage-state{color:#52645b}

/* BookStar v40.0 — presença editorial, estado operacional e ações seguras. */
.hero .eyebrow {
  display: inline-block;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 800;
  letter-spacing: .075em;
  line-height: 1.25;
  color: #075c44;
}

.hero-copy > p:not(.trust-line) {
  color: #263d36;
  font-size: clamp(1.03rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.hero-panel .flow-card-main .flow-number {
  display: block;
  font-size: clamp(5.2rem, 10vw, 8.5rem);
  font-weight: 850;
  line-height: .82;
  letter-spacing: -.08em;
  color: #075c44;
}

.hero-panel .flow-card strong {
  color: #102f27;
  font-size: clamp(1rem, 1.6vw, 1.32rem);
  line-height: 1.25;
}

.hero-panel .flow-card small {
  color: #365249;
  font-size: .98rem;
  line-height: 1.45;
}

.admin-control-toggle {
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.admin-control-toggle.is-active {
  border-color: #0b7657;
  background: #edf8f2;
  box-shadow: 0 0 0 3px rgba(11, 118, 87, .08);
}

.admin-control-toggle.is-active #generation-state-title {
  color: #075c44;
}

.admin-control-toggle.is-inactive {
  border-color: #ba6048;
  background: #fff6f2;
}

#generation-state-copy {
  display: inline-block;
  margin-top: .2rem;
  color: #263d36;
}

.admin-table td:last-child {
  min-width: 148px;
}

.admin-table td:last-child .button {
  margin: .15rem;
}

.admin-order-archive {
  color: #7e3728;
  border-color: #d9a99c;
}

@media (min-width: 900px) {
  .hero {
    min-height: min(720px, 78vh);
    align-items: center;
  }

  .hero-panel {
    min-height: 500px;
  }

  .hero-panel .flow-card-main {
    padding: clamp(1.8rem, 3vw, 3rem);
  }
}

@media (max-width: 620px) {
  .hero-panel .flow-card-main .flow-number {
    font-size: clamp(5rem, 26vw, 7.4rem);
  }

  .hero-panel .flow-card strong {
    font-size: 1.08rem;
  }
}
