/* The fetched and the standalone document share this exact reading layout. */
body.method-page, body:has(#docs-view:not([hidden])) #top .ranking { background: #fbfaf5; color: #183e40; }
body:has(#docs-view:not([hidden])) #top .ranking-inner {
  width: min(1200px, calc(100% - clamp(64px, 10vw, 144px))); max-width: none; margin-inline: auto; padding: 0;
}
#docs-view:has(.method-sheet) > .inline-docs-header { display: none; }
#top .method-sheet, #top #docs-view .method-sheet {
  --method-ink: #104c52;
  --method-body: #314d4d;
  --method-rule: #c8d5cc;
  --method-type: 'EvalDock Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  display: block; padding: 0 0 60px; margin: auto; color: var(--method-ink); font: 430 16px/1.8 var(--method-type);
}
.method-page #top .method-sheet { width: min(1200px, calc(100% - clamp(64px, 10vw, 144px))); }
#top .method-sheet :is(h1,h2,p,ol,dl,dd,figure) { margin: 0; }
#top .method-sheet h1, #top .method-sheet h2 { color: var(--method-ink); letter-spacing: -.045em; }
#top .method-sheet .method-heading {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(228px, .45fr);
  align-items: center; gap: clamp(35px, 7vw, 110px);
  margin: 0; padding: clamp(42px, 5vw, 72px) 0 38px;
  border-bottom: 2px solid var(--method-ink);
}
#top .method-sheet .method-heading h1 { font: 740 clamp(44px, 5.8vw, 76px)/1.12 var(--method-type); }
#top .method-sheet .method-heading-copy p { max-width: 44em; margin: 17px 0 0; color: var(--method-body); font: 460 clamp(16px, 1.5vw, 20px)/1.7 var(--method-type); }
#top .method-sheet .method-mix { align-self: stretch; display: flex; flex-direction: column; justify-content: center; background: var(--method-ink); color: #fcf8ed; padding: 22px clamp(21px, 2.4vw, 34px); border-radius: 4px 18px 4px 4px; }
.method-mix figcaption { font-size: 14px; font-weight: 620; }
.method-ratio { display: flex; gap: 11px; align-items: center; line-height: 1; margin: 7px 0 12px; }
.method-ratio b { font-size: clamp(38px, 4vw, 56px); letter-spacing: -.08em; font-weight: 740; }
.method-ratio span { opacity: .7; font-size: 24px; }
.method-scale { display: grid; gap: 3px; grid-template-columns: 3fr 2fr; height: 7px; }
.method-scale i:first-child { background: #f45b58; }
.method-scale i:last-child { background: #a9d3c6; }
.method-scale-key { display: flex; justify-content: space-between; margin-top: 5px; font-size: 12px; }
.method-reading { display: grid; grid-template-columns: minmax(155px, .29fr) minmax(0, 1fr); gap: clamp(30px, 5.8vw, 90px); align-items: start; margin-top: 35px; }
#top .method-sheet .method-menu { position: sticky; top: calc(var(--site-header-height, 90px) + 20px); display: grid; border-left: 3px solid #a9c4b7; align-self: start; }
#top .method-sheet a { color: var(--method-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; font-weight: 600; }
#top .method-sheet a:hover { color: #1c736d; }
#top .method-sheet :is(a,summary):focus-visible { outline: 3px solid #c64f43; outline-offset: 3px; }
#top .method-sheet .method-menu a { display: block; padding: 9px 16px; font-size: 15px; text-decoration: none; }
#top .method-sheet .method-menu a:hover { background: #e7eee5; }
#top .method-section { min-width: 0; padding: 29px 0; border-bottom: 1px solid var(--method-rule); scroll-margin-top: calc(var(--site-header-height, 90px) + 20px); }
#top .method-section:first-child { padding-top: 0; }
#top .method-section h2 { margin: 0 0 20px; font: 710 clamp(25px, 2.2vw, 34px)/1.35 var(--method-type); }
#top .method-section p, #top .method-section dd, #top .method-section li { color: var(--method-body); }
#top .method-section p + p { margin-top: 12px; }
#top .method-sheet .method-boards, #top .method-sheet .method-principles { display: grid; }
#top .method-boards > div, #top .method-principles > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-top: 1px solid var(--method-rule); }
#top .method-sheet dt { color: var(--method-ink); font-weight: 720; }
#top .method-principles dd a { display: block; width: fit-content; margin: 4px 0 0; font-size: 13px; }
#top .method-sheet .method-details { margin-top: 16px; padding: 0 17px; background: #eaf0e6; border-radius: 5px; }
#top .method-sheet .method-details[open] { padding-bottom: 17px; }
#top .method-sheet .method-details summary { padding: 13px 0; color: var(--method-ink); cursor: pointer; font-size: 15px; font-weight: 680; }
#top .method-sheet .method-details p { font-size: 15px; }
#top .method-sheet .method-details > a { display: inline-block; margin-top: 9px; font-size: 14px; }
#top .method-sheet .method-formula { padding: 9px 12px; border-left: 3px solid #f45b58; background: #fbfaf5; overflow-wrap: anywhere; }
#top .method-sheet .method-steps { padding-left: 1.5em; }
#top .method-sheet .method-steps li { padding-left: 3px; margin-bottom: 9px; }
#top .method-sheet .method-steps li::marker { color: var(--method-ink); font-weight: 700; }
#top .method-sheet code { background: #e1eae0; color: var(--method-ink); font: 500 .88em/1.5 ui-monospace, Menlo, Consolas, monospace; padding: .06em .28em; overflow-wrap: anywhere; }
#top .method-sheet .method-sources { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 18px 0 0; }
@media (max-width: 800px) {
  .method-reading { grid-template-columns: 1fr; gap: 27px; margin-top: 22px; }
  #top .method-sheet .method-menu { position: static; display: flex; flex-wrap: wrap; gap: 4px 10px; border-left: 0; }
  #top .method-sheet .method-menu a { padding: 3px 0; font-size: 14px; margin-right: 12px; text-decoration: underline; }
}
@media (max-width: 600px) {
  body:has(#docs-view:not([hidden])) #top .ranking-inner, .method-page #top .method-sheet { width: calc(100% - 38px); }
  #top .method-sheet .method-heading { grid-template-columns: 1fr; gap: 19px; padding: 28px 0 24px; }
  #top .method-sheet .method-heading h1 { font-size: 41px; }
  #top .method-sheet .method-heading-copy p { margin-top: 10px; font-size: 16px; }
  #top .method-sheet .method-mix { display: grid; grid-template-columns: 1fr minmax(120px, .85fr); column-gap: 16px; padding: 14px 17px; }
  .method-mix figcaption { grid-column: 1; grid-row: 1; align-self: end; }
  .method-ratio { grid-column: 1; grid-row: 2; margin: 3px 0 0; }
  .method-ratio b { font-size: 33px; }
  .method-ratio span { font-size: 17px; }
  .method-scale { grid-column: 2; grid-row: 1; align-self: end; }
  .method-scale-key { grid-column: 2; grid-row: 2; }
  #top .method-section { padding: 24px 0; }
  #top .method-section h2 { margin-bottom: 13px; }
  #top .method-boards > div, #top .method-principles > div { grid-template-columns: 1fr; gap: 3px; }
  #top .method-sheet .method-menu a { margin-right: 3px; }
}
