.diagnosis-topbar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  background: #fff;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 31;
}
/* same wordmark as the homepage header (.brand + .wordmark in styles.css) */
.diagnosis-topbar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.5px;
  flex: none;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  margin-left: auto;
}
.member-phone {
  font-size: 12px;
  color: var(--teal);
}
.diagnosis-topbar .button.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  box-shadow: none;
}
.diagnosis-topbar .button.ghost:hover {
  background: var(--sky);
  color: var(--navy);
  border-color: var(--teal);
}
.diagnosis-content[aria-hidden="true"] {
  display: none;
}
.diagnosis-intro {
  /* Same centred 820px column as the .diagnosis-section blocks below. */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 8px;
}
.diagnosis-intro > * {
  width: 100%;
  max-width: 820px;
}
.diagnosis-intro h1 {
  margin: 8px 0 12px;
  /* Only break at the <br>/<wbr> points, never inside a word. */
  word-break: keep-all;
}
.diagnosis-intro .lede {
  color: var(--muted);
  max-width: 820px;
}
.diagnosis-intro .disclaimer {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--sky);
  font-size: 13px;
}
.grade-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  max-width: 820px;
}
.grade-list > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.grade-list dt {
  font-weight: 700;
  color: var(--teal);
}
.grade-price {
  display: block;
  margin-top: 4px;
  font-weight: 800;
  color: var(--ink);
}
.grade-list dd {
  margin: 0;
  color: var(--muted);
}
.rule-list,
.sop-list {
  margin: 16px 0 0;
  padding-left: 0;
  list-style: none;
  color: var(--muted);
  max-width: 820px;
}
.rule-list li,
.sop-list li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 30px;
  line-height: 1.7;
}
.rule-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(8, 118, 102, 0.1);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sop-list {
  counter-reset: sopstep;
}
.sop-list li::before {
  counter-increment: sopstep;
  content: counter(sopstep);
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--mint);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.diagnosis-section strong,
.diagnosis-card strong {
  color: var(--navy);
  font-weight: 800;
}
.sample-note {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}
.delivery-sample {
  margin-top: 12px;
  max-width: 820px;
  padding: 18px;
  border-radius: 12px;
  background: var(--navy);
  color: #dff5f2;
  font-size: 12px;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre-wrap;
}
.diagnosis-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 52px 0;
  border-top: none;
  position: relative;
  counter-increment: diagsec;
  scroll-margin-top: 100px;
}
.diagnosis-section > * {
  width: 100%;
  max-width: 820px;
}
main#diagnosisContent {
  counter-reset: diagsec;
}
.diagnosis-section:nth-of-type(even) {
  background: linear-gradient(180deg, #eaf5f1 0%, #f4f9f7 100%);
}
.diagnosis-section .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.diagnosis-section .eyebrow > span:first-child {
  width: 20px;
  height: 2px;
  background: currentColor;
}
.diagnosis-section .eyebrow::before {
  content: counter(diagsec, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--mint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}
.diagnosis-section h2 {
  margin-bottom: 8px;
}
.diagnosis-section p {
  color: var(--muted);
  max-width: 820px;
}
.diagnosis-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 24px;
  margin-top: 14px;
  max-width: 820px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.diagnosis-card p:last-child {
  margin-bottom: 0;
}
.diagnosis-jumpnav {
  /* Table of contents: collapsed behind the 目錄 button, drops down under the topbar. */
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 4px 16px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  padding: 16px 24px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(7, 28, 44, 0.12);
}
.diagnosis-jumpnav.open {
  display: grid;
}
.diagnosis-jumpnav[hidden] {
  display: none;
}
.diagnosis-jumpnav a {
  padding: 10px 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.15s;
}
.diagnosis-jumpnav a:hover {
  color: var(--teal);
}
.jumpnav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.jumpnav-toggle[hidden] {
  display: none;
}
.jumpnav-toggle:hover,
.jumpnav-toggle[aria-expanded="true"] {
  border-color: var(--teal);
  color: var(--teal);
}
.jumpnav-icon {
  display: grid;
  gap: 3px;
}
.jumpnav-icon span {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
}
.gate-dialog {
  text-align: left;
  position: relative;
}
.gate-dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--mint), var(--lime));
  border-radius: 22px 22px 0 0;
}
.gate-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 6px auto 16px;
  border-radius: 50%;
  background: rgba(8, 118, 102, 0.1);
  color: var(--teal);
}
.gate-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  text-decoration: none;
  font-size: 18px;
}
.gate-close:hover {
  background: rgba(0, 0, 0, 0.06);
}
.gate-dialog h2 {
  text-align: center;
}
.gate-dialog > p:first-of-type {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.gate-dialog .field {
  margin: 16px 0;
}
.gate-dialog label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.gate-dialog input:not([type="checkbox"]),
.gate-dialog select {
  width: 100%;
  height: 46px;
  padding: 10px 13px;
  border: 1px solid #cfdcdf;
  border-radius: 9px;
  font-size: 14px;
  background: #fbfcfc;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.gate-dialog input:focus,
.gate-dialog select:focus {
  border-color: var(--teal);
  background: #fff;
  outline: none;
}
.gate-dialog .gate-consent {
  margin: 16px 0;
}
.gate-dialog .gate-consent input {
  width: 16px;
  height: 16px;
  flex: none;
  accent-color: var(--teal);
  margin-top: 3px;
}
.gate-dialog .error {
  display: block;
  color: #dc2626;
  font-size: 12px;
  min-height: 16px;
}
.gate-dialog .button {
  width: 100%;
  margin-top: 4px;
}
#gateOtpGroup {
  margin: 4px 0 16px;
  padding: 14px;
  background: #f4f9f8;
  border: 1px solid var(--line);
  border-radius: 12px;
}
#gateOtpGroup .otp-input-row {
  display: flex;
  gap: 8px;
  margin-top: 7px;
}
#gateOtpGroup .otp-input-row input {
  flex: 1;
  margin-top: 0;
}
#gateOtpGroup .button {
  width: auto;
  white-space: nowrap;
  min-height: 46px;
  margin-top: 0;
}
.gate-status {
  min-height: 18px;
  font-size: 13px;
  text-align: center;
  margin: 12px 0 4px;
}
.gate-dialog .footnote {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}
.gate-dialog .text-link {
  display: block;
  margin: 14px auto 0;
  text-align: center;
}
@media (max-width: 640px) {
  .grade-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
@media (max-width: 760px) {
  .diagnosis-topbar {
    flex-wrap: wrap;
    row-gap: 10px;
    padding: 14px 16px;
  }
  .diagnosis-jumpnav {
    padding: 8px 16px 16px;
  }
  .member-phone {
    display: none;
  }
  .diagnosis-section {
    scroll-margin-top: 90px;
  }
}

/* --- deep-dive additions --- */
.diagnosis-section h3 { margin: 18px 0 6px; font-size: 16px; }
.small-note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.info-card h3 { margin-top: 0; }
.info-card p { font-size: 14px; }
.download-list { display: grid; gap: 12px; margin-top: 14px; max-width: 820px; }
.download-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.download-item h3 { margin: 0 0 4px; }
.download-item p { margin: 0; font-size: 13px; }
.download-item .button { white-space: nowrap; }
.download-status { min-height: 22px; font-weight: 700; color: var(--teal) !important; margin-top: 8px; }
.compare-wrap { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; max-width: 820px; }
.compare-wrap:focus { outline: 3px solid var(--mint); outline-offset: 2px; }
table.compare { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 760px; }
/* fixed layout: the label column stays the same width and the option columns share the rest equally, so rows line up */
table.compare { table-layout: fixed; }
table.compare thead th:first-child { width: 22%; }
table.compare th, table.compare td { text-align: left; vertical-align: middle; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink); }
table.compare thead th { background: #eef4f1; font-size: 12px; color: var(--muted); }
table.compare tbody th { white-space: nowrap; color: var(--navy); }
table.compare small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
table.compare tfoot th, table.compare tfoot td { background: #eaf6f1; border-bottom: 0; }
.tag-now, .tag-later { display: inline-block; margin-left: 8px; padding: 1px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.tag-now { background: var(--lime); color: var(--navy); }
.tag-later { background: #d8f3ea; color: #066357; }
@media (max-width: 760px) {
  .info-grid { grid-template-columns: 1fr; }
  .download-item { flex-direction: column; align-items: stretch; }
  .grade-list > div { grid-template-columns: 1fr; }
}

/* --- collaboration flow summary (4 steps) --- */
.sop-summary { list-style: none; counter-reset: sop; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin: 16px 0 8px; padding: 0; max-width: 820px; }
.sop-summary li { counter-increment: sop; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 14px 46px; font-weight: 800; color: var(--navy); line-height: 1.4; }
.sop-summary li::before { content: counter(sop); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 13px; display: grid; place-items: center; }
.sop-summary li:not(:last-child)::after { content: ""; position: absolute; right: -19px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--mint); border-right: 2px solid var(--mint); transform: translateY(-50%) rotate(45deg); }
.sop-summary-note { margin-top: 6px; font-weight: 700; color: var(--teal) !important; }
@media (max-width: 760px) {
  .sop-summary { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  .sop-summary li::after { display: none !important; }
}

.sop-list { padding-left: 30px; }

/* --- downloads.html (standalone, gate opens on download) --- */
.diagnosis-topbar .button[hidden] {
  display: none;
}
.downloads-page .diagnosis-section .eyebrow::before {
  display: none;
}
.downloads-page .diagnosis-section {
  padding-top: 64px;
}
/* Row labels stay on one line, but their sub-descriptions wrap so the first column can't crowd out the rest. */
table.compare tbody th { width: 22%; }
table.compare tbody th small { white-space: normal; font-weight: 500; }

/* 行銷 → SDR → AE flow in the division-of-labor section. */
.division-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}
.division-flow li {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.division-flow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-weight: 800;
}
.division-flow b {
  display: block;
  color: var(--navy);
}
.division-flow span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.division-flow small {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eaf6f1;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}
.division-flow li.is-client {
  border-color: var(--teal);
}
.division-flow li.is-client small {
  background: var(--navy);
  color: var(--mint);
}
@media (max-width: 640px) {
  .division-flow {
    grid-template-columns: 1fr;
  }
  .division-flow li:not(:last-child)::after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -14px;
    transform: translateX(-50%);
  }
}
.diagnosis-section h2, .diagnosis-section h3 { word-break: keep-all; overflow-wrap: anywhere; }

/* Download page: cover thumbnails in a card grid. */
.downloads-page .diagnosis-section > * { max-width: 1040px; }
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.download-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.download-cover {
  display: grid;
  place-items: center;
  padding: 22px 0;
  background: linear-gradient(180deg, #eef4f1 0%, #e3efea 100%);
  border-bottom: 1px solid var(--line);
}
.download-cover img {
  width: 58%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(7, 28, 44, 0.18);
}
.download-body {
  flex: 1;
  padding: 16px 18px 4px;
}
.download-type {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #eaf6f1;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}
.download-body h3 {
  margin: 10px 0 6px;
  font-size: 17px;
  color: var(--navy);
}
.download-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.download-card .button {
  margin: 16px 18px 18px;
}
/* 一區幾本決定排法：2 本一排 2、3 本一排 3、4 本 2＋2、5 本 2＋3、6 本 3＋3；一排兩本的卡片放大（2026-10-20 使用者要求） */
.download-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
  .download-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Phones: each group is one swipeable row (next card peeks in) instead of a long stack of tall cards. The shared swipe
   bar (navmenu.js, 2026-11-01) sits in room kept at the bottom of the row, so the page does not move when it appears. */
@media (max-width: 560px) {
  .download-grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: -14px; padding: 0 14px 51px; scroll-padding-inline: 14px; scrollbar-width: none;
  }
  .download-grid + .swipe-bar { margin-top: -27px; }
  .download-grid::-webkit-scrollbar { display: none; }
  .download-card { flex: 0 0 76%; scroll-snap-align: start; }
  .download-cover img { width: 52%; }
}

/* "你可能在想" - each section first names the reader's worry, then answers it. */
.worry {
  margin: 0 0 14px !important;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff7e6;
  color: var(--navy) !important;
  font-size: 16px !important;
  font-weight: 800;
}
.worry span {
  display: inline-block;
  margin-right: 10px;
  padding: 1px 10px;
  border-radius: 999px;
  background: #ffe2a8;
  color: #7a4b00;
  font-size: 12px;
  font-weight: 800;
  vertical-align: 2px;
}
.deep-summary {
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.deep-summary b {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}
.deep-summary ul {
  margin: 0;
  padding-left: 18px;
}
.deep-summary li {
  margin: 4px 0;
}
.deep-summary a {
  color: var(--teal);
  font-weight: 700;
}

/* member content is fetched after verification */
.gated-loading { padding: 48px 0; color: var(--muted); text-align: center; }

/* 深度了解 polish: figures, protected-method note, lead-journey timeline */
.deep-figure { margin: 22px 0 18px; }
.deep-figure img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: #eef4f1; }
.deep-figure figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.protected-note { margin-top: 16px; padding: 12px 16px; border-left: 3px solid var(--teal); background: #f2f8f6; border-radius: 0 10px 10px 0; font-size: 14px; color: var(--muted); }
.journey { list-style: none; margin: 18px 0 14px; padding: 0 0 0 22px; border-left: 2px solid #cfe7dd; display: grid; gap: 14px; }
.journey li { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 2px 14px; }
.journey li::before { content: ""; position: absolute; left: -29px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); }
.journey li.is-you::before { background: var(--lime, #b9ed4d); border-color: #6c8f1e; }
.journey time { grid-row: span 2; text-align: start; text-indent: 0; font-weight: 800; color: var(--teal); font-variant-numeric: tabular-nums; }
.journey b { color: var(--navy); }
.journey span { color: var(--muted); font-size: 15px; line-height: 1.7; }
@media (max-width: 640px) { .journey li { grid-template-columns: 1fr; } .journey time { grid-row: auto; } }

/* add-on service note (Demand Gen, quoted separately) */
.addon-note { margin-top: 18px; padding: 20px 22px; border-radius: 14px; border: 1px dashed #87c9b4; background: #f5fbf8; }
.addon-note h3 { margin: 8px 0 8px; font-size: 18px; color: var(--navy); }
.addon-note p { color: var(--muted); }
.addon-tag { display: inline-block; padding: 3px 12px; border-radius: 99px; background: var(--navy); color: #b9ed4d; font-size: 12px; font-weight: 800; letter-spacing: .04em; }

.res-group { margin-top: 40px; scroll-margin-top: 90px; }
.res-head { margin-bottom: 4px; }
.res-en { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--teal); }
.res-head h2 { margin: 4px 0 6px; }
.res-head p { margin: 0; color: var(--muted); }
.download-card.is-requested { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11, 143, 124, .18), 0 18px 36px rgba(7, 28, 44, .12); }

/* Deep-dive table of contents: four parts, each a heading with its sections underneath (like the home menu) */
.diagnosis-jumpnav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 28px; padding: 20px 32px 24px; }
.diagnosis-jumpnav .jn-group { display: flex; flex-direction: column; min-width: 0; }
.diagnosis-jumpnav .jn-group a { padding: 8px 2px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--line); }
.diagnosis-jumpnav .jn-group a.jn-title { padding: 0 0 10px; border-bottom: 2px solid var(--teal); color: var(--navy); font-size: 16px; font-weight: 800; }
.diagnosis-jumpnav .jn-title small { display: block; margin-bottom: 2px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
@media (max-width: 900px) { .diagnosis-jumpnav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .diagnosis-jumpnav { grid-template-columns: 1fr; gap: 18px; padding: 12px 16px 20px; } }

/* Part header between groups of sections */
.deep-part { box-sizing: border-box; max-width: 820px; margin-left: auto; margin-right: auto; margin-top: 56px; padding: 28px 32px; border-radius: 20px; background: var(--navy); color: #dbe7ea; scroll-margin-top: 90px; }
.deep-part-en { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--lime); }
.deep-part-title { margin: 4px 0 8px; color: #fff; font-size: clamp(24px, 3vw, 32px); }
.deep-part p { margin: 0 0 14px; color: #b7c7cd; max-width: 760px; }
.deep-part ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: part; }
.deep-part li a { display: inline-block; padding: 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.deep-part li a:hover { background: rgba(185, 237, 77, .18); color: var(--lime); }
@media (max-width: 560px) { .deep-part { padding: 22px 20px; border-radius: 16px; } }

/* Top bar: the four PART links, always visible (replaces the 目錄 dropdown) */
.diagnosis-jumpnav, .diagnosis-jumpnav.open { position: static; display: flex; flex: 1; justify-content: center; gap: 4px; max-height: none; overflow: visible; padding: 0; background: none; border: 0; box-shadow: none; }
.diagnosis-jumpnav[hidden] { display: none; }
.diagnosis-jumpnav a { display: flex; flex-direction: column; align-items: center; padding: 6px 14px; border: 0; border-radius: 10px; font-size: 15px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.diagnosis-jumpnav a small { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--teal); }
.diagnosis-jumpnav a:hover { background: #eef6f2; color: var(--teal); }
.diagnosis-jumpnav a.is-current { background: var(--navy); color: #fff; }
.diagnosis-jumpnav a.is-current small { color: var(--lime); }
@media (max-width: 980px) {
  .diagnosis-topbar { flex-wrap: wrap; row-gap: 8px; }
  .diagnosis-jumpnav, .diagnosis-jumpnav.open { order: 3; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 4px; scrollbar-width: none; }
  .diagnosis-jumpnav::-webkit-scrollbar { display: none; }
  .diagnosis-jumpnav a { flex-direction: row; gap: 6px; padding: 6px 12px; font-size: 14px; background: #f3f7f5; }
  .diagnosis-jumpnav a small { font-size: 10px; }
}
@media (max-width: 980px) { .diagnosis-section, .deep-part { scroll-margin-top: 130px; } }

/* 免費下載頁 uses the site-wide header (fixed, 76px) instead of the deep-dive top bar */
.downloads-page { padding-top: 76px; }
.member-bar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: 0 0 4px; min-height: 0; }
.member-bar .member-phone { font-size: 13px; color: var(--muted); }
.member-bar .member-phone:not([hidden])::before { content: "已驗證："; }
.member-bar [hidden] { display: none !important; }
.member-bar:not(:has(:not([hidden]))) { display: none; }
.member-bar .button.ghost { min-height: 32px; padding: 4px 14px; background: transparent; border: 1px solid var(--line); color: var(--muted); box-shadow: none; font-size: 13px; }
.member-bar .button.ghost:hover { border-color: var(--teal); color: var(--teal); }

/* 適不適合：三個條件下方的行動按鈕（2026-10-01 取代原本的回本試算） */
.fit-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 18px; padding: 18px 22px; border-radius: 16px; background: #ecfdf5; border: 1px solid #a7f3d0; }
.fit-cta p { margin: 0; flex: 1 1 320px; color: var(--navy); }
.fit-cta .button { flex: none; }

/* 深度了解頂部列：Logo 位置與首頁對齊（同一條內容欄寬、同樣 76px 高度，2026-10-01） */
.diagnosis-topbar { min-height: 76px; padding: 0 calc((100% - var(--container)) / 2); }
@media (max-width: 980px) {
  .diagnosis-topbar { padding-top: 12px; padding-bottom: 10px; align-items: center; }
  .diagnosis-topbar .top-actions { min-height: 36px; }
}

/* 深度了解：一次只顯示一個部分，最後放上一部分／下一部分（2026-10-01） */
.deep-page[hidden] { display: none; }
.deep-next { box-sizing: border-box; width: var(--container); max-width: 820px; margin: 8px auto 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.deep-next .deep-prev { margin-right: auto; color: var(--muted); font-weight: 700; }
.deep-next .deep-prev:hover { color: var(--teal); }
@media (max-width: 560px) { .deep-next { justify-content: stretch; } .deep-next .button { width: 100%; justify-content: center; } }
/* PART 按鈕列的左右延伸要跟頂部列的新留白一致（平板 20px、手機 14px），否則手機會左右捲動 */
@media (max-width: 980px) { .diagnosis-jumpnav, .diagnosis-jumpnav.open { margin: 0 -20px; padding: 2px 20px 4px; } }
@media (max-width: 640px) { .diagnosis-jumpnav, .diagnosis-jumpnav.open { margin: 0 -14px; padding: 2px 14px 4px; } }

/* 深度了解：一個主題一頁（2026-10-01）；部分標題的主題列當分頁標籤，頁尾上一篇／下一篇 */
.diagnosis-intro[hidden], .deep-part[hidden] { display: none; }
.diagnosis-section .eyebrow[data-num]::before { content: attr(data-num); }
.deep-page .diagnosis-section { padding-top: 40px; }
.deep-part li a.is-current { background: var(--lime); color: var(--navy); }
.deep-part li a.is-current:hover { background: var(--lime); color: var(--navy); }
.deep-next .deep-prev small { display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: .12em; color: var(--teal); }
/* Deep dive on wide screens: tables need 1040, so the whole page (intro and summary, text, part headers, page nav) uses the same
   1040 column - text and tables line up instead of tables sticking out of an 820 text column. */
@media (min-width: 1100px) {
  .gated-mount .diagnosis-section > *,
  .diagnosis-intro > *,
  .diagnosis-intro .lede,
  .gated-mount .deep-part,
  .gated-mount .deep-next { max-width: 1040px; }
  /* blocks nested in cards and lists carry their own 820 cap - lift it so their text runs to the same right edge */
  .gated-mount .diagnosis-section p,
  .gated-mount .diagnosis-section .diagnosis-card,
  .gated-mount .diagnosis-section .compare-wrap,
  .gated-mount .diagnosis-section .download-list,
  .gated-mount .diagnosis-section .sop-summary { max-width: 1040px; }
}

/* Tables whose row labels are long sentences (SEO/GEO standards, improvement loop): let the label wrap instead of
   running into the next column, group rows under a tinted heading, and leave room before the paragraph that follows. */
table.compare.wrap-labels tbody th { white-space: normal; line-height: 1.5; }
table.compare tr.group-row th { padding: 9px 14px; background: #f5f8f7; color: var(--teal); font-size: 12.5px; font-weight: 900; letter-spacing: .02em; }
.diagnosis-section .compare-wrap + p { margin-top: 18px; }

/* 商機分級與計價: one inquiry -> identity confirmed? -> four grades, drawn as a flow so the rule reads at a glance */
.grade-tree { --gt-line: #9fcfc4; margin: 18px 0 26px; display: flex; flex-direction: column; align-items: center; }
.diagnosis-section .gt-node { position: relative; margin: 0 0 30px; padding: 11px 22px; border-radius: 14px; text-align: center; font-weight: 800; line-height: 1.5; }
.gt-node::after { content: ""; position: absolute; left: 50%; bottom: -30px; width: 2px; height: 30px; margin-left: -1px; background: var(--gt-line); }
.diagnosis-section .gt-start { background: #fff; border: 1.5px solid var(--line); color: var(--navy); }
.diagnosis-section .gt-q { background: var(--navy); color: #fff; }
.gt-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 14px; width: 100%; }
.diagnosis-section .gt-no, .diagnosis-section .gt-yes { padding: 14px 16px; border-radius: 16px; }
.diagnosis-section .gt-no { background: #f1f5f6; border: 1.5px dashed #c3d3d8; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.gt-yes { background: #fff; border: 1.5px solid var(--teal); }
.gt-no > b, .gt-yes > b { display: block; margin-bottom: 6px; color: var(--navy); font-size: 14.5px; }
.gt-no > span { display: block; }
.diagnosis-section .gt-grades { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.diagnosis-section .gt-grades li { margin: 0; padding: 10px 10px 12px; border-radius: 12px; background: #f4f9f7; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.diagnosis-section .gt-grades li::before { content: none; }
.gt-grades li > b { display: block; color: var(--teal); font-size: 18px; }
.gt-grades small { display: block; margin: 4px 0 6px; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.55; }
.gt-grades em { display: inline-block; white-space: nowrap; padding: 2px 9px; border-radius: 99px; background: var(--navy); color: var(--lime); font-size: 11.5px; font-style: normal; font-weight: 800; }
.diagnosis-section .gt-rules { width: 100%; margin: 12px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--sky); list-style: none; }
.diagnosis-section .gt-rules li { margin: 4px 0; padding: 0; font-size: 13.5px; }
.diagnosis-section .gt-rules li::before { content: none; }
@media (max-width: 760px) {
  .gt-split { grid-template-columns: 1fr; }
  .diagnosis-section .gt-grades { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 簽約前可以問的問題: question, short answer, where the full rule is - one card each, numbered */
.diagnosis-section .ask-list { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: ask; }
.diagnosis-section .ask-list li { counter-increment: ask; position: relative; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 16px 18px 14px 52px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.diagnosis-section .ask-list li::before { content: counter(ask); position: absolute; left: 16px; top: 15px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 12px; font-weight: 800; }
.ask-list li > strong { color: var(--navy); font-size: 15px; line-height: 1.5; }
.ask-list li > span { color: var(--ink); font-size: 14px; line-height: 1.7; }
.ask-list li > a { margin-top: auto; padding: 4px 0; color: var(--teal); font-size: 13px; font-weight: 700; }
@media (max-width: 760px) { .diagnosis-section .ask-list { grid-template-columns: 1fr; } }

/* 為什麼這樣做: the reason behind a practice, taken from one of our own articles */
.diagnosis-section .why-note { margin: 18px 0; padding: 14px 18px 14px 20px; border-left: 4px solid var(--teal); border-radius: 0 14px 14px 0; background: #eef7f4; }
.why-note > b { display: inline-block; margin-bottom: 4px; padding: 2px 10px; border-radius: 99px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 800; }
.diagnosis-section .why-note p { margin: 4px 0 0; color: var(--ink); font-size: 14.5px; line-height: 1.85; }
.why-note a { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Reading like a book (2026-10-16): the top bar is the chapters (PART 1-5), this header is the sections of the current
   chapter as tabs, and the foot of each page turns the page. The header is a light tab strip, not a second dark banner,
   and the intro's 這一頁有什麼 list is only a teaser before verification. */
.deep-part { margin-top: 36px; padding: 0; border-radius: 0; background: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.deep-part-en { display: inline-block; margin-right: 8px; color: var(--teal); font-size: 12px; letter-spacing: .14em; }
.deep-part-title { display: inline; margin: 0; color: var(--navy); font-size: clamp(18px, 2.2vw, 22px); }
.deep-part ol { gap: 4px 22px; margin-top: 12px; }
.deep-part li a { padding: 8px 0 10px; border-radius: 0; background: none; color: var(--muted); font-size: 14.5px; border-bottom: 3px solid transparent; }
.deep-part li a:hover { background: none; color: var(--navy); }
.deep-part li a.is-current, .deep-part li a.is-current:hover { background: none; color: var(--navy); border-bottom-color: var(--teal); }
.deep-unlocked .deep-summary { display: none; }
@media (max-width: 560px) {
  .deep-part { padding: 0; border-radius: 0; }
  .deep-part ol { flex-wrap: nowrap; overflow-x: auto; gap: 18px; scrollbar-width: none; }
  .deep-part ol::-webkit-scrollbar { display: none; }
  .deep-part li { flex: none; }
}

/* One table of contents, in the top bar (2026-10-16). Wide screens: the seven chapters (named by the question they answer, no PART numbers) sit in the bar, and each opens a
   menu of its pages (hover or click); the chapter and page being read are highlighted. Narrower screens: the same list
   behind the 目錄 button. The chapter header above a page is only a label, and a page ends with one 下一篇. */
.deep-part ol { display: none; }
.deep-part { margin-top: 28px; border-bottom: 0; }
.deep-part-title { font-size: 15px; color: var(--teal); }
.deep-part-en { font-size: 11px; }
.jumpnav-toggle { flex: none; margin-left: auto; white-space: nowrap; }
.diagnosis-jumpnav .jn-title { display: flex; flex-direction: column; align-items: center; padding: 6px 8px; border: 0; border-radius: 10px; background: none; color: var(--navy); font: inherit; font-size: 14.5px; font-weight: 800; line-height: 1.3; white-space: nowrap; cursor: pointer; }
.diagnosis-jumpnav .jn-title small { color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.diagnosis-jumpnav .jn-menu a { display: block; padding: 8px 12px; border: 0; border-radius: 8px; background: none; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.45; white-space: normal; }
.diagnosis-jumpnav .jn-menu a:hover { background: #eef6f2; color: var(--teal); }
.diagnosis-jumpnav .jn-menu a.is-current { background: #e4f5ef; color: var(--navy); font-weight: 800; }
@media (min-width: 1240px) {
  .jumpnav-toggle { display: none !important; }
  .diagnosis-jumpnav:not([hidden]), .diagnosis-jumpnav.open:not([hidden]) { position: static; display: flex; flex: 1; flex-direction: row; justify-content: center; gap: 2px; width: auto; max-height: none; overflow: visible; padding: 0; background: none; border: 0; box-shadow: none; }
  .diagnosis-jumpnav .jn-group { position: relative; display: block; }
  .diagnosis-jumpnav .jn-title:hover, .diagnosis-jumpnav .jn-group.open .jn-title { background: #eef6f2; color: var(--teal); }
  .diagnosis-jumpnav .jn-group.is-current .jn-title { background: var(--navy); color: #fff; }
  .diagnosis-jumpnav .jn-group.is-current .jn-title small { color: var(--lime); }
  .diagnosis-jumpnav .jn-menu { position: absolute; top: calc(100% + 6px); left: 50%; z-index: 40; display: none; width: max-content; min-width: 220px; max-width: 380px; padding: 8px; transform: translateX(-50%); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(7, 28, 44, .14); }
  .diagnosis-jumpnav .jn-menu::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
  .diagnosis-jumpnav .jn-group:hover .jn-menu, .diagnosis-jumpnav .jn-group.open .jn-menu { display: block; }
}
@media (max-width: 1239px) {
  .diagnosis-topbar { flex-wrap: nowrap; }
  .diagnosis-jumpnav, .diagnosis-jumpnav:not(.open) { display: none; }
  .diagnosis-jumpnav.open:not([hidden]) { position: absolute; top: 100%; left: 0; right: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; max-height: calc(100vh - 90px); overflow-y: auto; padding: 16px 20px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(7, 28, 44, .12); }
  .diagnosis-jumpnav .jn-title { align-items: flex-start; padding: 0 0 4px; cursor: default; pointer-events: none; }
  .diagnosis-jumpnav .jn-menu a { padding: 7px 10px; }
}
@media (max-width: 480px) {
  .diagnosis-topbar { gap: 10px; }
  .diagnosis-topbar .map-toggle span { display: none; }
  .diagnosis-topbar .map-toggle { justify-content: center; min-width: 40px; min-height: 40px; }
}

/* 一筆商機的旅程: who does each step */
.journey .jr-who { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 99px; background: #e4f5ef; color: var(--teal); font-size: 11.5px; font-style: normal; font-weight: 800; vertical-align: 2px; }
.journey li.is-you .jr-who { background: var(--lime); color: var(--navy); }
/* 這些標準從哪裡來: the benchmark name column stays narrow, the last column reads as our answer */
.bench-table th[scope="row"] { white-space: nowrap; }
.bench-table th[scope="row"] a { color: var(--navy); font-weight: 800; }
.bench-table td:last-child { color: var(--navy); background: #f1f8f5; }

/* Chapter covers (2026-10-16): a photo strip under each chapter's title, like the homepage; dark gradient so the text reads */
.deep-part.has-cover { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; margin-top: 28px; padding: 24px 30px; border-radius: 18px; background: var(--navy); }
.deep-part.has-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 28, 44, .88) 0%, rgba(7, 28, 44, .62) 45%, rgba(7, 28, 44, .15) 100%); }
.deep-part .deep-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.deep-part.has-cover > :not(.deep-cover) { position: relative; z-index: 1; }
.deep-part.has-cover .deep-part-en { color: var(--lime); font-size: 12px; }
.deep-part.has-cover .deep-part-title { display: block; margin: 4px 0 6px; color: #fff; font-size: clamp(22px, 2.6vw, 30px); }
.deep-part.has-cover .deep-part-sub { max-width: 560px; margin: 0; color: #d6e3e8; font-size: 15px; line-height: 1.7; }
@media (max-width: 560px) { .deep-part.has-cover { min-height: 170px; padding: 18px 20px; border-radius: 14px; } .deep-part.has-cover .deep-part-sub { font-size: 14px; } }
.deep-part[hidden], .deep-part.has-cover[hidden] { display: none; }
.ask-list .ask-src { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.ask-list .ask-src a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* "標題：說明" lists (2026-10-16): one column read top to bottom, in the same language as the grade list - a teal title
   on its own line, the explanation under it, a thin line between items. No card boxes, no second column. */
.diagnosis-section :is(ul, ol).rule-cards { display: block; box-sizing: border-box; width: 100%; max-width: 1040px; margin: 14px 0 6px; padding: 0; list-style: none; border-top: 1px solid var(--line); counter-reset: rc; }
.diagnosis-section .rule-cards > li { position: static; margin: 0; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; color: var(--muted); font-size: 15px; line-height: 1.8; }
.diagnosis-section .rule-cards > li::before { content: none; }
.diagnosis-section .rule-cards > li > strong:first-child { display: block; margin: 0 0 2px; color: var(--teal); font-size: 15.5px; font-weight: 700; line-height: 1.5; }
.diagnosis-section ol.rule-cards > li { counter-increment: rc; padding-left: 0; }
.diagnosis-card .rule-cards > li { background: none; }

/* 標準分工: outbound narrows like a funnel, inbound runs straight (every call starts from an inquiry) */
.flow-funnel { margin: 22px 0 18px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.diagnosis-section .ff-title { margin: 0 0 16px; color: var(--navy); font-size: 18px; font-weight: 800; text-align: center; }
.ff-title em { color: var(--teal); font-style: normal; }
.ff-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ff-col { padding: 16px; border-radius: 14px; background: #f5f7f8; }
.ff-col.is-in { background: #eef7f4; box-shadow: inset 0 0 0 1.5px #bfe3d8; }
.diagnosis-section .ff-head { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--navy); font-weight: 800; }
.ff-tag { padding: 2px 10px; border-radius: 99px; background: #e2e8eb; color: #4b5a62; font-size: 12px; }
.is-in .ff-tag { background: var(--teal); color: #fff; }
.diagnosis-section .ff-bars { display: flex; flex-direction: column; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.diagnosis-section .ff-bars li { position: relative; box-sizing: border-box; width: 100%; margin: 0; padding: 10px 12px; border-radius: 10px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; text-align: center; line-height: 1.4; box-shadow: inset 0 0 0 1px #bfe3d8; }
.diagnosis-section .ff-bars li::before { content: none; }
.diagnosis-section .ff-bars li + li::after { content: "↓"; position: absolute; top: -17px; left: 50%; transform: translateX(-50%); color: var(--teal); font-size: 12px; font-weight: 800; }
.is-out .ff-bars li { background: #dfe6e9; box-shadow: none; }
.is-out .ff-bars li + li::after { color: var(--muted); }
.diagnosis-section .ff-bars li.w1 { width: 100%; } .diagnosis-section .ff-bars li.w2 { width: 78%; } .diagnosis-section .ff-bars li.w3 { width: 54%; } .diagnosis-section .ff-bars li.w4 { width: 34%; }
.is-out .ff-bars li.is-end { background: #f6dcdc; color: #8a2b2b; }
.is-in .ff-bars li.is-end { background: var(--navy); color: var(--lime); box-shadow: none; }
.diagnosis-section .ff-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.flow-funnel figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; text-align: center; }
@media (max-width: 640px) { .ff-cols { grid-template-columns: 1fr; } }

/* Prose paragraphs start two characters in, as in the articles (CLAUDE.md 二、段落首行空兩格): only plain paragraphs
   directly in a topic, a merged sub-section or a text card; notes, quotes, boxes and lists keep a flush start. */
:is(.diagnosis-section, .deep-sub, .diagnosis-card) > p:is(:not([class]), [class="jt"]) { text-indent: 2em; }

/* 交付單與每月總結: the delivery sample as a form - navy header with the grade, a status line, then labelled rows in the
   same row language as the grade list (label left, value right, thin lines). */
.delivery-form { margin: 16px 0 8px; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 10px 28px rgba(7, 28, 44, .06); }
.df-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; background: var(--navy); color: #fff; }
.df-head b { display: block; font-size: 18px; }
.df-head small { color: #a9bcc4; font-size: 12.5px; letter-spacing: .04em; }
.df-grade { flex: none; padding: 4px 12px; border-radius: 99px; background: var(--lime); color: var(--navy); font-size: 13px; font-style: normal; font-weight: 800; }
.diagnosis-section .df-status { margin: 0; padding: 10px 22px; background: #eef7f4; color: var(--teal); font-size: 13px; font-weight: 700; }
.df-sec { padding: 14px 22px 8px; border-top: 1px solid var(--line); }
.diagnosis-section .df-sec h4 { margin: 0 0 6px; color: var(--navy); font-size: 14.5px; }
.df-sec dl { margin: 0; }
.df-sec dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 16px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.df-sec dl > div:last-child { border-bottom: 0; }
.df-sec dt { color: var(--muted); font-size: 13.5px; }
.df-sec dd { margin: 0; color: var(--ink); font-size: 14.5px; line-height: 1.7; }
@media (max-width: 560px) {
  .df-head { padding: 14px 16px; } .df-sec { padding: 12px 16px 6px; } .diagnosis-section .df-status { padding: 10px 16px; }
  .df-sec dl > div { grid-template-columns: 1fr; gap: 0; }
}

/* 免費下載頁（2026-10-20）：實務系列像一排書，依一筆生意的階段排列；封面標系列，卡片連回知識中心的那一類 */
.download-cover { position: relative; }
.kn-link { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--teal); }
.kn-link:hover { text-decoration: underline; }
.download-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 901px) { .download-grid.cols-2 .download-cover img { width: 36%; } }
/* 五本：第一排兩本（和兩欄一樣大），第二排三本（和三欄一樣大） */
@media (min-width: 901px) {
  .download-grid.cols-23 { grid-template-columns: repeat(6, 1fr); }
  .download-grid.cols-23 > .download-card { grid-column: span 2; }
  .download-grid.cols-23 > .download-card:nth-child(-n+2) { grid-column: span 3; }
  .download-grid.cols-23 > .download-card:nth-child(-n+2) .download-cover img { width: 36%; }
}

/* 做法的現場 (PART 5): the opening and the four stories on one page, a short list of the stories on top to jump to
   each; a story starts under a thin line. */
.page-toc.field-toc ol { columns: 1; }
.field-story { margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.diagnosis-section .field-story > h3 { margin: 0 0 6px; font-size: clamp(20px, 2.4vw, 24px); color: var(--navy); }
@media (max-width: 1239px) { .field-story { scroll-margin-top: 100px; } }

/* 深度了解 reads the same on every page (2026-10-21): number, title, 你可能在想, the answer, the content, then 為什麼 and
   notes at the end. The chapter photo opens only a chapter's first page; later pages show the chapter as a small label.
   Eyebrows carry the page number only. Add-on services lose their box (one less kind of box on the page). On a phone,
   tables turn into one card per row instead of scrolling sideways. */
.deep-part.has-cover.is-compact:not([hidden]) { display: block; min-height: 0; margin-top: 28px; padding: 0; border-radius: 0; background: none; overflow: visible; }
.deep-part.has-cover.is-compact::after, .deep-part.is-compact .deep-cover, .deep-part.is-compact .deep-part-sub { display: none; }
.deep-part.has-cover.is-compact .deep-part-title { margin: 0; color: var(--teal); font-size: 14px; }
.gated-mount .diagnosis-section > .eyebrow > span:first-child { display: none; }
.gated-mount .addon-note { margin-top: 28px; padding: 0; border: 0; border-radius: 0; background: none; }
.gated-mount .addon-note p { color: inherit; }
.gated-mount .diagnosis-section h3[id] { scroll-margin-top: 100px; }
@media (max-width: 1239px) { .gated-mount .diagnosis-section h3[id] { scroll-margin-top: 130px; } }
@media (max-width: 640px) {
  .gated-mount .compare-wrap:has(> table.compare) { overflow: visible; border: 0; background: none; }
  .gated-mount .compare-wrap:has(> table.compare)::before { display: none; }
  .gated-mount table.compare { min-width: 0; table-layout: auto; }
  .gated-mount table.compare thead { display: none; }
  .gated-mount table.compare, .gated-mount table.compare tbody, .gated-mount table.compare tfoot, .gated-mount table.compare tr { display: block; width: auto; }
  .gated-mount table.compare tr { margin: 0 0 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
  .gated-mount table.compare tr.group-row { margin: 18px 0 6px; padding: 0; border: 0; background: none; }
  .gated-mount table.compare th, .gated-mount table.compare td { display: block; width: auto !important; padding: 0; border: 0; background: none; white-space: normal; font-size: 14px; line-height: 1.7; }
  .gated-mount table.compare tbody th { margin-bottom: 6px; color: var(--navy); font-size: 15px; }
  .gated-mount table.compare td + td { margin-top: 8px; }
  .gated-mount table.compare td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--muted); font-size: 12px; font-weight: 700; }
}

/* 深度了解 as one book (2026-10-21): seven chapters, one page each, written as continuous text. The palette is the
   site's own and nothing more: navy headings, ink text, muted notes, teal links and accents; backgrounds are white or
   one pale grey (--deep-tint). No yellow, lime or mint panels, no pill badges. The top bar matches every other page. */
:root { --deep-tint: #f3f6f6; }
.diagnosis-topbar { background: rgba(247, 250, 248, .9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(7, 28, 44, .07); }
.diagnosis-jumpnav .jn-title { color: var(--navy); }
@media (min-width: 1240px) {
  .diagnosis-jumpnav .jn-title:hover, .diagnosis-jumpnav .jn-group.open .jn-title { background: none; color: var(--teal); }
  .diagnosis-jumpnav .jn-group.is-current .jn-title { background: none; color: var(--teal); }
  .diagnosis-topbar .map-toggle { gap: 6px; min-width: 0; padding: 7px 14px 7px 11px; border: 1px solid #c9d6da; border-radius: 999px; background: #fff; color: var(--muted); font-size: 14px; font-weight: 600; }
  .diagnosis-topbar .map-toggle:hover, .diagnosis-topbar .map-toggle[aria-expanded="true"] { border-color: var(--teal); color: var(--navy); }
}
.diagnosis-intro .disclaimer { background: var(--deep-tint); border-color: var(--line); }
.deep-next { justify-content: space-between; }

/* chapter text */
.gated-mount .chapter > h3 { margin: 56px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--navy); font-size: clamp(21px, 2.3vw, 25px); line-height: 1.4; }
.gated-mount .chapter > h3:first-of-type { margin-top: 36px; }
.gated-mount .chapter > h4 { margin: 34px 0 10px; color: var(--navy); font-size: 17.5px; line-height: 1.5; }
.gated-mount .chapter > p { line-height: 1.95; }
.gated-mount .chapter > p:first-child { color: var(--ink); font-size: 17px; }
.gated-mount .chapter > .footnote { margin-top: 14px; color: var(--muted); font-size: 13px; text-indent: 0; }
.gated-mount .diagnosis-section .rule-cards > li > strong:first-child { color: var(--navy); }
.gated-mount .page-toc.field-toc { margin: 20px 0 8px; padding: 14px 0 14px 18px; border: 0; border-left: 2px solid var(--line); border-radius: 0; background: none; }
.gated-mount .page-toc.field-toc a { color: var(--teal); font-weight: 700; }

/* tables: one pale header, no tinted bands of other colours */
.gated-mount table.compare thead th, .gated-mount table.compare tr.group-row th, .gated-mount table.compare tfoot th, .gated-mount table.compare tfoot td { background: var(--deep-tint); }
.gated-mount table.compare tr.group-row th { color: var(--navy); }

/* diagrams in the same palette */
.gated-mount .grade-tree { --gt-line: #c9d6da; }
.gated-mount .diagnosis-section .gt-no { background: var(--deep-tint); border-color: #c9d6da; }
.gated-mount .diagnosis-section .gt-grades li { background: var(--deep-tint); }
.gated-mount .gt-grades em { padding: 0; border-radius: 0; background: none; color: var(--teal); font-size: 12px; }
.gated-mount .diagnosis-section .gt-rules { background: var(--deep-tint); }
.gated-mount .tag-now, .gated-mount .tag-later { padding: 0; border-radius: 0; background: none; color: var(--teal); }
.gated-mount .journey { border-left-color: var(--line); }
.gated-mount .journey li.is-you::before { background: var(--teal); border-color: var(--teal); }
.gated-mount .journey .jr-who, .gated-mount .journey li.is-you .jr-who { padding: 0; border-radius: 0; background: none; color: var(--muted); }
.gated-mount .journey li.is-you .jr-who { color: var(--teal); }
.gated-mount .division-flow small { padding: 0; border-radius: 0; background: none; color: var(--muted); }
.gated-mount .division-flow li.is-client small { background: none; color: var(--teal); }
.gated-mount .ff-col { background: var(--deep-tint); }
.gated-mount .ff-col.is-in { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.gated-mount .ff-tag { padding: 0; border-radius: 0; background: none; color: var(--muted); }
.gated-mount .is-out .ff-bars li, .gated-mount .is-out .ff-bars li.is-end { background: #e7ecec; color: var(--muted); }
.gated-mount .is-in .ff-bars li { box-shadow: inset 0 0 0 1px var(--line); }
.gated-mount .is-in .ff-bars li.is-end { background: var(--navy); color: #fff; }
.gated-mount .df-grade { border: 1px solid rgba(255, 255, 255, .45); background: none; color: #fff; }
.gated-mount .sg-compare { background: var(--deep-tint); }
.gated-mount .sg-compare .sg-tag, .gated-mount .sg-compare .is-geo .sg-tag { background: none; padding: 0; color: var(--teal); }
.gated-mount .sg-compare .sg-ask { background: var(--deep-tint); }
.gated-mount .sg-compare .sg-result, .gated-mount .sg-compare .sg-answer { border: 1px solid #c9d6da; background: #fff; }
.gated-mount .sg-compare .sg-link { color: var(--navy); }
.gated-mount .sg-compare .sg-cite { background: var(--navy); color: #fff; }
.gated-mount .sg-compare .sg-diff { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
.gated-mount .sg-compare .sg-diff b { color: var(--navy); }
@media (min-width: 1240px) and (max-width: 1439px) { .diagnosis-topbar .member-phone { display: none; } }
.deep-next .button.deep-prev { margin-right: auto; border: 1px solid #c9d6da; background: #fff; color: var(--navy); box-shadow: none; }
.deep-next .button.deep-prev:hover { border-color: var(--teal); color: var(--teal); }
.gated-mount .is-out .ff-bars li, .gated-mount .is-out .ff-bars li.is-end { color: #44535b; }
/* sections numbered 一、二、三: the same number in the heading and in the chapter's list of sections */
.gated-mount .page-toc.field-toc ol { padding-left: 0; list-style: none; columns: 1; }
.gated-mount .page-toc.field-toc li { margin: 6px 0; }
.gated-mount .page-toc.field-toc .sec-num { color: var(--muted); font-weight: 700; }
.gated-mount .chapter > h3 .sec-num { color: var(--navy); }
/* one text style: the explanation under a list item starts like every paragraph, two characters in */
.gated-mount .diagnosis-section .rule-cards > li > .rc-desc, .gated-mount .journey li > span { display: block; text-indent: 2em; }

/* tap targets of at least 24px on phones (site-health): the company links in table rows and 對應知識中心 → */
.gated-mount .compare th[scope="row"] a { display: inline-block; padding: 2px 0; }
.kn-link { padding: 3px 0; }
/* 走過的路｜實記: one quiet photo under each story's title, before the note (2026-10-22) */
.gated-mount .chapter > .field-photo { display: block; width: 100%; height: auto; aspect-ratio: 8 / 3; object-fit: cover; margin: 4px 0 18px; border-radius: 14px; background: var(--deep-tint); }
@media (max-width: 560px) { .gated-mount .chapter > .field-photo { border-radius: 10px; margin-bottom: 14px; } }

/* Rule cards, numbered (founder, 2026-10-22: a heading with loose text under it read like a heap of words).
   Every item gets a teal 01/02 marker in its own column, the title in navy and the description beneath it;
   a navy rule opens the list and hairlines separate the items. */
.gated-mount .diagnosis-section .rule-cards { counter-reset: rc; margin: 22px 0 14px; border-top: 2px solid var(--navy); }
.gated-mount .diagnosis-section .rule-cards > li { counter-increment: rc; display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 4px; align-items: baseline; padding: 20px 0 19px; }
.gated-mount .diagnosis-section .rule-cards > li::before { content: counter(rc, decimal-leading-zero); position: static; display: block; width: auto; height: auto; border-radius: 0; background: none; grid-row: 1 / span 2; color: var(--teal); font-size: 26px; font-weight: 300; line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.gated-mount .diagnosis-section .rule-cards > li > strong:first-child { grid-column: 2; margin: 0 0 6px; color: var(--navy); font-size: 17px; line-height: 1.5; }
.gated-mount .diagnosis-section .rule-cards > li > .rc-desc { grid-column: 2; color: var(--muted); font-size: 15.5px; line-height: 1.85; }
@media (max-width: 640px) {
  /* phones: the number sits beside the title only; the description takes the full width (a narrower column stretched its lines) */
  .gated-mount .diagnosis-section .rule-cards > li { grid-template-columns: 38px minmax(0, 1fr); padding: 17px 0 16px; }
  .gated-mount .diagnosis-section .rule-cards > li::before { grid-row: 1; font-size: 21px; }
  .gated-mount .diagnosis-section .rule-cards > li > strong:first-child { font-size: 16px; }
  .gated-mount .diagnosis-section .rule-cards > li > .rc-desc { grid-column: 1 / -1; }
}

/* 深度了解 in the clean layout (founder, 2026-10-30: the deep dive read cluttered; it keeps the key specifics but shows
   them the way the homepage and service pages do). Each 節: heading with white space above, one lead sentence, then
   cards (.ws-why), rows (.dv-rows / .ws-cards) or a table (.pr-table), a ※ note, and at most one highlighted line. */
.gated-mount .chapter > .dv-open { margin: 8px 0 0; font-size: 17px; line-height: 1.9; color: var(--ink); text-indent: 0; }
.gated-mount .chapter > h3:has(~ .dv-lead) { margin: 96px 0 16px; padding-top: 0; border-top: 0; font-size: clamp(22px, 2.6vw, 28px); }
.gated-mount .chapter > .dv-open + h3, .gated-mount .chapter > .deep-toc + h3 { margin-top: 64px; }
.gated-mount .chapter > .dv-lead { margin: 0 0 32px; font-size: 16px; line-height: 1.9; color: var(--muted); text-indent: 0; }
.gated-mount .chapter > .ws-why { margin-top: 0; }
.gated-mount .chapter > .ws-two { grid-template-columns: repeat(2, 1fr); }
.gated-mount .chapter > .pg-note { max-width: none; margin: 28px 0 0; font-size: 14px; text-indent: 0; }
.gated-mount .chapter > .dv-point { margin: 28px 0 0; padding: 18px 22px; border-radius: 14px; background: #f4f8f7; color: var(--navy); font-weight: 700; line-height: 1.85; text-indent: 0; }
.gated-mount .chapter .ws-why p, .gated-mount .chapter .pl-row p, .gated-mount .chapter .pr-table td { color: var(--ink); max-width: none; }
.gated-mount .chapter .pl-row p.pr-text { margin: 0; padding-top: 9px; font-size: 15px; line-height: 1.85; }
.gated-mount .chapter .ws-cards .pl-row p.pr-text { padding-top: 0; }
.gated-mount .chapter .pr-table-wrap { margin: 0; }
@media (max-width: 760px) {
  .gated-mount .chapter > h3:has(~ .dv-lead) { margin-top: 64px; }
  .gated-mount .chapter > .ws-two { grid-template-columns: 1fr; }
  .gated-mount .chapter .pl-row p.pr-text { padding-top: 0; }
}

/* 深度了解, four chapters (2026-10-30): white chapter heading with its photo under it (no dark overlay), the chapter's
   section list once, then the sections. The top bar lists chapters only. */
.gated-mount .deep-part.dv-head, .gated-mount .deep-part.dv-head.is-compact:not([hidden]) { display: block; min-height: 0; margin-top: 40px; padding: 0; border-radius: 0; background: none; overflow: visible; border: 0; }
.gated-mount .deep-part.dv-head::after { content: none; }
.gated-mount .deep-part.dv-head .deep-part-title { display: block; margin: 0 0 12px; color: var(--navy); font-size: clamp(30px, 4vw, 44px); line-height: 1.25; }
.gated-mount .deep-part.dv-head .deep-part-sub { display: block; max-width: 760px; margin: 0 0 32px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.gated-mount .deep-part.dv-head .deep-cover { position: static; display: block; width: 100%; height: auto; aspect-ratio: 5 / 2; object-fit: cover; border-radius: 18px; }
.gated-mount .deep-part.dv-head ol { display: none; }
.gated-mount .deep-part.dv-head + .deep-page .chapter, .gated-mount .deep-page .chapter { padding-top: 40px; }
.gated-mount .chapter > .page-toc + h3 { margin-top: 72px; }
.gated-mount .chapter > h4 { margin: 64px 0 12px; color: var(--navy); font-size: 19px; line-height: 1.5; }
.gated-mount .chapter > .dv-sublead { margin: 0 0 24px; font-size: 15.5px; line-height: 1.9; color: var(--muted); text-indent: 0; }
.gated-mount .chapter > .dv-example { margin: 28px 0 0; padding: 18px 22px; border-left: 3px solid var(--teal); background: #f6faf9; border-radius: 0 14px 14px 0; color: var(--ink); font-size: 15px; line-height: 1.9; text-indent: 0; }
.gated-mount .chapter > .dv-example b { display: block; margin-bottom: 4px; color: var(--teal); font-size: 13px; letter-spacing: .04em; }
.gated-mount .chapter > .dv-figure { margin: 0 0 32px; }
.gated-mount .chapter > .dv-figure img { display: block; width: 100%; height: auto; border-radius: 16px; }
.gated-mount .chapter > .dv-photo img { aspect-ratio: 5 / 2; object-fit: cover; }
.gated-mount .chapter > .dv-figure figcaption { margin-top: 10px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.gated-mount .chapter > .dv-alias { display: block; height: 0; overflow: hidden; scroll-margin-top: 120px; }
.gated-mount .chapter .dv-roles small { display: block; margin-bottom: 6px; color: var(--teal); font-size: 12.5px; font-weight: 800; letter-spacing: .04em; }
.gated-mount .chapter .dv-roles article.is-client { border-top-color: var(--teal); }
.gated-mount .chapter .dv-price p b { display: block; margin-bottom: 4px; color: var(--navy); font-size: 26px; font-weight: 800; }
.gated-mount .chapter > .pl-stages { margin: 0; }
.gated-mount .chapter .pr-table th, .gated-mount .chapter .pr-table td { max-width: none; }
.gated-mount .chapter .pr-table td small, .gated-mount .chapter .pr-table th small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.7; font-weight: 400; }
.gated-mount .chapter .dv-time tbody th { width: 16%; white-space: nowrap; }
.gated-mount .chapter > .ws-cards + .dv-point, .gated-mount .chapter > .pr-table-wrap + .dv-point { margin-top: 28px; }
.gated-mount .chapter > .dv-sources { font-size: 12.5px; }
.diagnosis-jumpnav a.jn-title { text-decoration: none; }
@media (min-width: 981px) { .diagnosis-jumpnav a.jn-title { padding: 6px 14px; } }
@media (max-width: 980px) { .diagnosis-jumpnav a.jn-title { pointer-events: auto; cursor: pointer; padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--line); } .diagnosis-jumpnav .jn-group.is-current a.jn-title { color: var(--teal); } }
@media (max-width: 760px) {
  .gated-mount .deep-part.dv-head .deep-part-sub { font-size: 15.5px; margin-bottom: 24px; }
  .gated-mount .deep-part.dv-head .deep-cover, .gated-mount .chapter > .dv-photo img { aspect-ratio: 16 / 9; border-radius: 14px; }
  .gated-mount .chapter > h4 { margin-top: 48px; }
  .gated-mount .chapter .dv-time tbody th { width: auto; white-space: normal; }
}
.gated-mount .deep-part.dv-head[hidden] { display: none; }
@media (min-width: 981px) {
  .diagnosis-jumpnav:not([hidden]) { gap: 6px; }
  .diagnosis-jumpnav .jn-group a.jn-title { display: block; padding: 8px 16px; border: 0; border-radius: 10px; color: var(--navy); font-size: 15px; font-weight: 800; white-space: nowrap; }
  .diagnosis-jumpnav .jn-group a.jn-title:hover { background: #eef6f2; color: var(--teal); }
  .diagnosis-jumpnav .jn-group.is-current a.jn-title { background: none; color: var(--teal); }
}
/* 登出 as a power icon (2026-10-30): the number and the button crowded the chapter names; the box asks before logging out */
.diagnosis-topbar .member-menu { position: relative; flex: none; }
.diagnosis-topbar .member-menu[hidden] { display: none; }
.diagnosis-topbar .member-power { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); cursor: pointer; }
.diagnosis-topbar .member-power:hover, .diagnosis-topbar .member-power[aria-expanded="true"] { border-color: var(--teal); color: var(--teal); }
.diagnosis-topbar .member-pop { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: 240px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 12px 32px rgba(7, 28, 44, .14); text-align: left; }
.diagnosis-topbar .member-pop[hidden] { display: none; }
.diagnosis-topbar .member-pop p { margin: 0; }
.diagnosis-topbar .member-pop-id { color: var(--muted); font-size: 13px; }
.diagnosis-topbar .member-pop .member-phone { display: inline; color: var(--muted); font-size: 13px; }
.diagnosis-topbar .member-pop-q { margin-top: 6px !important; color: var(--navy); font-size: 15.5px; font-weight: 800; }
.diagnosis-topbar .member-pop-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.diagnosis-topbar .member-pop-actions .button { min-height: 38px; padding: 0 16px; font-size: 14px; }
@media (min-width: 981px) { .diagnosis-jumpnav:not([hidden]), .diagnosis-jumpnav.open:not([hidden]) { justify-content: flex-end; margin-left: auto; } }
/* blocks moved from the front pages (2026-10-30): their section heading is an h4, their own titles h5 */
.gated-mount .chapter > h5, .gated-mount .chapter > .pr-sub { margin: 40px 0 12px; color: var(--navy); font-size: 17px; line-height: 1.5; }
.gated-mount .chapter :is(.pl-row, .ws-why, .ws-scope, .pr-insights) h5 { margin: 0 0 8px; color: var(--navy); font-size: 16px; line-height: 1.5; }
.gated-mount .chapter .pl-row h5 { margin: 0; padding-top: 9px; }
.gated-mount .chapter .ws-cards .pl-row h5 { padding-top: 0; font-size: 17px; }
.gated-mount .chapter .pl-deliver h5 { margin: 0; font-size: 20px; line-height: 1.5; color: var(--navy); }
.gated-mount .chapter .pl-panel-title { margin: 40px 0 8px; font-size: 18px; color: var(--navy); }
.gated-mount .chapter .pl-panel-title span { margin-left: 10px; font-size: 14px; color: var(--teal); }
.gated-mount .chapter > .pg-lead, .gated-mount .chapter > .pr-sub-lead { margin: 0 0 24px; font-size: 15.5px; line-height: 1.9; color: var(--muted); max-width: none; text-indent: 0; }
.gated-mount .chapter > .pr-side-title { margin: 0 0 12px; color: var(--teal); font-weight: 700; }
.gated-mount .chapter > .pr-phase { margin: 64px 0 8px; }
.gated-mount .chapter > .pr-phase + h4 { margin-top: 0; }
.gated-mount .chapter .pr-you ul { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
.gated-mount .chapter > .ws-hero, .gated-mount .chapter > .ws-gallery { margin: 0 0 24px; }
.gated-mount .chapter > .pr-table-wrap, .gated-mount .chapter > .ws-cards, .gated-mount .chapter > .ws-why, .gated-mount .chapter > .ws-scope, .gated-mount .chapter > .pr-grades, .gated-mount .chapter > .pr-insights, .gated-mount .chapter > .pl-stages { margin-top: 0; }
.gated-mount .chapter > .pl-tabs .pl-panel:first-child .pl-panel-title { margin-top: 0; }
@media (max-width: 760px) { .gated-mount .chapter .pr-you ul { grid-template-columns: 1fr; } }
/* 深度了解 tables (founder, 2026-10-30: columns of uneven width, headings not centred): the row-label column is narrow,
   the text columns share the rest equally, and the column headings sit centred above them. */
.gated-mount .chapter .pr-table { table-layout: fixed; }
.gated-mount .chapter .pr-table thead th { text-align: center; }
.gated-mount .chapter .pr-table thead th:first-child { width: 18%; }
.gated-mount .chapter .pr-table.dv-bench thead th:first-child { width: 16%; }
@media (max-width: 760px) { .gated-mount .chapter .pr-table { table-layout: auto; } .gated-mount .chapter .pr-table thead th:first-child { width: auto; } }

/* 深度了解 in one card style (founder, 2026-10-30: the moved pieces looked thrown in; design them). Headings step down
   in three sizes - 節 (h3), topic (h4), sub-topic (h5) - every "title + text" group is the homepage card grid, and
   leads, notes and tables have one size each. */
.gated-mount .chapter > h3:has(~ *) { margin: 104px 0 16px; padding-top: 0; border-top: 0; font-size: clamp(24px, 2.8vw, 30px); line-height: 1.4; }
.gated-mount .chapter > .page-toc + h3 { margin-top: 72px; }
.gated-mount .chapter > h4 { margin: 72px 0 14px; color: var(--navy); font-size: 21px; line-height: 1.5; }
.gated-mount .chapter > h3 + h4, .gated-mount .chapter > h3 + .pr-phase { margin-top: 32px; }
.gated-mount .chapter > h5, .gated-mount .chapter > .dv-group { margin: 48px 0 12px; color: var(--navy); font-size: 17.5px; line-height: 1.5; }
.gated-mount .chapter > h4 + h5, .gated-mount .chapter > .dv-sublead + .dv-group { margin-top: 24px; }
.gated-mount .chapter > .dv-group span { margin-left: 10px; color: var(--teal); font-size: 14px; }
.gated-mount .chapter > :is(.dv-lead, .dv-sublead, .pg-lead, .pr-sub-lead) { max-width: none; margin: 0 0 32px; color: var(--muted); font-size: 16px; line-height: 1.9; text-indent: 0; }
.gated-mount .chapter .home-three { gap: 28px 32px; margin: 0; }
.gated-mount .chapter .home-three + .home-three, .gated-mount .chapter .home-three + .pr-table-wrap, .gated-mount .chapter .pr-table-wrap + .home-three { margin-top: 32px; }
.gated-mount .chapter .home-three article { padding-top: 20px; border-top: 2px solid var(--navy); }
.gated-mount .chapter .home-three :is(h4, h5) { margin: 0; color: var(--navy); font-size: 17.5px; line-height: 1.5; }
.gated-mount .chapter .home-three .home-key { margin: 8px 0 0; color: var(--teal); font-size: 14.5px; font-weight: 700; line-height: 1.6; }
.gated-mount .chapter .home-three article > .home-key:first-child { margin: 0 0 6px; }
.gated-mount .chapter .home-three p:not(.home-key) { max-width: none; margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.85; text-indent: 0; }
.gated-mount .chapter .home-three .pr-num { display: block; margin-bottom: 2px; color: var(--teal); font-size: 13.5px; }
.gated-mount .chapter .home-three .home-ticks { margin-top: 14px; }
.gated-mount .chapter .home-three .home-ticks li { font-size: 14.5px; }
.gated-mount .chapter .home-three .pr-insight li { font-size: 14.5px; }
.gated-mount .chapter .home-three article.is-client, .gated-mount .chapter .home-three article.is-you { border-top-color: var(--teal); }
.gated-mount .chapter .home-three.is-four { grid-template-columns: repeat(4, 1fr); }
.gated-mount .chapter > .pg-note, .gated-mount .chapter > .dv-point, .gated-mount .chapter > .dv-example { margin-top: 32px; }
.gated-mount .chapter > .pr-you { margin: 32px 0 0; }
.gated-mount .chapter > .pr-phase { margin: 72px 0 10px; }
@media (max-width: 960px) { .gated-mount .chapter .home-three.is-four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .gated-mount .chapter > h3:has(~ *) { margin-top: 72px; }
  .gated-mount .chapter > h4 { margin-top: 56px; }
  .gated-mount .chapter .home-three, .gated-mount .chapter .home-three.is-two, .gated-mount .chapter .home-three.is-four { grid-template-columns: 1fr; gap: 28px; }
}
.gated-mount .chapter .dv-plan h6 { margin: 22px 0 0; color: var(--navy); font-size: 15.5px; line-height: 1.5; }
.gated-mount .chapter .dv-plan .home-key { margin-bottom: 4px; }
.gated-mount .chapter .dv-plan .home-ticks { margin-top: 8px; }
/* cards that follow a picture, a table, an example or a note keep the same distance as everywhere else */
.gated-mount .chapter > :is(figure, .pr-table-wrap, .dv-example, .pg-note, .dv-point, .pr-you, .home-three, .grade-tree) + :is(.home-three, .dv-sublead, .pr-table-wrap) { margin-top: 32px; }
.gated-mount .chapter > .pg-note + .pg-note { margin-top: 12px; }
/* chapter menus in the top bar again (2026-10-30): hover shows the chapter's sections; on phones 目錄 lists them under each chapter */
@media (min-width: 981px) {
  .diagnosis-jumpnav .jn-group { position: relative; }
  .diagnosis-jumpnav .jn-group .jn-menu { position: absolute; top: calc(100% + 6px); left: 50%; z-index: 40; display: none; width: max-content; min-width: 220px; max-width: 360px; padding: 8px; transform: translateX(-50%); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(7, 28, 44, .12); }
  .diagnosis-jumpnav .jn-group .jn-menu::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
  .diagnosis-jumpnav .jn-group:hover .jn-menu, .diagnosis-jumpnav .jn-group:focus-within .jn-menu { display: block; }
  .diagnosis-jumpnav .jn-menu a { display: block; padding: 8px 12px; border: 0; border-radius: 8px; background: none; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.45; white-space: normal; }
  .diagnosis-jumpnav .jn-menu a:hover { background: #eef6f2; color: var(--teal); }
}
@media (max-width: 980px) {
  .diagnosis-jumpnav .jn-menu { display: flex; flex-direction: column; padding: 4px 0 8px 12px; }
  .diagnosis-jumpnav .jn-menu a { padding: 7px 0; border: 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }
}
@media (max-width: 980px) { .diagnosis-jumpnav .jn-group.is-current .jn-title, .diagnosis-jumpnav .jn-group.is-current a.jn-title { background: none; color: var(--teal); } }
/* 方案的依據: one card per benchmark - what they do, how customers respond, the result, and the same method at Tshutlink */
.gated-mount .chapter .dv-bench-cards { gap: 40px 48px; }
.gated-mount .chapter .dv-bench-cards h5 a { color: var(--navy); text-decoration: none; }
.gated-mount .chapter .dv-bench-cards h5 a:hover { color: var(--teal); }
.gated-mount .chapter .dv-chain { margin: 14px 0 0; }
.gated-mount .chapter .dv-chain dt { margin: 14px 0 2px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.gated-mount .chapter .dv-chain dt:first-child { margin-top: 0; }
.gated-mount .chapter .dv-chain dd { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.85; }
.gated-mount .chapter .dv-chain dt.is-ours { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--teal); }
.gated-mount .chapter .dv-chain dd.is-ours { color: var(--navy); font-weight: 600; }

/* 免費下載 in the white style (2026-10-30): no English labels, no mint cover panels, pills or boxed cards.
   Each book is its cover, a small grey type, the title, the grey description and a smaller outline button.
   The photo stays: this page is the one hub that keeps it. */
.downloads-page .diagnosis-section { padding-top: 84px; }
.downloads-page .pg-h1 { margin: 0; line-height: 1.3; }
.downloads-page .pg-h1-sub { margin: 10px 0 0; }
.downloads-page .policy-intro { margin: 24px 0 0; max-width: none; font-size: 17px; line-height: 1.85; color: var(--muted); }
.downloads-page .scene-photo { margin-top: 40px; }
.downloads-page .res-group { margin-top: 104px; }
.downloads-page .res-head h2 { margin: 0; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.45; color: var(--navy); }
.downloads-page .download-grid { gap: 48px 32px; margin-top: 36px; }
.downloads-page .download-card { border: 0; border-top: 2px solid var(--navy); border-radius: 0; background: none; overflow: visible; }
.downloads-page .download-card.is-requested { border-top-color: var(--teal); box-shadow: none; }
.downloads-page .download-cover { padding: 28px 0; background: #f5f7f8; border-bottom: 0; }
.downloads-page .download-body { padding: 20px 0 0; }
.downloads-page .download-type { padding: 0; border-radius: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.downloads-page .download-body h3 { margin: 6px 0 0; font-size: 19px; line-height: 1.5; }
.downloads-page .download-body p { margin-top: 10px; font-size: 15px; line-height: 1.85; }
.downloads-page .kn-link { margin-top: 10px; font-size: 14px; }
.downloads-page .download-card .button { align-self: flex-start; min-height: 42px; margin: 20px 0 0; padding: 8px 22px; border: 1px solid var(--navy); background: #fff; color: var(--navy); box-shadow: none; font-size: 15px; }
.downloads-page .download-card .button:hover { background: var(--navy); color: #fff; }
@media (max-width: 760px) { .downloads-page .res-group { margin-top: 72px; } }
/* where you are and the way out (founder, 2026-10-31): ｜深度了解 in light grey beside the wordmark, and ← 回到首頁 where
   全站搜尋 was (全站導覽 moved to the floating panel) */
.diagnosis-topbar .dv-where { flex: none; margin-left: -18px; color: #9aa9b1; font-size: 15px; font-weight: 700; white-space: nowrap; }
.diagnosis-topbar .dv-back { flex: none; color: var(--teal); font-size: 14px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.diagnosis-topbar .dv-back:hover { color: var(--navy); }
@media (max-width: 760px) {
  .diagnosis-topbar { gap: 8px; }
  .diagnosis-topbar .dv-where { margin-left: -4px; font-size: 13px; }
  .diagnosis-topbar .dv-back { font-size: 13px; }
  .diagnosis-topbar .dv-back-l { display: none; }   /* phones: ← 首頁 */
}
/* the narrowest phones: the menu button keeps only its icon, so ｜深度了解 still fits */
@media (max-width: 370px) { .diagnosis-topbar .jn-l { display: none; } }
/* the verification box, tighter (founder, 2026-10-31: a long form makes people think there is much to fill in): fields
   closer together, error lines take no room until they say something, no empty status line */
.gate-dialog .field { margin: 10px 0; }
.gate-dialog label { margin-bottom: 4px; }
.gate-dialog input:not([type="checkbox"]), .gate-dialog select { height: 42px; }
.gate-dialog .error { min-height: 0; }
.gate-dialog .error:empty { display: none; }
.gate-dialog .gate-consent { margin: 12px 0; }
.gate-dialog .gate-status:empty { display: none; }
.gate-dialog .text-link { margin-top: 16px; }
