/* Original presentation layer, Apache-2.0. Canonical Latin Modern resources. */
@font-face{font-family:'Latin Modern';src:url('../../assets/fonts/latin-modern/lmroman10-regular.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Latin Modern';src:url('../../assets/fonts/latin-modern/lmroman12-bold.otf') format('opentype');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Latin Modern';src:url('../../assets/fonts/latin-modern/lmroman10-italic.otf') format('opentype');font-weight:400;font-style:italic;font-display:swap}
:root{font-family:'Latin Modern',serif;font-size:17px;line-height:1.5;font-synthesis:none}
body,button,input,select,textarea{font-family:'Latin Modern',serif}
button,input,select{font-size:16px;font-weight:400;line-height:1.35}
label{font-size:15px;font-weight:400;line-height:1.4}
label:has(>.site-math){display:block}label:has(>.site-math)>input,label:has(>.site-math)>select{display:block;margin-top:5px}
h3{font-size:18px;font-weight:700}h4{font-weight:700}
.small,.graph-hint,.matrix-actions span,.section-head p,.selection-totals{font-size:15px;line-height:1.5}
.titles p,.header-links a{font-size:15px}.history button{font-size:15px}
.tabs button{font-size:16px}.tabs button span{font-size:12px}
.intro>div>p:last-child{font-size:17px}.eyebrow{font-size:13px;font-weight:700;letter-spacing:.8px}
.pair-controls label{font-size:14px}.card-head span{font-size:14px}
.legend{font-size:14px}.selection-count span,#selection-status{font-size:16px}
.edge-chip{font-size:15px;font-weight:400;min-height:40px;line-height:1.5}
.selection-card .button-row button{font-size:14px}.notice{font-size:16px;line-height:1.5}
.gallery button{font-weight:400}.gallery .gallery-name{font-size:15px;font-weight:700}
.gallery .edge-caption{font-size:14px;white-space:normal;line-height:1.8}
.certificate p,.cut-details{font-size:16px}.certificate .certificate-badge{font-size:14px}
.cut-details summary,.notes summary{font-size:16px;font-weight:700}
table{font-size:15px}th{font-size:14px}td button{font-size:14px}
.form-error,.metric small,.metric span{font-size:14px}.metric strong{font-weight:400}
.region-controls button{font-size:14px}.inspector p,.proof-card>p:not(.eyebrow){font-size:16px}
.construction-bottom p,.construction-bottom li{font-size:16px;line-height:1.6}
.bound-line{font-size:17px}.bar-row{font-size:14px;grid-template-columns:70px 1fr 30px}
.bound-line>.site-math{font-size:22px;color:var(--teal)}
.notes{font-size:16px}.source-note{font-size:13px}.source-note .acknowledgments{font-size:12px}
.source-note .demo-rights{font-family:inherit;font-size:13px;line-height:1.6}
p.demo-rights,footer.demo-rights{font-family:'Latin Modern',serif}
.scientific-notes{max-width:940px}.scientific-notes p,.scientific-notes li{font-size:19px;line-height:1.55}
.scientific-notes h3{font-size:24px}.scientific-notes .demo-rights{font-size:16px}
.axis-text,svg text{font-family:'Latin Modern',serif}.axis-text{font-variant-numeric:lining-nums}
#graph .axis-text,#ext-graph .axis-text{font-size:13px}.gallery .axis-text{font-size:12px}
.site-math{font-family:inherit;vertical-align:baseline}.site-math>.katex{font-size:1em}
.edge-chip .site-math,.gallery .edge-caption .site-math{display:inline-block}
.formula{overflow-x:auto;overflow-y:hidden;padding:13px 15px;line-height:1.6}
.formula>.math-display{margin:0;padding:0;overflow-x:auto;overflow-y:hidden}
.math-display{max-width:100%;overscroll-behavior-inline:contain;touch-action:pan-x pan-y}
.bound-line{flex-wrap:wrap}.selected-parameters{display:block;min-height:25px;margin-top:6px;font-size:15px;font-weight:400;color:var(--muted);line-height:1.5}
#catalogue-parameters:empty{display:none}#catalogue-parameters{flex-basis:100%;margin:0}
.svg-math-label{font-family:'Latin Modern',serif;line-height:1.3;white-space:nowrap;color:#536070}
.svg-math-label .site-math>.katex{font-size:1em}
#matrix-zoom-help,.zoom-inspector p{font-size:16px;line-height:1.5}
@media(max-width:1150px){.gallery .edge-caption{font-size:13px}}
@media(max-width:780px){
 :root{font-size:16px}.app-header{padding-top:10px;padding-bottom:10px}.titles p,.header-links a{font-size:14px}
 .top-controls{margin-bottom:16px}.tabs button{font-size:14px;line-height:1.4}.tabs button span{font-size:11px}
 .history button{font-size:14px}.intro{gap:12px;margin-bottom:12px}.intro>div>p:last-child{font-size:16px}
 .eyebrow{font-size:12px}.mode-group button{font-size:15px}.editing .pair-controls label{font-size:14px}
 .editing .pair-controls button{font-size:15px}.notice{font-size:15px}.editing-feedback{min-height:88px}
 .legend{font-size:13px}.gallery .edge-caption{font-size:14px}.parameter-form{grid-template-columns:repeat(2,minmax(0,1fr))}
 .parameter-form button{font-size:15px}.parameter-form label{min-width:0}.parameter-form #optimize{grid-column:1/-1}
 .metric small,.metric span{font-size:14px}.card-head span{font-size:13px}.region-controls button{font-size:13px}
 .inspector .pair-controls{flex-wrap:wrap}.inspector .pair-controls>button{min-width:105px}
 .source-note{font-size:13px}.source-note .acknowledgments{font-size:12px}.source-note nav{flex-wrap:wrap;gap:4px 18px}
 .source-note .demo-rights{font-size:13px}.scientific-notes p,.scientific-notes li{font-size:18px}
 .zoom-inspector .pair-controls>button{font-size:14px}.zoom-inspector .pair-controls label{font-size:14px}
 .zoom-heading h2{font-size:23px}.selected-parameters{font-size:15px}
}

.certificate .cert-detail{font-size:16px;color:var(--muted);border-left:3px solid #dde3e6;padding:2px 0 2px 11px;margin:12px 0 2px}.form-hint{font-size:15px!important;grid-column:1/-1;flex-basis:100%}
@media(max-width:780px){.gallery button:last-child{grid-column:auto;width:auto;max-width:none}.form-hint{font-size:14px!important}}
