.lab{max-width:1210px;padding-block:42px 68px}.lab-title h1,.sheet h2,.tech h2,.lab legend{font-family:var(--serif),Georgia,serif;font-weight:400}.lab-title h1{font-size:clamp(48px,6.3vw,90px);letter-spacing:-.045em;line-height:1;margin:12px 0}.lab-title h1 em{color:var(--mauve);font-weight:400}.lab-title>p,.lab .hint{line-height:1.52}.lab-title>p{max-width:650px;color:#674e62}.return{font-size:14px;font-weight:700}.lab #modes{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:27px 0}.lab #modes button{background:white;border:1px solid #dacbd5;border-radius:12px;display:flex;gap:15px;align-items:center;padding:9px;font-weight:700;text-align:left}.lab #modes img{width:62px;height:62px;object-fit:contain;border-radius:7px}.lab #modes [aria-pressed=true]{background:var(--plum);color:#fff;border-color:var(--plum)}.bench{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(290px,.85fr);gap:clamp(18px,3vw,42px);align-items:start}.lab fieldset{margin:0 0 18px;padding:18px 20px 22px;border:1px solid #dfd1da;border-radius:12px;background:#fffdff;min-width:0}.lab legend{font-size:29px;line-height:1.2;padding:0 7px;color:#40263e}.fieldgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.lab label{font-size:13px;display:grid;gap:5px;font-weight:700;align-content:start}.lab input,.lab select{width:100%;min-width:0;background:white;border:1px solid #bba4b6;color:#382839;border-radius:7px;padding:9px 10px;min-height:42px;font-size:15px}.lab .hint{font-size:13px;color:#6f566b;margin:9px 0 13px}.lab details{margin-top:13px}.lab summary{font-weight:700;font-size:14px;cursor:pointer}.lab details .fieldgrid{margin-top:12px}.addrow{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(75px,1fr) 38px;gap:9px;align-items:end;margin:8px 0}.rm,.plus{border:1px solid #c7afbf;border-radius:7px;padding:8px 10px;min-height:40px;font-size:13px}.rm{font-size:19px;padding:3px}.plus{margin:2px 6px 4px 0}.sheet{position:sticky;top:12px;color:#352537;background:#fcf2f8;border:1px solid #dcc2d3;border-radius:15px;padding:clamp(20px,2.7vw,38px)}.sheet-top{display:flex;align-items:center;gap:10px;color:#67445f;margin-bottom:24px;font-family:var(--serif);font-size:25px}.sheet-top img{width:35px}.sheet h2,.tech h2{font-size:clamp(34px,3.1vw,53px);margin:8px 0 14px;letter-spacing:-.035em}.sheet .sheet-meta{font-size:14px;color:#6c4c63;margin:0 0 18px}.sheet dl{margin:12px 0}.sheet dl>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #dfcbda;font-size:14px}.sheet dd{margin:0;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:700}.sheet .total{font-weight:700}.sheet-note,.calc-err{font-size:13px;line-height:1.5;margin:10px 0}.calc-err{border-left:3px solid #9d426b;padding:8px 12px;background:#fffbfe}.printbtn{border:1px solid #5d3b58;border-radius:22px;padding:10px 17px;font-weight:700;margin-top:12px}.tech{margin-top:24px;border-top:1px solid #d9cbd5;padding-top:28px}.tech ol{padding-left:21px;line-height:1.65;max-width:90ch}.tech li{margin:7px 0}.tech .refs{display:flex;gap:10px 20px;flex-wrap:wrap}.tech a{font-size:13px;color:#704566;text-decoration:underline}.labfoot .wrap{display:flex;justify-content:space-between;gap:12px;padding-block:24px}.lab #config .caustic{padding:12px 14px;background:#f5e4ec;color:#552742;border-left:3px solid #9b6081;font-size:14px;line-height:1.5;margin-top:12px}.print-details{display:none}.sheet-note strong{color:#684460}.lab .empty{font-size:13px;color:#785a70}
@media(max-width:820px){.bench{grid-template-columns:minmax(0,1.12fr) minmax(250px,.88fr);gap:14px}.lab #modes button{gap:7px}.lab #modes img{width:45px;height:45px}}
@media(max-width:680px){.bench{grid-template-columns:1fr}.sheet{position:static}.lab{padding-top:28px}.lab #modes{gap:5px}.lab #modes button{flex-direction:column;text-align:center;font-size:12px}.lab #modes img{width:48px;height:48px}.return{font-size:12px}.lab fieldset{padding:14px 12px}.addrow{gap:5px}.lab .fieldgrid{gap:10px}.lab-title h1{font-size:46px}}
@media print{body.calc-page{background:white;color:black}.calc-page .top,.lab-title,#modes,#config,.printbtn,.labfoot,.tech .refs,.skip{display:none!important}.calc-page .wrap{width:100%;max-width:none}.lab{padding:0}.bench{display:block}.sheet{position:static;background:white;border:0;padding:0}.sheet-top{margin:0 0 8px}.sheet h2{font-size:30px}.sheet dl>div{break-inside:avoid}.tech{margin-top:15px}.tech h2{font-size:24px}.tech li{font-size:11px}.print-details{display:block}}
