/* Extra rules for the target-ratio, risk-weight and worked-example pages. Uses the site theme tokens from style.css. */
.tw{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:10px 0}
.tw table{margin:0;min-width:480px}
.tw th:first-child,.tw td:first-child{min-width:130px}
.hyp{border:1px solid var(--acc);background:var(--acc2);border-radius:12px;padding:12px 14px;margin:16px 0;font-size:15px}
.hyp b{color:var(--acc)}
.rwrow{border:1px solid var(--line);border-radius:12px;padding:12px;margin:10px 0;background:var(--bg);display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}
.rwrow .rwres{display:flex;flex-wrap:wrap;align-items:center;gap:8px;grid-column:1/-1}
.rwrow .l{font-size:13px;color:var(--mut)}
.rwrow button{padding:6px 12px;font-size:14px}
.num td:not(:first-child),.num th:not(:first-child){text-align:right;white-space:nowrap}
.fig{margin:18px 0}
.fig svg{width:100%;height:auto;display:block;max-width:540px}
.fig figcaption{font-size:13px;color:var(--mut);margin-top:6px}
.svg-t{fill:var(--ink);font:14px system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.svg-m{fill:var(--mut);font:13px system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.svg-b{font-weight:700}
.svg-a{fill:var(--acc)}.svg-a2{fill:var(--acc2);stroke:var(--acc);stroke-width:1}
.svg-ok{fill:var(--ok)}.svg-okbg{fill:var(--okbg);stroke:var(--ok);stroke-width:1}
.svg-bad{fill:var(--bad)}.svg-line{stroke:var(--line);stroke-width:1;fill:none}
.svg-mut{fill:var(--line)}.svg-mutd{fill:var(--mut)}
.svg-ls{stroke:var(--mut);stroke-width:1;fill:none}
.toc{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:14px;margin:8px 0 0;padding:0;list-style:none}
.toc a{text-decoration:none}
@media(max-width:420px){h1{font-size:26px}.stat .v{font-size:22px}}
