/* Desktop type roles: serif for literary headings and sources, sans for controls. */
@media(min-width:1001px){
  :root{--font-ui:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif;--font-reading:"Songti SC","STSong","Noto Serif CJK SC","Source Han Serif SC","SimSun",serif;--font:var(--font-ui);--type-body:16px;--type-control:14px;--type-meta:13px;--type-section:24px;--type-display:36px}
  body{font-family:var(--font-ui);font-size:var(--type-body);line-height:1.75}
  button,input,textarea,select{font-family:var(--font-ui)}
  .home-page .platform-brand strong,.home-page .hero-heading h1,.home-page .systems-heading h2,.home-page .system-top h3,.result-brand strong,.result-heading h1,.unified-open strong,.evidence-title,.original-excerpt,.kb-brand strong,.library-heading h1,.reader-title,.reader-body,.selected-preview p,.kb-hit span:last-child{font-family:var(--font-reading)}
  .home-page .platform-brand strong{font-size:24px;font-weight:600;line-height:1.45;letter-spacing:.5px;color:#233b4d}
  .home-page .platform-brand span{font-size:12px;line-height:1.6;letter-spacing:.4px;margin-top:3px;color:#526779}
  .home-page .hero-heading h1{font-size:var(--type-display);font-weight:600;line-height:1.5;letter-spacing:1.2px;color:#233b4d}
  .home-page .hero-heading p{font-size:16px;line-height:1.8;letter-spacing:.3px;color:#405b70}
  .home-page .account-nav button{font-size:var(--type-control);font-weight:500;line-height:1.6}
  .home-page .ask-title{font-size:var(--type-control);font-weight:600;line-height:1.6;letter-spacing:.2px;color:#294d66}
  .home-page .scope-control,.home-page .selected-scope{font-size:var(--type-control);font-weight:500;line-height:1.6;color:#3d5c72}
  .home-page #scope-count{font-size:12px;line-height:1.6}
  .home-page #question{font-size:20px;font-weight:400;line-height:1.5;letter-spacing:.1px;padding-top:8px;padding-bottom:8px;color:#243f54;caret-color:#284e68}
  .home-page #question::placeholder{font-size:18px;line-height:1.65;font-weight:400;color:#52697b;opacity:1}
  .home-page .personal-actions button{font-size:var(--type-control);font-weight:500;line-height:1.6;color:#3d5d74}
  .home-page .search-submit{font-size:15px;font-weight:600;line-height:1.5;padding-top:8px;padding-bottom:8px}
  .home-page .suggestions>span{font-size:var(--type-meta);color:#3f5c73}
  .home-page .suggestions button{font-size:var(--type-control);line-height:1.6;font-weight:500;color:#38566e}
  .home-page .systems-heading h2{font-size:26px;font-weight:600;line-height:1.5;letter-spacing:.7px;color:#263f53}
  .home-page .system-top h3{font-size:var(--type-section);font-weight:600;line-height:1.5;letter-spacing:.4px;color:#263f53;overflow-wrap:anywhere}
  .home-page .system-panel>p{font-size:15px;line-height:1.8;color:#486276}
  .home-page .system-links button{font-size:var(--type-control);font-weight:400;line-height:1.8;color:#3c5d76}
  .home-page .system-enter{font-size:var(--type-control);font-weight:500;line-height:1.7}
  .home-page .site-footer,.home-page .site-footer button,.home-page .site-footer p{font-size:var(--type-meta);line-height:1.8;color:#526a7d}
  .result-brand strong,.kb-brand strong{font-weight:600;letter-spacing:.4px}
  .result-heading h1,.library-heading h1,.reader-title{font-weight:600;letter-spacing:.4px;line-height:1.6}
  .unified-open strong,.evidence-title{font-weight:600;letter-spacing:.2px}
  .unified-open strong{font-size:22px}
  .unified-meta,.unified-origin,.source-topline,.evidence-subtitle,.source-details,.result-heading>p,.results-toolbar select,.results-toolbar>div>button,.composer-context,.composer-context button,.composer-bottom>span,.range-footnote p,.back-home{font-size:var(--type-meta);line-height:1.8;color:#4d6578}
  .unified-snippet{font-size:18px;line-height:1.85;font-weight:400;color:#405b70}
  .original-excerpt{font-weight:400;line-height:2;letter-spacing:.3px}
  .source-check strong{font-size:var(--type-meta);line-height:1.8}
  .provenance-fields{font-size:var(--type-meta);line-height:1.9;color:#465f73}
  .followup-composer textarea,.kb-ask-form textarea{font-size:var(--type-body);line-height:1.7}
  .library-summary,.library-description-details,.reader-subtitle,.data-note,.joint-personal small,.platform-source,.reader-origin dl{font-size:var(--type-meta);line-height:1.85;color:#4d6578}
  .documents-table td,.documents-table th,.document-status,.material-toolbar select,.selection-bar{font-size:var(--type-meta)}
  .document-open strong{font-size:var(--type-control);font-weight:500;line-height:1.9}
  .document-open small,.document-source,.source-warning{font-size:12px;line-height:1.85}
  .reader-body{font-size:20px;font-weight:400;line-height:2.05;letter-spacing:.2px}
  .kb-hit span:last-child{font-size:18px;font-weight:400;line-height:1.95}
  .kb-turn p{font-size:var(--type-control);line-height:1.9}
  .kb-hit strong{font-size:var(--type-control);font-weight:500}
  .reader-actions button,.reader-origin-top button,.kb-ask-form .primary,.followup-composer .primary{font-size:var(--type-control);font-weight:500}
  .home-page .site-footer{padding-inline:24px}
  .history-turn>summary>.icon{flex:0 0 14px}
  .joint-scope{max-height:min(440px,46dvh)}
}
