.calc{background:var(--paper);border:1px solid var(--rule);border-radius:var(--radius);grid-template-columns:minmax(0,1fr);display:grid}@media (width>=60rem){.calc{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)}.calc .calc-out{border-left:1px solid var(--rule);border-radius:0 var(--radius) var(--radius) 0;border-top:0;align-self:start;position:sticky;top:1rem}}.calc .calc-form{padding:.5rem 1.5rem 1.5rem}.calc fieldset{border:0;border-bottom:1px solid var(--rule);min-width:0;margin:0;padding:1.25rem 0 1.35rem}.calc fieldset:last-child{border-bottom:0}.calc legend{float:left;width:100%;margin-bottom:.6rem;padding:0;font-size:1.2rem;font-weight:800}.calc legend+*{clear:both}.calc .lbl{margin:.75rem 0 .3rem;font-size:1rem;font-weight:650;display:block}.calc .lbl.sub{margin-top:0;font-weight:500}.calc .group-lbl{margin-top:1rem}.calc .opt{color:var(--ink-soft);font-weight:400}.calc select,.calc input[type=number]{font:inherit;color:var(--ink);background:#fff;border:1.5px solid #a9b4ac;border-radius:4px;width:100%;min-height:2.9rem;padding:.55rem .65rem;font-size:1.05rem}.calc select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231e2b25' stroke-width='2'/%3E%3C/svg%3E");background-position:right .8rem center;background-repeat:no-repeat;padding-right:2.4rem}.calc select:focus,.calc input:focus{border-color:var(--gum)}.calc .unit{align-items:stretch;display:flex}.calc .unit input{font-variant-numeric:tabular-nums;border-top-right-radius:0;border-bottom-right-radius:0;min-width:0}.calc .unit span{color:var(--ink-soft);white-space:nowrap;background:#eef1ec;border:1.5px solid #a9b4ac;border-left:0;border-radius:0 4px 4px 0;align-items:center;padding:0 .7rem;font-size:.95rem;display:flex}.calc .unit .pre{border-left:1.5px solid #a9b4ac;border-right:0;border-radius:4px 0 0 4px}.calc .unit .pre+input{border-radius:0 4px 4px 0}.calc .hint{color:var(--ink-soft);margin:.45rem 0 0;font-size:.92rem;line-height:1.45}.calc .grid2,.calc .grid3{gap:0 .75rem;display:grid}.calc .grid2{grid-template-columns:1fr 1fr}.calc .grid3{grid-template-columns:repeat(3,minmax(0,1fr))}.calc .span2{grid-column:1/-1}.calc [hidden]{display:none!important}.calc .seg{flex-wrap:wrap;gap:.4rem;display:flex}.calc .seg input{opacity:0;pointer-events:none;position:absolute}.calc .seg label{cursor:pointer;user-select:none;background:#fff;border:1.5px solid #a9b4ac;border-radius:999px;padding:.4rem .95rem;font-size:.98rem;font-weight:600}.calc .seg input:checked+label{background:var(--gum);border-color:var(--gum);color:#fff}.calc .seg input:focus-visible+label{outline:3px solid var(--wattle);outline-offset:2px}.calc .calc-out{border-top:1px solid var(--rule);border-radius:0 0 var(--radius) var(--radius);background:#f4f6f2;padding:1.5rem}.calc .diagram{width:100%;height:auto;margin-bottom:.75rem;display:block}.calc .diagram text{font-family:var(--font);fill:var(--ink);font-size:19px;font-weight:700}.calc .diagram .halo{paint-order:stroke;stroke:#f4f6f2;stroke-width:5px;stroke-linejoin:round}.calc .answer-lbl{color:var(--ink-soft);margin:0;font-weight:650}.calc .answer-big{letter-spacing:-.02em;margin:.15rem 0 .35rem;font-size:clamp(2.6rem,2rem + 3vw,3.6rem);font-weight:850;line-height:1}.calc .answer-big .per{letter-spacing:0;color:var(--ink-soft);font-size:.45em;font-weight:650}.calc .answer-sub{margin-bottom:1rem}.calc .notes{margin-top:1rem}.calc .note{border:1px solid var(--rule);background:#fff;border-radius:4px;margin:.6rem 0 0;padding:.6rem .8rem;font-size:.98rem}.calc .note-warn,.calc .note-error{background:var(--redgum-soft);color:#5e1d15;border-color:#e2b5ab}.calc .next-step{background:var(--gum);color:#fff;border-bottom:3px solid var(--gum-dark);border-radius:4px;margin-top:1.1rem;padding:.7rem 1.1rem;font-weight:700;text-decoration:none;display:inline-block}.calc .next-step:hover{background:var(--gum-dark);color:#fff}.calc .btn-quiet{font:inherit;color:var(--gum);cursor:pointer;background:0 0;border:1.5px dashed #a9b4ac;border-radius:4px;padding:.55rem .9rem;font-size:.98rem;font-weight:650}.calc .btn-quiet:hover{border-color:var(--gum)}.sticky-summary{z-index:5;margin:0;transition:transform .25s;position:fixed;bottom:.75rem;left:.75rem;right:.75rem;transform:translateY(150%)}.sticky-summary a{background:var(--ink);color:#fff;text-align:center;border-radius:999px;padding:.8rem 1rem;font-weight:700;text-decoration:none;display:block}.sticky-summary.show{transform:translateY(0)}@media (width>=60rem){.sticky-summary{display:none}}@media (width<=30rem){.calc .calc-form,.calc .calc-out{padding-inline:1rem}.calc .grid3{grid-template-columns:1fr 1fr}}
