.sheet-tolerances{--sheet-border: #dee2e6;--sheet-surface: #fff;--sheet-subtle: #f5f6f7;--sheet-ink: #000;--sheet-accent: #c90009;--sheet-selected: #fff0f1;color:var(--sheet-ink);color-scheme:light;font-size:16px;line-height:1.55}.sheet-tolerances :is(h1,h2,h3,p,a,li,th,td,strong,label,legend,caption,dt,dd){color:var(--sheet-ink)}.sheet-tolerances__inner{min-width:0}.sheet-tolerances h1{margin:0 0 14px;font-size:clamp(28px,3vw,40px);line-height:1.16}.sheet-tolerances h2{margin:32px 0 12px;font-size:clamp(22px,2vw,28px);line-height:1.25}.sheet-tolerances__standard,.sheet-tolerances__intro,.sheet-tolerances__scope{max-width:76ch}.sheet-tolerances__standard{margin-bottom:6px;font-weight:600}.sheet-tolerances__calculator{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:20px;margin-top:24px}.sheet-tolerances [hidden]{display:none}.sheet-tolerances__fields,.sheet-tolerances__result,.sheet-tolerances__small-table{min-width:0;padding:clamp(14px,2vw,22px);border:1px solid var(--sheet-border);border-radius:10px;background:var(--sheet-surface)}.sheet-tolerances__fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr));gap:14px}.sheet-tolerances__fields label{display:block;min-width:0;color:var(--sheet-ink);font-size:14px;font-weight:600}.sheet-tolerances__fields input[type=number]{width:100%;height:44px;margin-top:5px;padding:8px 10px;border:1px solid #adb5bd;border-radius:6px;background:var(--sheet-surface);color:var(--sheet-ink);font:inherit;font-size:16px}.sheet-tolerances__precision{grid-column:1/-1;min-width:0;padding:0;border:0}.sheet-tolerances__precision legend{margin-bottom:5px;color:var(--sheet-ink);font-size:14px;font-weight:600}.sheet-tolerances__options{display:flex;flex-wrap:wrap;gap:6px}.sheet-tolerances__options label{position:relative;display:flex;flex:1 1 auto}.sheet-tolerances__options input{position:absolute;width:1px;height:1px;opacity:0}.sheet-tolerances__options span{display:grid;flex:1;min-height:44px;place-items:center;padding:6px 9px;border:1px solid #adb5bd;border-radius:6px;cursor:pointer;text-align:center}.sheet-tolerances__options input:checked+span{border-color:var(--sheet-accent);background:var(--sheet-selected);color:var(--sheet-ink)}.sheet-tolerances :focus-visible,.sheet-tolerances__options input:focus-visible+span{outline:2px solid var(--sheet-accent);outline-offset:3px}.sheet-tolerances__result h2{margin-top:0;font-size:20px}.sheet-tolerances__result p{margin-bottom:10px}.sheet-tolerances__result strong,.sheet-tolerances__result span{display:block}.sheet-tolerances__result strong{font-size:clamp(20px,2vw,26px);font-variant-numeric:tabular-nums}.sheet-tolerances__result dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,100px),1fr));gap:12px;margin:10px 0 0;padding-top:12px;border-top:1px solid var(--sheet-border)}.sheet-tolerances__result dt{font-size:14px}.sheet-tolerances__result dd{margin:3px 0 0;font-weight:600}.sheet-tolerances__legend{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0 0 12px;padding:0;list-style:none;font-size:14px}.sheet-tolerances__scroller{position:relative;max-width:100%;overflow-x:auto;border:1px solid var(--sheet-border);border-radius:10px;background:var(--sheet-surface)}.sheet-tolerances__matrix{width:100%;min-width:1120px;border-spacing:0;font-size:13px;font-variant-numeric:tabular-nums}.sheet-tolerances__matrix td,.sheet-tolerances__matrix th{padding:7px;border-inline-end:1px solid var(--sheet-border);border-bottom:1px solid var(--sheet-border);text-align:center;white-space:nowrap}.sheet-tolerances__matrix thead th,.sheet-tolerances__matrix tbody th{background:var(--sheet-subtle)}.sheet-tolerances__matrix th[scope=row],.sheet-tolerances__matrix thead th[rowspan]{position:sticky;inset-inline-start:0;z-index:1;min-width:96px}.sheet-tolerances__matrix .is-selected>th,.sheet-tolerances__matrix .is-selected>td,.sheet-tolerances__matrix th.is-selected{background:var(--sheet-selected)}.sheet-tolerances__matrix td.is-selected{outline:2px solid var(--sheet-accent);outline-offset:-2px;font-weight:600}.sheet-tolerances__matrix td span{display:block}.sheet-tolerances__band b{margin-inline-end:8px}.sheet-tolerances__clickable{cursor:pointer}.sheet-tolerances__clickable:hover{background:var(--sheet-selected)}.sheet-tolerances__tables{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:14px;align-items:start}.sheet-tolerances__small-table table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}.sheet-tolerances__small-table caption{margin-bottom:10px;color:var(--sheet-ink);text-align:start;font-size:16px;font-weight:600}.sheet-tolerances__small-table th,.sheet-tolerances__small-table td{padding:5px 4px;border-top:1px solid var(--sheet-border);text-align:start}.sheet-tolerances__small-table tbody th{font-weight:400}.sheet-tolerances__small-table td{font-weight:600;text-align:end}.sheet-tolerances__notes{max-width:76ch;margin:24px 0 12px;padding-inline-start:22px;list-style:disc}.sheet-tolerances__guide{max-width:76ch;margin-top:32px;border-top:1px solid var(--sheet-border)}.sheet-tolerances__guide h3{margin:20px 0 8px;font-size:19px;font-weight:600}.sheet-tolerances__guide ol{margin-bottom:14px;padding-inline-start:24px;list-style:decimal}.sheet-tolerances__source a,.sheet-tolerances__guide a{text-decoration:underline;text-underline-offset:3px}
