.cw-cagr-context{margin:24px 0 22px;padding:20px;border:1px solid #243247;border-radius:12px;background:#080e19;color:#cbd5e1;line-height:1.6}
.cw-cagr-context h2{margin:0 0 8px;color:#f1f5f9;font-size:1.25rem}
.cw-cagr-context h3{color:#e2e8f0;margin:0 0 5px}.cw-cagr-context p{margin:8px 0 14px}
.cw-cagr-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}
.cw-cagr-card{padding:12px;background:#101a2b;border:1px solid #243247;border-radius:8px;min-width:0}
.cw-cagr-card span,.cw-cagr-card small{display:block;font-size:12px;color:#a9bdd3}
.cw-cagr-card strong{display:block;color:#7dd3fc;font-size:1.4rem;font-variant-numeric:tabular-nums}
.cw-cagr-note{font-size:12px;color:#a9bdd3}.cw-cycle-assumptions{color:#d6e6f7}
.cw-cycle-years{display:flex;gap:6px;flex-wrap:wrap}.cw-cycle-years span{padding:4px 8px;border:1px solid #27354a;border-radius:5px;font-size:12px}
.cw-cycle-years .cw-bear-year{color:#fecaca;border-color:#7f353d;background:#2b1620}
.cw-cagr-history{margin-top:18px;border-top:1px solid #27354a;padding-top:18px}.cw-cagr-history a{display:inline-block;color:#7dd3fc;margin-top:10px}
.cw-projection-matrix{box-sizing:border-box;margin:24px 0 0;padding:20px;border:1px solid #243247;border-radius:12px;background:#070a13;min-width:0}
.cw-projection-matrix h2{font-size:1.25rem;margin:0 0 14px;color:#e2e8f0}
.cw-matrix-scroll{overflow-x:auto;overscroll-behavior-x:contain}
.cw-projection-matrix table{min-width:640px;margin:0;font-variant-numeric:tabular-nums}
.cw-projection-matrix th{color:#cbd5e1;font-weight:600}
.cw-projection-matrix th:first-child,.cw-projection-matrix td:first-child{position:sticky;left:0;background:#0b101b}
/* The notebook's fixed two-column grid otherwise clips inside the site's viewer. */
body:has(.cw-cagr-context) input,body:has(.cw-cagr-context) select{box-sizing:border-box;max-width:100%}
@media(max-width:850px){body:has(.cw-cagr-context){padding:16px}body:has(.cw-cagr-context) .grid{grid-template-columns:minmax(0,1fr)}body:has(.cw-cagr-context) .card{min-width:0;padding:12px}.cw-projection-matrix{padding:12px}.cw-cagr-context{padding:14px}.cw-cagr-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
