.prob-table{border-collapse:separate;border-spacing:0;margin:.8rem auto;max-width:100%;background:#fff;border:2px solid #b8c5de;border-radius:9px;overflow:hidden}
.prob-table th,.prob-table td{border-right:1px solid #a9cbd8;border-bottom:1px solid #a9cbd8;padding:.42rem .7rem;text-align:center;white-space:nowrap}
.prob-table th{background:#e7f4f3;font-weight:700}.prob-table tr:last-child>*{border-bottom:0}.prob-table tr>*:last-child{border-right:0}
.prob-scroll{max-width:100%;overflow-x:auto}.prob-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
.set-line{background:#f8fafc;border:1px solid #dfe6ee;border-radius:7px;padding:.45rem .65rem;margin:.35rem 0}
.frac{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;line-height:1.05;margin:0 .12rem}
.frac>span:first-child{border-bottom:1px solid currentColor;padding:0 .15rem .08rem}.frac>span:last-child{padding:.08rem .15rem 0}
.prob-answer{color:#164e78;font-weight:700}.prob-figure{max-width:620px}.prob-figure text{font-family:Arial,sans-serif;fill:#263442}
.sample-tree text{font-size:15px}.sample-tree line{stroke:#34495e;stroke-width:2}
@media(max-width:760px){.prob-grid{grid-template-columns:1fr}.prob-table th,.prob-table td{padding:.35rem .48rem;font-size:.88rem}}
