/* Expandable worked examples; native details remain usable without JS. */
.op-details{margin:22px 0;border:1px solid #d9d4c6;border-radius:7px;background:#fff;overflow:hidden}
.op-details>summary{cursor:pointer;padding:18px 21px;background:#f2eadb;color:#0b2a4d;font:600 1rem/1.5 "Segoe UI",Arial,sans-serif;min-height:48px}
.op-details>summary:focus-visible{outline:3px solid #b8852a;outline-offset:-3px}
.op-detail-body{padding:22px;min-width:0}.op-caption{font-size:.88rem;line-height:1.65;color:#596978}
.op-annotated{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:24px;margin:24px 0;padding:22px;background:#f7f8f6;border:1px solid #e0e4dc;border-radius:6px}
.op-annotated>aside{padding:15px 17px;background:#fff4de;border-left:3px solid #ac8535;font-size:.88rem;line-height:1.6;min-width:0}
.op-annotated svg{width:100%;max-width:470px;height:auto}.op-annotated code{overflow-wrap:anywhere}
.op-feature-link{display:inline-block;padding:12px 17px;background:#0b2a4d;color:white!important;border-radius:5px;text-decoration:none;font-weight:600}
.op-detail-body table{width:100%;border-collapse:collapse}.op-detail-body :is(th,td){padding:12px;border:1px solid #dce2e3;text-align:left;vertical-align:top;line-height:1.6;overflow-wrap:anywhere}.op-detail-body th{background:#eaf0f4;color:#0b2a4d}
.op-examples{max-width:1200px;margin:auto;padding:28px}.op-examples .hero{border-bottom:2px solid #0b2a4d;padding-bottom:22px}.op-examples h1{font:400 2.6rem/1.15 Georgia,serif;color:#0b2a4d}.op-examples h3,.op-examples h4{color:#0b2a4d}
@media(max-width:900px){.op-annotated{grid-template-columns:1fr;padding:16px}.op-detail-body{padding:16px}.op-detail-body .reader-table{overflow-x:auto}.op-detail-body table{min-width:600px}.op-examples{padding:20px}}
@media print{.op-details{overflow:visible}.op-details>summary{background:#eee}.op-detail-body{display:block}.op-annotated{display:block;break-inside:avoid}.op-annotated>aside{margin-top:12px}.op-detail-body table{min-width:0}.op-examples button{display:none}}

.op-math-work{font-family:Cambria,Georgia,serif;font-size:1.1rem;line-height:1.9}

/* Concise handbook: distinguish source policy from Maths implementation. */
.hb-policy{padding:14px 18px;background:#edf2ef;border-left:3px solid #65826c;border-radius:4px;font-size:.9rem;line-height:1.7}
.hb-reference{margin:20px 0 0;padding-top:14px;border-top:1px solid #dfd9cd;font-weight:600}
.reference-jump{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.reference-jump a{padding:9px 13px;border:1px solid #d8d0c1;border-radius:5px;background:#f2eadb;font-size:.88rem}
