/* Detail-page redesign: software, data and tutorial.
   Loaded only for concrete detail routes by app/views/layout/header.php. */

body.page-software,
body.page-data,
body.page-tutorial {
  --detail-ink: #10213e;
  --detail-muted: #6c7e98;
  --detail-line: #dfe7f1;
  --detail-surface: #fff;
  --detail-canvas: #f3f7fb;
  --detail-navy: #06162e;
  --detail-blue: #2f6bff;
  --detail-accent: #2f6bff;
  --detail-accent-soft: #edf3ff;
  --detail-accent-rgb: 47, 107, 255;
  background: var(--detail-canvas);
  color: var(--detail-ink);
}

body.page-data {
  --detail-accent: #0aa084;
  --detail-accent-soft: #e9f8f4;
  --detail-accent-rgb: 10, 160, 132;
}

body.page-tutorial {
  --detail-accent: #6656df;
  --detail-accent-soft: #f0effe;
  --detail-accent-rgb: 102, 86, 223;
}

body.page-software #main-content,
body.page-data #main-content,
body.page-tutorial #main-content {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: 70vh;
  background: var(--detail-canvas);
  font-size: 16px;
}

body.page-software #main-content::before,
body.page-data #main-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 390px;
  background:
    radial-gradient(circle at 83% 2%, rgba(43, 102, 201, .52), transparent 36%),
    linear-gradient(122deg, #061326 0%, #081f3d 60%, #0a315d 100%);
}

body.page-data #main-content::before {
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    radial-gradient(circle at 82% 0%, rgba(21, 151, 158, .31), transparent 37%),
    linear-gradient(122deg, #061529 0%, #092541 58%, #073d54 100%);
  background-size: 52px 52px, 52px 52px, auto, auto;
}

body.page-software #main-content::after,
body.page-data #main-content::after,
body.page-tutorial .tutorial-detail-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -270px;
  right: -180px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255, 255, 255, .025), 0 0 0 180px rgba(255, 255, 255, .015);
  pointer-events: none;
}

body.page-software #main-content > .breadcrumb,
body.page-data #main-content > .breadcrumb,
body.page-tutorial .tutorial-detail-hero > .breadcrumb {
  position: relative;
  z-index: 2;
  padding-top: 24px;
  padding-bottom: 21px;
  color: #8fa7c7;
  font-size: 13px;
}

body.page-software #main-content > .breadcrumb a:hover,
body.page-data #main-content > .breadcrumb a:hover,
body.page-tutorial .tutorial-detail-hero > .breadcrumb a:hover {
  color: #fff;
}

body.page-software #main-content > .breadcrumb .sep,
body.page-data #main-content > .breadcrumb .sep,
body.page-tutorial .tutorial-detail-hero > .breadcrumb .sep {
  padding-inline: 9px;
  color: #4f94da;
}

/* Shared software and data product shells */
body.page-software .detail-page,
body.page-data .detail-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  grid-template-areas:
    "hero sidebar"
    "content sidebar";
  column-gap: 26px;
  align-items: start;
  padding: 0 0 68px;
}

body.page-software .detail-page .detail-top,
body.page-data .detail-page .detail-top {
  grid-area: hero;
  min-width: 0;
  min-height: 292px;
  padding: 10px 0 50px;
}

body.page-software .detail-page .detail-head,
body.page-data .detail-page .detail-head {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 27px;
  align-items: start;
}

body.page-software .detail-icon,
body.page-data .detail-icon {
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .64);
  border-radius: 27px;
  background-color: #fff !important;
  color: var(--detail-accent);
  box-shadow: 0 24px 52px rgba(0, 14, 42, .42);
  font-size: 48px;
}

body.page-data .detail-icon {
  width: 116px;
  height: 144px;
  padding: 6px;
  border-radius: 21px;
  background-color: var(--data-cover-bg, #fff) !important;
  background-image: none !important;
  color: #0a8b76;
  font-size: 44px;
}

body.page-software .detail-icon img,
body.page-data .detail-icon img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: contain;
}

body.page-data .detail-icon img {
  border-radius: 0;
  object-fit: contain;
}

body.page-software .detail-title,
body.page-data .detail-title {
  min-width: 0;
  padding-top: 1px;
}

body.page-software .detail-title-heading,
body.page-data .detail-title-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}

body.page-software .detail-title-heading h1,
body.page-data .detail-title-heading h1 {
  order: 1;
  flex: 1 1 380px;
  min-width: 0;
  margin: 0;
  color: #fff;
  font-size: clamp(29px, 2.4vw, 37px);
  font-weight: 850;
  line-height: 1.32;
  letter-spacing: -.7px;
}

body.page-software .software-detail-favorite,
body.page-data .software-detail-favorite {
  order: 2;
  flex: none;
  min-height: 38px;
  margin: 0;
  padding: 8px 13px;
  border-color: rgba(255, 255, 255, .2);
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: #d3deec;
  box-shadow: none;
  font-size: 13px;
  backdrop-filter: blur(8px);
}

body.page-software .software-detail-favorite:hover,
body.page-data .software-detail-favorite:hover {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

body.page-software .detail-title-tags,
body.page-data .detail-title-tags {
  order: 3;
  flex: 1 0 100%;
  gap: 8px;
  margin-top: 3px;
}

body.page-software .detail-title-tags .tag,
body.page-data .detail-title-tags .tag {
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .075);
  color: #cbd8e8;
  font-size: 12px;
  line-height: 1.45;
}

body.page-data .detail-title-tags .tag.green {
  border-color: rgba(67, 222, 191, .3);
  background: rgba(24, 200, 164, .13);
  color: #75e7d0;
}

body.page-software .detail-title > p,
body.page-data .detail-title > p {
  max-width: 680px;
  margin: 15px 0 17px;
  color: #bacbe0;
  font-size: 16px;
  line-height: 1.82;
}

body.page-software .detail-title > .rating {
  color: #8fa6c6;
  font-size: 13px;
  line-height: 1.65;
}

body.page-software .detail-title > .rating b {
  color: #ffc154;
  font-size: 14px;
}

body.page-data .data-detail-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px !important;
}

body.page-data .data-detail-stats .stat {
  display: block;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 13px;
  background: rgba(255, 255, 255, .065);
  backdrop-filter: blur(8px);
}

body.page-data .data-detail-stats .stat strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.page-data .data-detail-stats .stat small {
  display: block;
  margin-top: 3px;
  color: #8ea9c3;
  font-size: 12px;
}

body.page-software .software-detail-sidebar,
body.page-data .software-detail-sidebar {
  grid-area: sidebar;
  position: sticky;
  top: 88px;
  z-index: 4;
  display: grid;
  gap: 18px;
  min-width: 0;
  align-self: start;
}

body.page-software .software-purchase-rail,
body.page-data .software-purchase-rail,
body.page-software .software-recommendation-rail,
body.page-data .software-recommendation-rail {
  min-width: 0;
}

body.page-software .software-price-card,
body.page-data .software-price-card {
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 25px 54px rgba(0, 19, 46, .31);
}

body.page-software .software-price-card__purchase,
body.page-data .software-price-card__purchase {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.page-software .software-price-card__purchase-title,
body.page-data .software-price-card__purchase-title {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #677a94;
  font-size: 14px;
}

body.page-software .software-price-card__purchase-title strong,
body.page-data .software-price-card__purchase-title strong,
body.page-software .software-price-card__access-title,
body.page-data .software-price-card__access-title {
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.page-software .software-price-card__purchase-icon,
body.page-data .software-price-card__purchase-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--detail-accent-soft);
}

body.page-software .software-price-card__purchase-icon::before,
body.page-data .software-price-card__purchase-icon::before {
  content: "¥";
  position: static;
  inset: auto;
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: var(--detail-accent);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transform: none;
}

body.page-software .software-price-card__purchase-icon::after,
body.page-data .software-price-card__purchase-icon::after {
  content: none;
}

body.page-software .software-price-card__price,
body.page-data .software-price-card__price {
  margin: 13px 0 2px;
  color: #152b4b;
  font-size: 38px;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -1px;
}

body.page-software .software-price-card__price small,
body.page-data .software-price-card__price small {
  margin-left: 5px;
  color: #8796aa;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

body.page-software .software-price-card__note,
body.page-data .software-price-card__note,
body.page-software .software-price-card .form-note,
body.page-data .software-price-card .form-note {
  margin: 8px 0 0;
  color: #7b8ca3;
  font-size: 13px;
  line-height: 1.65;
}

body.page-software .software-price-card .btn,
body.page-data .software-price-card .btn {
  min-height: 47px;
  margin-top: 17px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
}

body.page-software .software-price-card .btn-primary,
body.page-data .software-price-card .btn-primary {
  background: linear-gradient(135deg, #3979ff, #245ee7);
  box-shadow: 0 10px 22px rgba(47, 107, 255, .28);
}

body.page-software .software-price-card__vip,
body.page-data .software-price-card__vip {
  margin-top: 18px;
  padding: 17px 0 0;
  border: 0;
  border-top: 1px solid #e6edf4;
  background: transparent;
}

body.page-software .software-price-card__vip:first-child,
body.page-data .software-price-card__vip:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

body.page-software .software-price-card__vip-title,
body.page-data .software-price-card__vip-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #314862;
  font-size: 13px;
}

body.page-software .software-price-card__vip-title .tag,
body.page-data .software-price-card__vip-title .tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  padding: 5px 8px;
  border-radius: 7px;
  background: #e9f8f3;
  color: #128c6d;
  font-size: 11px;
}

body.page-software .software-price-card__vip-title strong,
body.page-data .software-price-card__vip-title strong {
  flex: 1 1 auto;
  flex-basis: auto;
  min-width: 0;
  margin-top: 0;
  overflow: visible;
  font-size: 13px;
  line-height: 1.55;
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.page-software .software-price-card__vip-badge-icon,
body.page-data .software-price-card__vip-badge-icon {
  width: 15px;
  height: 15px;
}

body.page-software .software-price-card .btn-vip,
body.page-data .software-price-card .btn-vip {
  border-color: #ccece3;
  background: #eefaf6;
  color: #0d8c70;
  box-shadow: none;
}

body.page-software .software-price-card__access,
body.page-data .software-price-card__access {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

body.page-software .software-price-card__access-icon,
body.page-data .software-price-card__access-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 13px;
  border: 0;
  border-radius: 18px;
  background: #e7f8f2;
  color: #149a75;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

body.page-software .software-price-card__access-title,
body.page-data .software-price-card__access-title {
  display: block;
  margin-top: 0;
  color: #17324f;
  font-size: 18px;
  line-height: 1.5;
}

body.page-data .data-public-entry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  margin-top: 11px;
  border: 1px solid #ccebe3;
  border-radius: 11px;
  background: #effaf7;
  color: #0d8e73;
  font-size: 13px;
  font-weight: 750;
}

body.page-data .data-public-entry__label {
  min-width: 0;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

body.page-data .data-public-entry__icon {
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  width: 28px;
  height: 28px;
  line-height: 1;
}

body.page-data .data-public-entry__icon::before {
  content: "↗";
  position: static;
  inset: auto;
  width: auto;
  height: auto;
  border: 0;
  background: none;
  font-size: 17px;
  line-height: 1;
  transform: none;
}

body.page-data .data-public-entry__icon::after {
  content: none;
}

body.page-software .detail-page .detail-layout,
body.page-data .detail-page .detail-layout {
  grid-area: content;
  display: block;
  min-width: 0;
  margin-top: 0;
}

/* Shared detail navigation */
body.page-software .detail-tabs-shell,
body.page-data .detail-tabs-shell {
  position: sticky;
  z-index: 12;
  top: 82px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 5px;
  min-height: 64px;
  margin: -32px 0 21px;
  padding: 8px 10px;
  border: 1px solid #dce5f0;
  border-radius: 17px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 17px 42px rgba(25, 54, 95, .13);
  backdrop-filter: blur(14px);
}

body.page-software .detail-tabs,
body.page-data .detail-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 3px;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

body.page-software .detail-tabs::-webkit-scrollbar,
body.page-data .detail-tabs::-webkit-scrollbar {
  display: none;
}

body.page-software .detail-tabs a,
body.page-data .detail-tabs a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 40px;
  padding: 9px 14px;
  border: 0;
  border-radius: 10px;
  color: #62748e;
  font-size: 14px;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.page-software .detail-tabs a:hover,
body.page-software .detail-tabs a.active,
body.page-data .detail-tabs a:hover,
body.page-data .detail-tabs a.active {
  border: 0;
  background: var(--detail-accent-soft);
  color: var(--detail-accent);
  font-weight: 750;
}

body.page-software .detail-tabs-arrow,
body.page-data .detail-tabs-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #f3f6fa;
  color: #8192a9;
}

body.page-software .detail-tabs-arrow:hover:not(:disabled),
body.page-data .detail-tabs-arrow:hover:not(:disabled) {
  background: var(--detail-accent-soft);
  color: var(--detail-accent);
}

body.page-software .detail-tabs-arrow span,
body.page-data .detail-tabs-arrow span {
  width: 8px;
  height: 8px;
  border-top: 1.8px solid currentColor;
  border-right: 1.8px solid currentColor;
}

body.page-software .detail-tabs-arrow--previous span,
body.page-data .detail-tabs-arrow--previous span {
  transform: rotate(-135deg);
}

body.page-software .detail-tabs-arrow--next span,
body.page-data .detail-tabs-arrow--next span {
  transform: rotate(45deg);
}

/* Shared content system */
body.page-software .detail-layout > div,
body.page-data .detail-layout > div,
body.page-tutorial .detail-layout > div {
  counter-reset: detail-section;
  min-width: 0;
}

body.page-software .content-card,
body.page-data .content-card,
body.page-tutorial .content-card {
  position: relative;
  counter-increment: detail-section;
  overflow: hidden;
  margin-bottom: 20px;
  padding: 29px 30px 30px;
  border: 1px solid var(--detail-line);
  border-radius: 20px;
  background: var(--detail-surface);
  box-shadow: 0 12px 34px rgba(24, 56, 97, .045);
}

body.page-software .content-card::after,
body.page-data .content-card::after,
body.page-tutorial .content-card::after {
  content: counter(detail-section, decimal-leading-zero);
  position: absolute;
  top: 24px;
  right: 25px;
  color: #edf2f8;
  font: 800 31px/1 Arial, sans-serif;
  pointer-events: none;
}

body.page-software .content-card > h2,
body.page-data .content-card > h2,
body.page-tutorial .content-card > h2 {
  position: relative;
  z-index: 1;
  display: block;
  max-width: calc(100% - 52px);
  margin: 0 0 20px;
  color: #142945;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.45;
}

body.page-software .content-card > h2::before,
body.page-data .content-card > h2::before,
body.page-tutorial .content-card > h2::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--detail-accent), rgba(var(--detail-accent-rgb), .25));
}

body.page-software .content-card > p,
body.page-data .content-card > p,
body.page-tutorial .content-card > p,
body.page-software .article-content,
body.page-data .article-content,
body.page-tutorial .article-content,
body.page-software .rich-item-description,
body.page-data .rich-item-description,
body.page-tutorial .rich-item-description {
  color: #526780;
  font-size: 16px;
  line-height: 1.9;
}

body.page-software .article-content > :first-child,
body.page-data .article-content > :first-child,
body.page-tutorial .article-content > :first-child,
body.page-software .rich-item-description > :first-child,
body.page-data .rich-item-description > :first-child,
body.page-tutorial .rich-item-description > :first-child {
  margin-top: 0;
}

body.page-software .article-content > :last-child,
body.page-data .article-content > :last-child,
body.page-tutorial .article-content > :last-child,
body.page-software .rich-item-description > :last-child,
body.page-data .rich-item-description > :last-child,
body.page-tutorial .rich-item-description > :last-child {
  margin-bottom: 0;
}

body.page-software .content-card .feature-grid,
body.page-data .content-card .feature-grid,
body.page-tutorial .content-card .feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 19px;
}

body.page-data .content-card .feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-software .content-card .feature-box,
body.page-data .content-card .feature-box,
body.page-tutorial .content-card .feature-box {
  position: relative;
  min-width: 0;
  min-height: 112px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #e4ebf3;
  border-radius: 15px;
  background: linear-gradient(145deg, #fff, #f8fafd);
}

body.page-software .content-card .feature-box::before,
body.page-data .content-card .feature-box::before,
body.page-tutorial .content-card .feature-box::before {
  content: "";
  display: block;
  width: 31px;
  height: 4px;
  margin-bottom: 13px;
  border-radius: 4px;
  background: var(--detail-accent-soft);
  box-shadow: inset 12px 0 0 var(--detail-accent);
}

body.page-software .content-card .feature-box strong,
body.page-data .content-card .feature-box strong,
body.page-tutorial .content-card .feature-box strong {
  display: block;
  margin-bottom: 6px;
  color: #243b59;
  font-size: 15px;
  line-height: 1.55;
}

body.page-software .content-card .feature-box p,
body.page-data .content-card .feature-box p,
body.page-tutorial .content-card .feature-box p,
body.page-software .content-card .feature-box .rich-item-description,
body.page-data .content-card .feature-box .rich-item-description,
body.page-tutorial .content-card .feature-box .rich-item-description {
  margin: 0;
  color: #74869e;
  font-size: 14px;
  line-height: 1.75;
}

body.page-software .content-card .subheading,
body.page-data .content-card .subheading,
body.page-tutorial .content-card .subheading {
  margin: 26px 0 14px;
  color: #233b59;
  font-size: 18px;
}

body.page-software .table-wrap,
body.page-data .table-wrap,
body.page-tutorial .table-wrap {
  overflow-x: auto;
  border: 1px solid #dfe7f0;
  border-radius: 15px;
  background: #fff;
}

body.page-software .table,
body.page-data .table,
body.page-tutorial .table {
  min-width: 620px;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

body.page-software .table th,
body.page-data .table th,
body.page-tutorial .table th {
  position: sticky;
  top: 0;
  padding: 14px 16px;
  border-bottom: 1px solid #dfe7f0;
  background: #f3f7fb;
  color: #425771;
  font-size: 14px;
  font-weight: 750;
  text-align: left;
}

body.page-software .table td,
body.page-data .table td,
body.page-tutorial .table td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf1f5;
  color: #61748d;
  font-size: 14px;
}

body.page-software .table tbody tr:last-child td,
body.page-data .table tbody tr:last-child td,
body.page-tutorial .table tbody tr:last-child td {
  border-bottom: 0;
}

body.page-software .table tbody tr:nth-child(even) td,
body.page-data .table tbody tr:nth-child(even) td,
body.page-tutorial .table tbody tr:nth-child(even) td {
  background: #fbfcfe;
}

body.page-software .table td:first-child,
body.page-data .table td:first-child,
body.page-tutorial .table td:first-child {
  color: #263e5e;
  font-weight: 650;
}

body.page-software .timeline,
body.page-data .timeline,
body.page-tutorial .timeline {
  position: relative;
  padding-left: 28px;
}

body.page-software .timeline::before,
body.page-data .timeline::before,
body.page-tutorial .timeline::before {
  content: "";
  position: absolute;
  top: 7px;
  bottom: 9px;
  left: 6px;
  width: 1px;
  background: #dce6ee;
}

body.page-software .timeline-item,
body.page-data .timeline-item,
body.page-tutorial .timeline-item {
  position: relative;
  padding: 0 0 20px 14px;
}

body.page-software .timeline-item:last-child,
body.page-data .timeline-item:last-child,
body.page-tutorial .timeline-item:last-child {
  padding-bottom: 0;
}

body.page-software .timeline-item::before,
body.page-data .timeline-item::before,
body.page-tutorial .timeline-item::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -27px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--detail-accent);
  box-shadow: 0 0 0 5px var(--detail-accent-soft);
}

body.page-software .timeline-item strong,
body.page-data .timeline-item strong,
body.page-tutorial .timeline-item strong {
  color: #2b415f;
  font-size: 15px;
}

body.page-software .timeline-item p,
body.page-data .timeline-item p,
body.page-tutorial .timeline-item p {
  margin: 4px 0 0;
  color: #74859d;
  font-size: 14px;
}

body.page-software .content-card .notice-list,
body.page-data .content-card .notice-list,
body.page-tutorial .content-card .notice-list {
  display: grid;
  gap: 11px;
}

body.page-software .content-card .notice,
body.page-data .content-card .notice,
body.page-tutorial .content-card .notice {
  position: relative;
  min-width: 0;
  min-height: 66px;
  padding: 15px 16px;
  border: 1px solid #e3eaf2;
  border-radius: 14px;
  background: #fbfcfe;
  color: #52667f;
  font-size: 14px;
}

body.page-software .content-card .notice strong,
body.page-data .content-card .notice strong,
body.page-tutorial .content-card .notice strong {
  display: block;
  color: #273e5c;
  font-size: 15px;
}

body.page-software .content-card .notice small,
body.page-data .content-card .notice small,
body.page-tutorial .content-card .notice small {
  display: block;
  margin-top: 3px;
  color: #8493a7;
  font-size: 13px;
}

body.page-software .faq-grid,
body.page-data .faq-grid,
body.page-tutorial .faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

body.page-software details.faq,
body.page-data details.faq,
body.page-tutorial details.faq {
  overflow: hidden;
  border: 1px solid #e2e9f2;
  border-radius: 14px;
  background: #fff;
}

body.page-software details.faq summary,
body.page-data details.faq summary,
body.page-tutorial details.faq summary {
  position: relative;
  padding: 16px 48px 16px 18px;
  color: #253c5a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

body.page-software details.faq summary::-webkit-details-marker,
body.page-data details.faq summary::-webkit-details-marker,
body.page-tutorial details.faq summary::-webkit-details-marker {
  display: none;
}

body.page-software details.faq summary::after,
body.page-data details.faq summary::after,
body.page-tutorial details.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 17px;
  transform: translateY(-50%);
  color: #8998aa;
  font-size: 20px;
  font-weight: 400;
}

body.page-software details.faq[open] summary::after,
body.page-data details.faq[open] summary::after,
body.page-tutorial details.faq[open] summary::after {
  content: "−";
  color: var(--detail-accent);
}

body.page-software details.faq .rich-item-description,
body.page-data details.faq .rich-item-description,
body.page-tutorial details.faq .rich-item-description {
  margin: 0 18px;
  padding: 14px 0 17px;
  border-top: 1px dashed #e1e8f0;
  color: #71839b;
  font-size: 14px;
}

body.page-software .plan-grid,
body.page-data .plan-grid,
body.page-tutorial .plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

body.page-software .plan,
body.page-data .plan,
body.page-tutorial .plan {
  padding: 21px;
  border: 1px solid #dfe7f1;
  border-radius: 15px;
  background: linear-gradient(145deg, #fff, #f8fafd);
}

body.page-software .plan h3,
body.page-data .plan h3,
body.page-tutorial .plan h3 {
  color: #263e5d;
  font-size: 17px;
}

body.page-software .plan .price,
body.page-data .plan .price,
body.page-tutorial .plan .price {
  color: var(--detail-accent);
  font-size: 27px;
}

body.page-software .plan ul,
body.page-data .plan ul,
body.page-tutorial .plan ul {
  color: #6d7f98;
  font-size: 14px;
}

body.page-software .content-video,
body.page-data .content-video,
body.page-tutorial .content-video {
  display: block;
  width: 100%;
  max-height: 560px;
  border-radius: 15px;
  background: #071327;
  object-fit: contain;
}

/* Software-specific content */
body.page-software .screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.page-software .screenshot {
  display: block;
  height: auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dce5f0;
  border-radius: 16px;
  background: #eef3f8;
  color: #71849e;
}

body.page-software .screenshot:first-child {
  grid-column: 1 / -1;
}

body.page-software .screenshot-zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}

body.page-software .screenshot-zoom img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  transition: transform .25s ease;
}

body.page-software .screenshot-zoom:hover img {
  transform: scale(1.012);
}

body.page-software .screenshot-zoom-icon {
  position: absolute;
  right: 14px;
  top: auto;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 10px;
  background: rgba(6, 22, 46, .78);
  color: #fff;
  opacity: 1;
  backdrop-filter: blur(8px);
}

body.page-software .screenshot-zoom-icon::before {
  content: "↗";
  font-size: 15px;
}

body.page-software .screenshot-zoom-icon::after {
  content: none;
}

body.page-software .screenshot figcaption {
  position: static;
  inset: auto;
  min-height: 44px;
  padding: 10px 14px;
  border-top: 1px solid #e0e7f0;
  background: #fff;
  color: #647790;
  font-size: 13px;
}

body.page-software .download-list {
  display: grid;
  gap: 11px;
}

body.page-software .download-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 14px;
  border: 1px solid #dfe7f1;
  border-radius: 14px;
  background: #f8fafd;
}

body.page-software .download-item__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--detail-accent-soft);
  color: var(--detail-accent);
}

body.page-software .download-item__icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

body.page-software .download-item__body strong {
  display: block;
  color: #263e5d;
  font-size: 15px;
}

body.page-software .download-item__body small,
body.page-software .download-item__type {
  display: block;
  margin-top: 3px;
  color: #8493a8;
  font-size: 12px;
}

body.page-software .download-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 39px;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--detail-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
}

body.page-software .download-action--secondary,
body.page-software .download-action--disabled {
  background: #edf2f8;
  color: #667991;
}

body.page-software .download-action--external {
  border: 1px solid #b9cef8;
  background: #fff;
  color: #285fcf;
  box-shadow: none;
}

body.page-software .download-action--purchase {
  border: 1px solid #f0d9a7;
  background: #fff8e9;
  color: #a56c11;
  box-shadow: none;
}

body.page-software [data-favorite][aria-pressed="true"],
body.page-data [data-favorite][aria-pressed="true"] {
  border-color: rgba(255, 194, 84, .48);
  background: rgba(255, 194, 84, .14);
  color: #ffd487;
}

/* Data-specific modules */
body.page-data .metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

body.page-data .metric {
  min-width: 0;
  padding: 21px;
  overflow: hidden;
  border: 1px solid #dfebe8;
  border-radius: 15px;
  background: linear-gradient(145deg, #fff, #f3fbf9);
}

body.page-data .metric strong {
  display: block;
  overflow-wrap: anywhere;
  color: #173d4a;
  font-size: 25px;
  line-height: 1.35;
}

body.page-data .metric small {
  display: block;
  margin-top: 7px;
  color: #64847e;
  font-size: 13px;
  line-height: 1.6;
}

body.page-data .content-card .tags {
  gap: 8px;
  margin-bottom: 16px;
}

body.page-data .content-card .tag {
  padding: 7px 11px;
  border: 1px solid #dce7ef;
  border-radius: 8px;
  background: #f4f7fb;
  color: #5b708a;
  font-size: 13px;
}

body.page-data .content-card .tag.green {
  border-color: #d2ece5;
  background: #eaf8f4;
  color: #0b9278;
}

/* Shared recommendation rail */
body.page-software .software-recommendation-rail .side-card,
body.page-data .software-recommendation-rail .side-card,
body.page-software .side-card,
body.page-data .side-card {
  margin: 0;
  padding: 21px;
  border: 1px solid var(--detail-line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(24, 56, 97, .045);
}

body.page-software .software-recommendation-rail .side-card h3,
body.page-data .software-recommendation-rail .side-card h3,
body.page-software .side-card h3,
body.page-data .side-card h3 {
  margin: 0 0 16px;
  color: #203754;
  font-size: 17px;
  line-height: 1.45;
}

body.page-software .related-list,
body.page-data .related-list,
body.page-tutorial .related-list {
  display: grid;
  gap: 12px;
}

body.page-software .related-item,
body.page-data .related-item,
body.page-tutorial .related-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-width: 0;
  padding: 3px 0;
}

body.page-software .related-item .product-icon,
body.page-data .related-item .product-icon,
body.page-tutorial .related-item .product-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid #e0e8f1;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

body.page-software .related-item .product-icon img,
body.page-data .related-item .product-icon img,
body.page-tutorial .related-item .product-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.page-software .related-item strong,
body.page-data .related-item strong,
body.page-tutorial .related-item strong {
  display: -webkit-box;
  overflow: hidden;
  color: #263d5a;
  font-size: 14px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.page-software .related-item small,
body.page-data .related-item small,
body.page-tutorial .related-item small {
  display: block;
  margin-top: 3px;
  color: #8796aa;
  font-size: 12px;
  line-height: 1.45;
}

body.page-software .detail-layout [id],
body.page-software .software-detail-sidebar [id],
body.page-data .detail-layout [id],
body.page-data .software-detail-sidebar [id],
body.page-tutorial .detail-layout [id] {
  scroll-margin-top: 155px;
}

/* Tutorial hero */
body.page-tutorial .tutorial-detail-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 1%, rgba(53, 84, 170, .54), transparent 38%),
    linear-gradient(122deg, #061327 0%, #0a2143 58%, #172553 100%);
}

body.page-tutorial .tutorial-detail-hero > .detail-top {
  position: relative;
  z-index: 1;
  padding: 4px 0 56px;
}

body.page-tutorial .course-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 18px 34px;
  align-items: start;
}

body.page-tutorial .course-player-shell {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  min-width: 0;
  scroll-margin-top: 96px;
}

body.page-tutorial .course-player {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  background-color: #061126;
  background-image: url("../images/design/tutorial-video.png") !important;
  background-position: center !important;
  background-size: cover !important;
  box-shadow: 0 28px 60px rgba(0, 10, 34, .48);
}

body.page-tutorial [data-course-player] [hidden],
body.page-tutorial .course-chapter [hidden],
body.page-tutorial [data-progress-message][hidden] {
  display: none !important;
}

body.page-tutorial .course-playback-panel {
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
}

body.page-tutorial .course-playback-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

body.page-tutorial .course-playback-heading > div:first-child {
  flex: 1 1 220px;
  min-width: 0;
}

body.page-tutorial .course-playback-heading small {
  display: block;
  margin-bottom: 4px;
  color: #9cb3d4;
  font-size: 12px;
}

body.page-tutorial .course-playback-heading strong {
  display: block;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

body.page-tutorial .course-playback-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

body.page-tutorial .course-playback-controls button {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 9px;
  background: rgba(255, 255, 255, .08);
  color: #e8efff;
  font-size: 13px;
  cursor: pointer;
}

body.page-tutorial .course-playback-controls button:hover:not(:disabled) {
  border-color: #89aaff;
  background: rgba(84, 132, 255, .25);
}

body.page-tutorial .course-playback-controls button:disabled {
  opacity: .4;
  cursor: default;
}

body.page-tutorial .course-playback-panel > p {
  margin: 12px 0 0;
  color: #c7d7ee;
  font-size: 13px;
  line-height: 1.7;
}

body.page-tutorial .course-progress-message a {
  color: #435bd5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.page-tutorial .course-chapter-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

body.page-tutorial .course-chapter-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 12px;
  margin-top: 4px;
}

body.page-tutorial .course-chapter-state {
  padding: 3px 8px;
  border-radius: 6px;
  background: #e5f7ef;
  color: #14865f;
  font-size: 12px;
  line-height: 1.4;
}

body.page-tutorial .notice.course-chapter.is-current {
  border-color: #9e9aec;
  background: #f7f6ff;
  box-shadow: inset 3px 0 #7461e6;
}

body.page-tutorial .course-chapter > .small-btn[aria-current] {
  border-color: #bbb3f2;
  background: #ece8fe;
  color: #5845c6;
}

body.page-tutorial .course-catalog-empty {
  margin: 0;
  padding: 20px;
  border: 1px dashed var(--detail-line);
  border-radius: 12px;
  background: #f8faff;
  color: var(--detail-muted);
  font-size: 14px;
  text-align: center;
}

body.page-tutorial .course-player video,
body.page-tutorial .course-player img {
  display: block;
  width: 100%;
  height: 100%;
}

body.page-tutorial .course-player video {
  background: #020817;
  object-fit: contain;
}

body.page-tutorial .course-player img {
  object-fit: cover;
}

body.page-tutorial .course-player .play-mark {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--detail-blue);
  box-shadow: 0 15px 35px rgba(0, 17, 55, .48);
  font-size: 24px;
}

body.page-tutorial .course-player small {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: auto;
  bottom: auto;
  left: 14px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(2, 12, 31, .68);
  color: #d2deed;
  font-size: 12px;
  text-shadow: 0 1px 4px #000;
  pointer-events: none;
}

body.page-tutorial .course-detail-head > .detail-title {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding-top: 0;
  overflow-wrap: anywhere;
}

body.page-tutorial .course-detail-head > .detail-title .tags {
  gap: 8px;
  margin-bottom: 12px;
}

body.page-tutorial .course-detail-head > .detail-title .tag {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .075);
  color: #ced9e9;
  font-size: 12px;
}

body.page-tutorial .course-detail-head > .detail-title .tag.green {
  border-color: rgba(139, 127, 242, .32);
  background: rgba(112, 92, 232, .16);
  color: #beb5ff;
}

body.page-tutorial .course-detail-head > .detail-title h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(29px, 2.45vw, 37px);
  font-weight: 850;
  line-height: 1.34;
  letter-spacing: -.7px;
}

body.page-tutorial .course-detail-head > .detail-title > p {
  margin: 0 0 14px;
  color: #bdcce0;
  font-size: 16px;
  line-height: 1.8;
}

body.page-tutorial .course-detail-head > .detail-title .rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  color: #93a7c5;
  font-size: 13px;
  line-height: 1.65;
}

body.page-tutorial .course-detail-head > .detail-title .rating b {
  color: #ffc35e;
  font-size: 14px;
}

body.page-tutorial .course-detail-head > .detail-title .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

body.page-tutorial .course-detail-head > .detail-title .btn {
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 11px;
  font-size: 14px;
}

body.page-tutorial .course-detail-head > .detail-title .btn-ghost {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: #d0dced;
}

body.page-tutorial .course-detail-head > .detail-aside {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(0, 20, 45, .22);
  overflow-wrap: anywhere;
}

body.page-tutorial .course-progress-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 12px;
}

body.page-tutorial .course-progress-heading h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #243b58;
  font-size: 17px;
  line-height: 1.4;
}

body.page-tutorial .course-progress-heading h2::before {
  content: "";
  flex: 0 0 4px;
  height: 17px;
  border-radius: 3px;
  background: linear-gradient(#3979ff, #7058e9);
}

body.page-tutorial .course-detail-head > .detail-aside .course-progress-heading .form-note {
  margin: 0;
}

body.page-tutorial .course-learning-card > .progress {
  width: 100%;
}

body.page-tutorial .course-access-panel {
  margin-top: 17px;
  padding-top: 16px;
  border-top: 1px solid #e9eef5;
}

body.page-tutorial .course-purchase-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 15px;
}

body.page-tutorial .course-access-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

body.page-tutorial .course-access-copy {
  flex: 1 1 230px;
  min-width: 0;
}

body.page-tutorial .course-access-copy > strong {
  color: #243b58;
  font-size: 17px;
  line-height: 1.5;
}

body.page-tutorial .course-access-summary > .btn {
  flex: 1 0 120px;
}

body.page-tutorial .progress {
  height: 8px;
  overflow: hidden;
  border-radius: 6px;
  background: #e9eef5;
}

body.page-tutorial .progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3672ff, #7058e9);
}

body.page-tutorial .course-detail-head > .detail-aside .form-note {
  display: block;
  margin: 6px 0 0;
  color: #64758c;
  font-size: 13px;
  line-height: 1.65;
}

body.page-tutorial .course-detail-head > .detail-aside .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 0;
  color: #253c5b;
  font-size: 28px;
  line-height: 1.35;
  white-space: normal;
}

body.page-tutorial .course-detail-head > .detail-aside .price small {
  color: #64758c;
  font-size: 13px;
  font-weight: 400;
}

body.page-tutorial .course-learning-card .price > span > small {
  margin-left: 4px;
}

body.page-tutorial .course-detail-head > .detail-aside .btn {
  min-width: 0;
  min-height: 45px;
  margin: 0;
  padding: 10px 16px;
  border-radius: 11px;
  font-size: 14px;
  line-height: 1.5;
  white-space: normal;
  text-align: center;
}

body.page-tutorial .course-learning-card .btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #3a76ff, #6a58e8);
  box-shadow: 0 6px 14px rgba(75, 104, 234, .18);
}

body.page-tutorial .course-learning-card .btn-vip {
  border-color: #ddd9f9;
  background: #f1effe;
  color: #6050c8;
  box-shadow: none;
}

body.page-tutorial .course-learning-card .btn-vip:hover {
  border-color: #b8adf0;
  background: #e9e4fe;
}

body.page-tutorial .tutorial-detail-hero .btn:focus-visible {
  outline: 3px solid #95b9ff;
  outline-offset: 3px;
}

body.page-tutorial #purchase {
  scroll-margin-top: 96px;
}

/* Tutorial content and rail */
body.page-tutorial #main-content > .detail-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
  padding: 0 0 68px;
}

body.page-tutorial .detail-layout > div > .detail-tabs {
  position: sticky;
  z-index: 12;
  top: 82px;
  display: flex;
  flex-wrap: nowrap;
  gap: 3px;
  min-height: 64px;
  margin: -32px 0 21px;
  padding: 10px 14px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #dce5f0;
  border-radius: 17px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 17px 42px rgba(25, 54, 95, .13);
  backdrop-filter: blur(14px);
  scrollbar-width: thin;
}

body.page-tutorial .detail-layout > div > .detail-tabs a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 40px;
  padding: 9px 15px;
  border: 0;
  border-radius: 10px;
  color: #63758f;
  font-size: 14px;
  white-space: nowrap;
}

body.page-tutorial .detail-layout > div > .detail-tabs a:hover,
body.page-tutorial .detail-layout > div > .detail-tabs a.active {
  border: 0;
  background: var(--detail-accent-soft);
  color: var(--detail-accent);
  font-weight: 750;
}

body.page-tutorial .course-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.page-tutorial .course-points li {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #e3e9f2;
  border-radius: 13px;
  background: #fbfcfe;
  color: #52677f;
  font-size: 14px;
  line-height: 1.65;
}

body.page-tutorial .course-chapter {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 13px 14px !important;
  border: 1px solid #e1e8f1 !important;
  border-radius: 15px !important;
  background: #fff !important;
}

body.page-tutorial .course-chapter .rank-no {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--detail-accent-soft);
  color: var(--detail-accent);
  font-size: 14px;
  font-weight: 800;
}

body.page-tutorial .course-chapter strong {
  margin: 0;
  color: #273e5d;
  font-size: 15px;
}

body.page-tutorial .course-chapter small {
  margin-top: 3px;
  color: #8796aa;
  font-size: 12px;
}

body.page-tutorial .course-chapter .chapter-content {
  margin-top: 11px;
  padding: 12px 14px;
  border: 1px solid #e8ecf4;
  border-radius: 10px;
  background: #f8f9fc;
  color: #667990;
  font-size: 14px;
  line-height: 1.8;
}

body.page-tutorial .course-chapter > .small-btn {
  min-width: 76px;
  min-height: 38px;
  padding: 8px 12px;
  border-color: #cbdafa;
  border-radius: 10px;
  background: #edf3ff;
  color: #2f65dd;
  font-size: 13px;
  font-weight: 700;
}

body.page-tutorial .course-chapter.completed {
  border-color: #d4ebe4 !important;
  background: #fbfefc !important;
}

body.page-tutorial .course-chapter.completed .rank-no,
body.page-tutorial .course-chapter > .small-btn.is-complete {
  background: #e7f8f2;
  color: #109674;
}

body.page-tutorial .content-card .notice:not(.course-chapter) .small-btn {
  float: none !important;
  position: static;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  min-height: 36px;
  padding: 7px 12px;
  transform: none;
  border-radius: 9px;
  background: #edf3ff;
  color: #2f65d8;
  font-size: 14px;
  font-weight: 700;
}

body.page-tutorial .content-card .notice:not(.course-chapter) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
}

body.page-tutorial .content-card .notice:not(.course-chapter) > strong,
body.page-tutorial .content-card .notice:not(.course-chapter) > small {
  grid-column: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

body.page-tutorial .tutorial-instructor {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

body.page-tutorial .tutorial-instructor img {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  object-fit: cover;
}

body.page-tutorial .tutorial-instructor strong {
  color: #263e5d;
  font-size: 18px;
}

body.page-tutorial .tutorial-instructor small {
  display: block;
  margin: 3px 0 9px;
  color: #7b8da4;
  font-size: 13px;
}

body.page-tutorial .module-certificate-image {
  width: 100%;
  max-height: 520px;
  border: 1px solid #e0e7f0;
  border-radius: 14px;
  object-fit: contain;
}

body.page-tutorial .review-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e9eef4;
}

body.page-tutorial .review-form .field-grid {
  gap: 13px;
}

body.page-tutorial .review-form .field label {
  color: #40556f;
  font-size: 14px;
}

body.page-tutorial .review-form .field select,
body.page-tutorial .review-form .field textarea {
  border-color: #dbe4ef;
  border-radius: 11px;
  font-size: 14px;
}

body.page-tutorial .review-form .btn {
  min-height: 42px;
  margin-top: 13px;
  border-radius: 10px;
}

body.page-tutorial .detail-layout > aside {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 18px;
  min-width: 0;
}

body.page-tutorial .detail-layout > aside .side-card {
  position: static;
  margin: 0;
  padding: 21px;
  border: 1px solid var(--detail-line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(24, 56, 97, .045);
}

body.page-tutorial .detail-layout > aside .side-card h3 {
  margin: 0 0 15px;
  color: #213754;
  font-size: 17px;
}

body.page-tutorial .detail-layout > aside .notice-list {
  display: grid;
  gap: 5px;
  max-height: 326px;
  overflow-y: auto;
  scrollbar-width: thin;
}

body.page-tutorial .detail-layout > aside .notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: #f8f9fc;
}

body.page-tutorial .detail-layout > aside .notice:hover {
  background: var(--detail-accent-soft);
}

body.page-tutorial .detail-layout > aside .notice strong {
  overflow: hidden;
  color: #5d708a;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.page-tutorial .detail-layout > aside .notice small {
  color: #94a1b3;
  font-size: 11px;
  white-space: nowrap;
}

body.page-tutorial .detail-layout > aside .form-note {
  display: block;
  margin-top: 8px;
  color: #7e8fa4;
  font-size: 12px;
}

/* Keep global trust/footer connected to the redesigned detail canvas. */
body.page-software .trust-strip,
body.page-data .trust-strip,
body.page-tutorial .trust-strip {
  margin: 0;
  padding: 0;
  border-top: 1px solid #e1e8f1;
  border-bottom: 1px solid #e1e8f1;
  background: #fff;
}

body.page-software .trust-strip .trust-grid,
body.page-data .trust-strip .trust-grid,
body.page-tutorial .trust-strip .trust-grid {
  gap: 0;
}

body.page-software .trust-strip .trust-item,
body.page-data .trust-strip .trust-item,
body.page-tutorial .trust-strip .trust-item {
  min-height: 104px;
  padding: 0 18px;
}

body.page-software .trust-strip .trust-item + .trust-item,
body.page-data .trust-strip .trust-item + .trust-item,
body.page-tutorial .trust-strip .trust-item + .trust-item {
  border-left: 1px solid #edf1f5;
}

body.page-software .trust-strip .trust-icon,
body.page-data .trust-strip .trust-icon,
body.page-tutorial .trust-strip .trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--detail-accent-soft);
  color: var(--detail-accent);
}

body.page-software .trust-strip .trust-item strong,
body.page-data .trust-strip .trust-item strong,
body.page-tutorial .trust-strip .trust-item strong {
  color: #1b304c;
  font-size: 14px;
}

body.page-software .trust-strip .trust-item small,
body.page-data .trust-strip .trust-item small,
body.page-tutorial .trust-strip .trust-item small {
  color: #8190a5;
  font-size: 12px;
}

body.page-software .site-footer:not(.footer-redesign),
body.page-data .site-footer:not(.footer-redesign),
body.page-tutorial .site-footer:not(.footer-redesign) {
  margin-top: 0;
  background: #061427;
}

@media (max-width: 1080px) {
  body.page-software .detail-page,
  body.page-data .detail-page {
    grid-template-columns: minmax(0, 1fr) 300px;
    column-gap: 20px;
  }

  body.page-software .detail-page .detail-head,
  body.page-data .detail-page .detail-head {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 20px;
  }

  body.page-software .detail-icon {
    width: 104px;
    height: 104px;
    border-radius: 23px;
  }

  body.page-data .detail-icon {
    width: 96px;
    height: 120px;
  }

  body.page-software .detail-title-heading h1,
  body.page-data .detail-title-heading h1 {
    flex-basis: 290px;
  }

  body.page-data .data-detail-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-data .content-card .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-tutorial .course-detail-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 17px 25px;
  }

  body.page-tutorial #main-content > .detail-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 20px;
  }
}

@media (max-width: 900px) {
  body.page-software #main-content::before,
  body.page-data #main-content::before {
    height: 455px;
  }

  body.page-software .detail-page,
  body.page-data .detail-page {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "hero"
      "purchase"
      "content"
      "recommendations";
    gap: 20px;
  }

  body.page-software .detail-page .detail-top,
  body.page-data .detail-page .detail-top {
    min-height: 0;
    padding-bottom: 46px;
  }

  body.page-software .software-detail-sidebar,
  body.page-data .software-detail-sidebar {
    display: contents;
  }

  body.page-software .software-purchase-rail,
  body.page-data .software-purchase-rail {
    grid-area: purchase;
  }

  body.page-software .software-recommendation-rail,
  body.page-data .software-recommendation-rail {
    grid-area: recommendations;
  }

  body.page-software .software-price-card,
  body.page-data .software-price-card {
    width: 100%;
    max-width: none;
    box-shadow: 0 16px 38px rgba(28, 58, 98, .1);
  }

  body.page-software .software-price-card__purchase,
  body.page-data .software-price-card__purchase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 18px;
    align-items: center;
  }

  body.page-software .software-price-card__purchase-title,
  body.page-data .software-price-card__purchase-title,
  body.page-software .software-price-card__note,
  body.page-data .software-price-card__note {
    grid-column: 1;
  }

  body.page-software .software-price-card__price,
  body.page-data .software-price-card__price {
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0;
  }

  body.page-software .software-price-card__purchase > .btn,
  body.page-data .software-price-card__purchase > .btn {
    grid-column: 1 / -1;
  }

  body.page-software .detail-tabs-shell,
  body.page-data .detail-tabs-shell {
    margin-top: 0;
  }

  body.page-software .software-recommendation-rail .side-card,
  body.page-data .software-recommendation-rail .side-card {
    margin-top: 0;
  }

  body.page-tutorial .course-detail-head {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  body.page-tutorial .course-player-shell,
  body.page-tutorial .course-detail-head > .detail-title,
  body.page-tutorial .course-detail-head > .detail-aside {
    grid-column: 1;
    grid-row: auto;
  }

  body.page-tutorial .course-detail-head > .detail-aside {
    box-shadow: 0 14px 32px rgba(0, 20, 45, .22);
  }

  body.page-tutorial #main-content > .detail-layout {
    grid-template-columns: 1fr;
  }

  body.page-tutorial .detail-layout > aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-tutorial .detail-layout > aside .side-card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  body.page-software #main-content,
  body.page-data #main-content,
  body.page-tutorial #main-content {
    font-size: 16px;
  }

  body.page-software #main-content > .breadcrumb,
  body.page-data #main-content > .breadcrumb,
  body.page-tutorial .tutorial-detail-hero > .breadcrumb {
    padding-top: 18px;
    padding-bottom: 17px;
    font-size: 12px;
  }

  body.page-software .detail-page,
  body.page-data .detail-page {
    padding-bottom: 43px;
  }

  body.page-software .detail-page .detail-head,
  body.page-data .detail-page .detail-head {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
  }

  body.page-software .detail-icon,
  body.page-data .detail-icon {
    width: 82px;
    height: 82px;
    padding: 7px;
    border-radius: 19px;
  }

  body.page-data .detail-icon {
    height: 100px;
    padding: 0;
  }

  body.page-software .detail-title-heading h1,
  body.page-data .detail-title-heading h1 {
    flex-basis: 100%;
    font-size: 27px;
  }

  body.page-software .software-detail-favorite,
  body.page-data .software-detail-favorite {
    order: 4;
  }

  body.page-software .detail-title > p,
  body.page-data .detail-title > p {
    font-size: 15px;
  }

  body.page-data .data-detail-stats {
    grid-column: 1 / -1;
  }

  body.page-software .detail-tabs-shell,
  body.page-data .detail-tabs-shell {
    top: 70px;
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    min-height: 58px;
    padding: 7px;
    border-radius: 14px;
  }

  body.page-software .detail-tabs-arrow,
  body.page-data .detail-tabs-arrow {
    width: 29px;
    min-width: 29px;
    height: 32px;
  }

  body.page-software .detail-tabs a,
  body.page-data .detail-tabs a {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 14px;
  }

  body.page-software .content-card,
  body.page-data .content-card,
  body.page-tutorial .content-card {
    margin-bottom: 15px;
    padding: 22px 20px 23px;
    border-radius: 17px;
  }

  body.page-software .content-card::after,
  body.page-data .content-card::after,
  body.page-tutorial .content-card::after {
    top: 21px;
    right: 19px;
    font-size: 25px;
  }

  body.page-software .content-card > h2,
  body.page-data .content-card > h2,
  body.page-tutorial .content-card > h2 {
    margin-bottom: 17px;
    font-size: 20px;
  }

  body.page-software .content-card .feature-grid,
  body.page-data .content-card .feature-grid,
  body.page-tutorial .content-card .feature-grid,
  body.page-data .metric-grid,
  body.page-tutorial .course-points,
  body.page-software .plan-grid,
  body.page-data .plan-grid,
  body.page-tutorial .plan-grid {
    grid-template-columns: 1fr;
  }

  body.page-software .screenshot-grid {
    grid-template-columns: 1fr;
  }

  body.page-software .download-item {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  body.page-software .download-item__action {
    grid-column: 1 / -1;
  }

  body.page-software .download-action {
    width: 100%;
  }

  body.page-tutorial .tutorial-detail-hero > .detail-top {
    padding-bottom: 46px;
  }

  body.page-tutorial .course-player {
    border-radius: 17px;
  }

  body.page-tutorial .course-detail-head > .detail-title h1 {
    font-size: 27px;
  }

  body.page-tutorial .course-detail-head > .detail-title .form-actions {
    flex-wrap: wrap;
  }

  body.page-tutorial .course-detail-head > .detail-title .form-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 10px;
    white-space: normal;
  }

  body.page-tutorial #main-content > .detail-layout {
    padding-bottom: 43px;
  }

  body.page-tutorial .detail-layout > div > .detail-tabs {
    top: 70px;
    min-height: 58px;
    margin-top: -28px;
    padding: 8px 10px;
    border-radius: 14px;
  }

  body.page-tutorial .detail-layout > div > .detail-tabs a {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 14px;
  }

  body.page-tutorial .course-chapter {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  body.page-tutorial .course-chapter > .small-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  body.page-tutorial .detail-layout > aside {
    grid-template-columns: 1fr;
  }

  body.page-tutorial .detail-layout > aside .side-card:first-child {
    grid-column: auto;
  }

  body.page-software .trust-strip .trust-grid,
  body.page-data .trust-strip .trust-grid,
  body.page-tutorial .trust-strip .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.page-software .trust-strip .trust-item:nth-child(odd),
  body.page-data .trust-strip .trust-item:nth-child(odd),
  body.page-tutorial .trust-strip .trust-item:nth-child(odd) {
    border-left: 0;
  }

  body.page-software .trust-strip .trust-item:nth-child(n + 3),
  body.page-data .trust-strip .trust-item:nth-child(n + 3),
  body.page-tutorial .trust-strip .trust-item:nth-child(n + 3) {
    border-top: 1px solid #edf1f5;
  }
}

@media (max-width: 560px) {
  body.page-software #main-content::before,
  body.page-data #main-content::before {
    height: 570px;
  }

  body.page-tutorial .course-detail-head > .detail-aside {
    padding: 18px;
  }

  body.page-tutorial .course-purchase-actions {
    grid-template-columns: 1fr;
  }

  body.page-software .detail-page .detail-head,
  body.page-data .detail-page .detail-head {
    grid-template-columns: 1fr;
  }

  body.page-software .detail-icon,
  body.page-data .detail-icon {
    width: 78px;
    height: 78px;
  }

  body.page-data .detail-icon {
    height: 96px;
  }

  body.page-software .detail-title-heading h1,
  body.page-data .detail-title-heading h1,
  body.page-tutorial .course-detail-head > .detail-title h1 {
    font-size: 25px;
  }

  body.page-data .data-detail-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-software .software-price-card__purchase,
  body.page-data .software-price-card__purchase {
    display: block;
  }

  body.page-software .software-price-card__price,
  body.page-data .software-price-card__price {
    margin-top: 12px;
  }

  body.page-software .software-price-card,
  body.page-data .software-price-card {
    padding: 20px;
  }

  body.page-software .content-card .feature-box,
  body.page-data .content-card .feature-box,
  body.page-tutorial .content-card .feature-box {
    padding: 17px;
  }

  body.page-tutorial .tutorial-instructor {
    grid-template-columns: 1fr;
  }

  body.page-tutorial .review-form .field-grid {
    grid-template-columns: 1fr;
  }

  body.page-tutorial .review-form .field.full {
    grid-column: auto;
  }

  body.page-tutorial .content-card .notice:not(.course-chapter) {
    grid-template-columns: 1fr;
  }

  body.page-tutorial .content-card .notice:not(.course-chapter) > .small-btn {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    margin-top: 7px;
  }

  body.page-software .trust-strip .trust-grid,
  body.page-data .trust-strip .trust-grid,
  body.page-tutorial .trust-strip .trust-grid {
    grid-template-columns: 1fr;
  }

  body.page-software .trust-strip .trust-item + .trust-item,
  body.page-data .trust-strip .trust-item + .trust-item,
  body.page-tutorial .trust-strip .trust-item + .trust-item {
    border-top: 1px solid #edf1f5;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-software .screenshot-zoom img,
  body.page-data *,
  body.page-tutorial * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
