.concept-explorer{margin:2rem 0;padding:1.25rem;border:1px solid #8ba9a0;border-radius:16px;background:#f1f8f5;color:#102a25}.concept-explorer h2{margin-top:0}.concept-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(220px,1fr);gap:1.25rem;align-items:center}.concept-stage{min-width:0;overflow:hidden;border:2px solid #668f83;border-radius:14px;background:#e7f2ee}.concept-stage svg{display:block;width:100%;height:auto;min-height:280px;color:#173f36}.concept-stage text{fill:currentColor}.concept-stage .dark-text{fill:#102a25}.concept-controls{display:grid;gap:1rem}.concept-control label{display:flex;justify-content:space-between;gap:1rem;font-weight:700}.concept-control input{width:100%;min-height:44px;accent-color:#238364}.concept-result{margin-top:1rem;padding:.85rem 1rem;border-left:5px solid #238364;border-radius:8px;background:#dceee7;font-weight:700}.concept-result math{box-sizing:border-box;display:block;width:max-content;max-width:100%;margin:auto;padding:.6rem .85rem;overflow-x:auto}.concept-result mtd{padding:.12em .3em}.concept-result mtr+mtr>mtd{padding-top:.38em}.worked-solution{margin:1.5rem 0;padding:1rem 1.2rem;border-left:5px solid #1768b2;border-radius:10px;background:#eef6fc}.worked-solution>ol{margin-bottom:0}.entry-content .formula-box{box-sizing:border-box;width:100%;margin:1.5rem 0;padding:1.15rem 1.4rem;overflow-x:auto;overflow-y:hidden}.entry-content .formula-box math{box-sizing:border-box;display:block;width:max-content;max-width:none;margin:0 auto;padding:.65rem .9rem}.entry-content .formula-box mtd{padding:.12em .3em}.entry-content .formula-box mtr+mtr>mtd{padding-top:.45em}.entry-content p>math{padding:0 .14em;vertical-align:-.08em}.worked-solution .formula-box{margin:.9rem 0 .4rem;padding:.85rem 1rem}.worked-solution .formula-box math{padding:.55rem .75rem}.dark .concept-explorer{border-color:#6fa393;background:#102b25;color:#eef9f5}.dark .concept-stage{border-color:#78aa9b;background:#173831}.dark .concept-stage svg{color:#eef9f5}.dark .concept-stage [stroke="#1768b2"]{stroke:#6bb6ff}.dark .concept-stage [fill="#1768b2"]{fill:#6bb6ff}.dark .concept-stage [stroke="#b85c12"]{stroke:#ffad66}.dark .concept-stage [stroke="#238364"]{stroke:#63d3ab}.dark .concept-stage [fill="#dceafa"]{fill:#20445d}.dark .concept-stage [fill="#d9ebe5"]{fill:#214b3e}.dark .concept-stage .dark-text{fill:#eef9f5}.dark .concept-result{background:#1a463a}.dark .worked-solution{background:#102d42;color:#eef9f5}@media(max-width:600px){.concept-explorer{padding:.85rem}.concept-grid{grid-template-columns:1fr}.concept-stage svg{min-height:220px}.entry-content .formula-box{padding:.9rem .7rem}.entry-content .formula-box math{padding:.55rem .6rem}.concept-result math{padding:.55rem .65rem}}
.units-reference{margin-top:2rem}.conversion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}.conversion-card{min-width:0;padding:1rem;border:1px solid #9ab7ad;border-radius:12px;background:#f5faf8}.conversion-card h3{margin-top:0}.conversion-card p{min-height:4.8em}.conversion-table-wrap{max-width:100%;overflow-x:auto;border:1px solid #a8beb7;border-radius:10px}.conversion-table{width:100%;margin:0;border-collapse:collapse;background:#fff}.conversion-table th,.conversion-table td{padding:.75rem;text-align:center;vertical-align:middle;border-bottom:1px solid #d5e2de}.conversion-table th{background:#dceee7;color:#102a25}.conversion-table tbody tr:last-child td{border-bottom:0}.conversion-table math{display:inline-block;margin:0;padding:.25rem .4rem}.conversion-table--overview{min-width:520px}.prism-base-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.prism-base-example{min-width:0;padding:1rem;border:1px solid #9ab7ad;border-radius:12px;background:#f5faf8}.prism-base-example h3{margin-top:0}.prism-base-example ol{margin-bottom:0;padding-left:1.35rem}.prism-base-example li+li{margin-top:.8rem}.prism-base-example .formula-box{margin:.45rem 0}.dark .conversion-card,.dark .prism-base-example{border-color:#527f72;background:#102b25;color:#eef9f5}.dark .conversion-table-wrap{border-color:#527f72}.dark .conversion-table{background:#173831;color:#eef9f5}.dark .conversion-table th{background:#1a4a3d;color:#eef9f5}.dark .conversion-table th,.dark .conversion-table td{border-color:#315c50}.dark .concept-stage [fill="#c8e2d9"]{fill:#285a4a}.dark .concept-stage .prism-hidden-edge{stroke:#9fc4b9}@media(max-width:760px){.conversion-grid,.prism-base-grid{grid-template-columns:1fr}.conversion-card p{min-height:0}.conversion-table th,.conversion-table td{padding:.65rem .55rem}}
