:root{--navy:#0d314d;--blue:#0d6e9b;--cyan:#4cb9c6;--orange:#e58d45;--bg:#f7fafb;--ink:#1d2a33;--muted:#566974;--line:#c7d7df;--radius:14px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,.button{cursor:pointer;border:1px solid var(--navy);background:var(--navy);color:#fff;min-height:44px;border-radius:9px;padding:10px 18px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover,.button:hover{background:#174965;color:#fff}button:disabled{opacity:.55;cursor:wait}.secondary{background:#fff;color:var(--navy);border-color:#a9c1ce}.secondary:hover{background:#e5f0f4;color:var(--navy)}:focus-visible{outline:3px solid #e58d45;outline-offset:3px}input,select,textarea{width:100%;min-width:0;border:1px solid #9bb4c2;border-radius:9px;background:#fff;color:var(--ink);padding:11px 13px;min-height:46px}textarea{resize:vertical;min-height:140px;line-height:1.6;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px}input[type=file]{font-size:14px;padding:12px;overflow:hidden}input[type=file]::file-selector-button{background:#e4f0f4;color:var(--navy);border:0;border-radius:6px;padding:8px;margin-right:10px}label{font-size:14px;font-weight:600;display:block;margin-bottom:7px}.wrap{width:min(1240px,calc(100% - 48px));margin-inline:auto}.skip{position:absolute;left:12px;top:-100px;z-index:99;background:#fff;padding:12px}.skip:focus{top:8px}.header{background:#fffffff7;border-bottom:2px solid var(--navy)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:84px}.brand{display:flex;gap:10px;align-items:center;font-size:25px;font-weight:850;letter-spacing:-1px;color:var(--navy);white-space:nowrap}.brand span:last-child{color:var(--blue)}.brand svg{width:37px;height:37px}.nav{display:flex;align-items:center;gap:25px;font-size:14px;font-weight:600}.nav a{min-height:44px;display:flex;align-items:center}.nav a.active{color:var(--blue);border-bottom:2px solid var(--blue)}.header-actions{display:flex;gap:8px}.header-actions .secondary{font-size:14px;padding:8px 12px}.mobile-menu{display:none}.eyebrow{color:var(--blue);text-transform:uppercase;letter-spacing:2px;font-size:12px;font-weight:750}.hero{overflow:hidden;background:linear-gradient(115deg,#edf5f7,#edf6f5 55%,#dceef1);border-bottom:1px solid var(--line)}.hero-inner{min-height:492px;position:relative;display:grid;grid-template-columns:1.1fr 1fr;gap:15px;align-items:center;padding-block:48px}.hero h1{font-size:clamp(32px,3.5vw,49px);line-height:1.35;letter-spacing:-1.5px;color:var(--navy);margin:15px 0 12px}.hero h1 em{font-style:normal;color:var(--blue)}.hero .subtitle{font-size:15px;color:#4b6776;margin-bottom:26px}.hero-copy{position:relative;z-index:2}.search-form{display:flex;background:#fff;border:1.5px solid #99b5c2;border-radius:12px;padding:6px;gap:5px;box-shadow:0 8px 25px #0d314d08}.search-form input{border:0;box-shadow:none;padding:12px;font-size:14px}.search-form button{white-space:nowrap}.hot-tags{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:12px;margin-top:15px;color:#476371}.hot-tags a{padding:3px 9px;border:1px solid #bbd0d8;border-radius:6px;background:#ffffff80}.hero-bottom{margin-top:29px;display:flex;gap:22px;font-size:12px;color:#496675}.hero-bottom span{display:flex;align-items:center;gap:6px}.hero-bottom svg{width:15px;height:15px}.globe-wrap{height:400px;position:relative;isolation:isolate}.globe-wrap .fallback{width:100%;height:100%;object-fit:contain}.globe-wrap canvas{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .5s}.globe-caption{position:absolute;bottom:8px;left:50%;transform:translate(-50%);white-space:nowrap;font-size:11px;letter-spacing:2px;color:#577883}.globe-pin{position:absolute;right:0;top:80px;padding:8px 12px;background:#ffffffca;border:1px solid #b8d3da;font-size:11px;border-radius:7px;color:var(--navy);box-shadow:0 6px 20px #0d314d08}.section{padding-block:37px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:21px}.section-head h2{font-size:24px;color:var(--navy);margin:0;letter-spacing:-.5px}.section-head p{font-size:14px;margin:4px 0 0;color:var(--muted)}.section-head>a{font-size:14px;color:var(--blue);white-space:nowrap}.section-number{font-size:12px;color:var(--blue);margin-right:10px;font-weight:500}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.tool-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px;display:flex;flex-direction:column;min-width:0;position:relative;transition:transform .15s,border-color .15s}.tool-card:hover{border-color:var(--blue);transform:translateY(-2px)}.tool-card-top{display:flex;justify-content:space-between;align-items:center}.icon-box{width:39px;height:39px;background:#eaf4f7;border-radius:9px;display:grid;place-items:center;color:var(--blue)}svg.icon{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.tool-card .arrow{color:#7997a6;font-size:17px}.tool-card h3{font-size:15px;line-height:1.5;margin:13px 0 7px;color:var(--navy)}.tool-card p{font-size:13px;line-height:1.65;color:var(--muted);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tag{font-size:11px;display:inline-block;border-radius:4px;padding:1px 6px;background:#eff5f7;color:#527083;margin-top:12px;align-self:flex-start}.trade-section{background:#edf4f7;border-block:1px solid #c8dbe3}.trade-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.trade-group{border-top:3px solid var(--blue);padding-top:15px}.trade-group:nth-child(2){border-color:var(--cyan)}.trade-group:nth-child(3){border-color:var(--orange)}.trade-group h3{font-size:18px;margin:0 0 13px;color:var(--navy)}.trade-group a{display:flex;justify-content:space-between;gap:15px;font-size:14px;padding:9px 0;border-bottom:1px solid #cbdce3}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.category-card{display:flex;align-items:center;gap:12px;padding:15px;background:#fff;border:1px solid var(--line);border-radius:10px}.category-card strong{font-size:14px;display:block}.category-card small{font-size:11px;color:var(--muted)}.category-card .count{margin-left:auto;font-size:13px;color:var(--blue)}.why{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px;border-block:1px solid var(--line);padding:29px 0}.why h3{font-size:15px;margin:9px 0 3px}.why p{font-size:13px;color:var(--muted);margin:0}.footer{background:var(--navy);color:#e1ebf0;margin-top:45px}.footer-main{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:36px;padding-block:42px}.footer .brand{color:#fff}.footer .brand span:last-child{color:#8cd5dc}.footer p{font-size:13px;color:#b4cbd5;max-width:340px}.footer h3{font-size:14px;color:#fff;margin:0 0 13px}.footer a:not(.brand){display:block;font-size:13px;color:#c7dbe4;margin:8px 0}.footer-bottom{border-top:1px solid #38576d;padding:17px 0;font-size:12px;color:#b8cdd7;display:flex;justify-content:space-between;gap:20px}.breadcrumb{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--muted);padding-block:23px}.breadcrumb a{color:var(--blue)}.page-heading{margin-bottom:24px}.page-heading h1{font-size:34px;line-height:1.35;color:var(--navy);margin:0 0 10px;letter-spacing:-.7px}.page-heading p{max-width:850px;color:var(--muted);margin:0;font-size:15px}.tool-meta{display:flex;flex-wrap:wrap;gap:12px;align-items:center;font-size:12px;color:var(--muted);margin-top:14px}.local-badge{color:#237167;background:#e8f5ef;border:1px solid #b9dacb;border-radius:5px;padding:3px 8px}.tool-layout{display:grid;grid-template-columns:minmax(0,880px) minmax(220px,1fr);gap:24px;align-items:start}.tool-workspace{background:linear-gradient(160deg,#eef7f9,#fff 65%);border:1px solid #abc9d7;border-top:3px solid var(--blue);border-radius:12px;padding:25px;min-width:0}.workspace-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:12px}.workspace-top h2{font-size:18px;margin:0;color:var(--navy)}.workspace-top span{font-size:12px;color:var(--muted)}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.field-wide{grid-column:1/-1}.field{min-width:0}.actions{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.actions button{font-size:14px}.result{border-top:1px solid #bfd3de;padding-top:19px;min-height:170px}.result h3{font-size:15px;color:var(--navy);margin:0 0 10px}.result pre{font:14px/1.7 ui-monospace,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;background:#fff;border:1px solid #c8dae3;border-radius:8px;padding:16px;max-height:450px;overflow:auto;min-height:64px}.result.error pre{color:#9a2b24;background:#fff5f2;border-color:#d7aaa5}.result-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.result-actions button,.result-actions a{font-size:13px;padding:8px 12px}.file-list{font-size:12px;color:var(--muted);overflow-wrap:anywhere;margin-top:9px}.status{font-size:13px;color:var(--blue);min-height:23px;overflow-wrap:anywhere}.preview{overflow:auto;max-height:650px;background:#fff;margin-top:14px;overflow-wrap:anywhere}.preview:empty{display:none}.preview img{max-width:100%;height:auto}.preview article{padding:20px}.preview h1{font-size:24px}.preview dt{font-weight:700}.preview dd{margin:0 0 10px}.preview table{border-collapse:collapse;width:100%;font-size:13px}.preview td,.preview th{padding:8px;border:1px solid #bbcad3;text-align:left}.sidebar{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px}.sidebar h2{font-size:15px;margin:0 0 12px;color:var(--navy)}.sidebar a{display:block;border-bottom:1px solid #e0e9ed;padding:11px 0;font-size:13px}.sidebar p{font-size:13px;color:var(--muted);margin-top:18px}.guide{max-width:880px;margin-top:28px}.guide section{background:#fff;border:1px solid var(--line);border-radius:12px;padding:23px;margin-bottom:15px}.guide h2{font-size:19px;color:var(--navy);margin:0 0 13px}.guide p,.guide li{font-size:14px}.guide ol{padding-left:24px}.guide code{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.guide details{border-top:1px solid var(--line);padding:13px 0}.guide summary{cursor:pointer;font-size:14px;font-weight:600}.guide .formula{background:#edf5f8;padding:14px;border-left:3px solid var(--cyan);border-radius:5px;overflow-wrap:anywhere}.toolbar{display:grid;grid-template-columns:minmax(180px,1fr) 220px 170px;gap:12px;padding:19px;background:#edf5f8;border:1px solid var(--line);border-radius:12px;margin-bottom:20px}.toolbar label{font-size:12px}.results-count{font-size:13px;color:var(--muted);margin-bottom:15px}.filter-chips{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.filter-chips a{border:1px solid #b3cad5;border-radius:6px;padding:5px 10px;font-size:13px;background:#fff}.empty{padding:35px;background:#fff;border:1px dashed #a3bcc9;border-radius:12px;text-align:center}.empty h2{font-size:20px;color:var(--navy)}.prose{max-width:850px;margin:0 auto}.prose section{padding:24px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:18px}.prose h2{font-size:21px;color:var(--navy)}.prose p{font-size:15px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.fav-button[aria-pressed=true]{color:#94571b;border-color:#d4a371;background:#fff4e9}.section-small{padding-top:15px}.recent-home{padding-top:25px}.notice{border-left:3px solid var(--orange);padding:10px 14px;background:#fff8ee;font-size:13px;color:#684b2e}noscript p{padding:14px;border:1px solid #e58d45;background:#fff8ee}.download-gallery{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}.download-gallery img{max-width:180px;max-height:140px;object-fit:contain;border:1px solid var(--line);background:#fff}.mobile-menu summary{cursor:pointer;min-height:44px;display:flex;align-items:center;padding:8px;font-size:14px}.mobile-menu nav{position:absolute;top:75px;left:0;right:0;background:#fff;border-bottom:2px solid var(--navy);z-index:50;padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.mobile-menu nav a{padding:10px;font-size:14px}.about-strip{display:flex;gap:30px;justify-content:space-between;align-items:center;padding-top:25px}.about-strip h2{font-size:20px;color:var(--navy)}.about-strip p{font-size:14px;color:var(--muted)}@media(min-width:1400px){.hero-inner{min-height:510px}.globe-wrap{height:420px}}@media(max-width:1000px){.nav{gap:15px}.nav a:nth-last-child(-n+2){display:none}.cards,.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tool-layout{grid-template-columns:minmax(0,1fr)}.sidebar{display:none}.hero h1{font-size:36px}.globe-wrap{height:330px}.hero-inner{min-height:430px}.header-actions .saved-link{display:none}}@media(max-width:700px){.wrap{width:calc(100% - 30px)}.header-inner{min-height:72px;gap:10px}.brand{font-size:22px}.brand svg{width:30px;height:30px}.nav{display:none}.mobile-menu{display:block}.header-actions .secondary{padding:7px 10px;font-size:13px}.hero-inner{grid-template-columns:1fr;padding:30px 0 16px;gap:0;min-height:0}.hero h1{font-size:35px;letter-spacing:-.7px;margin-top:12px}.hero .subtitle{font-size:12px;margin-bottom:20px}.hero-bottom{margin-top:18px;gap:13px;font-size:11px}.hero .eyebrow{font-size:10px;letter-spacing:1.5px}.globe-wrap{height:205px;margin-top:6px}.globe-pin{top:55px;right:25px;font-size:10px}.globe-caption{bottom:0;font-size:9px}.search-form input{padding:10px 7px;font-size:13px}.search-form button{padding:9px 13px;font-size:13px}.hot-tags{font-size:11px;gap:6px}.section{padding-block:26px}.section-head{margin-bottom:16px}.section-head h2{font-size:21px}.section-head p{font-size:12px}.section-head>a{font-size:12px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tool-card{padding:14px}.tool-card h3{font-size:14px;margin-top:11px}.tool-card p{font-size:12px}.icon-box{width:34px;height:34px}.tool-card .tag{font-size:10px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.category-card{padding:12px 10px;gap:8px}.category-card strong{font-size:12px}.category-card .icon-box{width:29px;height:29px;flex-shrink:0}.category-card small{font-size:10px}.category-card .count{font-size:11px}.trade-groups{grid-template-columns:1fr;gap:24px}.trade-group h3{font-size:17px}.trade-group a{font-size:14px}.why{grid-template-columns:1fr 1fr;gap:22px}.footer-main{grid-template-columns:1fr 1fr;gap:25px;padding-block:28px}.footer-main>div:first-child{grid-column:1/-1}.footer-main>div:last-child{grid-column:auto}.footer-bottom{display:block;font-size:11px}.footer-bottom span{display:block;margin:5px 0}.page-heading h1{font-size:27px;overflow-wrap:anywhere}.page-heading p{font-size:14px}.breadcrumb{padding-block:17px;font-size:11px}.tool-workspace{padding:17px}.fields{grid-template-columns:1fr}.field-wide{grid-column:auto}.workspace-top h2{font-size:17px}.workspace-top span{font-size:11px}.actions button{padding:10px 14px}.toolbar{grid-template-columns:1fr 1fr;padding:13px}.toolbar>div:first-child{grid-column:1/-1}.toolbar select{font-size:13px}.guide section{padding:18px}.guide h2{font-size:18px}.about-strip{display:block}.tool-meta{font-size:11px;gap:9px}.download-gallery img{max-width:130px}.prose section{padding:18px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.tool-card:hover{transform:none}}@media print{.header,.footer,.sidebar,.breadcrumb,.guide,.actions,.result-actions,.tool-meta,.page-heading,.tool-workspace form,.workspace-top{display:none!important}.tool-layout{display:block}.wrap{width:100%}.tool-workspace{padding:0;border:0}.result{border:0}.result>h3,.result>pre,.status{display:none}.preview{max-height:none;overflow:visible}.preview article{padding:0}.preview tr{break-inside:avoid}}

/* Mobile containment hardening: keep every production page inside the viewport. */
html,body{max-width:100%;overflow-x:clip}main,.header,.footer,.hero{max-width:100%;min-width:0}img,picture,video,canvas,iframe,object,embed{max-width:100%}img,video,canvas{height:auto}svg{max-width:100%}button,.button{max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere}input,select,textarea,pre{max-width:100%}:where(code,kbd,samp){overflow-wrap:anywhere;word-break:break-word}:where(.header-inner,.hero-inner,.section-head,.cards,.category-grid,.trade-groups,.why,.footer-main,.footer-bottom,.tool-layout,.workspace-top,.fields,.actions,.result-actions,.toolbar,.about-strip)>*{min-width:0}:where(.tool-card,.category-card,.trade-group,.page-heading,.breadcrumb,.tool-meta,.guide,.sidebar,.prose,.result,.preview,.footer){overflow-wrap:anywhere}.hero-copy,.globe-wrap,.tool-layout>div,.guide,.result,.preview,.sidebar{min-width:0;max-width:100%}.search-form{min-width:0}.search-form input{min-width:0;flex:1 1 auto}.hero-bottom{flex-wrap:wrap}.section-head{flex-wrap:wrap}.trade-group a>span:first-child,.category-card>span:nth-child(2){min-width:0;overflow-wrap:anywhere}.trade-group a>span:last-child,.category-card .count{flex-shrink:0}.preview{width:100%;-webkit-overflow-scrolling:touch}.preview article{max-width:100%}.preview :where(img,svg,canvas,video,iframe,object,embed){max-width:100%;height:auto}.preview table{max-width:100%}.result-actions,.file-list,.status,.download-gallery{max-width:100%}.download-gallery img{width:auto;height:auto}.mobile-menu nav{max-width:100vw}
@supports not (overflow:clip){html,body{overflow-x:hidden}}
@media(max-width:700px){.section-head{align-items:flex-start}.section-head>a{white-space:normal}.workspace-top{flex-wrap:wrap;align-items:flex-start}.toolbar>*{min-width:0}.actions,.result-actions{width:100%}.mobile-menu nav{max-height:calc(100dvh - 72px);overflow-y:auto;overscroll-behavior:contain}.globe-pin{max-width:calc(100% - 16px);right:8px;white-space:normal}.globe-caption{width:100%;padding-inline:8px;text-align:center;white-space:normal}.preview table{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.preview th,.preview td{overflow-wrap:anywhere;word-break:break-word}}
@media(max-width:480px){.wrap{width:calc(100% - 24px)}.header-inner{gap:6px}.brand{font-size:20px;gap:7px}.brand svg{width:28px;height:28px;flex:0 0 auto}.header-actions{gap:4px;min-width:0;flex-shrink:0}.header-actions .secondary{padding:7px 8px}.mobile-menu summary{padding-inline:6px}.mobile-menu nav{grid-template-columns:1fr;padding:14px 12px}.search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%}.search-form button{white-space:normal;padding-inline:12px}.hero h1{font-size:clamp(30px,9vw,35px)}.hero-bottom{gap:8px 12px}.section-head{gap:8px 14px}.toolbar{grid-template-columns:1fr}.toolbar>div:first-child{grid-column:auto}.fields{gap:13px}.tool-workspace{padding:15px}.actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.actions #run-tool{grid-column:1/-1}.actions button{width:100%;padding-inline:10px}.result-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.result-actions>*{width:100%;min-width:0;padding-inline:9px!important}.download-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.download-gallery img{width:100%;max-width:100%;max-height:none}.why{grid-template-columns:1fr;gap:16px}.footer-main{grid-template-columns:1fr;gap:20px}.footer-main>div:first-child,.footer-main>div:last-child{grid-column:auto}.footer .brand{width:max-content;max-width:100%}.about-strip .button{width:100%}.prose section,.guide section{padding:16px}.preview article{padding:14px}.page-heading h1{font-size:clamp(24px,8vw,27px)}.tool-meta .fav-button{flex:1 1 100%}}
@media(max-width:360px){.wrap{width:calc(100% - 20px)}.header-actions .secondary{font-size:0;width:42px;padding:7px}.header-actions .secondary svg{width:20px;height:20px}.mobile-menu summary{font-size:13px}.cards,.category-grid{grid-template-columns:1fr}.search-form{grid-template-columns:1fr}.search-form button{width:100%}.hero-bottom{display:grid;grid-template-columns:1fr 1fr}.hero-bottom span:last-child{grid-column:1/-1}.actions,.result-actions,.download-gallery{grid-template-columns:1fr}.actions #run-tool{grid-column:auto}}
