:root {
  color-scheme: light dark;
  --bg: #fdfdfc;
  --surface: #fdfdfc;
  --text: #222b31;
  --muted: #58646d;
  --line: #d7dde1;
  --accent: #075582;
  --tint: #f2f5f7;
  --focus: #0675b6;
  --serif: "Songti SC", "Noto Serif CJK SC", "STSong", "SimSun", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.8 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, select, input { font: inherit; }
button, a, select, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
button, summary { cursor: pointer; }
button { color: inherit; }
p { margin: 0 0 16px; }
h1, h2, h3 { margin: 0; line-height: 1.4; font-weight: 650; }
h1, h2 { font-family: var(--serif); }
h2 { font-size: 28px; }
h3 { font-size: 18px; }
b, strong { font-weight: 650; }
.container { width: min(1140px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 12px; transform: translateY(-160%); z-index: 2; background: var(--surface); padding: 10px 18px; }
.skip:focus { transform: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 98px; border-bottom: 3px solid var(--accent); }
.brand { display: flex; gap: 22px; align-items: center; color: var(--text); text-decoration: none; }
.publisher-name { font: 700 46px/.9 Georgia, serif; letter-spacing: -.07em; color: var(--accent); }
.brand-sub { font: 14px/1.4 var(--serif); border-left: 1px solid var(--line); padding-left: 22px; }
.site-header nav { display: flex; gap: 28px; font-size: 13px; }
.site-header nav a { color: var(--text); text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 262px; gap: 64px; padding-top: 35px; padding-bottom: 35px; align-items: start; }
.article-type { color: var(--muted); font-size: 12px; margin-bottom: 17px; }
.article-type span { color: var(--accent); margin-left: 17px; border-left: 1px solid var(--line); padding-left: 17px; }
.hero h1 { font-size: clamp(32px, 3.6vw, 43px); letter-spacing: -.035em; line-height: 1.4; margin-bottom: 13px; max-width: 740px; }
.english-title { font: 20px/1.5 Georgia, serif; color: var(--muted); margin-bottom: 22px; }
.article-byline { font-size: 13px; color: var(--accent); margin-bottom: 7px; }
.article-meta { font-size: 11px; color: var(--muted); margin-bottom: 26px; }
.article-meta span { display: inline-block; margin-left: 17px; }
.abstract { border-top: 1px solid var(--line); padding-top: 22px; }
.abstract h2 { font-size: 23px; margin-bottom: 10px; }
.abstract p { font: 16px/1.95 var(--serif); text-align: justify; margin-bottom: 13px; }
.abstract sup { font: 11px var(--sans); margin-left: 3px; }
.keywords { font-size: 12px; color: var(--muted); margin-top: 18px; }
.keywords strong { color: var(--text); margin-right: 12px; }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; padding: 10px 17px; border: 1px solid transparent; border-radius: 2px; line-height: 1.4; text-decoration: none; font-size: 13px; font-weight: 550; white-space: nowrap; }
.button:hover { text-decoration: none; filter: brightness(1.12); }
.primary { background: var(--accent); color: #f9fbfd; }
.secondary { border-color: var(--accent); color: var(--accent); background: transparent; }
.article-link { font-size: 13px; margin-left: 5px; }
.scope { border-left: 1px solid var(--line); padding-left: 25px; margin-top: 8px; font-size: 12px; }
.scope h2 { font: 600 16px var(--sans); margin-bottom: 18px; }
.paper-preview { margin: 0 0 20px; }
.paper-preview img { width: 164px; height: auto; border: 1px solid var(--line); display: block; }
.paper-preview figcaption { font-size: 10px; color: var(--muted); margin-top: 6px; }
.scope dl { margin: 20px 0 17px; }
.scope dl>div { margin-bottom: 14px; }
.scope dt { color: var(--muted); font-size: 11px; margin-bottom: 3px; }
.scope dd { margin: 0; }
.scope a { font-size: 12px; }
.boundary { background: var(--tint); border-left: 3px solid var(--accent); padding: 17px 22px; display: grid; grid-template-columns: 160px 1fr; gap: 20px; font-size: 12px; }
.boundary strong { font-size: 13px; }
.boundary p { margin: 0; color: var(--muted); }
.calculator-section { padding-top: 48px; padding-bottom: 48px; }
.section-heading { margin-bottom: 26px; }
.section-heading h2 { margin-bottom: 12px; }
.section-heading>p:last-child { max-width: 720px; color: var(--muted); font-size: 13px; margin-bottom: 0; }
.calculator-layout { display: grid; grid-template-columns: minmax(0, 1fr) 262px; gap: 64px; align-items: start; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 23px 24px; }
.field label { display: block; font-size: 13px; font-weight: 550; margin-bottom: 7px; }
.field select { width: 100%; min-height: 45px; padding: 9px 28px 9px 11px; color: var(--text); border: 1px solid #a7b3bc; border-radius: 2px; background: var(--surface); font-size: 13px; }
.hint { font-size: 11px; color: var(--muted); line-height: 1.7; margin: 7px 0 0; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; margin-top: 25px; cursor: pointer; }
.consent input { width: 18px; height: 18px; flex-shrink: 0; margin: 3px 0; accent-color: var(--accent); }
.form-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 23px; }
.text-button { background: none; border: 0; padding: 10px 0; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.error { font-size: 13px; color: #a42828; margin-top: 12px; }
.calculator-guide { border-left: 1px solid var(--line); padding-left: 25px; color: var(--muted); font-size: 12px; }
.calculator-guide h3 { color: var(--text); font: 600 15px var(--sans); margin-bottom: 15px; }
.calculator-guide ul { padding-left: 17px; margin: 0 0 20px; }
.calculator-guide li { margin-bottom: 12px; }
.calculator-guide a { font-size: 12px; }
.result { margin-top: 32px; padding: 27px; background: var(--tint); border-top: 2px solid var(--accent); }
.result-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.eyebrow { font-size: 11px; color: var(--muted); margin-bottom: 7px; }
.result h3 { font-family: var(--serif); font-size: 23px; }
.probabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 25px 0 22px; }
.probability { display: flex; flex-direction: column; gap: 8px; }
.probability span { font-size: 12px; color: var(--muted); }
.probability strong { font: 500 clamp(29px, 4vw, 40px)/1.3 Georgia, serif; color: var(--accent); }
.result-note { max-width: 820px; font-size: 12px; color: var(--muted); }
.result details { font-size: 12px; }
.result details ul { columns: 2; padding-left: 19px; }
#score { font-family: Consolas, monospace; margin-left: 8px; }
.research-section { padding: 40px 0 8px; border-top: 1px solid var(--line); }
.research-layout { display: grid; grid-template-columns: 262px minmax(0, 1fr); gap: 64px; }
.research-layout .section-heading h2 { font-size: 24px; }
.research-caveat { font-size: 12px!important; margin-top: 20px; }
.documents { display: grid; gap: 28px; }
.document { padding: 0 0 27px; border-bottom: 1px solid var(--line); }
.document-type { font-size: 11px; color: var(--muted); }
.document h3 { font: 600 19px/1.65 var(--serif); margin: 10px 0 12px; }
.document p { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.document .doi { font: 11px/1.8 Consolas, monospace; overflow-wrap: anywhere; }
.document-links { display: flex; gap: 24px; margin-top: 14px; }
.document a { font-size: 12px; }
.copyright { font-size: 12px; margin: 15px 0; }
.copyright>div { display: grid; grid-template-columns: 76px 1fr; gap: 8px; margin-top: 7px; }
.copyright dt { color: var(--muted); }
.copyright dd { margin: 0; }
.downloads { padding-top: 43px; padding-bottom: 27px; }
.download-list { border-top: 1px solid var(--line); }
.download-list article { padding: 24px 0; display: flex; gap: 44px; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.download-list article>div { max-width: 740px; }
.download-list h3 { font: 600 19px var(--serif); margin-bottom: 12px; }
.download-list p { font-size: 12px; color: var(--muted); margin-bottom: 0; }
.download-list p.hint { font-size: 11px; }
.download-check { font-size: 11px; text-align: right; margin-top: 12px; }
.faq { padding-top: 12px; padding-bottom: 46px; }
.faq h2 { font-size: 25px; margin-bottom: 20px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-size: 13px; font-weight: 550; }
.faq details p { font: 15px/1.9 var(--serif); color: var(--muted); margin: 13px 0 6px; max-width: 830px; }
summary { list-style-position: outside; margin-left: 18px; padding-left: 4px; }
footer.container { display: flex; gap: 30px; justify-content: space-between; padding-top: 23px; padding-bottom: 29px; border-top: 2px solid var(--accent); font-size: 11px; color: var(--muted); }
footer strong { font-size: 12px; color: var(--text); }
footer p { margin: 5px 0 0; }
.method { max-width: 850px; padding-block: 45px; }
.method h1 { font-size: 34px; margin: 27px 0; }
.method h2 { font-size: 23px; margin: 30px 0 15px; }
.method p { font: 16px/1.9 var(--serif); }
.method pre { padding: 18px; background: var(--tint); font-size: 12px; overflow: auto; }
[hidden] { display: none!important; }
@media(prefers-color-scheme:dark) {
  :root { --bg: #172127; --surface: #172127; --text: #e8edef; --muted: #b3c0c8; --line: #40515b; --accent: #9cc8e1; --tint: #20313c; --focus: #9bd1ff; }
  .primary { background: #236789; color: #f5faff; }
  .error { color: #ffa9a9; }
}
@media(max-width:980px) {
  .container { width: calc(100% - 48px); }
  .hero, .calculator-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 32px; }
  .hero h1 { font-size: 35px; }
  .research-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
  .scope, .calculator-guide { padding-left: 20px; }
  .boundary { grid-template-columns: 1fr; gap: 5px; }
}
@media(max-width:700px) {
  .container { width: calc(100% - 36px); }
  .site-header { min-height: 80px; gap: 15px; flex-wrap: wrap; padding-block: 17px 12px; }
  .brand { gap: 16px; }
  .publisher-name { font-size: 36px; }
  .brand-sub { padding-left: 16px; font-size: 12px; }
  .site-header nav { width: 100%; gap: 22px; font-size: 12px; padding-top: 4px; }
  .hero { grid-template-columns: 1fr; gap: 27px; padding-top: 26px; padding-bottom: 28px; }
  .hero h1 { font-size: 32px; line-height: 1.45; }
  .english-title { font-size: 18px; margin-bottom: 19px; }
  .article-byline { font-size: 11px; }
  .article-meta { font-size: 10px; margin-bottom: 20px; }
  .article-meta span { margin-left: 0; display: block; margin-top: 3px; }
  .abstract { padding-top: 18px; }
  .abstract p { font-size: 15px; line-height: 1.95; }
  .keywords { font-size: 11px; }
  .actions { gap: 10px; margin-top: 22px; }
  .button { font-size: 12px; padding: 10px 13px; }
  .article-link { font-size: 12px; margin: 0; }
  .scope { padding: 19px; margin: 0; background: var(--tint); border: 0; display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 0 21px; }
  .scope h2 { grid-column: 1/-1; font-size: 14px; margin-bottom: 15px; }
  .paper-preview { grid-row: 2/4; margin: 0; }
  .paper-preview img { width: 100%; }
  .paper-preview figcaption { font-size: 8px; }
  .scope dl { margin: 0; }
  .scope dl>div { margin-bottom: 9px; }
  .scope dt { font-size: 10px; }
  .scope dd { font-size: 11px; }
  .scope>a { grid-column: 2; font-size: 10px; }
  .boundary { padding: 15px 17px; font-size: 11px; }
  .boundary strong { font-size: 12px; }
  .calculator-section { padding-block: 33px; }
  h2 { font-size: 25px; }
  .section-heading { margin-bottom: 22px; }
  .section-heading>p:last-child { font-size: 12px; }
  .calculator-layout { grid-template-columns: 1fr; gap: 23px; }
  .fields { grid-template-columns: 1fr; gap: 20px; }
  .field select { font-size: 16px; min-height: 47px; }
  .calculator-guide { order: -1; padding: 0 0 0 15px; font-size: 11px; }
  .calculator-guide h3 { font-size: 14px; margin-bottom: 10px; }
  .calculator-guide ul { margin-bottom: 12px; }
  .calculator-guide li { margin-bottom: 7px; }
  .calculator-guide p { margin-bottom: 9px; }
  .consent { font-size: 12px; }
  .result { padding: 22px 16px; }
  .result-heading { align-items: flex-start; }
  .result h3 { font-size: 20px; }
  .result .button { min-height: 36px; padding: 8px 11px; font-size: 11px; }
  .probabilities { gap: 12px; }
  .probability span { font-size: 10px; }
  .probability strong { font-size: 28px; }
  .result details ul { columns: 1; }
  .research-section { padding-top: 30px; }
  .research-layout { grid-template-columns: 1fr; gap: 24px; }
  .research-layout .section-heading { margin: 0; }
  .research-caveat { margin-top: 13px; }
  .document h3 { font-size: 18px; }
  .downloads { padding-top: 30px; padding-bottom: 18px; }
  .download-list article { display: block; padding: 22px 0; }
  .download-list .button { margin-top: 16px; }
  .download-check { text-align: left; }
  .faq { padding-bottom: 33px; }
  .faq h2 { font-size: 23px; }
  .faq summary { font-size: 12px; }
  .faq details p { font-size: 14px; }
  footer.container { display: block; padding-top: 20px; }
  footer>p { margin-top: 17px; }
  .method h1 { font-size: 28px; }
}
@media print {
  body { background: white; color: #182e40; }
  .site-header, .hero, .boundary, .calculator-layout, .section-heading, .research-section, .downloads, .faq, footer, .skip, #print, .result details, .result>.hint { display: none!important; }
  .container { width: 100%; margin: 0; }
  .calculator-section { padding: 0; }
  .result { display: block!important; margin: 0; border: 1px solid #aab4bf; padding: 25px; background: white; }
  .result[hidden] { display: none!important; }
  .probabilities { margin: 30px 0; }
  .probability strong { color: #174c68; font-size: 30px; }
  .result details, .result details ul { display: block!important; columns: 1; }
  .result-note, .probability span { color: #334d62; }
  .result .eyebrow { display: block; }
  .result::after { content: "卵巢透明细胞癌生存概率计算器 / https://www.panor.tech/occc/ / 原软件 V1.0 公式，应用 1.1.0 / 仅供研究与医患沟通参考"; display: block; font-size: 10px; margin-top: 25px; }
}
