/* Company header actions + next-step band. Do not edit hashed company.v20.css. */

.co-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
.co-header-actions .btn {
  flex: 0 1 auto;
  min-width: 7.5rem;
}
@media (max-width: 900px) {
  .co-header-actions {
    width: 100%;
    justify-content: stretch;
  }
  .co-header-actions .btn {
    flex: 1 1 calc(50% - 8px);
  }
}

.lb-tip-btn {
  position: relative;
}
.lb-tip-btn[title]:hover::after,
.lb-tip-btn[aria-label]:hover::after {
  content: attr(title);
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  width: max-content;
  max-width: min(280px, 70vw);
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(23, 53, 54, .94);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  white-space: normal;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(15, 40, 41, .18);
}
.lb-tip-btn.is-active {
  border-color: var(--jade, #075B5B);
  color: var(--jade, #075B5B);
  background: #f3faf8;
}

.lb-next-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  margin: 12px 0 18px;
  text-align: left;
}
.lb-next-actions--split {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 34%);
}
.lb-next-actions-main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.lb-next-actions--split .lb-next-actions-main,
.lb-next-actions--split .lb-next-actions-claim {
  height: 100%;
}
.lb-next-actions .lb-next-actions-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
  align-self: stretch;
}
.lb-next-actions--split .lb-next-actions-row {
  height: 100%;
}
.lb-next-actions .lb-next-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--border, #dce7e4);
  border-radius: 10px;
  background: #fff;
  color: var(--ink, #173536);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  white-space: normal;
  box-sizing: border-box;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.lb-next-actions .lb-next-chip:hover {
  border-color: var(--jade, #075B5B);
  transform: translateY(-1px);
}
.lb-next-actions-claim {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(198, 161, 58, .35);
  background: linear-gradient(180deg, #fffdf6 0%, #f7f3e6 100%);
  box-shadow: 0 8px 22px rgba(23, 53, 54, .06);
}
.lb-next-actions-claim-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a07d1f;
}
.lb-next-actions-claim-hook {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink, #173536);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lb-next-actions-claim-lead {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted, #647676);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lb-next-actions-claim-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  margin-top: 6px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--gold, #c6a13a);
  color: #173536;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.lb-next-actions-claim-cta:hover {
  filter: brightness(1.05);
}

.company-hero--index .lb-next-actions {
  width: 100%;
  align-self: stretch;
  margin: 0;
}
.company-hero--index .lb-next-actions .lb-next-chip {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}
.company-hero--index .lb-next-actions .lb-next-chip:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .5);
}
.company-hero--index .lb-next-actions-claim {
  border-color: rgba(255, 215, 120, .4);
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(198, 161, 58, .22));
  box-shadow: none;
}
.company-hero--index .lb-next-actions-claim-kicker {
  color: #f3d789;
}
.company-hero--index .lb-next-actions-claim-hook,
.company-hero--index .lb-next-actions-claim-lead {
  color: #fff;
}
.company-hero--index .lb-next-actions-claim-lead {
  color: rgba(255, 255, 255, .82);
}

@media (max-width: 960px) {
  .lb-next-actions--split {
    grid-template-columns: 1fr;
  }
  .lb-next-actions--split .lb-next-actions-main,
  .lb-next-actions--split .lb-next-actions-claim,
  .lb-next-actions--split .lb-next-actions-row {
    height: auto;
  }
  .lb-next-actions .lb-next-actions-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
}
@media (max-width: 640px) {
  .lb-next-actions .lb-next-actions-row {
    grid-template-columns: 1fr 1fr;
    overflow: visible;
  }
  .lb-next-actions .lb-next-chip {
    min-height: 36px;
    font-size: 12px;
    flex: unset;
    white-space: normal;
  }
}

/* Hot-query pager + detail compact. Do not edit hashed company.v20.css. */
.hot-query--size-4:not(.is-paged) .hot-query-item:nth-child(n+5),
.hot-query--size-6:not(.is-paged) .hot-query-item:nth-child(n+7),
.hot-query--size-8:not(.is-paged) .hot-query-item:nth-child(n+9),
.hot-query--size-12:not(.is-paged) .hot-query-item:nth-child(n+13) {
  display: none;
}
.hot-query-pager {
  margin-top: 10px;
  gap: 8px;
}
.hot-query-pager-mid {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}
.hot-query-pages {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.hot-query-num {
  appearance: none;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border: 1px solid var(--border, #dce7e4);
  border-radius: 6px;
  background: #fff;
  color: var(--ink, #173536);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
}
.hot-query-num.is-active,
.hot-query-num[aria-current="page"] {
  background: var(--company-accent, #0d6b4f);
  border-color: var(--company-accent, #0d6b4f);
  color: #fff;
  cursor: default;
}
.hot-query-ellipsis {
  padding: 0 2px;
  color: var(--muted, #647676);
  font-size: 12px;
  line-height: 1;
}
.hot-query-btn--icon {
  width: 28px;
  height: 28px;
  font-size: 1.1rem;
}
.hot-query-page {
  min-width: 3.5em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hot-query-progress {
  width: 56px;
  height: 2px;
}
.hot-query-dots {
  display: none;
}

.detail-panel--hot {
  margin-top: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.detail-panel--hot .detail-panel-head {
  grid-column: 1;
  grid-row: 1;
  padding: 10px 14px 8px;
  min-height: 0;
  gap: 8px;
  border-bottom: 0;
}
.detail-panel--hot .hot-query {
  display: contents;
}
.detail-panel--hot .hot-query-pager {
  grid-column: 2;
  grid-row: 1;
  margin: 0 12px 0 0;
  justify-content: flex-end;
  gap: 6px;
}
.detail-panel--hot .hot-query-viewport {
  grid-column: 1 / -1;
  grid-row: 2;
  padding: 0 12px 12px;
}
.detail-panel--hot .hot-query-grid {
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.detail-panel--hot .hot-query-item {
  padding: 8px 10px;
  gap: 2px;
  border-radius: 8px;
}
.detail-panel--hot .hot-query-en {
  display: none;
}
.detail-panel--hot .hot-query-name {
  font-size: .84rem;
}
.detail-panel--hot .hot-query-meta {
  font-size: .7rem;
}
.detail-panel--hot .hot-query-progress {
  display: none;
}
.co-pro .company-map {
  height: 300px;
}
.co-pro .co-nearby-list {
  max-height: 240px;
}
.co-pro .co-map-body {
  padding: 12px 16px 14px;
}

@media (max-width: 900px) {
  .detail-panel--hot {
    grid-template-columns: 1fr;
  }
  .detail-panel--hot .hot-query-pager {
    grid-column: 1;
    grid-row: 3;
    margin: 0 12px 10px;
    justify-content: center;
  }
  .detail-panel--hot .hot-query-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .detail-panel--hot .hot-query-grid {
    grid-template-columns: 1fr;
  }
}
