/* Product tolerance modal v36: same visual language as the Home technical tool. */
.tor-product-tol-overlay{position:fixed;inset:0;z-index:1000060;display:none;place-items:center;padding:16px;background:rgba(7,8,9,.78);backdrop-filter:blur(10px)}
.tor-product-tol-overlay.is-open{display:grid}
.tor-product-tol-dialog{width:min(680px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid var(--th-line,rgba(24,25,27,.11));border-radius:28px;background:var(--th-card,#fff);color:var(--th-ink,#17191c);box-shadow:0 34px 110px rgba(0,0,0,.38);font-family:'Montserrat',sans-serif}
.tor-product-tol-head{position:relative;padding:24px 72px 20px 26px;border-bottom:1px solid var(--th-line,rgba(24,25,27,.11));background:linear-gradient(180deg,rgba(239,123,48,.055),transparent)}
.tor-product-tol-head small{display:block;color:var(--th-orange,#ef7b30);font-size:.62rem;font-weight:850;letter-spacing:.13em}
.tor-product-tol-head h2{margin:6px 0 0;font-size:clamp(1.45rem,2vw,1.9rem);line-height:1.08;letter-spacing:-.025em}
.tor-product-tol-head p{margin:6px 0 0;color:var(--th-text,#676d73);font-size:.7rem;line-height:1.5}
.tor-product-tol-close{position:absolute;top:18px;right:20px;width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--th-line,rgba(24,25,27,.11));border-radius:50%;background:rgba(127,127,127,.04);color:inherit;font-size:1.1rem;cursor:pointer}
.tor-product-tol-close:hover{border-color:rgba(239,123,48,.5);background:rgba(239,123,48,.08);color:var(--th-orange,#ef7b30)}
.tor-product-tol-body{padding:22px 26px 26px}
.tor-product-tol-context{display:grid;grid-template-columns:52px minmax(0,1fr);gap:13px;align-items:center;padding:14px 15px;margin-bottom:17px;border:1px solid var(--th-line,rgba(24,25,27,.11));border-radius:17px;background:var(--th-soft,#f9f7f5)}
.tor-product-tol-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:rgba(239,123,48,.1);color:var(--th-orange,#ef7b30);font-size:1.25rem}
.tor-product-tol-context small,.tor-product-tol-context strong,.tor-product-tol-context p{display:block;margin:0}.tor-product-tol-context small{color:var(--th-orange,#ef7b30);font-size:.58rem;font-weight:850;letter-spacing:.1em}.tor-product-tol-context strong{margin-top:2px;font-size:.8rem}.tor-product-tol-context p{margin-top:3px;color:var(--th-text,#676d73);font-size:.66rem;line-height:1.45}
.tor-product-tol-field label{display:block;margin:0 0 7px;color:var(--th-text,#676d73);font-size:.61rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.tor-product-tol-input{display:flex;align-items:center;height:50px;border:1px solid var(--th-line,rgba(24,25,27,.11));border-radius:15px;background:rgba(127,127,127,.04);overflow:hidden}.tor-product-tol-input:focus-within{border-color:rgba(239,123,48,.58);box-shadow:0 0 0 3px rgba(239,123,48,.08)}
.tor-product-tol-input input{width:100%;height:48px;padding:0 14px;border:0;background:transparent;color:inherit;outline:0;font:700 .8rem/1 'Montserrat',sans-serif}.tor-product-tol-input span{padding:0 14px;color:var(--th-text,#676d73);font-size:.65rem;font-weight:800}
.tor-product-tol-run{width:100%;min-height:48px;margin-top:13px;display:flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:999px;background:var(--th-orange,#ef7b30);color:#fff;font:850 .72rem/1 'Montserrat',sans-serif;box-shadow:0 10px 24px rgba(239,123,48,.2);cursor:pointer}.tor-product-tol-run:hover{background:var(--th-orange-dark,#c9611e)}
.tor-product-tol-result{margin-top:14px;padding:15px;border:1px solid var(--th-line,rgba(24,25,27,.11));border-radius:17px;background:linear-gradient(145deg,var(--th-soft,#f9f7f5),transparent)}
.tor-product-tol-empty{text-align:center;padding:15px 8px}.tor-product-tol-empty span{display:block;color:var(--th-orange,#ef7b30);font-size:.66rem;font-weight:850;letter-spacing:.1em}.tor-product-tol-empty p{margin:5px 0 0;color:var(--th-text,#676d73);font-size:.68rem;line-height:1.5}
.tor-product-tol-values{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.tor-product-tol-values div{padding:13px;border:1px solid var(--th-line,rgba(24,25,27,.11));border-radius:13px;background:var(--th-card,#fff)}.tor-product-tol-values small{display:block;color:var(--th-text,#676d73);font-size:.58rem;text-transform:uppercase;letter-spacing:.08em}.tor-product-tol-values strong{display:block;margin-top:6px;font-size:.82rem;line-height:1.25}.tor-product-tol-note{margin:10px 0 0;color:var(--th-text,#676d73);font-size:.63rem;line-height:1.5}
html[data-bs-theme="dark"] .tor-product-tol-dialog{background:#1a1a1b;color:#f7f7f7;border-color:rgba(255,255,255,.11)}html[data-bs-theme="dark"] .tor-product-tol-context,html[data-bs-theme="dark"] .tor-product-tol-result{background:#151516;border-color:rgba(255,255,255,.11)}html[data-bs-theme="dark"] .tor-product-tol-values div{background:#1a1a1b;border-color:rgba(255,255,255,.11)}
@media(max-width:767.98px){.tor-product-tol-overlay{padding:8px}.tor-product-tol-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:20px}.tor-product-tol-head{padding:20px 64px 17px 16px}.tor-product-tol-body{padding:18px 16px 20px}.tor-product-tol-values{grid-template-columns:1fr}}
