/* Scoped calculator presentation; load after tools.css */
.wr-tool.wr-v11{--wr-ink:#17243a;--wr-muted:#52647d;--wr-line:#d8e3ef;--wr-accent:#245bd6;--wr-bg:#f4f7fc;box-sizing:border-box;color:var(--wr-ink);background:var(--wr-bg);border:1px solid var(--wr-line);border-radius:20px;padding:clamp(12px,2.5vw,26px);margin:24px 0;font:inherit;line-height:1.5;overflow-wrap:anywhere}
.wr-v11 .wr11-head{padding:clamp(16px,3vw,26px);background:linear-gradient(125deg,#183d83,#245bd6);color:white;border-radius:14px;margin-bottom:18px}.wr-v11 .wr11-eyebrow{font-size:11px;letter-spacing:.12em;font-weight:700;color:#dbeafe}.wr-v11 .wr11-head h2{color:white;font-size:clamp(21px,3vw,29px);line-height:1.2;margin:8px 0}.wr-v11 .wr11-head p{color:#e4eeff;margin:0;font-size:14px}
.wr-v11 .wr11-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:14px;align-items:start}.wr-v11 .wr11-panel,.wr-v11 .wr11-output{min-width:0;padding:clamp(12px,2vw,20px);border:1px solid var(--wr-line);border-radius:14px;background:white}.wr-v11 h3{font-size:16px;color:var(--wr-ink);margin:0 0 16px;font-weight:700}.wr-v11 .wr-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}.wr-v11 label{font-size:13px;color:var(--wr-muted);font-weight:600;min-width:0}.wr-v11 input{background:#f8fafc;color:var(--wr-ink);border:1px solid #b8c8dc;min-height:44px;border-radius:9px;padding:10px;font-size:16px;box-shadow:none}.wr-v11 input:focus{outline:2px solid var(--wr-accent);outline-offset:1px}.wr-v11 input:invalid{border-color:#b91c1c}.wr-v11 .wr-results{grid-template-columns:1fr;gap:9px}.wr-v11 .wr-results>div{background:#f3f6fb;border:1px solid #e0e8f2;padding:13px;border-radius:10px;min-width:0}.wr-v11 .wr-results>div span{display:block;color:var(--wr-muted);font-size:13px}.wr-v11 .wr-results strong{color:var(--wr-ink);font-size:clamp(17px,2.3vw,23px);line-height:1.3;margin-top:4px;font-variant-numeric:tabular-nums;white-space:pre-wrap}.wr-v11 .wr-results>.wr11-result:first-child{background:#e9f0ff;border-color:#c3d5ff}.wr-v11 .wr-results>.wr11-result:first-child strong{color:#1748b3}.wr-v11 .wr-results>.wr-error,.wr-v11 .wr-error strong{color:#a61b1b;background:#fff1f2}.wr-v11 button{background:var(--wr-accent);color:white;border:1px solid transparent;border-radius:9px;padding:9px 13px;min-height:42px;margin:0;font-size:14px;font-weight:600;white-space:normal;cursor:pointer}.wr-v11 button:focus-visible,.wr-v11 a:focus-visible{outline:2px solid var(--wr-accent);outline-offset:3px}.wr-v11 button:disabled{opacity:.5;cursor:not-allowed}.wr-v11 .wr11-reset{margin-top:16px;background:white;color:#245bd6;border-color:#b8c8dc}.wr-v11 .wr11-result button{margin-top:10px}.wr-v11 .wr11-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:14px}.wr-v11 .wr11-actions button{background:white;color:#245bd6;border-color:#b8c8dc}.wr-v11 .wr11-status{font-size:13px;color:var(--wr-muted)}.wr-v11 small{opacity:1;color:var(--wr-muted);font-size:12px;margin:15px 0 0}.wr-v11 .wr11-nav{border-top:1px solid var(--wr-line);margin-top:15px;padding-top:12px}.wr-v11 .wr11-nav a{color:#1748b3;font-weight:600;text-decoration:none}.wr-v11 canvas{max-width:100%;height:auto;margin:auto;display:block}.wr-v11 .wr-results>button{justify-self:start}
@media(max-width:850px){.wr-v11 .wr11-layout{grid-template-columns:1fr}.wr-v11 .wr-results{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.wr-v11 .wr-grid,.wr-v11 .wr-results{grid-template-columns:1fr}.wr-v11 .wr11-actions button{flex:1 1 130px}}@container (max-width:600px){.wr-v11 .wr11-layout{grid-template-columns:1fr}}.wr-v11{container-type:inline-size}
