:root{--ink:#17201d;--green:#145c4a;--orange:#d99a32;--paper:#f8faf8;--steel:#eef2ef;--muted:#64736d;--line:#dbe5df}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--paper);color:var(--ink);margin:0;font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.site-shell{min-height:100vh}.container{width:min(1150px,100% - 36px);margin-inline:auto}.nav{align-items:center;gap:26px;padding:18px 0;display:flex}.brand{color:var(--green);letter-spacing:.04em;font-size:1.32rem;font-weight:900;text-decoration:none}.brand span{color:var(--orange)}.brand small{font-size:.78em;font-weight:800}.nav-links{gap:22px;margin-left:auto;display:flex}.nav a:not(.brand){color:var(--ink);text-decoration:none}.language{color:var(--ink);background:#fff;border:1px solid #b9c8c0;border-radius:8px;padding:8px}.hero{background:var(--green);color:#fff;border-radius:22px;margin-top:18px;padding:clamp(34px,7vw,82px) clamp(24px,7vw,80px)}.hero-copy{max-width:850px}.eyebrow{color:var(--orange);letter-spacing:.12em;margin:0 0 10px;font-size:.75rem;font-weight:850}.hero h1{letter-spacing:-.04em;max-width:800px;margin:0 0 18px;font-size:clamp(2.25rem,6vw,4.8rem);line-height:1.02}.hero-text{color:#e7f1eb;max-width:680px;font-size:1.15rem}.search{background:#fff;border-radius:10px;gap:8px;max-width:820px;margin-top:28px;padding:6px;display:flex}.search input{min-width:0;font:inherit;border:0;outline:0;flex:1;padding:14px}.search button{background:var(--orange);color:var(--ink);cursor:pointer;border:0;border-radius:7px;padding:0 22px;font:800 1rem inherit}.section-heading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:16px;display:flex}.section-heading a,.text-link,.tool-card a,.material-card a{color:var(--green);font-weight:750;text-decoration:none}.section h2{margin:0;font-size:clamp(1.7rem,3vw,2.4rem);line-height:1.1}.level-picker{flex-wrap:wrap;align-items:center;gap:8px;margin:18px 0 8px;display:flex}.level-picker span{margin-right:4px;font-weight:750}.level-picker button{color:var(--ink);font:inherit;cursor:pointer;background:#fff;border:1px solid #b9c8c0;border-radius:99px;padding:8px 14px}.level-picker button.selected{background:var(--green);border-color:var(--green);color:#fff}.level-note{color:var(--muted);margin:0 0 16px}.tool-grid,.material-grid{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.tool-card,.material-card{border:1px solid var(--line);background:#fff;border-radius:14px;min-height:190px;padding:20px}.tool-card{border-top:4px solid var(--orange)}.tool-status{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:.78rem;font-weight:750}.tool-card h3,.material-card h3{margin:16px 0 8px;font-size:1.08rem;line-height:1.2}.tool-card p,.material-card p{color:var(--muted);margin:0 0 20px}.split{grid-template-columns:1.05fr .95fr;align-items:stretch;gap:18px;display:grid}.task-list{border-top:1px solid var(--line);margin-top:18px}.task-list a{border-bottom:1px solid var(--line);color:var(--ink);justify-content:space-between;padding:12px 4px;text-decoration:none;display:flex}.task-list span{color:var(--green);font-weight:800}.problem-card{background:var(--steel);border-radius:16px;padding:28px}.problem-card h2{margin:20px 0 10px}.problem-card p{color:var(--muted)}.footer{border-top:1px solid var(--line);margin-top:72px;padding:36px 0 48px}.footer-inner{grid-template-columns:2fr 1fr 1fr;gap:30px;display:grid}.footer p{color:var(--muted);max-width:340px}.footer strong,.footer a{margin-bottom:8px;display:block}.footer a{color:var(--ink);text-decoration:none}.footer strong{color:var(--green)}@media (max-width:800px){.nav-links{display:none}.tool-grid,.material-grid{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}}@media (max-width:500px){.container{width:min(100% - 24px,1150px)}.hero{border-radius:16px}.search{background:0 0;padding:0;display:block}.search input,.search button{border-radius:8px;width:100%;height:50px;margin-top:8px}.tool-grid,.material-grid,.footer-inner{grid-template-columns:1fr}.section-heading{flex-direction:column;align-items:start}}.language-control{align-items:center;display:flex}.language{font:inherit;cursor:pointer}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.nav a:not(.brand):hover,.section-heading a:hover,.text-link:hover,.material-card a:hover{color:var(--green);text-decoration:underline}.section{padding-top:64px}.section-heading{margin-bottom:18px}.split{gap:24px}.problem-card{padding:32px}.task-grid{gap:16px}.task-card{padding:20px}.task-links{gap:8px}.task-links a{padding:8px 9px}.task-links strong{padding:6px 8px}@media (max-width:800px){.task-grid{grid-template-columns:1fr}.problem-card{position:static}.tool-grid,.material-grid{gap:16px}}@media (max-width:500px){.hero{padding:34px 20px}.hero h1{font-size:clamp(2.15rem,11vw,3.3rem)}.hero-text{font-size:1rem}.section{padding-top:52px}.tool-card,.material-card{min-height:0;padding:18px}.task-card{padding:18px}.section-heading{align-items:start}.section-heading a{margin-top:2px}}.answer-block{border-top:1px solid var(--line);margin-top:30px;padding-top:8px}.answer-block details{border-bottom:1px solid var(--line);padding:14px 0}.answer-block summary{cursor:pointer;font-weight:800}.answer-block details p{color:var(--muted);margin:10px 0 2px}.section-lead{color:var(--muted);margin:10px 0 20px}.task-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;display:grid}.task-card{border:1px solid var(--line);background:#fff;border-radius:14px;padding:18px}.task-card-top{justify-content:space-between;align-items:start;gap:12px;display:flex}.task-card h3{margin:0;font-size:1.08rem;line-height:1.2}.task-card-top span{color:var(--green);white-space:nowrap;font-size:.78rem;font-weight:800}.task-card>p{color:var(--muted);margin:10px 0 14px;font-size:.92rem}.task-links{gap:6px;display:grid}.task-links a{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:7px;justify-content:space-between;align-items:center;gap:10px;padding:6px 7px;font-size:.82rem;font-weight:750;line-height:1.2;text-decoration:none;display:flex}.task-links a:hover,.task-links a:focus-visible{border-color:var(--green);background:#f3f8f5}.task-links strong{background:var(--green);color:#fff;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;border-radius:5px;padding:5px 7px;font-size:.66rem}.task-links a:hover strong,.task-links a:focus-visible strong{color:#f6d995;background:#0e493b}.problem-card{position:sticky;top:18px}
.page{padding-top:46px;padding-bottom:70px}.page h1{max-width:850px;margin:0 0 16px;font-size:clamp(2.2rem,5vw,4rem);line-height:1.05}.intro{color:var(--muted);max-width:720px;font-size:1.15rem}.page-search{border:1px solid var(--line);margin:26px 0 42px}.library-section{padding-top:34px}.calc-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.calculator{border:1px solid var(--line);border-top:5px solid var(--orange);background:#fff;border-radius:16px;max-width:780px;margin:28px 0 42px;padding:24px}.calculator label{font-weight:750;display:block}.calculator select,.calculator input{width:100%;font:inherit;background:#fff;border:1px solid #b9c8c0;border-radius:8px;margin-top:7px;padding:12px;display:block}.calc-result{border-left:5px solid var(--orange);background:#fff9ee;border-radius:10px;margin-top:22px;padding:18px}.calc-result span{color:var(--muted);display:block}.calc-result strong{color:var(--green);font-size:2.5rem;display:block}.calc-result p,.calc-note{color:var(--muted);margin-bottom:0}.content-grid{grid-template-columns:1.4fr .8fr;gap:30px;max-width:1000px;display:grid}.content-grid h2{margin-top:28px}.side-card{background:var(--steel);border-radius:14px;height:max-content;padding:22px}.side-card a{color:var(--green);margin:12px 0;font-weight:750;text-decoration:none;display:block}.side-card h3{margin-top:28px;font-size:1rem}.topic-grid,.problem-grid{grid-template-columns:repeat(3,1fr);gap:14px;margin-top:34px;display:grid}.topic-card,.problem-list-card{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:14px;padding:22px;text-decoration:none;display:block}.topic-card strong{color:var(--green);margin-bottom:8px;font-size:1.25rem;display:block}.topic-card span,.problem-list-card p{color:var(--muted)}.feature-wide{background:var(--steel);border-radius:16px;max-width:800px;margin-top:44px;padding:30px}.feature-wide h2{margin:8px 0;font-size:1.8rem}.page-materials{margin-top:34px}.material-card h2{margin:0 0 10px;font-size:1.3rem}.problem-list-card h2{margin-top:0;font-size:1.25rem}.problem-list-card span{color:var(--green);font-weight:750}.search-page{max-width:980px}.search-count{color:var(--muted);margin:24px 0 12px;font-size:.92rem}.search-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.result-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:24px}.result-card h2{margin:10px 0 8px;font-size:1.2rem}.result-card p{color:var(--muted);line-height:1.6}.empty-state{background:var(--steel);border-radius:18px;margin-top:18px;padding:28px}.empty-state h2{margin-top:0}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (max-width:800px){.content-grid{grid-template-columns:1fr}.topic-grid,.problem-grid,.search-results{grid-template-columns:repeat(2,1fr)}}@media (max-width:500px){.calc-grid,.topic-grid,.problem-grid,.search-results{grid-template-columns:1fr}}.button{background:var(--green);color:#fff;border-radius:8px;margin-top:12px;padding:12px 18px;font-weight:750;text-decoration:none;display:inline-block}.copy-result{color:var(--green);cursor:pointer;background:#fff;border:1px solid #c9b47f;border-radius:7px;margin-top:12px;padding:8px 12px;font:700 .9rem inherit}.copy-result:focus-visible,.calculator input:focus-visible,.calculator select:focus-visible{outline-offset:2px;outline:3px solid #d99a3273}.metal-calculator{max-width:1000px}.depth-switch{flex-wrap:wrap;gap:8px;margin-bottom:8px;display:flex}.depth-switch button{color:var(--ink);font:inherit;cursor:pointer;background:#fff;border:1px solid #b9c8c0;border-radius:99px;padding:8px 14px;font-weight:750}.depth-switch button.selected{background:var(--green);border-color:var(--green);color:#fff}.calculator-subtitle{margin:24px 0 12px;font-size:1.15rem}.profile-grid{grid-template-columns:repeat(5,1fr);gap:10px;display:grid}.profile-card{text-align:left;border:1px solid var(--line);min-height:140px;color:var(--ink);cursor:pointer;font:inherit;background:#fff;border-radius:12px;padding:14px}.profile-card strong,.profile-card span{display:block}.profile-card strong{color:var(--green);margin-bottom:6px}.profile-card span{color:var(--muted);font-size:.86rem;line-height:1.3}.profile-card.selected{border:2px solid var(--green);background:#f0f7f3;padding:13px}.profile-drawing{width:100%;height:66px;color:var(--green);margin-bottom:8px;display:block}.expert-controls{background:var(--steel);border-radius:12px;margin-top:16px;padding:14px}@media (max-width:900px){.profile-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:600px){.profile-grid{grid-template-columns:repeat(2,1fr)}.profile-card{min-height:128px;padding:12px;font-size:.94rem}.profile-card.selected{padding:11px}.profile-drawing{height:58px}}.welding-guide{max-width:1150px}.guide-hero{background:var(--green);color:#fff;border-radius:18px;margin-bottom:20px;padding:34px clamp(22px,5vw,56px)}.guide-hero .eyebrow{color:#f6d995}.guide-hero h1{color:#fff;margin-bottom:16px}.guide-hero .intro{color:#e7f1eb;max-width:820px;margin:0}.guide-actions{flex-wrap:wrap;align-items:center;gap:18px;margin:22px 0 42px;display:flex}.guide-secondary-link{color:var(--green);font-weight:800;text-decoration:none}.guide-section{margin-top:54px}.guide-section h2{margin:0 0 10px;font-size:clamp(1.7rem,3vw,2.45rem);line-height:1.1}.guide-card-grid{grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px;display:grid}.guide-card-grid--compact{grid-template-columns:repeat(5,1fr)}.guide-card{border:1px solid var(--line);border-top:4px solid var(--orange);background:#fff;border-radius:14px;padding:20px}.guide-card h3{color:var(--green);margin:0 0 9px;font-size:1.14rem}.guide-card p{color:var(--muted);margin:0}.guide-note{border-top:1px solid var(--line);gap:3px;margin-top:16px;padding-top:13px;font-size:.9rem;display:grid}.guide-note strong{color:var(--ink)}.guide-note span{color:var(--muted)}.guide-band{background:var(--steel);border-radius:18px;padding:28px}.process-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin-top:18px;display:grid}.process-row{border:1px solid var(--line);background:#fff;border-radius:10px;gap:5px;padding:16px;display:grid}.process-row strong{color:var(--green)}.process-row span{color:var(--muted)}.guide-content{margin-top:54px}.guide-list{padding-left:22px}.guide-list li{margin:9px 0}.defect-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.defect-grid div{background:var(--steel);border-radius:10px;gap:4px;padding:14px;display:grid}.defect-grid strong{color:var(--green)}.defect-grid span{color:var(--muted)}.guide-warning{border-left:5px solid var(--orange);color:var(--muted);background:#fff9ee;border-radius:10px;margin-top:44px;padding:17px 18px}.guide-warning strong{color:var(--ink)}.dual-result{grid-template-columns:1fr 1fr;gap:12px;display:grid}.dual-result p,.dual-result .copy-result{grid-column:1/-1}.formula-box{background:var(--steel);border-radius:10px;margin-top:16px;padding:16px}.formula-box p{color:var(--muted);margin:6px 0 0}@media (max-width:600px){.dual-result{grid-template-columns:1fr}.dual-result p,.dual-result .copy-result{grid-column:auto}}.tool-card{flex-direction:column;display:flex}.tool-card p{flex:1}.tool-card>a{background:var(--green);border-radius:8px;justify-content:space-between;align-items:center;margin-top:10px;padding:11px 13px;transition:background .15s,transform .15s;display:flex;color:#fff!important;font-weight:800!important;text-decoration:none!important}.tool-card>a:hover{background:#0d4639;transform:translateY(-1px)}.tool-card>a:focus-visible{outline-offset:3px;outline:3px solid #d99a32a6}.task-grid{gap:16px}.task-card{padding:20px}.task-links{gap:8px}.task-links a{padding:8px 9px}.task-links strong{padding:6px 8px}@media (max-width:800px){.task-grid{grid-template-columns:1fr}.problem-card{position:static}}@media (max-width:500px){.task-card{padding:18px}.tool-card,.material-card{min-height:0}}.hero{grid-template-columns:minmax(0,1fr) 250px;align-items:center;gap:28px;margin-top:14px;padding:24px 36px;display:grid;position:relative;overflow:hidden}.hero:after{content:"";pointer-events:none;border:1px solid #ffffff1f;border-radius:50%;width:260px;height:260px;position:absolute;top:-100px;right:-110px}.hero-copy{z-index:1;position:relative}.hero h1{max-width:670px;margin-bottom:10px;font-size:clamp(1.9rem,3.5vw,2.75rem)}.hero-text{max-width:630px;margin:0;font-size:.98rem}.search{max-width:700px;margin-top:14px}.hero-side{z-index:1;border-left:1px solid #ffffff38;padding-left:20px;position:relative}.hero-side-label{color:#f6d995;letter-spacing:.13em;margin:0 0 8px;font-size:.7rem;font-weight:850}.hero-side a{color:#fff;border-top:1px solid #fff3;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;font-size:.88rem;text-decoration:none;display:flex}.hero-side a:last-child{border-bottom:1px solid #fff3}.hero-side a:hover span{text-decoration:underline}.hero-side strong{color:#f6d995;font-size:1.05rem}@media (max-width:800px){.hero{grid-template-columns:1fr;gap:16px;padding:22px 20px}.hero-side{border-top:1px solid #ffffff38;border-left:0;padding:14px 0 0}.hero-side a{vertical-align:top;border:1px solid #fff3;border-radius:8px;width:32%;margin-right:1.5%;padding:10px 11px;font-size:.78rem;display:inline-flex}.hero-side a:last-child{border-bottom:1px solid #fff3;margin-right:0}.hero-side strong{font-size:1rem}}@media (max-width:500px){.hero{gap:14px;padding:20px 16px}.hero h1{font-size:clamp(1.8rem,8vw,2.4rem)}.hero-side a{border:0;border-top:1px solid #fff3;border-radius:0;width:100%;margin:0;padding:11px 0}.hero-side a:last-child{border-bottom:1px solid #fff3}}.calculator .length-input-row{gap:8px;margin-top:7px;display:flex}.calculator .length-input-row input{flex:1;min-width:0;margin-top:0}.calculator .length-input-row select{width:auto;min-width:84px;margin-top:0}.page:has(.calculator){padding-top:30px}.page:has(.calculator)>h1{margin-bottom:10px;font-size:clamp(2rem,4vw,3.25rem)}.page:has(.calculator)>.intro{margin-bottom:18px;font-size:1rem}.page:has(.calculator) .calculator{border-radius:12px;margin:18px 0 28px;padding:16px}.page:has(.calculator) .calculator-subtitle{margin:16px 0 8px;font-size:1rem}.page:has(.calculator) .calc-grid{gap:10px}:is(.page:has(.calculator) .calculator select,.page:has(.calculator) .calculator input){margin-top:5px;padding:9px 10px}.page:has(.calculator) .depth-switch button{padding:6px 11px;font-size:.9rem}.page:has(.calculator) .profile-grid{gap:8px}.page:has(.calculator) .profile-card{border-radius:10px;min-height:104px;padding:9px}.page:has(.calculator) .profile-card.selected{padding:8px}.page:has(.calculator) .profile-card strong{margin-bottom:3px;font-size:.88rem}.page:has(.calculator) .profile-card span{font-size:.72rem;line-height:1.15}.page:has(.calculator) .profile-drawing{height:42px;margin-bottom:4px}.page:has(.calculator) .expert-controls{margin-top:10px;padding:10px}.page:has(.calculator) .calc-result{margin-top:14px;padding:12px 14px}.page:has(.calculator) .calc-result strong{font-size:1.85rem}.page:has(.calculator) .calc-result p{margin-top:5px;font-size:.86rem}.page:has(.calculator) .copy-result{margin-top:8px;padding:7px 10px}.page:has(.calculator) .calc-note{margin-top:10px;font-size:.82rem}.page:has(.calculator) .content-grid{gap:20px}.page:has(.calculator) .content-grid h2{margin-top:20px}@media (max-width:900px){.page:has(.calculator) .profile-grid{grid-template-columns:repeat(4,1fr)}}@media (max-width:600px){.page:has(.calculator){padding-top:22px}.page:has(.calculator)>h1{font-size:clamp(1.8rem,8vw,2.35rem)}.page:has(.calculator)>.intro{font-size:.94rem}.page:has(.calculator) .calculator{margin-top:14px;padding:12px}.page:has(.calculator) .profile-grid{grid-template-columns:repeat(2,1fr);gap:7px}.page:has(.calculator) .profile-card{min-height:92px;padding:8px;font-size:.86rem}.page:has(.calculator) .profile-card.selected{padding:7px}.page:has(.calculator) .profile-card span{display:none}.page:has(.calculator) .profile-drawing{height:38px}.page:has(.calculator) .calc-result strong{font-size:1.55rem}}.metal-workspace{grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);align-items:start;gap:16px;margin-top:14px;display:grid}.metal-input-panel,.metal-result-panel{min-width:0}.metal-input-panel .calculator-subtitle{margin-top:0}.metal-result-panel .calc-result{box-sizing:border-box;height:100%;margin-top:0}.metal-result-panel .calc-note{margin-top:9px}.metal-calculator .metal-controls{margin-top:12px}.metal-calculator .profile-drawing{object-fit:contain;object-position:center}@media (max-width:760px){.metal-workspace{grid-template-columns:1fr;gap:4px}.metal-result-panel .calc-result{height:auto}.metal-result-panel .calc-note{margin-bottom:0}}:is(.tool-card:has(a[href="/tools/metal-weight"]),.tool-card:has(a[href="/tools/tapping-drill-size"]),.tool-card:has(a[href="/tools/unit-converter"]),.tool-card:has(a[href="/tools/drill-speed-feed"]),.tool-card:has(a[href="/tools/paint-area"])){background-position:right 14px top 14px;background-repeat:no-repeat;background-size:76px 76px}.tool-card:has(a[href="/tools/metal-weight"]){background-image:url(/tool-icons/metal-weight-calculator.png)}.tool-card:has(a[href="/tools/tapping-drill-size"]){background-image:url(/tool-icons/metric-tapping-drill-size.png)}.tool-card:has(a[href="/tools/unit-converter"]){background-image:url(/tool-icons/industrial-unit-converter.png)}.tool-card:has(a[href="/tools/drill-speed-feed"]){background-image:url(/tool-icons/drill-speed-feed.png)}.tool-card:has(a[href="/tools/paint-area"]){background-image:url(/tool-icons/paint-coating-area.png)}.tool-card:has(a[href="/tools/metal-weight"]) h3{max-width:70%}.tool-card:has(a[href="/tools/metal-weight"]) p{max-width:70%}.tool-card:has(a[href="/tools/metal-weight"]) .tool-status{max-width:70%}.tool-card:has(a[href="/tools/tapping-drill-size"]) h3{max-width:70%}.tool-card:has(a[href="/tools/tapping-drill-size"]) p{max-width:70%}.tool-card:has(a[href="/tools/tapping-drill-size"]) .tool-status{max-width:70%}.tool-card:has(a[href="/tools/unit-converter"]) h3{max-width:70%}.tool-card:has(a[href="/tools/unit-converter"]) p{max-width:70%}.tool-card:has(a[href="/tools/unit-converter"]) .tool-status{max-width:70%}.tool-card:has(a[href="/tools/drill-speed-feed"]) h3{max-width:70%}.tool-card:has(a[href="/tools/drill-speed-feed"]) p{max-width:70%}.tool-card:has(a[href="/tools/drill-speed-feed"]) .tool-status{max-width:70%}.tool-card:has(a[href="/tools/paint-area"]) h3{max-width:70%}.tool-card:has(a[href="/tools/paint-area"]) p{max-width:70%}.tool-card:has(a[href="/tools/paint-area"]) .tool-status{max-width:70%}.tool-icon{background:var(--green);color:#fff;border-radius:12px;justify-content:center;align-items:center;width:56px;height:56px;margin-bottom:12px;font-size:1.4rem;font-weight:900;display:flex}.tool-icon-img{object-fit:contain;width:56px;height:56px;margin-bottom:12px}.brand-logo{width:auto;height:36px;display:block}@media (max-width:500px){.brand-logo{height:28px}}
