.bertrand-page{--long:#236e70;--short:#a36a38;--rule:#d8dcdb;max-width:1200px;margin:0 auto}.bertrand-page .tool-navigation{padding-inline:0}.bertrand-page section{margin-bottom:0}.bertrand-intro{margin:26px 0 28px}.bertrand-intro h1{margin:0 0 10px}.bertrand-intro p{margin:0;font-size:21px;line-height:1.4}.diagram-key,.distribution-key{font:13px/1.5 var(--tool-sans);color:#505653;flex-wrap:wrap;align-items:center;gap:8px 22px;display:flex}.diagram-key{border-bottom:1px solid var(--rule);padding:10px 0 12px}.diagram-key[hidden]{display:none}.diagram-key span,.distribution-key span{align-items:center;gap:8px;display:inline-flex}.diagram-key i,.distribution-key i{width:22px;height:0;display:inline-block}.key-long{border-top:2px solid var(--long)}.key-short{border-top:2px solid var(--short)}.key-hist{border-top:7px solid #b6cecd}.key-theory{border-top:2px solid #343e3d}.methods{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;display:grid}.method{flex-direction:column;min-width:0;padding:22px 0 16px;display:flex}.method h2{margin:0 0 8px;font-size:24px;font-weight:400}.circle-field{aspect-ratio:1;flex-shrink:0;width:100%}.chord-canvas{user-select:none;width:100%;height:100%;display:block}.method-description{font:18px/1.4 var(--tool-serif);flex:1;margin:8px 0 12px}.probability{gap:4px;margin:0;display:grid}.probability>div{grid-template-columns:1fr auto;align-items:baseline;gap:16px;display:grid}.probability dt{font:14px/1.6 var(--tool-sans);color:#505653}.probability dd{font:400 25px/1.2 var(--tool-serif);font-variant-numeric:tabular-nums;margin:0}.estimate-line{background:#edf0ef;height:4px;margin:14px 0 10px;position:relative}.estimate-fill{background:var(--long);height:4px;position:absolute}.interval{background:#253332;height:2px;position:absolute;top:1px}.interval:before,.interval:after{content:"";border-left:1px solid #253332;height:6px;position:absolute;top:-2px}.interval:after{right:0}.exact-mark{background:#1f2b29;width:1px;height:14px;position:absolute;top:-5px}.experiment-controls{border-top:1px solid var(--rule);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:18px 0 12px;display:flex}.button-group{flex-wrap:wrap;gap:8px;display:flex}.bertrand-page button,.bertrand-page select{color:#27312e;font:14px/1.4 var(--tool-sans);cursor:pointer;background:#fff;border:1px solid #b9c0bc;padding:7px 12px}.bertrand-page button:hover{background:#f1f3f2}.bertrand-page button.primary{color:#fff;background:#273d38;border-color:#273d38;min-width:114px}.bertrand-page button:disabled{opacity:.5;cursor:default}.view-control{align-items:center;gap:9px;display:flex}.view-caption{font:17px/1.5 var(--tool-serif);color:#505653;margin:8px 0 0}.threshold-disclosure{border-top:1px solid var(--rule);margin-top:24px;padding:14px 0 0}.threshold-disclosure>summary{cursor:pointer;font:18px/1.5 var(--tool-serif)!important}.threshold-controls{grid-template-columns:1fr minmax(140px,1.3fr) auto;align-items:center;gap:20px;padding:18px 0;display:grid}.threshold-controls label{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.threshold-controls output{white-space:nowrap;font-variant-numeric:tabular-nums}.threshold-controls input{width:100%;accent-color:var(--long);min-height:36px}.distributions{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;display:grid}.distributions figure{min-width:0;margin:0}.distributions figcaption{font-size:19px}.histogram{width:100%;height:160px;display:block;overflow:visible}.distribution-key{margin:16px 0 0}.bertrand-page .tool-methodology{margin-top:24px}.bertrand-page .sr-only{clip:rect(0,0,0,0);white-space:nowrap;user-select:none;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=1050px) and (width>=701px){.methods,.distributions{gap:20px}.method h2{font-size:21px}.method-description{min-height:100px}.threshold-controls{grid-template-columns:1fr 1fr}.threshold-controls button{justify-self:start}}@media (width<=700px){.bertrand-intro p{font-size:20px}.methods,.distributions{grid-template-columns:1fr;gap:0}.method{border-bottom:1px solid var(--rule);padding:22px 0}.method:last-child{border:0}.circle-field{max-width:390px;margin:0 auto}.method-description{min-height:0}.probability{margin-top:16px}.sample-caption{flex-basis:100%;margin-left:0}.experiment-controls{gap:18px}.view-control{justify-content:space-between;width:100%}.threshold-controls{grid-template-columns:1fr;gap:8px}.threshold-controls button{justify-self:start}.distributions{gap:22px}.diagram-key,.distribution-key{font-size:13px}}
