/* 《重新定义公司：谷歌是如何运营的》2026-10-16 改版：对应 Artifact Temp/261016-重新定义公司-Artifact/how-google-works.html（概览卡＋70/20/10 百点图＋正文内目录＋两部分六主题＋全书摘要）。
   全部限定在 .how-google-works-notes 内；小程序样式见 Temp/261016-读书改版-网站/how-google-works-mp.py。 */
.how-google-works-notes {
  --hgw-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  /* 70/20/10 三档：核心业务（沉稳）、新兴产品（中间）、疯狂构想（亮色） */
  --hgw-tier-70: #34507a;
  --hgw-tier-20: var(--slate);
  --hgw-tier-10: var(--green);
  max-width: 44em;
  font-size: 16.5px;
  line-height: 1.9;
}
.how-google-works-notes p { margin-bottom: 1.1em; }
.how-google-works-notes strong { color: var(--white); font-weight: 700; }

/* ---------- 全书概览（右侧百点图：7 行 / 2 行 / 1 行） ---------- */
.how-google-works-notes .hgw-overview {
  display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 28px; align-items: center;
  padding: 26px 28px; background: var(--light-navy); border: 1px solid var(--lightest-navy); border-radius: 12px;
}
.how-google-works-notes .hgw-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 500; letter-spacing: .18em; color: var(--green); }
.how-google-works-notes .hgw-overview-title { margin: 0 0 14px; font-size: 21px; font-weight: 900; line-height: 1.45; color: var(--white); }
.how-google-works-notes .hgw-overview-lead { margin: 0; color: var(--white); }

.how-google-works-notes .hgw-hundred { width: 150px; display: grid; gap: 6px; }
.how-google-works-notes .hgw-hundred i {
  display: block; width: 150px;
  background-image: radial-gradient(circle, var(--c) 0 3.6px, transparent 4.1px); background-size: 15px 15px;
}
.how-google-works-notes .hgw-hundred i:nth-child(1) { --c: var(--hgw-tier-70); height: 105px; }
.how-google-works-notes .hgw-hundred i:nth-child(2) { --c: var(--hgw-tier-20); height: 30px; }
.how-google-works-notes .hgw-hundred i:nth-child(3) { --c: var(--hgw-tier-10); height: 15px; animation: hgw-glow 4s ease-in-out infinite; }
.how-google-works-notes .hgw-hundred::after {
  content: "70 / 20 / 10"; display: block; margin-top: 2px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--slate);
}
@keyframes hgw-glow { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .how-google-works-notes .hgw-hundred i:nth-child(3) { animation: none; } }

/* ---------- 正文内目录 ---------- */
.how-google-works-notes .hgw-toc { display: grid; gap: 12px; margin: 28px 0 0; padding: 18px 0 2px; border-top: 1px solid var(--lightest-navy); }
.how-google-works-notes .hgw-toc-group { display: grid; grid-template-columns: 12.5em repeat(3, minmax(0, 1fr)); gap: 8px; align-items: center; }
.how-google-works-notes .hgw-toc-label { margin: 0; font-size: 13px; letter-spacing: .1em; color: var(--slate); line-height: 1.4; }
.how-google-works-notes .hgw-toc-item {
  display: flex; gap: 8px; align-items: baseline; padding: 7px 10px; border: 1px solid var(--lightest-navy);
  border-radius: 6px; font-size: 14px; line-height: 1.4; color: var(--light-slate); transition: border-color .15s, color .15s;
}
.how-google-works-notes .hgw-toc-no { font-family: var(--mono); font-size: 12px; color: var(--green); }
.how-google-works-notes .hgw-toc-item:hover,
.how-google-works-notes .hgw-toc-item:focus-visible { border-color: var(--green); color: var(--white); outline: none; }

/* ---------- 部分 ---------- */
.how-google-works-notes .hgw-part { margin-top: 64px; }
.how-google-works-notes .hgw-part-head {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  padding-bottom: 12px; margin: 0 0 8px; border-bottom: 1px solid var(--lightest-navy);
}
.how-google-works-notes .hgw-part-no { margin: 0; font-size: 13px; letter-spacing: .18em; color: var(--green); }
.how-google-works-notes .hgw-part-title { margin: 0; font-size: 25px; font-weight: 900; line-height: 1.4; color: var(--white); }
.how-google-works-notes .hgw-part-en { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--slate); }

/* ---------- 主题 ---------- */
.how-google-works-notes .hgw-topic { margin-top: 40px; scroll-margin-top: 24px; }
.how-google-works-notes .hgw-topic-head { margin: 0 0 12px; }
.how-google-works-notes .hgw-topic-tag { margin: 0 0 2px; font-size: 13px; letter-spacing: .16em; color: var(--slate); line-height: 1.6; }
.how-google-works-notes .hgw-topic-no { margin-right: 10px; font-family: var(--mono); letter-spacing: 0; color: var(--green); }
.how-google-works-notes .hgw-topic-title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--white); }
.how-google-works-notes .hgw-intro { color: var(--lightest-slate); }
.how-google-works-notes .hgw-subhead { margin: 20px 0 2px; font-size: 13.5px; font-weight: 500; letter-spacing: .12em; color: var(--green); }

.how-google-works-notes .hgw-points { display: grid; margin: 4px 0 8px; }
.how-google-works-notes .hgw-point {
  display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 14px;
  padding: 11px 0; border-top: 1px dashed var(--lightest-navy);
}
.how-google-works-notes .hgw-point:first-child { border-top: 0; }
.how-google-works-notes .hgw-term { font-weight: 700; color: var(--white); }
.how-google-works-notes .hgw-desc { line-height: 1.8; }
.how-google-works-notes .hgw-case { display: inline-block; margin-left: .3em; font-style: normal; font-weight: 500; color: var(--green); }

/* 评估标准：三条依次满足 */
.how-google-works-notes .hgw-criteria { list-style: none; counter-reset: hgw-c; display: grid; gap: 6px; margin-top: 2px; }
.how-google-works-notes .hgw-criterion { counter-increment: hgw-c; display: grid; grid-template-columns: 1.8em minmax(0, 1fr); }
.how-google-works-notes .hgw-criterion::before {
  content: counter(hgw-c); width: 1.4em; height: 1.4em; margin-top: .3em; border-radius: 50%;
  border: 1px solid var(--green); color: var(--green); font-size: 12.5px; line-height: 1.35; text-align: center;
  font-variant-numeric: tabular-nums;
}

/* 资源配置：与题图同比例的横条 */
.how-google-works-notes .hgw-split { display: flex; gap: 3px; height: 10px; margin: 10px 0; }
.how-google-works-notes .hgw-split i { display: block; border-radius: 2px; }
.how-google-works-notes .hgw-split i:nth-child(1) { flex: 70 1 0; background: var(--hgw-tier-70); }
.how-google-works-notes .hgw-split i:nth-child(2) { flex: 20 1 0; background: var(--hgw-tier-20); }
.how-google-works-notes .hgw-split i:nth-child(3) { flex: 10 1 0; background: var(--hgw-tier-10); }
.how-google-works-notes .hgw-tiers { list-style: none; display: grid; gap: 4px; }
.how-google-works-notes .hgw-tier { display: grid; grid-template-columns: 4.2em minmax(0, 1fr); align-items: baseline; }
.how-google-works-notes .hgw-tier strong { position: relative; padding-left: 16px; font-variant-numeric: tabular-nums; }
.how-google-works-notes .hgw-tier strong::before {
  content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 2px; background: var(--t);
}
.how-google-works-notes .hgw-tier:nth-child(1) { --t: var(--hgw-tier-70); }
.how-google-works-notes .hgw-tier:nth-child(2) { --t: var(--hgw-tier-20); }
.how-google-works-notes .hgw-tier:nth-child(3) { --t: var(--hgw-tier-10); }

/* ---------- 全书摘要 ---------- */
.how-google-works-notes .hgw-takeaways {
  margin-top: 64px; padding: 28px 28px 10px; scroll-margin-top: 24px;
  border: 1px solid var(--green); border-radius: 12px; background: var(--green-tint);
}
.how-google-works-notes .hgw-lessons { list-style: none; counter-reset: hgw-l; display: grid; }
.how-google-works-notes .hgw-lesson {
  counter-increment: hgw-l; display: grid; grid-template-columns: 2.4em minmax(0, 1fr);
  padding: 14px 0; border-top: 1px dashed var(--lightest-navy);
}
.how-google-works-notes .hgw-lesson:first-child { border-top: 0; }
.how-google-works-notes .hgw-lesson::before {
  content: counter(hgw-l); font-family: var(--hgw-serif); font-weight: 900; font-size: 24px; line-height: 1.3; color: var(--green);
}
.how-google-works-notes .hgw-lesson-text { margin: 0; }

@media (max-width: 900px) {
  .how-google-works-notes .hgw-overview { grid-template-columns: minmax(0, 1fr); }
  .how-google-works-notes .hgw-hundred { display: none; }
  .how-google-works-notes .hgw-toc-group { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .how-google-works-notes .hgw-toc-label { grid-column: 1 / -1; }
  .how-google-works-notes .hgw-topic,
  .how-google-works-notes .hgw-takeaways { scroll-margin-top: 68px; }
}
@media (max-width: 600px) {
  .how-google-works-notes { font-size: 16px; line-height: 1.85; }
  .how-google-works-notes .hgw-overview { padding: 20px 18px; }
  .how-google-works-notes .hgw-overview-title { font-size: 19px; }
  .how-google-works-notes .hgw-toc-group { gap: 6px; }
  .how-google-works-notes .hgw-toc-item { gap: 5px; padding: 7px 6px; font-size: 13px; }
  .how-google-works-notes .hgw-part { margin-top: 52px; }
  .how-google-works-notes .hgw-part-title { font-size: 22px; }
  .how-google-works-notes .hgw-topic-title { font-size: 18px; }
  .how-google-works-notes .hgw-point { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .how-google-works-notes .hgw-takeaways { margin-top: 52px; padding: 20px 18px 8px; }
  .how-google-works-notes .hgw-lesson { grid-template-columns: 1.8em minmax(0, 1fr); }
}
