/* 春风档案系统统一顶栏与产品详情优化 */

.spring-app-bar {
  background: linear-gradient(180deg, #faf7f9 0%, #fff 100%);
  border-bottom: 1px solid #e8e0e6;
  margin: 0 0 12px;
  position: sticky;
  top: 0;
  z-index: 40;
}

.spring-app-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.spring-app-back {
  grid-column: 1;
  justify-self: start;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid #e8e0e6;
  background: #fff;
  color: #6f536a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.spring-app-back:hover {
  background: #f3eef2;
  border-color: #d4c6d0;
  color: #5a4256;
  text-decoration: none;
}

.spring-app-back-disabled {
  grid-column: 1;
  justify-self: start;
  visibility: hidden;
  min-width: 72px;
  padding: 8px 12px;
}

.spring-app-back-icon {
  font-size: 16px;
  line-height: 1;
}

.spring-app-bar-main {
  grid-column: 2;
  justify-self: center;
  min-width: 0;
  max-width: min(720px, 100%);
  text-align: center;
}

.spring-app-crumb {
  font-size: 12px;
  color: #888086;
  margin-bottom: 2px;
  line-height: 1.4;
  text-align: center;
}

.spring-app-crumb a {
  color: #8e6c88;
  text-decoration: none;
}

.spring-app-crumb a:hover {
  text-decoration: underline;
}

.spring-app-crumb-sep {
  margin: 0 6px;
  color: #c5b8c2;
}

.spring-app-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

.spring-app-title {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: #2c2a2b;
  line-height: 1.35;
  text-align: center;
}

.spring-app-title-row .hfav-star {
  margin-left: 2px;
  flex-shrink: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.spring-page-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  flex-wrap: wrap;
}

.spring-page-tools > p {
  margin: 0;
  color: #888086;
  font-size: 14px;
  line-height: 1.45;
}

.spring-app .main-content,
.spring-app .org-management,
.spring-app .lab-page {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* 产品详情：进入系统 */
.pd-enter-section {
  margin: 28px 0 8px;
  padding: 22px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f7f2f6 0%, #fff 70%);
  border: 1px solid #e8e0e6;
  text-align: center;
}

.pd-enter-section h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #6f536a;
}

.pd-enter-lead {
  margin: 0 0 16px;
  font-size: 14px;
  color: #888086;
  line-height: 1.5;
}

.pd-enter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 180px;
  padding: 12px 28px;
  border-radius: 10px;
  background: var(--primary-color, #8e6c88);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.pd-enter-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.pd-layout .product-content {
  display: block;
  max-width: 720px;
  margin: 0 auto 36px;
}

.pd-layout .product-header {
  margin-bottom: 28px;
}

.pd-layout .screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.pd-layout .screenshot-item {
  margin: 0;
}

@media (max-width: 640px) {
  .spring-app-bar-inner {
    padding: 6px 12px 8px;
    gap: 8px;
    grid-template-columns: auto 1fr;
  }
  .spring-app-bar-main {
    grid-column: 2;
    max-width: none;
    justify-self: stretch;
  }
  .pd-enter-section {
    padding: 18px 16px;
  }
}
