
/* ---- shared whitepaper base, required on this page too ---- */
.wd{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  font-size:16pt;line-height:1.9;letter-spacing:.01em;color:#1A1A1A;background:#fff;
  -webkit-font-smoothing:antialiased;
}
.wd *{box-sizing:border-box}
.wd-inner{max-width:900px;margin:0 auto;padding:0 20px 48px}

.wd-hero{background:#C7000C;color:#fff;padding:48px 34px 40px;margin:0 0 40px}
.wd-kicker{font-size:15px;letter-spacing:.22em;color:rgba(255,255,255,.82);font-weight:600;margin-bottom:14px}
.wd-title{font-size:38px;line-height:1.28;margin:0 0 16px;font-weight:800;letter-spacing:-.01em;color:#fff}
.wd p.wd-sub{font-size:18px;line-height:1.8;color:rgba(255,255,255,.94)!important;margin:0 0 18px;font-weight:400}
.wd-meta{font-size:15px;color:rgba(255,255,255,.75);letter-spacing:.02em}

.wd h2{
  font-size:26px;line-height:1.4;font-weight:800;margin:46px 0 20px;padding-left:16px;
  border-left:5px solid #C7000C;color:#111;
}
.wd h2:first-of-type{margin-top:0}
.wd .gl-sub{display:block;font-size:15px;font-weight:500;color:#8A8A8A;letter-spacing:.06em;margin-top:6px}
.wd p{margin:0 0 18px;font-size:17px;line-height:1.95;color:#333}

.gl-toc{background:#F7F7F8;border-radius:6px;padding:24px 26px;margin:0 0 40px}
.gl-toc-h{font-size:14px;letter-spacing:.16em;font-weight:700;color:#C7000C;margin-bottom:14px}
.gl-toc ol{list-style:none;margin:0;padding:0;counter-reset:toc}
.gl-toc li{counter-increment:toc;border-bottom:1px solid #E4E4E6}
.gl-toc li:last-child{border-bottom:0}
.gl-toc a{display:flex;justify-content:space-between;align-items:center;padding:12px 0;color:#222;
  text-decoration:none;font-size:17px;font-weight:600}
.gl-toc a:hover{color:#C7000C}
.gl-cnt{font-size:14px;color:#9A9A9A;font-weight:500}

/* K3 mesh book — loads together with the whitepaper base styles */

.wd.bk p.lead{font-size:18px;line-height:1.95;color:#3A3A3A;border-left:4px solid #C7000C;padding:2px 0 2px 18px;margin:0 0 34px}

.wd.bk h3{font-size:20px;font-weight:700;margin:34px 0 12px;color:#111}
.wd.bk h3::before{content:"";display:inline-block;width:8px;height:8px;background:#C7000C;border-radius:2px;margin-right:10px;vertical-align:middle}

/* figures */
.wd.bk .bk-fig{margin:26px 0 30px;max-width:620px}
.wd.bk .bk-fig img{width:100%;height:auto;display:block;border:1px solid #ECECEE;border-radius:4px;background:#fff}
.wd.bk .bk-fig figcaption{font-size:14px;line-height:1.7;color:#6B6B6E;margin-top:10px;padding-left:2px;border-left:2px solid #E8B4B7;padding-left:12px}

/* formula blocks */
.wd.bk .fm{background:#F7F7F8;border-left:4px solid #1A1A1A;border-radius:0 4px 4px 0;
  padding:18px 22px;margin:22px 0 26px;font-family:ui-monospace,Menlo,Consolas,"Courier New",monospace}
.wd.bk .fm-line{font-size:15px;line-height:2;color:#1A1A1A;white-space:pre-wrap;word-break:break-word}

/* tables */
.wd.bk table.tb{width:100%;border-collapse:collapse;margin:26px 0 30px;font-size:15px;line-height:1.65}
.wd.bk table.tb caption{caption-side:top;text-align:left;font-size:14px;color:#C7000C;
  font-weight:700;letter-spacing:.01em;padding-bottom:10px}
.wd.bk table.tb th{background:#F5F5F6;text-align:left;font-weight:700;padding:11px 12px;
  border-bottom:2px solid #1A1A1A;white-space:nowrap;font-size:14px}
.wd.bk table.tb td{padding:11px 12px;border-bottom:1px solid #EDEDEF;vertical-align:top}
.wd.bk table.tb tr:last-child td{border-bottom:1px solid #1A1A1A}
.wd.bk table.tb td:first-child{font-weight:600}

/* inline emphasis blocks */
.wd.bk p.warn{background:#FBF2F3;border-left:4px solid #C7000C;padding:16px 20px;
  margin:26px 0;font-size:16px;line-height:1.9;color:#3A2A2B;border-radius:0 4px 4px 0}
.wd.bk p.warn b{color:#C7000C}

/* checklist */
.wd.bk .chk{margin:22px 0 30px;border-top:1px solid #EDEDEF}
.wd.bk .chk div{padding:12px 0 12px 4px;border-bottom:1px solid #EDEDEF;font-size:16px;line-height:1.7}
.wd.bk .chk div b{color:#111}

@media (max-width:640px){
  .wd.bk p.lead{font-size:16px;padding-left:14px}
  .wd.bk .fm{padding:14px 14px}
  .wd.bk .fm-line{font-size:13px;line-height:1.9}
  .wd.bk table.tb{font-size:13px}
  .wd.bk table.tb th,.wd.bk table.tb td{padding:9px 8px}
  .wd.bk table.tb th{white-space:normal}
  .wd.bk .bk-fig{max-width:100%}
  .wd.bk .bk-fig figcaption{font-size:13px}
}
