/*
  腾讯云架构师技术同盟公开门户统一视觉层。
  目标：在既有 Tencent Cloud Foundation 组件骨架上统一六个公开页面。
*/

.tm-public-v3 {
  --tm-v3-blue: #006eff;
  --tm-v3-blue-hover: #005bd9;
  --tm-v3-blue-deep: #0052d9;
  --tm-v3-ink: #0b1f3a;
  --tm-v3-title: #172b4d;
  --tm-v3-body: #5b6b82;
  --tm-v3-muted: #8190a5;
  --tm-v3-line: #e4ecf7;
  --tm-v3-line-strong: #d5e2f2;
  --tm-v3-surface: #ffffff;
  --tm-v3-surface-tint: #f5f9ff;
  --tm-v3-surface-soft: #f7faff;
  --tm-v3-shadow: 0 2px 10px rgba(34, 77, 139, 0.07);
  --tm-v3-shadow-hover: 0 8px 24px rgba(34, 77, 139, 0.12);
  color: var(--tm-v3-ink);
  background: var(--tm-v3-surface);
  font-family: "PingFang SC", "Helvetica Neue", Arial, "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

.tm-public-v3 *,
.tm-public-v3 *::before,
.tm-public-v3 *::after {
  box-sizing: border-box;
}

.tm-public-v3 .tcwf-portal-header {
  position: relative;
  z-index: 100;
  min-height: 64px;
  border-bottom: 1px solid rgba(220, 231, 245, 0.9);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
}

.tm-public-v3 .tcwf-portal-header__inner {
  width: min(100% - 40px, 1360px);
  min-height: 64px;
  margin-inline: auto;
}

.tm-public-v3 .tcwf-portal-header__brand-label {
  color: var(--tm-v3-ink);
  font-size: 17px;
  font-weight: 600;
}

.tm-public-v3 .tcwf-portal-header__nav-link {
  position: relative;
  min-height: 64px;
  padding-inline: 14px;
  color: #4c5d75;
  font-size: 14px;
  font-weight: 400;
}

.tm-public-v3 .tcwf-portal-header__nav-link::after {
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 2px;
  background: var(--tm-v3-blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 180ms ease, transform 180ms ease;
}

.tm-public-v3 .tcwf-portal-header__nav-link:hover,
.tm-public-v3 .tcwf-portal-header__nav-link[aria-current="page"] {
  color: var(--tm-v3-blue-deep);
  background: transparent;
}

.tm-public-v3 .tcwf-portal-header__nav-link:hover::after,
.tm-public-v3 .tcwf-portal-header__nav-link[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.tm-public-v3 .tcwf-portal-header__utility,
.tm-public-v3 .tcwf-portal-header__console {
  min-height: 38px;
  padding: 0 18px;
  border-radius: 2px;
  box-shadow: none;
  font-size: 14px;
}

.tm-public-v3 .tcwf-portal-header__utility {
  color: #44566f;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--tm-v3-line-strong);
}

.tm-public-v3 .tcwf-portal-header__console {
  color: #fff;
  background: var(--tm-v3-blue);
}

.tm-public-v3 .tcwf-portal-header__utility:hover,
.tm-public-v3 .tcwf-portal-header__console:hover {
  transform: none;
}

.tm-public-v3 .tm-hero-stage {
  position: relative;
  min-height: 480px;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: linear-gradient(90deg, #f4f9ff 0%, #eef6ff 54%, #eaf4ff 100%);
  box-shadow: none;
  isolation: isolate;
}

.tm-public-v3 .tm-hero-stage::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(248, 252, 255, 0.98) 0%, rgba(248, 252, 255, 0.88) 40%, rgba(248, 252, 255, 0.16) 68%, transparent 100%);
  content: "";
  pointer-events: none;
}

.tm-public-v3 .tm-hero-stage .tcwf-static-hero__background {
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transform: none;
}

.tm-public-v3 .tm-hero-stage .tcwf-solution-hero__inner {
  width: min(100% - 48px, 1200px);
  min-height: 480px;
  margin-inline: auto;
  padding: 88px 0 64px;
}

.tm-public-v3 .tm-hero-stage .tcwf-solution-hero__copy {
  max-width: 500px;
}

.tm-public-v3 .tm-hero-stage h1,
.tm-public-v3[data-tcwf-page="alliance-portal"] .tm-hero-stage h1 {
  max-width: 470px;
  color: var(--tm-v3-ink);
  font-size: clamp(42px, 4vw, 54px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.tm-public-v3 .tm-hero-stage .tcwf-solution-hero__copy > p {
  max-width: 490px;
  margin-top: 20px;
  color: #53647d;
  font-size: 15px;
  line-height: 1.8;
}

.tm-public-v3 .tm-hero-stage .tcwf-solution-hero__actions {
  gap: 12px;
  margin-top: 28px;
}

.tm-public-v3 .tcwf-action,
.tm-public-v3 .tcwf-action--large {
  min-width: 118px;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--tm-v3-blue);
  border-radius: 2px;
  color: #fff;
  background: var(--tm-v3-blue);
  box-shadow: none;
  font-size: 14px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.tm-public-v3 .tcwf-action:hover {
  border-color: var(--tm-v3-blue-hover);
  background: var(--tm-v3-blue-hover);
  box-shadow: none;
  transform: translateY(-1px);
}

.tm-public-v3 .tcwf-action--secondary,
.tm-public-v3 .tcwf-action.tcwf-action--secondary {
  color: var(--tm-v3-blue-deep);
  border-color: #b8d4f7;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

.tm-public-v3 .tcwf-action--secondary:hover,
.tm-public-v3 .tcwf-action.tcwf-action--secondary:hover {
  color: var(--tm-v3-blue-hover);
  border-color: var(--tm-v3-blue);
  background: #fff;
}

.tm-public-v3 .tcwf-section-nav {
  position: sticky;
  top: 0;
  z-index: 98;
  max-width: none;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--tm-v3-line);
  border-radius: 0;
  background: rgba(247, 250, 255, 0.96);
  box-shadow: none;
  backdrop-filter: blur(12px);
  transform: none;
}

.tm-public-v3 .tcwf-section-nav__inner {
  width: min(100% - 48px, 1200px);
  min-height: 54px;
  justify-content: flex-start;
  gap: 30px;
  margin-inline: auto;
  padding: 0;
}

.tm-public-v3 .tcwf-section-nav__link {
  position: relative;
  min-height: 54px;
  padding: 0;
  border-radius: 0;
  color: #52627a;
  font-size: 14px;
}

.tm-public-v3 .tcwf-section-nav__link:hover,
.tm-public-v3 .tcwf-section-nav__link[aria-current="true"] {
  color: var(--tm-v3-blue-deep);
  background: transparent;
}

.tm-public-v3 .tcwf-section-nav__link[aria-current="true"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--tm-v3-blue);
  content: "";
}

.tm-public-v3 .tcwf-section {
  padding: 64px 0;
  background: var(--tm-v3-surface);
}

.tm-public-v3 .tcwf-section--muted {
  background: var(--tm-v3-surface-tint);
}

.tm-public-v3 .tcwf-section__inner {
  width: min(100% - 48px, 1200px);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.tm-public-v3 .tcwf-section__header {
  max-width: none;
  margin: 0 0 32px;
  text-align: left;
}

.tm-public-v3 .tcwf-section__title,
.tm-public-v3 .tm-section-bar__title {
  color: var(--tm-v3-ink);
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.tm-public-v3 .tcwf-section__description,
.tm-public-v3 .tm-section-bar__hint {
  margin-top: 8px;
  color: var(--tm-v3-body);
  font-size: 14px;
  line-height: 1.7;
}

.tm-public-v3 .tcwf-text-link {
  color: var(--tm-v3-blue-deep);
  font-weight: 500;
}

.tm-public-v3 .tcwf-solution-feature,
.tm-public-v3 .tm-person,
.tm-public-v3 .tm-list__item,
.tm-public-v3 .tm-kpi,
.tm-public-v3 .tm-panel,
.tm-public-v3 .tm-region,
.tm-public-v3 .tm-author,
.tm-public-v3 .tm-task,
.tm-public-v3 .tm-filter,
.tm-public-v3 .tcwf-type-card,
.tm-public-v3 .tcwf-case-card,
.tm-public-v3 .tcwf-split-story,
.tm-public-v3 .tcwf-product-card {
  border: 1px solid var(--tm-v3-line);
  border-radius: 2px;
  background: var(--tm-v3-surface);
  box-shadow: var(--tm-v3-shadow);
}

@media (hover: hover) {
  .tm-public-v3 .tcwf-solution-feature:hover,
  .tm-public-v3 .tm-person:hover,
  .tm-public-v3 .tm-list__item:hover,
  .tm-public-v3 .tm-region:hover,
  .tm-public-v3 .tcwf-type-card:hover,
  .tm-public-v3 .tcwf-case-card:hover {
    border-color: #bfd5f2;
    box-shadow: var(--tm-v3-shadow-hover);
    transform: translateY(-2px);
  }
}

.tm-public-v3 .tcwf-benefit {
  border-radius: 2px;
}

.tm-public-v3 .tcwf-benefit:hover {
  background: #f4f8ff;
}

.tm-public-v3 .tcwf-tabs__tab,
.tm-public-v3 .tm-segment__button,
.tm-public-v3 .tm-tag,
.tm-public-v3 .tm-filter input,
.tm-public-v3 .tm-filter select {
  border-radius: 2px;
}

.tm-public-v3 .tcwf-tabs__tab[aria-selected="true"],
.tm-public-v3 .tm-segment__button[aria-pressed="true"] {
  color: #fff;
  border-color: var(--tm-v3-blue);
  background: var(--tm-v3-blue);
}

.tm-public-v3 .tm-footer {
  border: 0;
  background: #071d42;
}

.tm-public-v3 :focus-visible {
  outline: 3px solid rgba(0, 110, 255, 0.45);
  outline-offset: 3px;
}

/* 参考图式公共内容编排 */
.tm-public-v3 .tm-guide-overview {
  padding: 0;
  border-bottom: 1px solid var(--tm-v3-line);
}

.tm-public-v3 .tm-guide-overview .tcwf-section__inner {
  padding-block: 22px;
}

.tm-public-v3 .tm-guide-overview .tcwf-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.tm-public-v3 .tm-guide-overview .tcwf-step {
  position: relative;
  min-height: 68px;
  align-items: center;
  padding: 0 28px;
  border-right: 1px solid var(--tm-v3-line);
}

.tm-public-v3 .tm-guide-overview .tcwf-step:first-child {
  padding-left: 0;
}

.tm-public-v3 .tm-guide-overview .tcwf-step:last-child {
  padding-right: 0;
  border-right: 0;
}

.tm-public-v3 .tm-guide-overview .tcwf-step__number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--tm-v3-blue-deep);
  background: #eaf3ff;
}

.tm-public-v3 .tm-guide-overview .tcwf-step__number-text {
  color: inherit;
  font-size: 12px;
}

.tm-public-v3 .tm-guide-overview .tcwf-step__connector {
  display: none;
}

.tm-public-v3 .tm-resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.tm-public-v3[data-tcwf-page="alliance-guide"] #resources {
  background: #fff;
}

.tm-public-v3[data-tcwf-page="alliance-guide"] #resources .tcwf-section__header {
  text-align: center;
}

.tm-public-v3[data-tcwf-page="alliance-guide"] .tm-resource-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tm-public-v3 .tm-resource-grid .tcwf-benefit {
  min-width: 0;
  min-height: 184px;
  padding: 24px 18px 20px;
  border: 1px solid var(--tm-v3-line);
  border-radius: 2px;
  background: #fff;
  box-shadow: var(--tm-v3-shadow);
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.tm-public-v3 .tm-resource-grid .tcwf-benefit:hover {
  border-color: #bfd5f2;
  background: #fff;
  box-shadow: var(--tm-v3-shadow-hover);
  transform: translateY(-2px);
}

.tm-public-v3 .tm-resource-grid .tcwf-benefit__icon {
  width: 48px;
  height: 48px;
  margin: 0 0 18px;
  padding: 7px;
  border-radius: 50%;
  background: #edf5ff;
}

.tm-public-v3 .tm-resource-grid .tcwf-benefit__title {
  margin: 0;
  color: var(--tm-v3-title);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.tm-public-v3 .tm-resource-grid .tcwf-benefit__description {
  margin-top: 10px;
  color: var(--tm-v3-body);
  font-size: 13px;
  line-height: 1.7;
}

.tm-public-v3 .tm-resource-grid .tm-check-list {
  display: grid;
  gap: 5px;
  padding: 0;
  list-style: none;
}

.tm-public-v3 .tm-resource-grid .tm-check-list li {
  position: relative;
  padding-left: 12px;
}

.tm-public-v3 .tm-resource-grid .tm-check-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tm-v3-blue);
  content: "";
}

.tm-public-v3 .tm-editorial-grid {
  background: var(--tm-v3-surface-tint);
}

.tm-public-v3 .tm-editorial-grid .tcwf-section__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.7fr);
  column-gap: 42px;
}

.tm-public-v3 .tm-editorial-grid .tcwf-section__header,
.tm-public-v3 .tm-editorial-grid .tcwf-type-grid {
  grid-column: 1 / -1;
}

.tm-public-v3 .tm-editorial-grid .tcwf-type-grid {
  gap: 18px;
}

.tm-public-v3 .tm-editorial-grid .tcwf-type-card {
  min-height: 142px;
  overflow: hidden;
}

.tm-public-v3 .tm-editorial-grid .tcwf-type-card__art {
  width: 48%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  opacity: 0.72;
}

.tm-public-v3 .tm-journal-heading,
.tm-public-v3 .tm-publication-shelf {
  grid-column: 1;
}

.tm-public-v3 .tm-region-heading,
.tm-public-v3 .tm-region-knowledge-grid {
  grid-column: 2;
}

.tm-public-v3 .tm-journal-heading,
.tm-public-v3 .tm-region-heading {
  grid-row: 3;
  margin-top: 42px !important;
}

.tm-public-v3 .tm-publication-shelf,
.tm-public-v3 .tm-region-knowledge-grid {
  grid-row: 4;
}

.tm-public-v3 .tm-publication-shelf {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tm-public-v3 .tm-publication-shelf .tm-journal {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--tm-v3-line);
  background: #fff;
  box-shadow: var(--tm-v3-shadow);
}

.tm-public-v3 .tm-publication-shelf .tm-journal__cover {
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 5 / 7;
}

.tm-public-v3 .tm-publication-shelf .tm-journal__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.tm-public-v3 .tm-publication-shelf .tm-journal:hover img {
  transform: scale(1.025);
}

.tm-public-v3 .tm-publication-shelf .tm-journal__link {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.tm-public-v3 .tm-region-knowledge-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 14px;
}

.tm-public-v3 .tm-region-knowledge-grid .tm-region {
  min-height: 116px;
  padding: 18px;
  box-shadow: var(--tm-v3-shadow);
}

.tm-public-v3 .tm-event-strip .tcwf-case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tm-public-v3 .tm-event-strip .tcwf-case-card {
  overflow: hidden;
}

.tm-public-v3 .tm-event-strip .tcwf-case-card__image {
  width: 100%;
  aspect-ratio: 1.52 / 1;
  border-radius: 0;
  object-fit: cover;
}

.tm-public-v3 .tm-event-strip .tcwf-case-card__body {
  padding: 18px;
}

.tm-public-v3 .tm-people-strip .tcwf-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.tm-public-v3 .tm-people-strip .tm-person-grid {
  gap: 14px;
}

.tm-public-v3 .tm-people-strip .tm-person {
  min-height: 118px;
  border-color: var(--tm-v3-line);
  box-shadow: var(--tm-v3-shadow);
}

.tm-public-v3 .tm-people-strip .tm-person--compact {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  min-height: 92px;
  padding: 14px;
}

.tm-public-v3 .tm-people-strip .tm-person--compact .tm-person__media {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.tm-public-v3 .tm-people-strip .tm-person--compact .tm-person__media img {
  border-radius: 50%;
}

.tm-public-v3 .tm-people-strip .tcwf-tabs__list {
  justify-content: flex-start;
  border-bottom: 1px solid var(--tm-v3-line);
}

.tm-public-v3 .tm-people-strip .tcwf-tabs__tab {
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--tm-v3-body);
  background: transparent;
}

.tm-public-v3 .tm-people-strip .tcwf-tabs__tab[aria-selected="true"] {
  color: var(--tm-v3-blue-deep);
  border-bottom-color: var(--tm-v3-blue);
  background: transparent;
}

.tm-public-v3 .tm-brand-grid .tcwf-product-groups {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.tm-public-v3 .tm-brand-grid .tcwf-product-group {
  min-width: 0;
}

.tm-public-v3 .tm-brand-grid .tcwf-product-group__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tm-public-v3 .tm-brand-grid .tcwf-product-card {
  min-height: 142px;
  padding: 20px;
  border: 1px solid var(--tm-v3-line);
  background: #fff;
  box-shadow: var(--tm-v3-shadow);
}

.tm-public-v3 .tm-growth-stage > .tcwf-section__inner > .tcwf-split-story {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid #dbe9fb;
  background: linear-gradient(105deg, #f7fbff 0%, #edf6ff 100%);
  box-shadow: none;
}

.tm-public-v3 .tm-growth-stage .tcwf-split-story__content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 46px;
}

.tm-public-v3 .tm-growth-stage .tm-figure,
.tm-public-v3 .tm-growth-stage .tcwf-split-story__image {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}

.tm-public-v3 .tm-growth-stage .tm-region-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tm-public-v3 .tm-growth-stage .tm-region {
  min-height: 132px;
  padding: 18px;
  box-shadow: var(--tm-v3-shadow);
}

.tm-public-v3 .tm-growth-stage .tcwf-solution-features {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.tm-public-v3 .tm-growth-stage .tcwf-solution-feature {
  position: relative;
  min-height: 142px;
  padding: 22px 18px;
  overflow: visible;
  box-shadow: var(--tm-v3-shadow);
}

.tm-public-v3 .tm-growth-stage .tcwf-solution-feature:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -15px;
  width: 15px;
  height: 1px;
  background: #8dbdff;
  content: "";
}

.tm-public-v3 .tm-growth-stage .tm-table-scroll {
  border: 1px solid var(--tm-v3-line);
  background: #fff;
}

.tm-public-v3 .tm-growth-stage .tm-table thead {
  background: #eaf3ff;
}

.tm-public-v3 .tm-onboarding-strip .tcwf-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tm-public-v3 .tm-onboarding-strip .tcwf-step {
  min-height: 146px;
  padding: 22px;
  border: 1px solid var(--tm-v3-line);
  background: #fff;
  box-shadow: var(--tm-v3-shadow);
}

.tm-public-v3 .tm-onboarding-strip .tcwf-step__connector {
  display: none;
}

.tm-public-v3 .tm-onboarding-strip .tm-panel {
  margin-top: 20px;
  padding: 22px 24px;
  border-left: 3px solid var(--tm-v3-blue);
  box-shadow: var(--tm-v3-shadow);
}

.tm-public-v3 .tm-faq-columns .tcwf-tabs__list {
  justify-content: flex-start;
  gap: 28px;
  border-bottom: 1px solid var(--tm-v3-line);
}

.tm-public-v3 .tm-faq-columns .tcwf-tabs__tab {
  min-height: 46px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--tm-v3-body);
  background: transparent;
}

.tm-public-v3 .tm-faq-columns .tcwf-tabs__tab[aria-selected="true"] {
  color: var(--tm-v3-blue-deep);
  border-bottom-color: var(--tm-v3-blue);
  background: transparent;
}

.tm-public-v3 .tm-faq-columns .tcwf-accordion {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 20px;
}

.tm-public-v3 .tm-faq-columns .tcwf-accordion__item {
  border-top: 0;
  border-bottom: 1px solid var(--tm-v3-line);
}

.tm-public-v3 .tm-faq-columns .tcwf-accordion__trigger {
  min-height: 54px;
  padding: 12px 0;
  color: var(--tm-v3-title);
  font-weight: 500;
}

.tm-public-v3 .tm-faq-columns .tcwf-accordion__panel {
  padding: 0 0 18px;
  color: var(--tm-v3-body);
}

/* 首页编排 */
.tm-public-v3[data-tcwf-page="alliance-portal"] .tm-home-highlights .tcwf-section__header,
.tm-public-v3[data-tcwf-page="alliance-portal"] .tm-benefits-stage .tcwf-section__header {
  text-align: center;
}

.tm-public-v3 .tm-home-highlights .tcwf-solution-features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tm-public-v3 .tm-home-highlights .tcwf-solution-feature {
  min-height: 172px;
  padding: 28px;
  border-top: 3px solid #d6e9ff;
  box-shadow: var(--tm-v3-shadow);
}

.tm-public-v3 .tm-home-about .tcwf-split-story {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  overflow: hidden;
  border: 1px solid #dbe9fb;
  background: var(--tm-v3-surface-soft);
  box-shadow: none;
}

.tm-public-v3 .tm-portal-grid .tcwf-type-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tm-public-v3 .tm-portal-grid .tcwf-type-card {
  min-height: 154px;
}

.tm-public-v3 .tm-editorial-list .tm-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tm-public-v3 .tm-editorial-list .tm-list__item {
  min-height: 98px;
  padding: 18px 20px;
}

.tm-public-v3 .tm-join-band {
  width: min(100% - 48px, 1200px);
  max-width: none;
  margin: 0 auto 64px;
  border-radius: 2px;
  background: linear-gradient(100deg, #05285c 0%, #0052d9 68%, #1888ff 100%);
  box-shadow: none;
}

.tm-public-v3 .tm-join-band .tcwf-solution-cta__inner {
  min-height: 180px;
}

/* Knowledge system: one continuous archive rather than isolated floating cards. */
.tm-public-v3 .tm-knowledge-dashboard .tcwf-split-story,
.tm-public-v3 #circle .tcwf-split-story {
  grid-template-columns: minmax(0, 1.32fr) minmax(320px, 0.68fr);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--tm-v3-line);
  border-radius: 2px;
  background: #fff;
  box-shadow: var(--tm-v3-shadow);
}

.tm-public-v3 #circle .tcwf-split-story {
  grid-template-columns: minmax(320px, 0.68fr) minmax(0, 1.32fr);
}

.tm-public-v3 .tm-knowledge-dashboard .tcwf-split-story__content,
.tm-public-v3 #circle .tcwf-split-story__content {
  padding: 36px 40px;
}

.tm-public-v3 .tm-knowledge-dashboard .tcwf-split-story__image,
.tm-public-v3 #circle .tcwf-split-story__image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 0;
}

.tm-public-v3 .tm-knowledge-dashboard .tm-list {
  display: grid;
  gap: 0;
  margin: 22px 0 28px;
  border-top: 1px solid var(--tm-v3-line);
}

.tm-public-v3 .tm-knowledge-dashboard .tm-list__item {
  min-height: 72px;
  padding: 14px 0;
  border-width: 0 0 1px;
  box-shadow: none;
}

.tm-public-v3[data-tcwf-page="alliance-knowledge"] .tm-publication-shelf {
  grid-template-columns: repeat(2, minmax(0, 260px));
  justify-content: start;
  gap: 24px;
}

.tm-public-v3[data-tcwf-page="alliance-knowledge"] .tm-publication-shelf .tm-journal {
  padding: 14px 14px 18px;
  border: 1px solid var(--tm-v3-line);
  border-radius: 2px;
  background: #fff;
  box-shadow: var(--tm-v3-shadow);
}

.tm-public-v3[data-tcwf-page="alliance-knowledge"] .tm-publication-shelf .tm-journal__cover {
  display: block;
  overflow: hidden;
  border-radius: 1px;
  background: var(--tm-v3-blue-soft);
}

.tm-public-v3[data-tcwf-page="alliance-knowledge"] .tm-publication-shelf .tm-journal__cover img {
  display: block;
  width: 100%;
  aspect-ratio: 560 / 792;
  object-fit: cover;
  transition: transform 180ms ease;
}

.tm-public-v3[data-tcwf-page="alliance-knowledge"] .tm-publication-shelf .tm-journal:hover img {
  transform: scale(1.02);
}

.tm-public-v3[data-tcwf-page="alliance-knowledge"] .tm-publication-shelf .tm-journal__link {
  margin-top: 14px;
}

.tm-public-v3[data-tcwf-page="alliance-knowledge"] .tm-region-knowledge-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tm-public-v3[data-tcwf-page="alliance-knowledge"] .tm-region-knowledge-grid .tm-region {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--tm-v3-line);
  border-radius: 2px;
  background: #fff;
  box-shadow: var(--tm-v3-shadow);
}

/* Content selection: a dense, editorial workbench with a clear ranking state. */
.tm-public-v3 .tm-content-workbench {
  background: linear-gradient(180deg, #f4f9ff 0, #fff 340px);
}

.tm-public-v3 .tm-content-workbench .tcwf-tabs {
  overflow: hidden;
  border: 1px solid var(--tm-v3-line);
  border-radius: 2px;
  background: #fff;
  box-shadow: var(--tm-v3-shadow);
}

.tm-public-v3 .tm-content-workbench .tcwf-tabs__list {
  display: flex;
  gap: 34px;
  padding: 0 30px;
  border-bottom: 1px solid var(--tm-v3-line);
  background: #fff;
}

.tm-public-v3 .tm-content-workbench .tcwf-tabs__tab {
  position: relative;
  min-height: 62px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--tm-v3-muted);
  font-weight: 600;
}

.tm-public-v3 .tm-content-workbench .tcwf-tabs__tab[aria-selected="true"] {
  color: var(--tm-v3-blue);
}

.tm-public-v3 .tm-content-workbench .tcwf-tabs__tab[aria-selected="true"]::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--tm-v3-blue);
  content: "";
}

.tm-public-v3 .tm-content-workbench .tcwf-tabs__panel {
  padding: 30px;
}

.tm-public-v3 .tm-content-workbench .tm-filter {
  display: grid;
  grid-template-columns: minmax(220px, 1.8fr) repeat(3, minmax(132px, 0.8fr)) auto;
  gap: 10px;
  align-items: center;
  padding: 16px;
  border: 1px solid #dbeaff;
  border-radius: 2px;
  background: var(--tm-v3-blue-soft);
}

.tm-public-v3 .tm-content-workbench .tm-filter input,
.tm-public-v3 .tm-content-workbench .tm-filter select {
  width: 100%;
  height: 42px;
  border: 1px solid #c7d7ea;
  border-radius: 1px;
  background: #fff;
}

.tm-public-v3 .tm-content-workbench .tm-filter__count {
  white-space: nowrap;
  color: var(--tm-v3-muted);
  font-size: 13px;
}

.tm-public-v3 .tm-content-workbench > .tcwf-section__inner .tm-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tm-public-v3 .tm-content-workbench .tm-list__item {
  min-height: 164px;
  padding: 20px;
  border: 1px solid var(--tm-v3-line);
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
}

.tm-public-v3 .tm-content-workbench .tm-list__item:hover {
  border-color: #9fc8ff;
  background: #fafdff;
  box-shadow: var(--tm-v3-shadow-hover);
}

.tm-public-v3 .tm-content-workbench .tm-list__rank {
  color: var(--tm-v3-blue);
  font-size: 22px;
  font-weight: 700;
}

.tm-public-v3 .tm-content-workbench .tm-segment {
  margin-bottom: 20px;
}

.tm-public-v3 .tm-content-workbench .tm-ranking-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0 !important;
}

.tm-public-v3 .tm-content-workbench .tm-ranking-panel .tm-author {
  min-height: 174px;
  padding: 22px;
  border: 1px solid #dbeaff;
  border-radius: 2px;
  background: linear-gradient(145deg, #f4f9ff, #fff 68%);
  box-shadow: none;
}

/* Salon: image-led event gallery, then compact city and archive views. */
.tm-public-v3 .tm-event-gallery .tcwf-case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tm-public-v3 .tm-event-gallery .tcwf-case-card {
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--tm-v3-line);
  border-radius: 2px;
  background: #fff;
  box-shadow: var(--tm-v3-shadow);
}

.tm-public-v3 .tm-event-gallery .tcwf-case-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
  transition: transform 180ms ease;
}

.tm-public-v3 .tm-event-gallery .tcwf-case-card:hover .tcwf-case-card__image {
  transform: scale(1.025);
}

.tm-public-v3 .tm-event-gallery .tcwf-case-card__body {
  padding: 20px;
}

.tm-public-v3 .tm-city-schedule .tm-region-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.tm-public-v3 .tm-city-schedule .tm-region {
  min-height: 170px;
  padding: 22px 18px;
  border: 1px solid var(--tm-v3-line);
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
}

.tm-public-v3 .tm-city-schedule .tm-region__name {
  font-size: 22px;
}

.tm-public-v3[data-tcwf-page="alliance-salon"] #records .tm-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tm-public-v3[data-tcwf-page="alliance-salon"] #records .tm-list__item {
  min-height: 102px;
  padding: 16px;
  border: 1px solid var(--tm-v3-line);
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
}

.tm-public-v3[data-tcwf-page="alliance-salon"] #records .tm-list__thumb {
  width: 112px;
  height: 70px;
  object-fit: cover;
  border-radius: 1px;
}

/* Growth: dashboard density with restrained data surfaces. */
.tm-public-v3 .tm-growth-dashboard {
  padding-bottom: 40px;
}

.tm-public-v3 .tm-growth-dashboard .tm-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--tm-v3-line);
  border-radius: 2px;
  background: #fff;
  box-shadow: var(--tm-v3-shadow);
}

.tm-public-v3 .tm-growth-dashboard .tm-kpi {
  min-height: 166px;
  padding: 28px;
  border: 0;
  border-right: 1px solid var(--tm-v3-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.tm-public-v3 .tm-growth-dashboard .tm-kpi:last-child {
  border-right: 0;
}

.tm-public-v3 .tm-growth-dashboard .tm-kpi__value {
  color: var(--tm-v3-blue);
  font-size: 36px;
  letter-spacing: -0.03em;
}

.tm-public-v3[data-tcwf-page="alliance-growth"] .tm-panel,
.tm-public-v3[data-tcwf-page="alliance-growth"] .tcwf-tabs {
  border: 1px solid var(--tm-v3-line);
  border-radius: 2px;
  background: #fff;
  box-shadow: var(--tm-v3-shadow);
}

.tm-public-v3[data-tcwf-page="alliance-growth"] .tm-panel {
  padding: 24px;
}

.tm-public-v3[data-tcwf-page="alliance-growth"] #trend .tm-panel:first-of-type {
  margin-bottom: 12px !important;
}

.tm-public-v3[data-tcwf-page="alliance-growth"] .tm-panel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tm-public-v3[data-tcwf-page="alliance-growth"] #region-panel .tcwf-tabs__list {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 0 24px;
  border-bottom: 1px solid var(--tm-v3-line);
}

.tm-public-v3[data-tcwf-page="alliance-growth"] #region-panel .tcwf-tabs__tab {
  flex: 0 0 auto;
  min-height: 56px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.tm-public-v3[data-tcwf-page="alliance-growth"] #region-panel .tcwf-tabs__panel {
  padding: 28px;
}

.tm-public-v3[data-tcwf-page="alliance-growth"] #quality .tm-list,
.tm-public-v3[data-tcwf-page="alliance-growth"] #authors .tm-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tm-public-v3[data-tcwf-page="alliance-growth"] #quality .tm-list__item,
.tm-public-v3[data-tcwf-page="alliance-growth"] #authors .tm-list__item {
  min-height: 128px;
  padding: 18px;
  border: 1px solid var(--tm-v3-line);
  border-radius: 2px;
  box-shadow: none;
}

.tm-public-v3 .tm-benefit-table {
  width: 100%;
  border-collapse: collapse;
}

.tm-public-v3 .tm-benefit-table thead {
  background: var(--tm-v3-blue-soft);
}

.tm-public-v3 .tm-benefit-table th {
  color: #46617f;
  font-size: 12px;
  font-weight: 600;
}

.tm-public-v3 .tm-benefit-table th,
.tm-public-v3 .tm-benefit-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--tm-v3-line);
}

.tm-public-v3 .tm-benefit-table tbody tr:hover {
  background: #f8fbff;
}

@media (max-width: 820px) {
  .tm-public-v3 .tcwf-portal-header__mobile {
    min-height: 56px;
    padding: 0 16px;
    background: #fff;
  }

  .tm-public-v3 .tcwf-portal-header__mobile-control {
    min-width: 44px;
    min-height: 44px;
    border-radius: 2px;
    background: transparent;
  }

  .tm-public-v3 .tcwf-portal-header__drawer {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--tm-v3-line);
    border-radius: 0;
    background: #fff;
    box-shadow: var(--tm-v3-shadow-hover);
  }

  .tm-public-v3 .tm-hero-stage {
    min-height: 430px;
    margin: 0;
    border-radius: 0;
  }

  .tm-public-v3 .tm-hero-stage::after {
    background: linear-gradient(180deg, rgba(248, 252, 255, 0.97) 0%, rgba(248, 252, 255, 0.86) 58%, rgba(248, 252, 255, 0.28) 100%);
  }

  .tm-public-v3 .tm-hero-stage .tcwf-static-hero__background {
    object-position: 66% center;
    opacity: 0.72;
  }

  .tm-public-v3 .tm-hero-stage .tcwf-solution-hero__inner {
    width: min(100% - 32px, 1200px);
    min-height: 430px;
    padding: 54px 0 42px;
  }

  .tm-public-v3 .tm-hero-stage h1,
  .tm-public-v3[data-tcwf-page="alliance-portal"] .tm-hero-stage h1 {
    max-width: 340px;
    font-size: 34px;
  }

  .tm-public-v3 .tm-hero-stage .tcwf-solution-hero__copy > p {
    max-width: 360px;
    font-size: 14px;
    line-height: 1.7;
  }

  .tm-public-v3 .tcwf-section-nav__inner,
  .tm-public-v3 .tcwf-section__inner {
    width: min(100% - 32px, 1200px);
  }

  .tm-public-v3 .tcwf-section-nav__inner {
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tm-public-v3 .tcwf-section {
    padding: 48px 0;
  }

  .tm-public-v3 .tcwf-section__header {
    margin-bottom: 24px;
  }

  .tm-public-v3[data-tcwf-page="alliance-guide"] .tm-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-public-v3 .tm-editorial-grid .tcwf-section__inner {
    grid-template-columns: 1fr;
  }

  .tm-public-v3 .tm-journal-heading,
  .tm-public-v3 .tm-publication-shelf,
  .tm-public-v3 .tm-region-heading,
  .tm-public-v3 .tm-region-knowledge-grid {
    grid-column: 1;
    grid-row: auto;
  }

  .tm-public-v3 .tm-region-heading {
    margin-top: 42px !important;
  }

  .tm-public-v3 .tm-region-knowledge-grid,
  .tm-public-v3 .tm-event-strip .tcwf-case-grid,
  .tm-public-v3 .tm-brand-grid .tcwf-product-group__cards,
  .tm-public-v3 .tm-growth-stage .tm-region-grid,
  .tm-public-v3 .tm-growth-stage .tcwf-solution-features,
  .tm-public-v3 .tm-home-highlights .tcwf-solution-features,
  .tm-public-v3 .tm-portal-grid .tcwf-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-public-v3 .tm-brand-grid .tcwf-product-groups {
    grid-template-columns: 1fr;
  }

  .tm-public-v3 .tm-growth-stage > .tcwf-section__inner > .tcwf-split-story,
  .tm-public-v3 .tm-home-about .tcwf-split-story {
    grid-template-columns: 1fr;
  }

  .tm-public-v3 .tm-growth-stage .tcwf-split-story__content {
    padding: 30px;
  }

  .tm-public-v3 .tm-growth-stage .tm-figure,
  .tm-public-v3 .tm-growth-stage .tcwf-split-story__image {
    min-height: 260px;
  }

  .tm-public-v3 .tm-onboarding-strip .tcwf-steps,
  .tm-public-v3 .tm-faq-columns .tcwf-accordion,
  .tm-public-v3 .tm-editorial-list .tm-list {
    grid-template-columns: 1fr;
  }

  .tm-public-v3 .tm-join-band {
    width: min(100% - 32px, 1200px);
    margin-bottom: 48px;
  }

  .tm-public-v3 .tm-knowledge-dashboard .tcwf-split-story,
  .tm-public-v3 #circle .tcwf-split-story,
  .tm-public-v3 #circle .tcwf-split-story--image-left {
    grid-template-columns: 1fr;
  }

  .tm-public-v3 .tm-knowledge-dashboard .tcwf-split-story__image,
  .tm-public-v3 #circle .tcwf-split-story__image {
    min-height: 240px;
  }

  .tm-public-v3[data-tcwf-page="alliance-knowledge"] .tm-region-knowledge-grid,
  .tm-public-v3 .tm-content-workbench .tm-ranking-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-public-v3 .tm-content-workbench .tm-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-public-v3 .tm-content-workbench .tm-filter__count {
    grid-column: 1 / -1;
  }

  .tm-public-v3 .tm-event-gallery .tcwf-case-grid,
  .tm-public-v3 .tm-city-schedule .tm-region-grid,
  .tm-public-v3[data-tcwf-page="alliance-growth"] #quality .tm-list,
  .tm-public-v3[data-tcwf-page="alliance-growth"] #authors .tm-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-public-v3[data-tcwf-page="alliance-salon"] #records .tm-list,
  .tm-public-v3 .tm-growth-dashboard .tm-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-public-v3 .tm-growth-dashboard .tm-kpi:nth-child(2) {
    border-right: 0;
  }

  .tm-public-v3 .tm-growth-dashboard .tm-kpi:nth-child(-n + 2) {
    border-bottom: 1px solid var(--tm-v3-line);
  }
}

@media (max-width: 600px) {
  .tm-public-v3 .tm-hero-stage {
    min-height: 440px;
  }

  .tm-public-v3 .tm-hero-stage .tcwf-static-hero__background {
    object-position: 70% bottom;
    opacity: 0.48;
  }

  .tm-public-v3 .tm-hero-stage .tcwf-solution-hero__inner {
    min-height: 440px;
    padding-top: 42px;
  }

  .tm-public-v3 .tm-hero-stage .tcwf-solution-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tm-public-v3 .tm-hero-stage .tcwf-action {
    width: 100%;
  }

  .tm-public-v3 .tcwf-section {
    padding: 38px 0;
  }

  .tm-public-v3 .tcwf-section__title,
  .tm-public-v3 .tm-section-bar__title {
    font-size: 24px;
  }

  .tm-public-v3 .tm-guide-overview .tcwf-steps,
  .tm-public-v3[data-tcwf-page="alliance-guide"] .tm-resource-grid,
  .tm-public-v3 .tm-region-knowledge-grid,
  .tm-public-v3 .tm-event-strip .tcwf-case-grid,
  .tm-public-v3 .tm-brand-grid .tcwf-product-group__cards,
  .tm-public-v3 .tm-growth-stage .tm-region-grid,
  .tm-public-v3 .tm-growth-stage .tcwf-solution-features,
  .tm-public-v3 .tm-home-highlights .tcwf-solution-features,
  .tm-public-v3 .tm-portal-grid .tcwf-type-grid {
    grid-template-columns: 1fr;
  }

  .tm-public-v3 .tm-guide-overview .tcwf-step {
    min-height: 78px;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--tm-v3-line);
  }

  .tm-public-v3 .tm-guide-overview .tcwf-step:last-child {
    border-bottom: 0;
  }

  .tm-public-v3 .tm-resource-grid .tcwf-benefit {
    min-height: 0;
    padding: 18px;
  }

  .tm-public-v3 .tm-resource-grid .tcwf-benefit__icon {
    float: left;
    margin: 0 14px 12px 0;
  }

  .tm-public-v3 .tm-publication-shelf {
    gap: 12px;
  }

  .tm-public-v3 .tm-growth-stage .tcwf-split-story__content {
    padding: 24px 20px;
  }

  .tm-public-v3 .tm-growth-stage .tm-figure,
  .tm-public-v3 .tm-growth-stage .tcwf-split-story__image {
    min-height: 200px;
  }

  .tm-public-v3 .tm-growth-stage .tcwf-solution-feature:not(:last-child)::after {
    display: none;
  }

  .tm-public-v3 .tm-faq-columns .tcwf-tabs__list {
    gap: 20px;
    overflow-x: auto;
  }

  .tm-public-v3 .tm-join-band {
    margin-bottom: 38px;
  }

  .tm-public-v3 .tm-knowledge-dashboard .tcwf-split-story__content,
  .tm-public-v3 #circle .tcwf-split-story__content,
  .tm-public-v3 .tm-content-workbench .tcwf-tabs__panel {
    padding: 22px 18px;
  }

  .tm-public-v3[data-tcwf-page="alliance-knowledge"] .tm-publication-shelf,
  .tm-public-v3[data-tcwf-page="alliance-knowledge"] .tm-region-knowledge-grid,
  .tm-public-v3 .tm-content-workbench > .tcwf-section__inner .tm-list,
  .tm-public-v3 .tm-content-workbench .tm-ranking-panel,
  .tm-public-v3 .tm-content-workbench .tm-filter {
    grid-template-columns: 1fr;
  }

  .tm-public-v3 .tm-content-workbench .tcwf-tabs__list {
    gap: 22px;
    overflow-x: auto;
    padding: 0 18px;
  }

  .tm-public-v3 .tm-content-workbench .tcwf-tabs__tab {
    flex: 0 0 auto;
    min-height: 56px;
  }

  .tm-public-v3 .tm-event-gallery .tcwf-case-grid,
  .tm-public-v3 .tm-city-schedule .tm-region-grid,
  .tm-public-v3[data-tcwf-page="alliance-salon"] #records .tm-list,
  .tm-public-v3 .tm-growth-dashboard .tm-kpi-grid,
  .tm-public-v3[data-tcwf-page="alliance-growth"] .tm-panel-grid,
  .tm-public-v3[data-tcwf-page="alliance-growth"] #quality .tm-list,
  .tm-public-v3[data-tcwf-page="alliance-growth"] #authors .tm-list {
    grid-template-columns: 1fr;
  }

  .tm-public-v3 .tm-growth-dashboard .tm-kpi,
  .tm-public-v3 .tm-growth-dashboard .tm-kpi:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--tm-v3-line);
  }

  .tm-public-v3 .tm-growth-dashboard .tm-kpi:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm-public-v3 *,
  .tm-public-v3 *::before,
  .tm-public-v3 *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/*
 * V4 — 依据线上 /about 信息架构与参考图品质重新收口。
 * 所有新增尺寸都来自 4pt 标尺；本层只做系统级规则，不再堆叠页面特例。
 */
.tm-public-v4 {
  --tm-space-1: 4px;
  --tm-space-2: 8px;
  --tm-space-3: 12px;
  --tm-space-4: 16px;
  --tm-space-5: 20px;
  --tm-space-6: 24px;
  --tm-space-8: 32px;
  --tm-space-10: 40px;
  --tm-space-12: 48px;
  --tm-space-16: 64px;
  --tm-space-20: 80px;
  --tm-space-24: 96px;
  --tm-container: 1200px;
  --tm-gutter: clamp(20px, 4vw, 48px);
  --tm-blue: #006eff;
  --tm-blue-dark: #0052d9;
  --tm-cyan: #12b8e8;
  --tm-ink: #102241;
  --tm-title: #1b2d4c;
  --tm-body: #52647d;
  --tm-muted: #7f8da3;
  --tm-line: #dfe8f3;
  --tm-line-strong: #cad9eb;
  --tm-canvas: #f5f8fc;
  --tm-surface: #fff;
  --tm-radius-sm: 4px;
  --tm-radius-md: 8px;
  --tm-shadow-sm: 0 4px 16px rgba(26, 67, 122, 0.06);
  --tm-shadow-md: 0 16px 40px rgba(26, 67, 122, 0.12);
  color: var(--tm-ink);
  background: var(--tm-surface);
}

.tm-public-v4 img {
  display: block;
  max-width: 100%;
}

.tm-public-v4 .tcwf-portal-header {
  position: relative;
  height: 64px;
  min-height: 64px;
  border-bottom: 1px solid rgba(202, 217, 235, 0.8);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.tm-public-v4 .tcwf-portal-header__desktop {
  display: grid;
  width: min(calc(100% - (var(--tm-gutter) * 2)), var(--tm-container));
  height: 64px;
  margin-inline: auto;
  padding: 0;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: stretch;
  column-gap: var(--tm-space-8);
}

.tm-public-v4 .tcwf-portal-header__brand {
  min-width: 0;
  margin: 0;
  color: var(--tm-ink);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.tm-public-v4 .tcwf-portal-header__brand img,
.tm-public-v4 .tcwf-portal-header__mobile-brand img {
  width: 28px;
  max-width: none;
  height: 28px;
  margin-right: var(--tm-space-2);
  object-fit: contain;
}

.tm-public-v4 .tcwf-portal-header__nav {
  height: 64px;
  justify-content: center;
  gap: var(--tm-space-6);
  overflow: visible;
}

.tm-public-v4 .tcwf-portal-header__nav-link {
  min-height: 64px;
  padding: 0;
  color: #53647c;
  font-size: 14px;
  font-weight: 500;
  line-height: 64px;
}

.tm-public-v4 .tcwf-portal-header__nav-link::after {
  right: 0;
  left: 0;
  height: 3px;
}

.tm-public-v4 .tcwf-portal-header__operations {
  height: 64px;
  gap: var(--tm-space-2);
  padding: 0;
}

.tm-public-v4 .tcwf-portal-header__utility,
.tm-public-v4 .tcwf-portal-header__console {
  min-width: 72px;
  min-height: 40px;
  justify-content: center;
  padding: 0 var(--tm-space-4);
  border-radius: var(--tm-radius-sm);
  font-size: 14px;
  line-height: 40px;
}

.tm-public-v4 .tcwf-portal-header__utility {
  border: 1px solid var(--tm-line-strong);
  color: #465a76;
  background: #fff;
  box-shadow: none;
}

.tm-public-v4 .tcwf-portal-header__console {
  border: 1px solid var(--tm-blue);
  color: #fff;
  background: var(--tm-blue);
}

.tm-public-v4 .tcwf-section,
.tm-public-v4 .tcwf-section--muted {
  margin: 0;
  padding: var(--tm-space-16) 0;
}

.tm-public-v4 .tcwf-section--muted {
  background: var(--tm-canvas);
}

.tm-public-v4 .tcwf-section__inner,
.tm-public-v4 .tcwf-section-nav__inner {
  width: min(calc(100% - (var(--tm-gutter) * 2)), var(--tm-container));
  margin-inline: auto;
  padding-inline: 0;
}

.tm-public-v4 .tcwf-section__header {
  margin: 0 0 var(--tm-space-8);
}

.tm-public-v4 .tcwf-section__title,
.tm-public-v4 .tm-section-bar__title {
  color: var(--tm-ink);
  font-size: clamp(26px, 2.25vw, 32px);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.tm-public-v4 .tcwf-section__description,
.tm-public-v4 .tm-section-bar__hint {
  margin-top: var(--tm-space-2);
  color: var(--tm-body);
  font-size: 15px;
  line-height: 1.7;
}

.tm-public-v4 .tcwf-action,
.tm-public-v4 .tcwf-action--large {
  min-width: 128px;
  min-height: 44px;
  height: 44px;
  padding: 0 var(--tm-space-6);
  border-radius: var(--tm-radius-sm);
  font-weight: 600;
}

.tm-public-v4 .tcwf-section-nav {
  position: relative;
  top: auto;
  z-index: 10;
  border: 0;
  border-bottom: 1px solid var(--tm-line);
  background: #fff;
  backdrop-filter: none;
}

.tm-public-v4 .tcwf-section-nav__inner {
  min-height: 56px;
  gap: var(--tm-space-8);
}

.tm-public-v4 .tcwf-section-nav__link {
  min-height: 56px;
  font-size: 14px;
}

/* 介绍页 Hero：文字与真实素材各有自己的版面，不再把人物图强行铺满。 */
.tm-public-v4 .tm-guide-hero {
  height: auto;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 12%, rgba(67, 198, 255, 0.18), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #f2f7fd 100%);
}

.tm-public-v4 .tm-guide-hero::after,
.tm-public-v4 .tm-guide-hero > .tcwf-static-hero__background {
  display: none;
}

.tm-public-v4 .tm-guide-hero .tcwf-solution-hero__inner {
  display: grid;
  width: min(calc(100% - (var(--tm-gutter) * 2)), var(--tm-container));
  min-height: 600px;
  margin-inline: auto;
  padding: var(--tm-space-16) 0 112px;
  grid-template-columns: minmax(440px, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: var(--tm-space-16);
}

.tm-public-v4 .tm-guide-hero .tcwf-solution-hero__copy {
  width: 100%;
  max-width: 520px;
}

.tm-public-v4 .tm-guide-hero__eyebrow {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  margin: 0 0 var(--tm-space-4) !important;
  padding: 0 var(--tm-space-3);
  border: 1px solid #c9def7;
  border-radius: 999px;
  color: var(--tm-blue-dark) !important;
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px !important;
  font-weight: 600;
  line-height: 32px !important;
}

.tm-public-v4 .tm-guide-hero h1 {
  max-width: 520px;
  color: var(--tm-ink);
  font-size: clamp(44px, 4vw, 56px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.tm-public-v4 .tm-guide-hero h1 span {
  display: block;
}

.tm-public-v4 .tm-guide-hero .tcwf-solution-hero__copy > p:not(.tm-guide-hero__eyebrow) {
  max-width: 500px;
  margin-top: var(--tm-space-6);
  color: var(--tm-body);
  font-size: 16px;
  line-height: 1.8;
}

.tm-public-v4 .tm-guide-hero .tcwf-solution-hero__actions {
  margin-top: var(--tm-space-8);
  gap: var(--tm-space-3);
}

.tm-public-v4 .tm-guide-hero__media {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(176, 203, 234, 0.9);
  border-radius: var(--tm-radius-md);
  aspect-ratio: 15 / 9;
  background: #dfeeff;
  box-shadow: 0 24px 64px rgba(32, 88, 158, 0.16);
}

.tm-public-v4 .tm-guide-hero__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tm-public-v4 .tm-guide-hero__plaque {
  position: absolute;
  right: var(--tm-space-4);
  bottom: var(--tm-space-4);
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: var(--tm-space-2);
  padding: 0 var(--tm-space-4);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--tm-radius-sm);
  color: var(--tm-ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--tm-shadow-sm);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 600;
}

.tm-public-v4 .tm-guide-hero__plaque img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.tm-public-v4 .tm-guide-overview {
  position: relative;
  z-index: 4;
  margin-top: -24px;
  padding: 0 0 var(--tm-space-6);
  border: 0;
  background: transparent;
}

.tm-public-v4[data-tcwf-page="alliance-guide"] #resources {
  padding-top: var(--tm-space-16);
}

.tm-public-v4 .tm-guide-overview .tcwf-section__inner {
  padding: 0;
}

.tm-public-v4 .tm-guide-overview .tcwf-steps {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--tm-space-4);
}

.tm-public-v4 .tm-guide-overview .tcwf-step {
  min-height: 112px;
  padding: var(--tm-space-6);
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius-md);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--tm-shadow-sm);
}

.tm-public-v4 .tm-guide-overview .tcwf-step:first-child,
.tm-public-v4 .tm-guide-overview .tcwf-step:last-child {
  padding: var(--tm-space-6);
  border: 1px solid var(--tm-line);
}

.tm-public-v4 .tm-guide-overview .tcwf-step__number {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  margin-right: var(--tm-space-4);
  color: var(--tm-blue-dark);
  background: #e9f3ff;
}

.tm-public-v4 .tm-guide-overview .tcwf-step__title {
  color: var(--tm-title);
  font-size: 17px;
  font-weight: 650;
}

.tm-public-v4 .tm-guide-overview .tcwf-step__description {
  margin-top: var(--tm-space-1);
  color: var(--tm-body);
  font-size: 14px;
}

/* 卡片仅用于有清晰边界的内容，不把整页切成同款白盒。 */
.tm-public-v4 .tm-resource-grid {
  gap: var(--tm-space-4);
}

.tm-public-v4 .tm-resource-grid .tcwf-benefit {
  min-height: 232px;
  padding: var(--tm-space-6);
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius-md);
  box-shadow: none;
}

.tm-public-v4 .tm-resource-grid .tcwf-benefit__icon {
  width: 48px;
  height: 48px;
  margin: 0 0 var(--tm-space-5);
  padding: var(--tm-space-2);
}

.tm-public-v4 .tm-resource-grid .tcwf-benefit__description {
  margin-top: var(--tm-space-3);
  font-size: 14px;
  line-height: 1.7;
}

.tm-public-v4 .tm-editorial-grid .tcwf-section__inner {
  column-gap: var(--tm-space-12);
}

.tm-public-v4 .tm-editorial-grid .tcwf-type-grid,
.tm-public-v4 .tm-event-strip .tcwf-case-grid,
.tm-public-v4 .tm-event-gallery .tcwf-case-grid,
.tm-public-v4 .tm-home-highlights .tcwf-solution-features,
.tm-public-v4 .tm-portal-grid .tcwf-type-grid,
.tm-public-v4 .tm-panel-grid {
  gap: var(--tm-space-6);
}

.tm-public-v4 .tcwf-type-card,
.tm-public-v4 .tcwf-case-card,
.tm-public-v4 .tm-region,
.tm-public-v4 .tm-person,
.tm-public-v4 .tm-panel,
.tm-public-v4 .tm-kpi,
.tm-public-v4 .tm-list__item,
.tm-public-v4 .tcwf-solution-feature {
  border-color: var(--tm-line);
  border-radius: var(--tm-radius-md);
  box-shadow: none;
}

.tm-public-v4 .tcwf-type-card__art,
.tm-public-v4 .tcwf-case-card__image,
.tm-public-v4 .tcwf-split-story__image,
.tm-public-v4 .tm-list__thumb {
  object-fit: cover;
  object-position: center;
}

.tm-public-v4 .tm-publication-shelf .tm-journal,
.tm-public-v4[data-tcwf-page="alliance-knowledge"] .tm-publication-shelf .tm-journal {
  padding: var(--tm-space-3);
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius-md);
  box-shadow: none;
}

.tm-public-v4 .tm-publication-shelf .tm-journal__cover,
.tm-public-v4[data-tcwf-page="alliance-knowledge"] .tm-publication-shelf .tm-journal__cover {
  overflow: hidden;
  border-radius: var(--tm-radius-sm);
  aspect-ratio: 5 / 7;
}

.tm-public-v4 .tm-publication-shelf .tm-journal__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.tm-public-v4 .tm-growth-stage > .tcwf-section__inner > .tcwf-split-story,
.tm-public-v4 .tm-home-about .tcwf-split-story,
.tm-public-v4 .tm-knowledge-dashboard .tcwf-split-story,
.tm-public-v4 #circle .tcwf-split-story {
  overflow: hidden;
  border-radius: var(--tm-radius-md);
}

.tm-public-v4 .tm-content-workbench .tcwf-tabs,
.tm-public-v4 .tm-growth-dashboard .tm-kpi-grid,
.tm-public-v4[data-tcwf-page="alliance-growth"] .tm-panel,
.tm-public-v4[data-tcwf-page="alliance-growth"] .tcwf-tabs {
  border-radius: var(--tm-radius-md);
  box-shadow: none;
}

.tm-public-v4 .tm-join-band {
  width: min(calc(100% - (var(--tm-gutter) * 2)), var(--tm-container));
  margin-bottom: var(--tm-space-20);
  border-radius: var(--tm-radius-md);
}

@media (hover: hover) {
  .tm-public-v4 .tcwf-type-card:hover,
  .tm-public-v4 .tcwf-case-card:hover,
  .tm-public-v4 .tm-region:hover,
  .tm-public-v4 .tm-person:hover,
  .tm-public-v4 .tcwf-solution-feature:hover,
  .tm-public-v4 .tm-resource-grid .tcwf-benefit:hover {
    border-color: #b8d1ef;
    box-shadow: var(--tm-shadow-md);
    transform: translateY(-2px);
  }
}

@media (max-width: 1179px) {
  .tm-public-v4 .tcwf-portal-header {
    height: 56px;
    min-height: 56px;
  }

  .tm-public-v4 .tcwf-portal-header__desktop {
    display: none;
  }

  .tm-public-v4 .tcwf-portal-header__mobile {
    display: flex;
    height: 56px;
    min-height: 56px;
    padding: 0 var(--tm-gutter);
  }

  .tm-public-v4 .tcwf-portal-header__drawer {
    top: 56px;
    border-top: 1px solid var(--tm-line);
    border-bottom: 1px solid var(--tm-line);
    border-radius: 0;
    box-shadow: var(--tm-shadow-md);
  }

  .tm-public-v4 .tm-guide-hero .tcwf-solution-hero__inner {
    min-height: 520px;
    padding: var(--tm-space-12) 0 var(--tm-space-24);
    grid-template-columns: minmax(360px, 0.9fr) minmax(400px, 1.1fr);
    gap: var(--tm-space-8);
  }

  .tm-public-v4 .tm-guide-hero h1 {
    font-size: clamp(40px, 5vw, 48px);
  }

  .tm-public-v4 .tm-resource-grid,
  .tm-public-v4[data-tcwf-page="alliance-guide"] .tm-resource-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .tm-public-v4 {
    --tm-gutter: 20px;
  }

  .tm-public-v4 .tcwf-section,
  .tm-public-v4 .tcwf-section--muted {
    padding: var(--tm-space-12) 0;
  }

  .tm-public-v4 .tcwf-section__header {
    margin-bottom: var(--tm-space-6);
  }

  .tm-public-v4 .tm-guide-hero .tcwf-solution-hero__inner {
    display: flex;
    min-height: 0;
    padding: var(--tm-space-10) 0 var(--tm-space-20);
    flex-direction: column;
    align-items: stretch;
    gap: var(--tm-space-10);
  }

  .tm-public-v4 .tm-guide-hero h1 {
    max-width: 360px;
    font-size: clamp(36px, 10vw, 44px);
  }

  .tm-public-v4 .tm-guide-hero .tcwf-solution-hero__copy > p:not(.tm-guide-hero__eyebrow) {
    margin-top: var(--tm-space-4);
    font-size: 15px;
  }

  .tm-public-v4 .tm-guide-hero .tcwf-solution-hero__actions {
    margin-top: var(--tm-space-6);
  }

  .tm-public-v4 .tm-guide-hero__media {
    aspect-ratio: 16 / 10;
  }

  .tm-public-v4 .tm-guide-hero__plaque {
    right: var(--tm-space-3);
    bottom: var(--tm-space-3);
  }

  .tm-public-v4 .tm-guide-overview {
    margin-top: -24px;
    padding-bottom: var(--tm-space-12);
  }

  .tm-public-v4 .tm-guide-overview .tcwf-steps {
    grid-template-columns: 1fr;
    gap: var(--tm-space-3);
  }

  .tm-public-v4 .tm-guide-overview .tcwf-step,
  .tm-public-v4 .tm-guide-overview .tcwf-step:first-child,
  .tm-public-v4 .tm-guide-overview .tcwf-step:last-child {
    min-height: 104px;
    padding: var(--tm-space-5);
  }

  .tm-public-v4 .tm-resource-grid,
  .tm-public-v4[data-tcwf-page="alliance-guide"] .tm-resource-grid {
    grid-template-columns: 1fr;
  }

  .tm-public-v4 .tm-resource-grid .tcwf-benefit {
    min-height: 0;
    padding: var(--tm-space-5);
  }

  .tm-public-v4 .tm-resource-grid .tcwf-benefit__icon {
    float: none;
    margin: 0 0 var(--tm-space-4);
  }

  .tm-public-v4 .tcwf-section-nav__inner {
    gap: var(--tm-space-6);
    overflow-x: auto;
  }
}
