/* Small SEO Modern v1.8 — stable desktop/tablet grid + mobile responsive */
:root{--mst16-green:#16a34a;--mst16-green2:#0f9d45;--mst16-text:#101827;--mst16-muted:#5f6b7a;--mst16-border:#e5eaf0;--mst16-bg:#f6f8fb;--mst16-dark:#122033;--mst16-radius:8px}
html{scroll-behavior:smooth}
body.mst16{margin:0!important;background:var(--mst16-bg)!important;color:var(--mst16-text)!important;font-family:Arial,"Helvetica Neue",sans-serif!important;font-size:14px!important;line-height:1.45!important;overflow-x:hidden!important}
body.mst16 *{box-sizing:border-box}
body.mst16 a{text-decoration:none!important}
body.mst16 .container{width:1370px!important;max-width:calc(100% - 32px)!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
body.mst16 img{max-width:100%;height:auto}

/* Header */
.mst16-header{position:relative;z-index:1000;background:#fff;border-bottom:1px solid var(--mst16-border)}
.mst16-topbar{height:62px;background:#fff;border-bottom:1px solid var(--mst16-border)}
.mst16-topbar-inner{height:62px;display:flex;align-items:center;justify-content:space-between;gap:26px}
.mst16-brand{display:flex;align-items:center;gap:13px;flex:0 0 auto;color:var(--mst16-text)!important;min-width:285px}
.mst16-atoz{display:flex;gap:3px;align-items:center}
.mst16-atoz b{display:flex;align-items:center;justify-content:center;background:#13a44a;color:#fff;width:23px;height:23px;border-radius:2px;font-size:13px;line-height:1;font-weight:700}
.mst16-atoz b:nth-child(2){width:29px}
.mst16-brand-copy{display:flex;flex-direction:column;min-width:0}
.mst16-brand-copy strong{font-size:23px;line-height:1;font-weight:700;color:#161d29;white-space:nowrap;max-width:250px;overflow:hidden;text-overflow:ellipsis}
.mst16-brand-copy small{font-size:12px;color:#202938;margin-top:5px;line-height:1}
.mst16-header-right{display:flex;align-items:center;justify-content:space-between;gap:18px;flex:1;min-width:0}
.mst16-main-nav{display:flex;align-items:center;justify-content:center;gap:5px;flex:1;min-width:0}
.mst16-main-nav>a,.mst16-main-nav summary{border:0;background:transparent;color:#121927!important;font-size:13px;font-weight:600;line-height:1;padding:21px 15px;cursor:pointer;white-space:nowrap;list-style:none}
.mst16-main-nav>a.active,.mst16-main-nav>a:hover,.mst16-main-nav summary:hover{color:var(--mst16-green)!important}
.mst16-details{position:relative;margin:0;padding:0}
.mst16-details summary{list-style:none}
.mst16-details summary::-webkit-details-marker{display:none}
.mst16-details summary i{margin-left:5px;font-size:11px}
.mst16-details[open]>summary i.fa-angle-down{transform:rotate(180deg)}
.mst16-actions{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.mst16-moon{width:34px;height:34px;padding:0;border:0;background:transparent;color:#1f2937;font-size:17px;border-radius:50%;cursor:pointer}
.mst16-lang-details summary{display:flex;align-items:center;gap:7px;border:1px solid var(--mst16-border);border-radius:5px;background:#fff;padding:8px 13px;font-size:13px;font-weight:600;color:#171e2a;cursor:pointer;list-style:none;white-space:nowrap}
.mst16-flag{font-size:17px;line-height:1}
.mst16-lang-menu{position:absolute;right:0;top:42px;min-width:170px;background:#fff;border:1px solid var(--mst16-border);border-radius:6px;box-shadow:0 14px 35px rgba(16,24,39,.12);padding:6px;z-index:2100}
.mst16-lang-menu a{display:block;padding:8px 10px;color:#172033!important;border-radius:4px;font-size:13px}.mst16-lang-menu a:hover{background:#f4f8f5;color:var(--mst16-green)!important}
.mst16-auth{display:flex;gap:10px}.mst16-auth a{display:flex;align-items:center;justify-content:center;height:34px;padding:0 17px;border:1px solid var(--mst16-green);border-radius:5px;font-size:13px;font-weight:600;white-space:nowrap}.mst16-login{color:var(--mst16-green)!important;background:#fff}.mst16-signup{color:#fff!important;background:var(--mst16-green)}
.mst16-mobile-toggle{display:none;background:#fff;border:1px solid var(--mst16-border);border-radius:5px;width:38px;height:36px;font-size:18px;color:#111827}
.mst16-mega{position:absolute;top:61px;left:50%;transform:translateX(-50%);width:860px;background:#fff;border:1px solid var(--mst16-border);border-radius:8px;box-shadow:0 18px 45px rgba(16,24,39,.14);padding:18px 18px 14px;z-index:2200}
.mst16-mega-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 22px}.mst16-mega-col{min-width:0}.mst16-mega-col strong{display:flex;align-items:center;gap:7px;font-size:13px;color:#111827;margin-bottom:7px}.mst16-mega-col strong i{color:var(--mst16-green)}.mst16-mega-col a{display:block;font-size:12px;color:#536174!important;padding:4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mst16-mega-col a:hover{color:var(--mst16-green)!important}.mst16-mega-all{display:block;text-align:center;border-top:1px solid #edf0f4;margin-top:13px;padding-top:12px;color:var(--mst16-green)!important;font-weight:700;font-size:13px}
.mst16-catbar{height:44px;background:#fff}.mst16-catbar-inner{height:44px;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));align-items:stretch;gap:6px}
.mst16-cat-details{min-width:0}.mst16-cat-details>summary{height:44px;display:flex;align-items:center;justify-content:center;color:#1a2230;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mst16-cat-details>summary i{flex:0 0 auto}.mst16-cat-menu{position:absolute;top:43px;left:50%;transform:translateX(-50%);width:245px;background:#fff;border:1px solid var(--mst16-border);border-radius:7px;box-shadow:0 14px 34px rgba(16,24,39,.14);padding:7px;z-index:2200}.mst16-cat-menu a{display:block;padding:8px 9px;border-radius:4px;color:#283548!important;font-size:12px;white-space:normal}.mst16-cat-menu a:hover{background:#f3f8f5;color:var(--mst16-green)!important}.mst16-cat-menu a.mst16-cat-all{border-top:1px solid #edf0f4;margin-top:5px;color:var(--mst16-green)!important;font-weight:700}

/* Main homepage shell */
.mst16-shell{padding-top:12px;padding-bottom:0}
.mst16-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}
.mst16-main{min-width:0}.mst16-sidebar{min-width:0;display:flex;flex-direction:column;gap:12px}
.mst16-hero,.mst16-tools-card,.mst16-categories,.mst16-side-card,.mst16-all-tools{background:#fff;border:1px solid var(--mst16-border);border-radius:var(--mst16-radius);box-shadow:0 1px 2px rgba(15,23,42,.02)}
.mst16-hero{position:relative;height:197px;overflow:hidden;padding:23px 34px 15px;margin-bottom:10px}
.mst16-hero-copy{text-align:center;position:relative;z-index:2}.mst16-hero-copy h1{margin:0 0 7px!important;font-size:31px!important;line-height:1.14!important;font-weight:700!important;color:#111827!important}.mst16-hero-copy h1 span{color:var(--mst16-green)}.mst16-hero-copy p{margin:0 0 15px!important;font-size:13px;color:#5c6980}
.mst16-wm{position:absolute;color:#edf2f6;z-index:1}.mst16-wm.wm1{left:100px;top:24px;font-size:42px}.mst16-wm.wm2{left:42px;top:92px;font-size:29px;transform:rotate(25deg)}.mst16-wm.wm3{right:82px;top:48px;font-size:48px}.mst16-wm.wm4{right:33px;bottom:18px;font-size:47px}
.mst16-search-wrap{position:relative;z-index:3;width:76%;min-width:640px;max-width:780px;margin:0 auto}.mst16-search{height:49px;display:flex;align-items:center;border:1px solid #dfe5ec;border-radius:6px;background:#fff;padding:5px}.mst16-search input.form-control{height:37px!important;flex:1!important;border:0!important;box-shadow:none!important;background:transparent!important;padding:0 13px!important;font-size:13px!important;color:#273448!important}.mst16-search button{height:37px;min-width:94px;border:0;border-radius:5px;background:var(--mst16-green);color:#fff;font-size:13px;font-weight:700;padding:0 17px}.mst16-search-results{position:absolute;left:0;right:0;top:53px;background:#fff;z-index:20}.mst16-popular-search{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-top:9px;white-space:nowrap}.mst16-popular-search strong{font-size:11px;color:#1b2330}.mst16-popular-search a{font-size:10px;color:#455266!important;border:1px solid #e2e7ee;border-radius:14px;background:#fafbfc;padding:3px 9px}
.mst16-tools-card{padding:12px 15px 7px;margin-bottom:8px}.mst16-tools-card>h2{font-size:18px!important;line-height:1.2!important;margin:0 0 11px!important;font-weight:700!important;color:#111827!important}
.mst16-featured-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 12px}.mst16-featured{height:136px;border:1px solid #e3e8ef;border-radius:6px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;padding:11px 8px 8px;color:#111827!important}.mst16-featured:hover{border-color:#cfd7e1;box-shadow:0 5px 14px rgba(16,24,39,.05)}.mst16-feature-icon{width:39px;height:39px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:17px;margin-bottom:10px;flex:0 0 auto}.mst16-feature-icon b{font-size:13px}.mst16-featured strong{display:block;font-size:12px;line-height:1.2;font-weight:700;margin-bottom:6px}.mst16-featured small{display:block;font-size:10px;line-height:1.55;color:#536174}.tone-1 .mst16-feature-icon,.mst16-pop-icon.tone-1,.mst16-all-icon.tone-1{background:#13aa4e}.tone-2 .mst16-feature-icon,.mst16-pop-icon.tone-2,.mst16-all-icon.tone-2{background:#1e83d7}.tone-3 .mst16-feature-icon,.mst16-pop-icon.tone-3,.mst16-all-icon.tone-3{background:#9747b7}.tone-4 .mst16-feature-icon,.mst16-pop-icon.tone-4,.mst16-all-icon.tone-4{background:#ff650a}.tone-5 .mst16-feature-icon,.mst16-pop-icon.tone-5,.mst16-all-icon.tone-5{background:#f74449}.tone-6 .mst16-feature-icon,.mst16-pop-icon.tone-6,.mst16-all-icon.tone-6{background:#08a894}.tone-7 .mst16-feature-icon,.mst16-pop-icon.tone-7,.mst16-all-icon.tone-7{background:#f2a609}.tone-8 .mst16-feature-icon,.mst16-pop-icon.tone-8,.mst16-all-icon.tone-8{background:#176fc5}
.mst16-view-all-wrap{text-align:center;padding:9px 0 0}.mst16-view-all{height:31px;min-width:235px;border:1px solid var(--mst16-green);border-radius:4px;background:#fff;color:var(--mst16-green);font-size:11px;font-weight:700;cursor:pointer}.mst16-view-all i{margin-right:6px}
.mst16-categories{padding:9px 15px 8px;margin-bottom:0}.mst16-categories h3{font-size:13px!important;line-height:1.2!important;margin:0 0 8px!important;font-weight:700!important;color:#111827!important}.mst16-category-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}.mst16-category-grid button{border:0;background:transparent;padding:0;display:flex;align-items:center;gap:7px;text-align:left;min-width:0;cursor:pointer;color:#111827}.mst16-cat-icon{width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:15px;flex:0 0 32px}.mst16-cat-icon.cat-1{background:#e9f6ed;color:#11a548}.mst16-cat-icon.cat-2{background:#edf2ff;color:#2872e4}.mst16-cat-icon.cat-3{background:#ffebf1;color:#ef4a7e}.mst16-cat-icon.cat-4{background:#ebf1ff;color:#2772e8}.mst16-cat-icon.cat-5{background:#e9f7ed;color:#18aa4e}.mst16-cat-icon.cat-6{background:#eaf7ff;color:#1798e2}.mst16-cat-icon.cat-7{background:#fff0ed;color:#f14f3d}.mst16-cat-icon.cat-8{background:#eaf7f5;color:#11a694}.mst16-category-grid strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px;line-height:1.15;font-weight:700}.mst16-category-grid small{display:block;font-size:8px;color:#697689;margin-top:3px}

/* Sidebar */
.mst16-side-card{overflow:hidden}.mst16-popular{padding:0 12px 10px}.mst16-popular>h3{font-size:15px!important;margin:0 -12px!important;padding:11px 12px!important;border-bottom:1px solid var(--mst16-border);font-weight:700!important;color:#111827!important}.mst16-popular-list a{height:34px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #edf0f4;color:#182230!important;padding:0 3px}.mst16-popular-list a:last-child{border-bottom:0}.mst16-pop-icon{width:18px;height:18px;border-radius:4px;display:flex;align-items:center;justify-content:center;color:#fff;flex:0 0 18px;font-size:9px}.mst16-pop-icon b{font-size:7px}.mst16-popular-list strong{flex:1;font-size:10px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mst16-popular-list>a>i{font-size:12px;color:#8390a0}.mst16-popular-all{width:100%;height:31px;border:1px solid var(--mst16-green);border-radius:4px;background:#fff;color:var(--mst16-green);font-size:10px;font-weight:700;cursor:pointer;margin-top:7px}
.mst16-premium{position:relative;min-height:275px;padding:18px 16px;background:linear-gradient(135deg,#f3fbf5 0,#ebf7ef 100%);overflow:hidden}.mst16-premium-copy{position:relative;z-index:2;width:62%}.mst16-premium-copy h3{font-size:18px!important;line-height:1.3!important;margin:0 0 15px!important;font-weight:700!important;color:#111827!important}.mst16-premium-copy ul{list-style:none;padding:0;margin:0 0 18px}.mst16-premium-copy li{display:flex;gap:8px;align-items:center;margin:0 0 10px;font-size:9px;color:#394657}.mst16-premium-copy li i{color:var(--mst16-green);font-size:10px}.mst16-premium-copy>a{height:32px;min-width:102px;display:inline-flex;align-items:center;justify-content:center;background:var(--mst16-green);color:#fff!important;border-radius:4px;font-size:10px;font-weight:700}.mst16-premium-art{position:absolute;right:15px;bottom:24px;width:104px;height:112px}.mst16-premium-art>i{position:absolute;top:0;left:5px;color:#5c6cff;font-size:31px;transform:rotate(-15deg);z-index:2}.mst16-premium-art>div{position:absolute;right:0;bottom:0;width:92px;height:78px;background:#fff;border:1px solid #e2e9ef;border-radius:7px;box-shadow:0 5px 15px rgba(16,24,39,.07);display:flex;align-items:flex-end;justify-content:space-around;padding:0 13px 17px;color:#6c7cff;font-size:19px}

/* Ads */
.mst16-ad{background:#fff;border:1px dashed #d4dbe5;border-radius:7px;padding:8px;text-align:center;overflow:hidden;margin-top:12px}.mst16-ad>span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.6px;color:#9aa5b3;margin-bottom:6px}.mst16-ad iframe,.mst16-ad ins,.mst16-ad img{max-width:100%!important}.mst16-ad-mid{min-height:90px}.mst16-ad-bottom{max-width:100%;margin:14px auto}.mst16-side-ad{margin-top:0;min-height:110px}.mst16-side-ad+ .mst16-side-ad{margin-top:0}

/* All tools - protected by HTML hidden attribute */
.mst16-all-tools[hidden]{display:none!important}.mst16-all-tools{margin-top:12px;padding:16px}.mst16-all-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--mst16-border);padding-bottom:12px;margin-bottom:12px}.mst16-all-head h2{font-size:19px!important;margin:0 0 3px!important;font-weight:700!important}.mst16-all-head p{font-size:11px;margin:0;color:#657286}.mst16-all-head button{height:30px;border:1px solid #d8dee7;border-radius:4px;background:#fff;color:#253044;font-size:10px;cursor:pointer}.mst16-all-category{margin-top:16px}.mst16-all-category h3{font-size:14px!important;margin:0 0 9px!important;font-weight:700!important;display:flex;align-items:center;gap:6px}.mst16-all-category h3 i{color:var(--mst16-green)}.mst16-all-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.mst16-all-item{height:54px;border:1px solid #e5eaf0;border-radius:6px;background:#fff;display:flex;align-items:center;gap:9px;padding:7px 9px;color:#172033!important;min-width:0}.mst16-all-icon{width:30px;height:30px;border-radius:6px;display:flex;align-items:center;justify-content:center;flex:0 0 30px}.mst16-all-icon img{max-width:18px!important;max-height:18px!important;width:auto!important;height:auto!important;display:block}.mst16-all-item>span:nth-child(2){font-size:10px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.mst16-all-item>i{color:#8b97a7;font-size:11px}

/* Inner pages and old tool templates */
.mst16-page-head{background:#fff;border-bottom:1px solid var(--mst16-border)}.mst16-page-head>.container{min-height:68px;display:flex;align-items:center;justify-content:space-between}.mst16-page-head h1{font-size:23px!important;margin:0!important;font-weight:700!important}.mst16-page-head .container>div{font-size:11px;color:#718096}.mst16-page-head .container>div a{color:#5f6d7d!important}.mst16-page-head .container>div i{margin:0 7px}
body.mst16-inner .main-container{padding-top:14px!important;padding-bottom:14px!important}
body.mst16-inner .main-container>.row,body.mst16-inner .mst-layout-row{display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;gap:18px!important;margin:0!important;align-items:start!important}
body.mst16-inner .main-container>.row>.col-md-8,body.mst16-inner .main-container>.row>.col-md-9,body.mst16-inner .main-container>.row>.main-index,body.mst16-inner .mst-layout-row>.col-md-9{width:auto!important;float:none!important;padding:18px!important;margin:0!important;background:#fff!important;border:1px solid var(--mst16-border)!important;border-radius:8px!important;min-width:0!important}
body.mst16-inner #rightCol{width:auto!important;float:none!important;padding:0!important;margin:0!important}
body.mst16-inner .xd_top_box{min-height:90px!important;height:auto!important;padding:8px!important;margin:0 0 14px!important;border:1px dashed #d4dbe5!important;border-radius:7px!important;background:#fafbfc!important;text-align:center!important;overflow:hidden!important}
body.mst16-inner #title,body.mst16-inner .main-index>h2{font-size:24px!important;font-weight:700!important;color:#111827!important;margin:0 0 12px!important}
body.mst16-inner #mainbox,body.mst16-inner .widget_tool_box,body.mst16-inner .mst-page-card{border:1px solid var(--mst16-border)!important;border-radius:8px!important;background:#fff!important;padding:16px!important;box-shadow:none!important}
body.mst16-inner textarea.form-control,body.mst16-inner input.form-control,body.mst16-inner select.form-control{border:1px solid #d8dfe8!important;border-radius:6px!important;box-shadow:none!important;background:#fff!important}
body.mst16-inner .btn-info,body.mst16-inner .btn-primary,body.mst16-inner .btn-success{background:var(--mst16-green)!important;border-color:var(--mst16-green)!important;color:#fff!important;border-radius:5px!important}
body.mst16-inner .table{width:100%!important;background:#fff!important}body.mst16-inner .table th{background:#f7f9fb!important}body.mst16-inner .table td,body.mst16-inner .table th{border-color:#e2e7ee!important}
body.mst16-inner .mst-tool-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:0!important}body.mst16-inner .mst-tool-col{width:auto!important;float:none!important;padding:0!important}body.mst16-inner .mst-tool-card{min-height:118px!important;height:auto!important;border:1px solid var(--mst16-border)!important;border-radius:7px!important;background:#fff!important;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;padding:12px!important;color:#111827!important}body.mst16-inner .mst-tool-icon{width:36px!important;height:36px!important;border-radius:6px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin-bottom:8px!important}body.mst16-inner .mst-tool-icon img{max-width:20px!important;max-height:20px!important;width:auto!important;height:auto!important}body.mst16-inner .mst-tool-card strong{font-size:11px!important}body.mst16-inner .mst-tool-card small{font-size:9px!important;color:#647184!important}

/* Footer */
.mst16-footer{background:linear-gradient(105deg,#23384d 0,#152538 42%,#101d2d 100%);color:#d9e2eb;margin-top:10px;padding:18px 0 0}.mst16-footer-grid{display:grid;grid-template-columns:1.45fr 1fr 1fr 1fr 1.7fr;gap:38px;padding:0 0 17px!important}.mst16-footer-logo{display:flex;align-items:center;gap:9px;margin-bottom:9px}.mst16-footer-logo>strong{font-size:18px;color:#fff}.mst16-atoz-footer b{width:20px;height:20px;font-size:10px}.mst16-atoz-footer b:nth-child(2){width:25px}.mst16-footer-brand p,.mst16-newsletter p{font-size:10px;line-height:1.55;color:#c7d1dc;margin:0;max-width:220px}.mst16-socials{display:flex;gap:9px;margin-top:12px}.mst16-socials a{width:26px;height:26px;border:1px solid rgba(255,255,255,.22);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff!important;font-size:11px}.mst16-footer-col h3,.mst16-newsletter h3{font-size:11px;margin:0 0 10px;color:#fff;font-weight:700}.mst16-footer-col>a,.mst16-footer-col>li,.mst16-footer-col>li>a{display:block;list-style:none;font-size:9px;color:#e5ebf1!important;margin:0 0 7px;padding:0!important}.mst16-newsletter form{display:flex;margin-top:14px}.mst16-newsletter input{height:34px;flex:1;border:0;border-radius:4px 0 0 4px;padding:0 11px;color:#273142;font-size:10px;min-width:0}.mst16-newsletter button{height:34px;border:0;border-radius:0 4px 4px 0;background:var(--mst16-green);color:#fff;font-size:10px;font-weight:700;padding:0 18px}.mst16-footer-bottom{min-height:47px;border-top:1px solid rgba(255,255,255,.14);display:flex;align-items:center;justify-content:space-between;color:#b6c1cc;font-size:9px}.mst16-footer-bottom nav{display:flex;align-items:center;gap:12px}.mst16-footer-bottom a{color:#dce5ed!important}.mst16-footer-bottom i{font-style:normal;color:#758394}

/* Modal cleanup */
body.mst16 .modal{z-index:5000}body.mst16 .modal-dialog{max-width:520px}body.mst16 .modal-content{border-radius:8px;border:0;box-shadow:0 20px 50px rgba(0,0,0,.2)}

/* Responsive */
@media(max-width:1199px){body.mst16 .container{width:100%!important;max-width:calc(100% - 24px)!important}.mst16-brand{min-width:230px}.mst16-main-nav>a,.mst16-main-nav summary{padding-left:9px;padding-right:9px}.mst16-grid{grid-template-columns:minmax(0,1fr) 290px}.mst16-search-wrap{min-width:0;width:82%}.mst16-category-grid{grid-template-columns:repeat(4,1fr);row-gap:8px}.mst16-categories{padding-bottom:10px}.mst16-footer-grid{gap:24px}}
@media(max-width:991px){.mst16-topbar{height:auto}.mst16-topbar-inner{height:auto;min-height:62px;flex-wrap:wrap;padding:10px 0}.mst16-mobile-toggle{display:block;margin-left:auto}.mst16-header-right{display:none;width:100%;flex:0 0 100%;border-top:1px solid var(--mst16-border);padding-top:8px}.mst16-header-right.is-open{display:block}.mst16-main-nav{display:flex;flex-direction:column;align-items:stretch;gap:0}.mst16-main-nav>a,.mst16-main-nav summary{padding:10px 4px}.mst16-tools-details{width:100%}.mst16-mega{position:static;transform:none;width:100%;box-shadow:none;margin:0 0 8px}.mst16-mega-grid{grid-template-columns:repeat(2,1fr)}.mst16-actions{display:flex;flex-wrap:wrap;padding:8px 0}.mst16-lang-details{margin-left:auto}.mst16-auth{flex:0 0 100%;display:grid;grid-template-columns:1fr 1fr;margin-top:4px}.mst16-grid{grid-template-columns:1fr}.mst16-sidebar{display:grid;grid-template-columns:1fr 1fr}.mst16-premium{min-height:250px}.mst16-side-ad{grid-column:span 1}.mst16-footer-grid{grid-template-columns:repeat(2,1fr)}.mst16-newsletter{grid-column:span 2}body.mst16-inner .main-container>.row,body.mst16-inner .mst-layout-row{grid-template-columns:1fr!important}.mst16-page-head>.container{padding:12px 0!important;min-height:62px}.mst16-page-head h1{font-size:20px!important}}
@media(max-width:767px){body.mst16 .container{max-width:calc(100% - 18px)!important}.mst16-brand{min-width:0}.mst16-brand-copy strong{font-size:18px;max-width:180px}.mst16-brand-copy small{font-size:10px}.mst16-atoz b{width:20px;height:20px;font-size:11px}.mst16-atoz b:nth-child(2){width:25px}.mst16-hero{height:auto;min-height:196px;padding:20px 12px}.mst16-hero-copy h1{font-size:27px!important}.mst16-hero-copy p{font-size:12px}.mst16-search-wrap{width:100%}.mst16-search{height:auto}.mst16-search input.form-control{height:39px!important}.mst16-search button{min-width:78px}.mst16-popular-search{display:none}.mst16-featured-grid{grid-template-columns:repeat(2,1fr)}.mst16-featured{height:140px}.mst16-category-grid{grid-template-columns:repeat(2,1fr)}.mst16-category-grid strong{font-size:10px}.mst16-category-grid small{font-size:9px}.mst16-sidebar{display:block}.mst16-sidebar>*{margin-bottom:10px}.mst16-all-grid{grid-template-columns:repeat(2,1fr)}.mst16-footer-grid{grid-template-columns:1fr}.mst16-newsletter{grid-column:auto}.mst16-footer-bottom{display:block;padding:12px 0!important}.mst16-footer-bottom nav{margin-top:8px;flex-wrap:wrap}.mst16-mega-grid{grid-template-columns:1fr}body.mst16-inner .mst-tool-grid{grid-template-columns:repeat(2,1fr)!important}body.mst16-inner .main-container>.row>.col-md-8,body.mst16-inner .main-container>.row>.col-md-9,body.mst16-inner .main-container>.row>.main-index,body.mst16-inner .mst-layout-row>.col-md-9{padding:12px!important}}
@media(max-width:480px){.mst16-featured-grid,.mst16-all-grid{grid-template-columns:1fr}.mst16-category-grid{grid-template-columns:1fr}.mst16-auth{grid-template-columns:1fr}.mst16-lang-details{margin-left:0}.mst16-actions{align-items:stretch}.mst16-moon{display:none}}
/* Fail-safe: menus must never render open unless the native details element is open. */
.mst16-details:not([open])>.mst16-mega,.mst16-details:not([open])>.mst16-cat-menu,.mst16-details:not([open])>.mst16-lang-menu{display:none!important}


/* ===== v1.7 structural layout fix =====
   Keeps content LEFT and sidebar RIGHT from tablet upward.
   Bootstrap clearfix/float behavior is neutralized only inside theme shells.
*/

/* Homepage: explicit grid areas prevent either column from swapping or dropping. */
body.mst16-home .mst16-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 320px!important;
  grid-template-areas:"main sidebar"!important;
  gap:18px!important;
  align-items:start!important;
  width:100%!important;
}
body.mst16-home .mst16-main{
  grid-area:main!important;
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  float:none!important;
  margin:0!important;
}
body.mst16-home .mst16-sidebar{
  grid-area:sidebar!important;
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  float:none!important;
  margin:0!important;
  align-self:start!important;
}

/* Inner/tool pages: source order/sidebar-position setting can no longer swap columns. */
body.mst16-inner .main-container>.row,
body.mst16-inner .mst-layout-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 320px!important;
  grid-template-areas:"main sidebar"!important;
  gap:18px!important;
  align-items:start!important;
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}
/* Bootstrap .row clearfix pseudo-elements become grid items unless disabled. */
body.mst16-inner .main-container>.row:before,
body.mst16-inner .main-container>.row:after,
body.mst16-inner .mst-layout-row:before,
body.mst16-inner .mst-layout-row:after{
  content:none!important;
  display:none!important;
}
body.mst16-inner .main-container>.row>#rightCol,
body.mst16-inner .mst-layout-row>#rightCol{
  grid-area:sidebar!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  float:none!important;
  clear:none!important;
  margin:0!important;
  padding:0!important;
  position:relative!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
}
body.mst16-inner .main-container>.row>[class*="col-"]:not(#rightCol),
body.mst16-inner .main-container>.row>.main-index,
body.mst16-inner .mst-layout-row>[class*="col-"]:not(#rightCol),
body.mst16-inner .mst-layout-row>.main-index{
  grid-area:main!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  float:none!important;
  clear:none!important;
  margin:0!important;
  position:relative!important;
  left:auto!important;
  right:auto!important;
}
/* Main tool output must shrink instead of forcing the sidebar under it. */
body.mst16-inner .main-index,
body.mst16-inner #mainbox,
body.mst16-inner .widget_tool_box,
body.mst16-inner .csContent,
body.mst16-inner .table-responsive{
  min-width:0!important;
  max-width:100%!important;
}
body.mst16-inner .main-index{overflow:hidden!important}
body.mst16-inner .table-responsive,
body.mst16-inner .main-index table{overflow-x:auto!important}
body.mst16-inner pre,
body.mst16-inner code,
body.mst16-inner textarea,
body.mst16-inner input,
body.mst16-inner select{
  max-width:100%!important;
}
body.mst16-inner iframe,
body.mst16-inner video,
body.mst16-inner canvas,
body.mst16-inner svg{
  max-width:100%!important;
}

/* Ad content must never dictate the column width. */
.mst16-ad,
body.mst16-inner .xd_top_box{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
}
.mst16-ad iframe,
.mst16-ad ins,
.mst16-ad img,
body.mst16-inner .xd_top_box iframe,
body.mst16-inner .xd_top_box ins,
body.mst16-inner .xd_top_box img{
  max-width:100%!important;
}

/* Compact desktop and tablets: still two columns, never stack sidebar early. */
@media (min-width:992px) and (max-width:1199px){
  body.mst16-home .mst16-grid,
  body.mst16-inner .main-container>.row,
  body.mst16-inner .mst-layout-row{
    grid-template-columns:minmax(0,1fr) 290px!important;
    grid-template-areas:"main sidebar"!important;
    gap:16px!important;
  }
}

@media (min-width:768px) and (max-width:991px){
  /* Header may use its mobile menu here, but page content remains side-by-side. */
  body.mst16-home .mst16-grid,
  body.mst16-inner .main-container>.row,
  body.mst16-inner .mst-layout-row{
    grid-template-columns:minmax(0,1fr) 250px!important;
    grid-template-areas:"main sidebar"!important;
    gap:14px!important;
  }
  body.mst16-home .mst16-sidebar,
  body.mst16-inner #rightCol{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
  }
  .mst16-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mst16-featured{height:136px!important}
  .mst16-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mst16-all-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.mst16-inner .mst-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mst16-search-wrap{width:100%!important;min-width:0!important}
  .mst16-premium{min-height:245px!important}
  .mst16-premium-art{display:none!important}
}

/* Real mobile only: main first, sidebar second. */
@media (max-width:767px){
  body.mst16-home .mst16-grid,
  body.mst16-inner .main-container>.row,
  body.mst16-inner .mst-layout-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:"main" "sidebar"!important;
    gap:12px!important;
  }
  body.mst16-home .mst16-main,
  body.mst16-inner .main-container>.row>[class*="col-"]:not(#rightCol),
  body.mst16-inner .main-container>.row>.main-index,
  body.mst16-inner .mst-layout-row>[class*="col-"]:not(#rightCol),
  body.mst16-inner .mst-layout-row>.main-index{
    grid-area:main!important;
    width:100%!important;
  }
  body.mst16-home .mst16-sidebar,
  body.mst16-inner .main-container>.row>#rightCol,
  body.mst16-inner .mst-layout-row>#rightCol{
    grid-area:sidebar!important;
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    gap:10px!important;
  }
  .mst16-side-card,.mst16-side-ad{width:100%!important}
  .mst16-hero{min-height:0!important;height:auto!important;padding:20px 14px 16px!important}
  .mst16-search{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important}
  .mst16-search input.form-control{min-width:0!important;width:100%!important}
  .mst16-search button{min-width:78px!important;padding:0 14px!important}
  .mst16-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mst16-featured{height:auto!important;min-height:142px!important}
  .mst16-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mst16-all-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.mst16-inner .main-index{overflow:visible!important;padding:12px!important}
  body.mst16-inner .mst-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media (max-width:520px){
  .mst16-featured-grid{grid-template-columns:1fr!important}
  .mst16-featured{min-height:132px!important}
  .mst16-category-grid{grid-template-columns:1fr!important}
  .mst16-all-grid{grid-template-columns:1fr!important}
  body.mst16-inner .mst-tool-grid{grid-template-columns:1fr!important}
  .mst16-search{grid-template-columns:1fr!important;gap:7px!important;height:auto!important;border:0!important;padding:0!important;background:transparent!important}
  .mst16-search input.form-control{height:44px!important;border:1px solid #dfe5ec!important;border-radius:6px!important;background:#fff!important;padding:0 12px!important}
  .mst16-search button{width:100%!important;height:42px!important}
  .mst16-hero-copy h1{font-size:25px!important}
  .mst16-page-head>.container{display:block!important;padding:12px 0!important}
  .mst16-page-head .container>div{margin-top:6px!important}
}


/* ======================================================================
   Small SEO Modern v1.8 — readability, category navigation, footer fix
   ====================================================================== */

/* Category navigation: compact, centered, single row on desktop. */
.mst16-catbar{height:46px!important;min-height:46px!important;overflow:visible!important}
.mst16-catbar-inner{
  height:46px!important;
  min-height:46px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  gap:24px!important;
  overflow:visible!important;
}
.mst16-cat-details{flex:0 0 auto!important;min-width:0!important;margin:0!important}
.mst16-cat-details>summary{
  height:46px!important;
  padding:0 3px!important;
  font-size:13px!important;
  line-height:1!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
}
.mst16-cat-details>summary i{font-size:11px!important;margin-left:5px!important}
.mst16-cat-menu{top:45px!important;width:250px!important;padding:7px!important}
.mst16-cat-menu a{font-size:13px!important;line-height:1.35!important;padding:9px 10px!important}

/* Readability: no tiny 9-10px UI text on desktop. */
.mst16-hero-copy p{font-size:14px!important}
.mst16-search input.form-control{font-size:14px!important}
.mst16-search button{font-size:14px!important}
.mst16-popular-search strong{font-size:12px!important}
.mst16-popular-search a{font-size:12px!important;padding:4px 10px!important}
.mst16-tools-card>h2{font-size:20px!important}
.mst16-featured strong{font-size:14px!important;line-height:1.25!important}
.mst16-featured small{font-size:12px!important;line-height:1.45!important}
.mst16-featured{height:154px!important;padding:13px 10px 10px!important}
.mst16-feature-icon{margin-bottom:11px!important}
.mst16-categories h3{font-size:15px!important;margin-bottom:10px!important}
.mst16-category-grid a,.mst16-category-grid button{
  border:0!important;background:transparent!important;padding:5px 3px!important;
  display:flex!important;align-items:center!important;gap:8px!important;text-align:left!important;
  min-width:0!important;cursor:pointer!important;color:#111827!important;width:100%!important;
}
.mst16-category-grid a:hover{color:var(--mst16-green)!important}
.mst16-category-grid a>span:nth-child(2){min-width:0!important;flex:1!important}
.mst16-category-grid strong{font-size:12px!important;line-height:1.25!important;display:block!important}
.mst16-category-grid small{font-size:11px!important;line-height:1.25!important;display:block!important;margin-top:3px!important;color:#687587!important}
.mst16-cat-arrow{margin-left:auto!important;font-size:12px!important;color:#98a3b2!important}
.mst16-popular h3{font-size:17px!important}
.mst16-popular-list a{font-size:13px!important}
.mst16-popular-list a strong{font-size:13px!important}
.mst16-popular-all{font-size:13px!important}
.mst16-all-head h2{font-size:22px!important}.mst16-all-head p{font-size:13px!important}
.mst16-all-category h3{font-size:16px!important}
.mst16-all-item{font-size:13px!important}
body.mst16-inner .mst16-page-head .container>div{font-size:13px!important}
body.mst16-inner .mst-tool-card strong{font-size:13px!important}
body.mst16-inner .mst-tool-card small{font-size:11px!important;line-height:1.4!important}

/* Search dropdown: always a vertical list, independent of legacy master search CSS. */
.mst16-hero{overflow:visible!important}
.mst16-search-wrap{z-index:40!important}
#mst16-search-results.mst16-search-results{
  position:absolute!important;
  left:0!important;right:0!important;top:54px!important;
  display:block!important;
  background:#fff!important;
  border:1px solid #dfe5ec!important;
  border-radius:7px!important;
  box-shadow:0 14px 34px rgba(16,24,39,.14)!important;
  padding:6px!important;
  max-height:340px!important;
  overflow-y:auto!important;
  z-index:4500!important;
}
#mst16-search-results[hidden]{display:none!important}
#mst16-search-results .mst16-search-result{
  width:100%!important;
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:9px 11px!important;
  margin:0!important;
  border:0!important;
  border-bottom:1px solid #eef2f5!important;
  border-radius:4px!important;
  background:#fff!important;
  color:#1d2735!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.35!important;
  white-space:normal!important;
}
#mst16-search-results .mst16-search-result:last-child{border-bottom:0!important}
#mst16-search-results .mst16-search-result:hover{background:#f3f8f5!important;color:var(--mst16-green)!important}
#mst16-search-results .mst16-search-result>span{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important}
#mst16-search-results .mst16-search-result>span i{color:var(--mst16-green)!important}
#mst16-search-results .mst16-search-result>i{color:#98a3b2!important;flex:0 0 auto!important}
.mst16-search-empty{padding:12px!important;font-size:13px!important;color:#718096!important;text-align:left!important}

/* Premium area intentionally removed in v1.8. */
.mst16-premium{display:none!important}

/* Footer: force a true five-column first row and correct vertical spacing. */
.mst16-footer{
  margin-top:18px!important;
  padding:0!important;
  background:linear-gradient(105deg,#23384d 0,#152538 42%,#101d2d 100%)!important;
}
body.mst16 .mst16-footer-grid{
  width:1370px!important;
  max-width:calc(100% - 32px)!important;
  display:grid!important;
  grid-template-columns:minmax(240px,1.35fr) minmax(145px,.8fr) minmax(145px,.8fr) minmax(145px,.8fr) minmax(290px,1.45fr)!important;
  grid-auto-flow:row!important;
  align-items:start!important;
  column-gap:42px!important;
  row-gap:0!important;
  padding:32px 0 28px!important;
  margin:0 auto!important;
}
.mst16-footer-grid>*{min-width:0!important;margin:0!important;padding:0!important;grid-row:1!important}
.mst16-footer-logo{margin-bottom:13px!important}
.mst16-footer-logo>strong{font-size:20px!important;line-height:1.2!important}
.mst16-footer-brand p,.mst16-newsletter p{font-size:13px!important;line-height:1.55!important;max-width:280px!important;color:#cbd5df!important}
.mst16-socials{margin-top:16px!important;gap:10px!important}
.mst16-socials a{width:32px!important;height:32px!important;font-size:13px!important}
.mst16-footer-col h3,.mst16-newsletter h3{font-size:14px!important;line-height:1.2!important;margin:0 0 13px!important}
.mst16-footer-col>a,.mst16-footer-col>li,.mst16-footer-col>li>a{font-size:13px!important;line-height:1.35!important;margin:0 0 9px!important}
.mst16-newsletter form{display:flex!important;margin-top:15px!important;width:100%!important;max-width:380px!important}
.mst16-newsletter input{height:42px!important;font-size:13px!important;padding:0 13px!important}
.mst16-newsletter button{height:42px!important;font-size:13px!important;padding:0 20px!important}
body.mst16 .mst16-footer-bottom{
  width:1370px!important;
  max-width:calc(100% - 32px)!important;
  min-height:54px!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  border-top:1px solid rgba(255,255,255,.14)!important;
  font-size:12px!important;
}
.mst16-footer-bottom nav{gap:13px!important}

/* Desktop/tablet footer/category tuning. */
@media (min-width:992px) and (max-width:1199px){
  .mst16-catbar-inner{gap:12px!important}
  .mst16-cat-details>summary{font-size:12px!important}
  body.mst16 .mst16-footer-grid{
    grid-template-columns:minmax(205px,1.3fr) repeat(3,minmax(120px,.75fr)) minmax(245px,1.3fr)!important;
    column-gap:22px!important;
  }
}

@media (min-width:768px) and (max-width:991px){
  body.mst16 .mst16-footer-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:32px!important;
    row-gap:28px!important;
    padding:30px 0 25px!important;
  }
  .mst16-footer-grid>*{grid-row:auto!important}
  .mst16-newsletter{grid-column:1 / -1!important}
  .mst16-footer-brand p,.mst16-newsletter p{max-width:100%!important}
}

@media (max-width:767px){
  .mst16-featured strong{font-size:14px!important}
  .mst16-featured small{font-size:12px!important}
  .mst16-category-grid strong{font-size:13px!important}
  .mst16-category-grid small{font-size:11px!important}
  #mst16-search-results.mst16-search-results{top:50px!important;max-height:280px!important}
  body.mst16 .mst16-footer-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    row-gap:25px!important;
    padding:28px 0 22px!important;
  }
  .mst16-footer-grid>*{grid-row:auto!important;grid-column:auto!important}
  .mst16-footer-brand p,.mst16-newsletter p{max-width:100%!important}
  .mst16-newsletter form{max-width:100%!important}
  body.mst16 .mst16-footer-bottom{display:block!important;padding:15px 0!important;font-size:12px!important}
  .mst16-footer-bottom nav{margin-top:10px!important;gap:9px!important;flex-wrap:wrap!important}
}


/* v1.9 tool icons */
.mst16-feature-icon,.mst16-all-icon,.mst16-universal-icon{display:inline-flex;align-items:center;justify-content:center}
.mst16-feature-icon i,.mst16-all-icon i,.mst16-universal-icon i{line-height:1}
.mst16-featured .mst16-feature-icon{font-size:31px}
.mst16-all-icon{font-size:18px}
.mst16-all-item .mst16-all-icon i{font-size:18px;color:#fff}
.mst16-universal-icon.mst-tool-icon{width:54px;height:54px;border-radius:12px;margin:0 auto 14px;font-size:24px;color:#fff}
.mst16-universal-icon i{color:#fff;font-size:inherit}
.mst16-all-icon img{display:none!important}


/* ===== v2.0 all-tools, related-grid, and dark-mode fixes ===== */
html{scroll-behavior:smooth}
#allTools[hidden]{display:block!important}
.mst16-all-tools{display:block!important;margin-top:14px!important}
.mst16-view-all{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;text-decoration:none!important}
.mst16-all-head{align-items:flex-end!important}

/* Related tools: four equal cards with no orphan/empty-looking slot. */
body.mst16-inner .mst-related-tools .mst-tool-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(165px,1fr))!important;gap:12px!important;margin:0!important}
body.mst16-inner .mst-related-tools .mst-tool-col{width:auto!important;float:none!important;padding:0!important;margin:0!important;min-width:0!important}
body.mst16-inner .mst-related-tools .mst-tool-card{height:100%!important;min-height:150px!important}
@media(max-width:991px){body.mst16-inner .mst-related-tools .mst-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){body.mst16-inner .mst-related-tools .mst-tool-grid{grid-template-columns:1fr!important}}

/* Dark mode - applies to homepage and legacy inner tool/page templates. */
html.mst16-dark-preload,html.mst16-dark-preload body{background:#0d1520!important}
body.mst16-dark{--mst16-bg:#0d1520;--mst16-card:#14202d;--mst16-text:#edf3f8;--mst16-muted:#a9b6c4;--mst16-border:#2a3949;background:#0d1520!important;color:#edf3f8!important}
body.mst16-dark .mst16-header,body.mst16-dark .mst16-topbar,body.mst16-dark .mst16-catbar{background:#101b27!important;border-color:#293848!important}
body.mst16-dark .mst16-brand-copy strong,body.mst16-dark .mst16-main-nav>a,body.mst16-dark summary,body.mst16-dark .mst16-catbar summary,body.mst16-dark .mst16-login{color:#edf3f8!important}
body.mst16-dark .mst16-brand-copy small,body.mst16-dark .mst16-page-head div,body.mst16-dark .mst16-hero-copy p,body.mst16-dark .mst16-featured small,body.mst16-dark .mst16-all-head p,body.mst16-dark .mst16-category-grid small{color:#aab7c5!important}
body.mst16-dark .mst16-hero,body.mst16-dark .mst16-tools-card,body.mst16-dark .mst16-categories,body.mst16-dark .mst16-all-tools,body.mst16-dark .mst16-side-card,body.mst16-dark .mst16-popular,body.mst16-dark .mst16-ad,body.mst16-dark .mst16-page-head,body.mst16-dark .mst-page-card,body.mst16-dark .widget_tool_box,body.mst16-dark .tool-box,body.mst16-dark .box,body.mst16-dark .panel,body.mst16-dark .well,body.mst16-dark .csContent{background:#14202d!important;border-color:#2a3949!important;color:#edf3f8!important}
body.mst16-dark .mst16-featured,body.mst16-dark .mst16-all-item,body.mst16-dark .mst-tool-card{background:#182635!important;border-color:#304254!important;color:#edf3f8!important}
body.mst16-dark .mst16-featured strong,body.mst16-dark .mst16-all-item>span:nth-child(2),body.mst16-dark .mst-tool-card strong,body.mst16-dark h1,body.mst16-dark h2,body.mst16-dark h3,body.mst16-dark h4,body.mst16-dark h5,body.mst16-dark label{color:#f5f8fb!important}
body.mst16-dark .mst16-search,body.mst16-dark .mst16-search input,body.mst16-dark input.form-control,body.mst16-dark textarea.form-control,body.mst16-dark select.form-control,body.mst16-dark .form-input,body.mst16-dark textarea,body.mst16-dark select{background:#0f1a26!important;color:#edf3f8!important;border-color:#344657!important}
body.mst16-dark input::placeholder,body.mst16-dark textarea::placeholder{color:#8191a2!important}
body.mst16-dark .mst16-search-results,body.mst16-dark .mst16-mega,body.mst16-dark .mst16-cat-menu,body.mst16-dark .mst16-lang-menu,body.mst16-dark .dropdown-menu{background:#172534!important;border-color:#304254!important;box-shadow:0 14px 30px rgba(0,0,0,.35)!important}
body.mst16-dark .mst16-search-result,body.mst16-dark .mst16-mega a,body.mst16-dark .mst16-cat-menu a,body.mst16-dark .mst16-lang-menu a,body.mst16-dark .dropdown-menu a{color:#eaf0f5!important;border-color:#263748!important}
body.mst16-dark .mst16-search-result:hover,body.mst16-dark .mst16-mega a:hover,body.mst16-dark .mst16-cat-menu a:hover,body.mst16-dark .mst16-lang-menu a:hover{background:#203246!important}
body.mst16-dark table,body.mst16-dark .table{background:#14202d!important;color:#e8eef4!important}
body.mst16-dark .table>thead>tr>th,body.mst16-dark .table>tbody>tr>td,body.mst16-dark .table>tbody>tr>th{border-color:#304254!important}
body.mst16-dark .table-striped>tbody>tr:nth-of-type(odd){background:#182635!important}
body.mst16-dark a:not(.mst16-signup):not(.mst16-search-button):not(.btn){color:#7fc8ff}
body.mst16-dark .mst16-footer{border-top-color:#273747!important}
body.mst16-dark .modal-content{background:#14202d!important;color:#edf3f8!important;border-color:#304254!important}
body.mst16-dark .modal-header,body.mst16-dark .modal-footer{border-color:#304254!important}
body.mst16-dark .close{color:#fff!important;opacity:.8}
body.mst16-inner .mst-related-tools .mst-tool-grid:before,
body.mst16-inner .mst-related-tools .mst-tool-grid:after{content:none!important;display:none!important}

/* ======================================================================
   Small SEO Modern v2.1 — inner tool/result polish + compatibility fixes
   ====================================================================== */

/* Remove legacy 60px gap on tool/page views. */
body.mst16-inner .main-container,
body.mst16-inner .container.main-container{
  margin-top:12px!important;
  padding-top:0!important;
  padding-bottom:20px!important;
}

/* Breadcrumb and page title belong together at the left edge. */
body.mst16-inner .mst16-page-head{background:#fff!important;border-bottom:1px solid var(--mst16-border)!important}
body.mst16-inner .mst16-page-head>.container{
  min-height:74px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:5px!important;
  padding-top:10px!important;
  padding-bottom:10px!important;
}
body.mst16-inner .mst16-breadcrumb{order:1!important;display:flex!important;align-items:center!important;font-size:12px!important;line-height:1.3!important;color:#718096!important}
body.mst16-inner .mst16-breadcrumb a{color:#617086!important}
body.mst16-inner .mst16-breadcrumb i{margin:0 7px!important;color:#98a4b3!important}
body.mst16-inner .mst16-page-head h1{order:2!important;font-size:23px!important;line-height:1.2!important;margin:0!important;font-weight:700!important;color:#111827!important}

/* Stable tool page shell. */
body.mst16-inner .main-container>.row,
body.mst16-inner .mst-layout-row{
  grid-template-columns:minmax(0,1fr) 300px!important;
  gap:16px!important;
}
body.mst16-inner .main-container>.row>.main-index,
body.mst16-inner .main-container>.row>[class*="col-"]:not(#rightCol),
body.mst16-inner .mst-layout-row>.main-index,
body.mst16-inner .mst-layout-row>[class*="col-"]:not(#rightCol){
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  border-radius:10px!important;
  padding:18px 20px!important;
  overflow:visible!important;
  box-shadow:0 1px 2px rgba(15,23,42,.02)!important;
}
body.mst16-inner #rightCol{overflow:visible!important}

/* Tool ad blocks integrate with the tool card instead of appearing detached. */
body.mst16-inner .xd_top_box{
  min-height:0!important;
  margin:0 0 18px!important;
  padding:9px!important;
  background:#fafbfc!important;
  border:1px dashed #d7dee8!important;
  border-radius:8px!important;
  overflow:hidden!important;
}
body.mst16-inner .xd_top_box:empty{display:none!important}
body.mst16-inner .xd_top_box img,body.mst16-inner .xd_top_box iframe,body.mst16-inner .xd_top_box ins{max-width:100%!important;height:auto}

/* Forms and results share the same component language. */
body.mst16-inner #title,
body.mst16-inner .main-index>h2:first-of-type{
  margin:0 0 16px!important;
  padding:0 0 13px!important;
  border-bottom:1px solid #edf1f5!important;
  color:#111827!important;
  font-size:22px!important;
  line-height:1.25!important;
  font-weight:700!important;
}
body.mst16-inner #mainbox,
body.mst16-inner .widget_tool_box,
body.mst16-inner .well,
body.mst16-inner .panel,
body.mst16-inner .box_shadow_border{
  border:1px solid #e3e9f0!important;
  border-radius:9px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.mst16-inner #mainbox{padding:18px!important;margin-top:10px!important}
body.mst16-inner input.form-control,
body.mst16-inner textarea.form-control,
body.mst16-inner select.form-control,
body.mst16-inner .form-input{
  border:1px solid #d6dee8!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#172033!important;
  box-shadow:none!important;
  font-size:14px!important;
}
body.mst16-inner input.form-control:focus,
body.mst16-inner textarea.form-control:focus,
body.mst16-inner select.form-control:focus,
body.mst16-inner .form-input:focus{
  border-color:#16a34a!important;
  box-shadow:0 0 0 3px rgba(22,163,74,.09)!important;
}
body.mst16-inner .btn-info,
body.mst16-inner .btn-primary,
body.mst16-inner .btn-success{
  background:#16a34a!important;
  border-color:#16a34a!important;
  color:#fff!important;
  border-radius:6px!important;
  min-height:38px!important;
  padding:8px 17px!important;
  font-size:14px!important;
  font-weight:600!important;
}
body.mst16-inner .btn-info:hover,
body.mst16-inner .btn-primary:hover,
body.mst16-inner .btn-success:hover{background:#12843d!important;border-color:#12843d!important}

/* Result tables look like a first-class result card. */
body.mst16-inner .table-responsive{border:1px solid #e2e8f0!important;border-radius:8px!important;overflow:auto!important;background:#fff!important}
body.mst16-inner table.table{
  width:100%!important;
  margin:12px 0 18px!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  border-radius:8px!important;
  overflow:hidden!important;
}
body.mst16-inner .table>thead>tr>th{
  background:#f6f8fb!important;
  color:#1a2332!important;
  font-size:14px!important;
  font-weight:700!important;
  padding:12px 13px!important;
  border-color:#e2e8f0!important;
}
body.mst16-inner .table>tbody>tr>td,
body.mst16-inner .table>tbody>tr>th{
  background:#fff!important;
  color:#253144!important;
  font-size:14px!important;
  line-height:1.45!important;
  padding:12px 13px!important;
  border-color:#e7ecf2!important;
  vertical-align:middle!important;
}
body.mst16-inner .table>tbody>tr:hover>td{background:#f9fbfd!important}
body.mst16-inner .alert{border-radius:8px!important;padding:13px 15px!important}
body.mst16-inner .about_tool{font-size:20px!important;margin:22px 0 13px!important;padding-top:4px!important;color:#111827!important}
body.mst16-inner .main-index p{font-size:14px;line-height:1.65;color:#4b586b}

/* Related tools: equal cards, no phantom Bootstrap clearfix/grid slot. */
body.mst16-inner .mst-related-tools{padding:15px!important;margin-top:18px!important}
body.mst16-inner .mst-related-tools .mst-tool-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:11px!important;
  margin:0!important;
}
body.mst16-inner .mst-related-tools .mst-tool-grid:before,
body.mst16-inner .mst-related-tools .mst-tool-grid:after{display:none!important;content:none!important}
body.mst16-inner .mst-related-tools .mst-tool-col{width:auto!important;float:none!important;padding:0!important;margin:0!important}
body.mst16-inner .mst-related-tools .mst-tool-card{height:100%!important;min-height:142px!important;padding:14px 10px!important}
body.mst16-inner .mst-related-tools .mst-tool-card strong{font-size:13px!important;line-height:1.3!important}
body.mst16-inner .mst-related-tools .mst-tool-card small{font-size:11px!important;line-height:1.4!important}

/* Language selector: all enabled languages from Admin -> Language Editor are listed. */
.mst16-lang-menu{max-height:330px!important;overflow-y:auto!important;min-width:205px!important;padding:7px!important}
.mst16-lang-menu a{display:flex!important;align-items:center!important;gap:9px!important;padding:9px 10px!important;border-radius:5px!important;font-size:13px!important}
.mst16-lang-menu a:hover{background:#f3f8f5!important}
.mst16-lang-flag{width:22px;text-align:center;font-size:17px;line-height:1}

/* Complete dark mode coverage for legacy tool/output controls. */
html.mst16-dark-preload,html.mst16-dark-preload body{background:#0b131d!important;color-scheme:dark}
body.mst16-dark{background:#0b131d!important;color:#e8eef5!important;color-scheme:dark}
body.mst16-dark .mst16-page-head,
body.mst16-dark .main-container>.row>.main-index,
body.mst16-dark .main-container>.row>[class*="col-"]:not(#rightCol),
body.mst16-dark #mainbox,
body.mst16-dark .widget_tool_box,
body.mst16-dark .well,
body.mst16-dark .panel,
body.mst16-dark .box_shadow_border,
body.mst16-dark .table-responsive,
body.mst16-dark table.table{
  background:#14202d!important;
  border-color:#2c3c4d!important;
  color:#e8eef5!important;
}
body.mst16-dark .mst16-page-head h1,
body.mst16-dark #title,
body.mst16-dark .main-index>h2,
body.mst16-dark .about_tool,
body.mst16-dark h1,body.mst16-dark h2,body.mst16-dark h3,body.mst16-dark h4,
body.mst16-dark label{color:#f3f7fb!important;border-color:#2c3c4d!important}
body.mst16-dark .mst16-breadcrumb,body.mst16-dark .mst16-breadcrumb span,body.mst16-dark .main-index p{color:#aebaca!important}
body.mst16-dark .xd_top_box{background:#101b27!important;border-color:#344657!important}
body.mst16-dark .table>thead>tr>th{background:#1a2938!important;color:#f1f5f9!important;border-color:#304254!important}
body.mst16-dark .table>tbody>tr>td,body.mst16-dark .table>tbody>tr>th{background:#14202d!important;color:#e7edf4!important;border-color:#2d3e4f!important}
body.mst16-dark .table>tbody>tr:hover>td{background:#1a2a39!important}
body.mst16-dark input.form-control,
body.mst16-dark textarea.form-control,
body.mst16-dark select.form-control,
body.mst16-dark .form-input,
body.mst16-dark input:not([type="submit"]):not([type="button"]),
body.mst16-dark textarea,
body.mst16-dark select{
  background:#0e1925!important;
  color:#edf3f8!important;
  border-color:#344657!important;
}
body.mst16-dark input::placeholder,body.mst16-dark textarea::placeholder{color:#8190a0!important}
body.mst16-dark .alert-info{background:#132b3f!important;border-color:#28506d!important;color:#cfe9ff!important}
body.mst16-dark .alert-success{background:#123322!important;border-color:#28643f!important;color:#d5f5e1!important}
body.mst16-dark .alert-warning{background:#352d13!important;border-color:#695925!important;color:#ffe9a8!important}
body.mst16-dark .alert-danger,body.mst16-dark .alert-error{background:#3a1d22!important;border-color:#71323e!important;color:#ffd6dd!important}
body.mst16-dark .progress{background:#243444!important}
body.mst16-dark .input-group-addon{background:#1c2b39!important;color:#e7edf4!important;border-color:#344657!important}
body.mst16-dark hr{border-color:#2c3c4d!important}
body.mst16-dark .mst16-lang-menu a:hover{background:#203246!important}

/* Do not hide interactive legacy widgets (color pickers, autocomplete, maps, etc.). */
body.mst16-inner .main-index{overflow:visible!important}
body.mst16-inner .ui-widget,body.mst16-inner .dropdown-menu,body.mst16-inner .popover{z-index:1200}

@media (min-width:768px) and (max-width:991px){
  body.mst16-inner .main-container>.row,body.mst16-inner .mst-layout-row{grid-template-columns:minmax(0,1fr) 245px!important;gap:13px!important}
  body.mst16-inner .mst-related-tools .mst-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:767px){
  body.mst16-inner .main-container,body.mst16-inner .container.main-container{margin-top:9px!important}
  body.mst16-inner .mst16-page-head>.container{min-height:66px!important}
  body.mst16-inner .mst16-page-head h1{font-size:20px!important}
  body.mst16-inner .main-container>.row>.main-index,body.mst16-inner .main-container>.row>[class*="col-"]:not(#rightCol){padding:14px!important}
  body.mst16-inner .mst-related-tools .mst-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.mst16-inner .table{font-size:12px!important}
  body.mst16-inner .table>thead>tr>th,body.mst16-inner .table>tbody>tr>td{padding:9px!important;font-size:12px!important}
}
@media (max-width:480px){body.mst16-inner .mst-related-tools .mst-tool-grid{grid-template-columns:1fr!important}}

/* ======================================================================
   Small SEO Modern v2.2 — compact tool header, unified results, dark fix
   ====================================================================== */

/* Compact breadcrumb bar: no duplicate page title and no empty top band. */
body.mst16-inner .mst16-page-head{
  background:#fff!important;
  border-top:0!important;
  border-bottom:1px solid #e5eaf0!important;
  margin:0!important;
  padding:0!important;
}
body.mst16-inner .mst16-page-head>.container{
  min-height:42px!important;
  height:auto!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  padding:0!important;
  gap:0!important;
}
body.mst16-inner .mst16-breadcrumb{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  margin:0!important;
  padding:0!important;
  font-size:13px!important;
  line-height:1.35!important;
  color:#748196!important;
  text-align:left!important;
  width:auto!important;
}
body.mst16-inner .mst16-breadcrumb a{color:#536176!important;font-weight:500!important}
body.mst16-inner .mst16-breadcrumb i{margin:0 8px!important;color:#9aa5b3!important}

/* Kill all old margin-top values from the legacy tool theme. */
body.mst16-inner .container.main-container,
body.mst16-inner .main-container{
  margin-top:10px!important;
  padding-top:0!important;
  padding-bottom:18px!important;
}
body.mst16-inner .main-container+br{display:none!important}

/* One shared card system for input and output states. */
body.mst16-inner .main-container>.row,
body.mst16-inner .mst-layout-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 300px!important;
  gap:16px!important;
  align-items:start!important;
  margin:0!important;
}
body.mst16-inner .main-container>.row:before,
body.mst16-inner .main-container>.row:after,
body.mst16-inner .mst-layout-row:before,
body.mst16-inner .mst-layout-row:after{content:none!important;display:none!important}
body.mst16-inner .main-container>.row>.main-index,
body.mst16-inner .main-container>.row>[class*="col-"]:not(#rightCol),
body.mst16-inner .mst-layout-row>.main-index,
body.mst16-inner .mst-layout-row>[class*="col-"]:not(#rightCol){
  grid-column:1!important;
  width:auto!important;
  max-width:none!important;
  float:none!important;
  min-width:0!important;
  margin:0!important;
  padding:18px 20px!important;
  background:#fff!important;
  border:1px solid #e1e7ee!important;
  border-radius:10px!important;
  box-shadow:0 1px 2px rgba(15,23,42,.025)!important;
  overflow:visible!important;
}
body.mst16-inner #rightCol{
  grid-column:2!important;
  width:auto!important;
  max-width:none!important;
  float:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}

/* Ad slots should be part of the card, not create a detached blank zone. */
body.mst16-inner .xd_top_box{
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  margin:0 0 16px!important;
  padding:8px!important;
  border:1px dashed #d7dfe9!important;
  border-radius:8px!important;
  background:#fafbfc!important;
  display:block!important;
  text-align:center!important;
  overflow:hidden!important;
}
body.mst16-inner .xd_top_box:empty{display:none!important}
body.mst16-inner .xd_top_box iframe,
body.mst16-inner .xd_top_box ins,
body.mst16-inner .xd_top_box img{max-width:100%!important}

/* Tool/result heading is always identical. */
body.mst16-inner #title,
body.mst16-inner .main-index>h2:first-of-type{
  display:block!important;
  margin:0 0 16px!important;
  padding:0 0 13px!important;
  border-bottom:1px solid #edf1f5!important;
  color:#111827!important;
  font-size:22px!important;
  line-height:1.25!important;
  font-weight:700!important;
}

/* Consistent input / result surfaces. */
body.mst16-inner form{max-width:100%!important}
body.mst16-inner input.form-control,
body.mst16-inner textarea.form-control,
body.mst16-inner select.form-control,
body.mst16-inner .form-input{
  border:1px solid #d5dde7!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#172033!important;
  min-height:40px!important;
  box-shadow:none!important;
  font-size:14px!important;
}
body.mst16-inner textarea.form-control{min-height:120px!important}
body.mst16-inner input.form-control:focus,
body.mst16-inner textarea.form-control:focus,
body.mst16-inner select.form-control:focus,
body.mst16-inner .form-input:focus{
  border-color:#16a34a!important;
  box-shadow:0 0 0 3px rgba(22,163,74,.10)!important;
  outline:0!important;
}
body.mst16-inner .btn-info,
body.mst16-inner .btn-primary,
body.mst16-inner .btn-success,
body.mst16-inner a.btn-info,
body.mst16-inner a.btn-primary,
body.mst16-inner a.btn-success{
  background:#16a34a!important;
  border:1px solid #16a34a!important;
  color:#fff!important;
  border-radius:6px!important;
  min-height:39px!important;
  padding:8px 18px!important;
  font-size:14px!important;
  font-weight:600!important;
  line-height:1.45!important;
}
body.mst16-inner .btn-info:hover,
body.mst16-inner .btn-primary:hover,
body.mst16-inner .btn-success:hover{background:#11843d!important;border-color:#11843d!important}

/* Result mode gets exactly the same inner rhythm as input mode. */
body.mst16-inner .main-index.mst16-result-mode{padding:18px 20px!important}
body.mst16-inner .main-index.mst16-result-mode table.table,
body.mst16-inner table.table{
  width:100%!important;
  margin:10px 0 16px!important;
  background:#fff!important;
  border:1px solid #dfe6ee!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  border-radius:8px!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
body.mst16-inner .table>thead>tr>th{
  padding:11px 12px!important;
  background:#f6f8fb!important;
  color:#172033!important;
  border-color:#e1e7ee!important;
  font-size:14px!important;
  font-weight:700!important;
}
body.mst16-inner .table>tbody>tr>td,
body.mst16-inner .table>tbody>tr>th{
  padding:11px 12px!important;
  background:#fff!important;
  color:#253144!important;
  border-color:#e5eaf0!important;
  font-size:14px!important;
  line-height:1.45!important;
  vertical-align:middle!important;
}
body.mst16-inner .table>tbody>tr:hover>td{background:#f9fbfc!important}
body.mst16-inner .text-center br+br{line-height:.5!important}
body.mst16-inner .main-index>br:first-child{display:none!important}
body.mst16-inner .main-index p{font-size:14px!important;line-height:1.65!important;color:#4d5a6d!important}

/* Related tools: no phantom fourth/fifth item from Bootstrap clearfix. */
body.mst16-inner .mst-related-tools .mst-tool-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;
  gap:12px!important;
  margin:0!important;
}
body.mst16-inner .mst-related-tools .mst-tool-grid:before,
body.mst16-inner .mst-related-tools .mst-tool-grid:after,
body.mst16-inner .mst-related-tools .clearfix{content:none!important;display:none!important}
body.mst16-inner .mst-related-tools .mst-tool-col{
  width:auto!important;float:none!important;margin:0!important;padding:0!important
}

/* Language dropdown genuinely supports every enabled language returned by the core. */
.mst16-lang-details{position:relative!important}
.mst16-lang-menu{min-width:215px!important;max-height:360px!important;overflow-y:auto!important}
.mst16-lang-menu a{display:flex!important;align-items:center!important;gap:9px!important;font-size:13px!important;white-space:nowrap!important}

/* Dark mode — explicit coverage for both modern and legacy inner-tool elements. */
html.mst16-dark-preload{background:#0b131d!important;color-scheme:dark}
body.mst16-dark{--mst16-bg:#0b131d;--mst16-text:#e8eef5;--mst16-muted:#aab7c5;--mst16-border:#2b3a4a;background:#0b131d!important;color:#e8eef5!important;color-scheme:dark}
body.mst16-dark .mst16-header,
body.mst16-dark .mst16-topbar,
body.mst16-dark .mst16-catbar,
body.mst16-dark .mst16-page-head{background:#101b27!important;border-color:#2a3949!important}
body.mst16-dark .mst16-brand-copy strong,
body.mst16-dark .mst16-main-nav>a,
body.mst16-dark .mst16-main-nav summary,
body.mst16-dark .mst16-cat-details>summary,
body.mst16-dark .mst16-breadcrumb span,
body.mst16-dark #title,
body.mst16-dark .main-index>h2,
body.mst16-dark .about_tool,
body.mst16-dark h1,body.mst16-dark h2,body.mst16-dark h3,body.mst16-dark h4,body.mst16-dark h5,
body.mst16-dark label{color:#edf3f8!important}
body.mst16-dark .mst16-brand-copy small,
body.mst16-dark .mst16-breadcrumb,
body.mst16-dark .mst16-breadcrumb a,
body.mst16-dark .main-index p{color:#aab7c5!important}
body.mst16-dark .mst16-hero,
body.mst16-dark .mst16-tools-card,
body.mst16-dark .mst16-categories,
body.mst16-dark .mst16-all-tools,
body.mst16-dark .mst16-side-card,
body.mst16-dark .mst16-popular,
body.mst16-dark .main-container>.row>.main-index,
body.mst16-dark .main-container>.row>[class*="col-"]:not(#rightCol),
body.mst16-dark #mainbox,
body.mst16-dark .widget_tool_box,
body.mst16-dark .tool-box,
body.mst16-dark .box,
body.mst16-dark .well,
body.mst16-dark .panel,
body.mst16-dark .box_shadow_border,
body.mst16-dark .csContent{
  background:#14202d!important;
  border-color:#2c3c4d!important;
  color:#e8eef5!important;
}
body.mst16-dark .mst16-featured,
body.mst16-dark .mst16-all-item,
body.mst16-dark .mst-tool-card{background:#182635!important;border-color:#304254!important;color:#edf3f8!important}
body.mst16-dark .xd_top_box,
body.mst16-dark .mst16-ad{background:#101b27!important;border-color:#344657!important;color:#8998a8!important}
body.mst16-dark input.form-control,
body.mst16-dark textarea.form-control,
body.mst16-dark select.form-control,
body.mst16-dark .form-input,
body.mst16-dark input:not([type="submit"]):not([type="button"]),
body.mst16-dark textarea,
body.mst16-dark select{
  background:#0e1925!important;
  color:#edf3f8!important;
  border-color:#344657!important;
}
body.mst16-dark input::placeholder,body.mst16-dark textarea::placeholder{color:#8190a0!important}
body.mst16-dark table.table{background:#14202d!important;border-color:#304254!important}
body.mst16-dark .table>thead>tr>th{background:#1a2938!important;color:#f1f5f9!important;border-color:#304254!important}
body.mst16-dark .table>tbody>tr>td,
body.mst16-dark .table>tbody>tr>th{background:#14202d!important;color:#e7edf4!important;border-color:#2d3e4f!important}
body.mst16-dark .table>tbody>tr:hover>td{background:#1a2a39!important}
body.mst16-dark .mst16-mega,
body.mst16-dark .mst16-cat-menu,
body.mst16-dark .mst16-lang-menu,
body.mst16-dark #mst16-search-results{background:#172534!important;border-color:#304254!important}
body.mst16-dark .mst16-mega a,
body.mst16-dark .mst16-cat-menu a,
body.mst16-dark .mst16-lang-menu a,
body.mst16-dark #mst16-search-results a{color:#eaf0f5!important;border-color:#263748!important}
body.mst16-dark .mst16-mega a:hover,
body.mst16-dark .mst16-cat-menu a:hover,
body.mst16-dark .mst16-lang-menu a:hover,
body.mst16-dark #mst16-search-results a:hover{background:#203246!important}
body.mst16-dark .modal-content{background:#14202d!important;color:#edf3f8!important;border-color:#304254!important}
body.mst16-dark .modal-header,body.mst16-dark .modal-footer{border-color:#304254!important}
body.mst16-dark .close{color:#fff!important;opacity:.85!important}
body.mst16-dark .alert-info{background:#132b3f!important;border-color:#28506d!important;color:#cfe9ff!important}
body.mst16-dark .alert-success{background:#123322!important;border-color:#28643f!important;color:#d5f5e1!important}
body.mst16-dark .alert-warning{background:#352d13!important;border-color:#695925!important;color:#ffe9a8!important}
body.mst16-dark .alert-danger,body.mst16-dark .alert-error{background:#3a1d22!important;border-color:#71323e!important;color:#ffd6dd!important}

/* Tablet keeps two columns until true mobile; mobile stacks cleanly. */
@media (min-width:768px) and (max-width:1050px){
  body.mst16-inner .main-container>.row,
  body.mst16-inner .mst-layout-row{grid-template-columns:minmax(0,1fr) 245px!important;gap:13px!important}
}
@media (max-width:767px){
  body.mst16-inner .mst16-page-head>.container{min-height:38px!important;padding:0!important}
  body.mst16-inner .mst16-breadcrumb{font-size:12px!important}
  body.mst16-inner .container.main-container,body.mst16-inner .main-container{margin-top:8px!important;padding-bottom:12px!important}
  body.mst16-inner .main-container>.row,
  body.mst16-inner .mst-layout-row{grid-template-columns:1fr!important;gap:10px!important}
  body.mst16-inner .main-container>.row>.main-index,
  body.mst16-inner .main-container>.row>[class*="col-"]:not(#rightCol),
  body.mst16-inner .mst-layout-row>.main-index,
  body.mst16-inner .mst-layout-row>[class*="col-"]:not(#rightCol){grid-column:1!important;padding:13px!important}
  body.mst16-inner #rightCol{grid-column:1!important}
  body.mst16-inner #title,body.mst16-inner .main-index>h2:first-of-type{font-size:19px!important;margin-bottom:13px!important;padding-bottom:11px!important}
  body.mst16-inner .table-responsive{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  body.mst16-inner table.table{min-width:520px!important}
  body.mst16-inner .mst-related-tools .mst-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:480px){
  body.mst16-inner .mst-related-tools .mst-tool-grid{grid-template-columns:1fr!important}
}


/* ===== v2.3 final dark-mode coverage + Major SEO Tool brand ===== */
.mst16-major-mark b:first-child{width:25px!important}
.mst16-major-mark b:nth-child(2){width:42px!important;padding:0 5px!important}
.mst16-atoz-footer.mst16-major-mark b:first-child{width:21px!important}
.mst16-atoz-footer.mst16-major-mark b:nth-child(2){width:36px!important}

/* Catch legacy black/dark text in tool and result templates, including inline color declarations. */
body.mst16-dark .main-index,
body.mst16-dark .main-index div,
body.mst16-dark .main-index p,
body.mst16-dark .main-index span:not(.label):not(.badge):not(.progress-bar),
body.mst16-dark .main-index b,
body.mst16-dark .main-index strong,
body.mst16-dark .main-index small,
body.mst16-dark .main-index label,
body.mst16-dark .main-index legend,
body.mst16-dark .main-index li,
body.mst16-dark .main-index td,
body.mst16-dark .main-index th,
body.mst16-dark .main-index pre,
body.mst16-dark .main-index code,
body.mst16-dark .main-index .help-block,
body.mst16-dark .main-index .control-label,
body.mst16-dark .main-index .color_text_in,
body.mst16-dark .main-index .color_grap,
body.mst16-dark .main-index .color-grey,
body.mst16-dark .main-index .color-black,
body.mst16-dark .main-index .black,
body.mst16-dark .csContent,
body.mst16-dark .csContent *:not(a):not(button):not(.btn):not(i),
body.mst16-dark .widget_tool_box,
body.mst16-dark .widget_tool_box p,
body.mst16-dark .widget_tool_box span,
body.mst16-dark #rightCol h1,
body.mst16-dark #rightCol h2,
body.mst16-dark #rightCol h3,
body.mst16-dark #rightCol h4,
body.mst16-dark #rightCol p,
body.mst16-dark #rightCol span:not(.mst-pop-icon){color:#e7eef6!important}

body.mst16-dark .main-index [style*="color:#000"],
body.mst16-dark .main-index [style*="color: #000"],
body.mst16-dark .main-index [style*="color:black"],
body.mst16-dark .main-index [style*="color: black"],
body.mst16-dark .main-index [style*="color:#111"],
body.mst16-dark .main-index [style*="color: #111"],
body.mst16-dark .main-index [style*="color:#222"],
body.mst16-dark .main-index [style*="color: #222"],
body.mst16-dark .main-index [style*="color:#333"],
body.mst16-dark .main-index [style*="color: #333"]{color:#e7eef6!important}

/* Preserve semantic/accent colors after the broad legacy override. */
body.mst16-dark .main-index a:not(.btn){color:#64d58c!important}
body.mst16-dark .main-index a:not(.btn):hover{color:#8ee2ac!important}
body.mst16-dark .main-index .btn,
body.mst16-dark .main-index button,
body.mst16-dark .main-index input[type="submit"],
body.mst16-dark .main-index input[type="button"]{color:#fff!important}
body.mst16-dark .main-index .text-danger,
body.mst16-dark .main-index .error,
body.mst16-dark .main-index .danger{color:#ff8795!important}
body.mst16-dark .main-index .text-success,
body.mst16-dark .main-index .success{color:#78dda0!important}
body.mst16-dark .main-index .text-warning,
body.mst16-dark .main-index .warning{color:#ffd77a!important}
body.mst16-dark .main-index .text-info,
body.mst16-dark .main-index .info{color:#8fd4ff!important}
body.mst16-dark .main-index hr{border-color:#304254!important}
body.mst16-dark .main-index blockquote{border-color:#3c5064!important;color:#c9d5df!important}
body.mst16-dark .main-index option{background:#0e1925!important;color:#edf3f8!important}

/* Language menu remains readable for native-script labels and RTL Arabic. */
.mst16-lang-menu a{font-size:13px!important;line-height:1.35!important}
.mst16-lang-menu a[href*="/ar/"]{direction:rtl;text-align:right}

/* ===== v2.4 dark-mode sidebar + final contrast fixes ===== */
body.mst16-dark .mst16-sidebar .mst16-popular,
body.mst16-dark .mst16-sidebar .mst16-side-card{background:#14202d!important;border-color:#304254!important}
body.mst16-dark .mst16-sidebar .mst16-popular>h3{color:#f4f7fb!important;border-color:#304254!important;background:#14202d!important}
body.mst16-dark .mst16-sidebar .mst16-popular-list a,
body.mst16-dark .mst16-sidebar .mst16-popular-list a:link,
body.mst16-dark .mst16-sidebar .mst16-popular-list a:visited,
body.mst16-dark .mst16-sidebar .mst16-popular-list a strong,
body.mst16-dark .mst16-sidebar .mst16-popular-list a span:not(.mst16-pop-icon){color:#edf3f8!important;text-shadow:none!important}
body.mst16-dark .mst16-sidebar .mst16-popular-list a{border-bottom-color:#304254!important;background:transparent!important}
body.mst16-dark .mst16-sidebar .mst16-popular-list a:hover{background:#1b2c3d!important}
body.mst16-dark .mst16-sidebar .mst16-popular-list>a>i{color:#91a6ba!important}
body.mst16-dark .mst16-sidebar .mst16-popular-all{background:#14202d!important;color:#42d47a!important;border-color:#28bd61!important}
body.mst16-dark .mst16-sidebar .mst16-popular-all:hover{background:#193022!important;color:#69e396!important}

/* Theme-owned cards must never inherit legacy black text. */
body.mst16-dark .mst16-featured strong,
body.mst16-dark .mst16-featured small,
body.mst16-dark .mst16-category-grid strong,
body.mst16-dark .mst16-category-grid small,
body.mst16-dark .mst16-all-item>span:not(.mst16-all-icon),
body.mst16-dark .mst16-all-head p,
body.mst16-dark .mst16-popular-search strong{color:#e8eef5!important}
body.mst16-dark .mst16-featured small,
body.mst16-dark .mst16-category-grid small,
body.mst16-dark .mst16-all-head p{color:#aebdca!important}
body.mst16-dark .mst16-popular-search a{background:#182635!important;color:#dce6ef!important;border-color:#334657!important}

/* =========================================================
   Major SEO Tool v2.5 - Auth modal + All Tools readability
   ========================================================= */

/* All SEO Tools: readable names on every viewport */
body.mst16 .mst16-all-item > span:nth-child(2){
  font-size:14px!important;
  line-height:1.3!important;
  font-weight:650!important;
  letter-spacing:0!important;
  color:#172033!important;
}
body.mst16 .mst16-all-category h3{font-size:16px!important;line-height:1.3!important}
body.mst16 .mst16-all-head h2{font-size:22px!important}
body.mst16 .mst16-all-head p{font-size:13px!important;line-height:1.45!important}
body.mst16 .mst16-all-item{min-height:60px!important;height:auto!important;padding:10px 12px!important;gap:11px!important}
body.mst16 .mst16-all-icon{width:34px!important;height:34px!important;flex:0 0 34px!important}
body.mst16 .mst16-all-item .mst16-all-icon i{font-size:19px!important}

/* Auth modals: isolate from old floated login styles */
body.mst16 .loginme.modal{padding-left:0!important;padding-right:0!important;overflow-x:hidden!important;overflow-y:auto!important}
body.mst16 .loginme .modal-dialog{
  width:520px!important;
  max-width:calc(100vw - 28px)!important;
  margin:72px auto 30px!important;
  position:relative!important;
}
body.mst16 .loginme .modal-content{
  width:100%!important;
  overflow:hidden!important;
  border:1px solid #e2e8f0!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 24px 70px rgba(15,23,42,.24)!important;
}
body.mst16 .loginme .modal-header{
  min-height:62px!important;
  padding:18px 22px!important;
  border-bottom:1px solid #e8edf3!important;
  background:#fff!important;
  display:block!important;
  position:relative!important;
}
body.mst16 .loginme .modal-title{
  margin:0!important;
  padding-right:34px!important;
  font-size:21px!important;
  line-height:1.25!important;
  font-weight:700!important;
  color:#111827!important;
}
body.mst16 .loginme .modal-header .close{
  position:absolute!important;
  top:14px!important;
  right:16px!important;
  float:none!important;
  width:34px!important;
  height:34px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:7px!important;
  background:#f4f6f8!important;
  color:#475569!important;
  opacity:1!important;
  font-size:25px!important;
  line-height:31px!important;
  text-align:center!important;
  text-shadow:none!important;
}
body.mst16 .loginme .modal-body{padding:22px!important;background:#fff!important}
body.mst16 .loginme .loginme-form{margin:0!important;padding:0!important}
body.mst16 .loginme .form-group{margin:0 0 16px!important;padding:0!important}
body.mst16 .loginme label{
  display:block!important;
  width:100%!important;
  margin:0!important;
  color:#1f2937!important;
  font-size:14px!important;
  line-height:1.45!important;
  font-weight:650!important;
}
body.mst16 .loginme .form-input,
body.mst16 .loginme input[type="text"],
body.mst16 .loginme input[type="email"],
body.mst16 .loginme input[type="password"]{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:44px!important;
  margin:7px 0 0!important;
  padding:9px 12px!important;
  border:1px solid #d7dee7!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#111827!important;
  font-size:14px!important;
  line-height:24px!important;
  box-shadow:none!important;
}
body.mst16 .loginme .form-input:focus,
body.mst16 .loginme input:focus{
  border-color:#16a34a!important;
  box-shadow:0 0 0 3px rgba(22,163,74,.12)!important;
  outline:0!important;
}
body.mst16 .loginme .info{
  margin:0 0 12px!important;
  color:#64748b!important;
  font-size:13px!important;
  line-height:1.5!important;
}

/* Old social login rules used floats + 50px left margin. Neutralize them. */
body.mst16 .loginme .connect-with{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:9px!important;
  width:100%!important;
  margin:0 0 18px!important;
  padding:0 0 18px!important;
  border-bottom:1px solid #e8edf3!important;
  overflow:visible!important;
}
body.mst16 .loginme .connect-with .info{grid-column:1 / -1!important;margin:0 0 2px!important}
body.mst16 .loginme .connect-with .connect{
  float:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  width:100%!important;
  height:40px!important;
  margin:0!important;
  padding:0 8px!important;
  border:0!important;
  border-radius:7px!important;
  background-image:none!important;
  color:#fff!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:700!important;
  white-space:nowrap!important;
  text-align:center!important;
  box-shadow:none!important;
}
body.mst16 .loginme .connect-with .connect.facebook{background:#3b5998!important}
body.mst16 .loginme .connect-with .connect.google{background:#dc4d28!important}
body.mst16 .loginme .connect-with .connect.twitter{background:#00abf1!important}

body.mst16 .loginme .modal-footer{
  min-height:68px!important;
  padding:14px 22px!important;
  border-top:1px solid #e8edf3!important;
  background:#fafbfc!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  text-align:left!important;
}
body.mst16 .loginme .modal-footer:before,
body.mst16 .loginme .modal-footer:after{display:none!important;content:none!important}
body.mst16 .loginme .modal-footer .pull-left,
body.mst16 .loginme .modal-footer .pull-right{float:none!important}
body.mst16 .loginme .modal-footer .align-right{text-align:right!important;margin-left:auto!important}
body.mst16 .loginme .modal-footer .btn,
body.mst16 .loginme .modal-footer button[type="submit"]{
  flex:0 0 auto!important;
  min-width:110px!important;
  height:40px!important;
  margin:0!important;
  padding:0 18px!important;
  border:1px solid #16a34a!important;
  border-radius:7px!important;
  background:#16a34a!important;
  color:#fff!important;
  font-size:14px!important;
  line-height:38px!important;
  font-weight:700!important;
  text-align:center!important;
}
body.mst16 .loginme .modal-footer a{color:#16813e!important;font-size:12px!important;line-height:1.55!important}
body.mst16 .loginme .alert{margin:0 0 15px!important;border-radius:7px!important}

/* Modal dark mode */
body.mst16-dark .loginme .modal-content,
body.mst16-dark .loginme .modal-header,
body.mst16-dark .loginme .modal-body{background:#14202d!important;border-color:#304254!important;color:#eef4f8!important}
body.mst16-dark .loginme .modal-footer{background:#101b27!important;border-color:#304254!important}
body.mst16-dark .loginme .modal-title,
body.mst16-dark .loginme label{color:#f5f8fb!important}
body.mst16-dark .loginme .info{color:#aebcca!important}
body.mst16-dark .loginme .connect-with{border-color:#304254!important}
body.mst16-dark .loginme .form-input,
body.mst16-dark .loginme input[type="text"],
body.mst16-dark .loginme input[type="email"],
body.mst16-dark .loginme input[type="password"]{
  background:#0d1722!important;
  border-color:#3a4b5d!important;
  color:#f2f6f9!important;
}
body.mst16-dark .loginme .modal-header .close{background:#223244!important;color:#f2f6f9!important}
body.mst16-dark .loginme .modal-footer a{color:#72dc96!important}
body.mst16-dark .mst16-all-item > span:nth-child(2){color:#f3f7fa!important}

@media(max-width:600px){
  body.mst16 .loginme .modal-dialog{max-width:calc(100vw - 18px)!important;margin:34px auto 18px!important}
  body.mst16 .loginme .modal-header{padding:16px 17px!important}
  body.mst16 .loginme .modal-body{padding:17px!important}
  body.mst16 .loginme .connect-with{grid-template-columns:1fr!important;gap:8px!important}
  body.mst16 .loginme .modal-footer{padding:14px 17px!important;display:block!important}
  body.mst16 .loginme .modal-footer .btn,
  body.mst16 .loginme .modal-footer button[type="submit"]{display:block!important;width:100%!important;margin-bottom:11px!important}
  body.mst16 .loginme .modal-footer .align-right{text-align:left!important;margin-left:0!important}
  body.mst16 .mst16-all-item > span:nth-child(2){font-size:13px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
}

/* =========================================================
   Major SEO Tool v2.6 - All SEO Tools balanced text sizing
   ========================================================= */
body.mst16 .mst16-all-item > span:nth-child(2){
  font-size:12.5px!important;
  line-height:1.28!important;
  font-weight:600!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  min-width:0!important;
  display:block!important;
}
body.mst16 .mst16-all-item{
  min-height:56px!important;
  height:auto!important;
  padding:9px 10px!important;
  align-items:center!important;
}
body.mst16 .mst16-all-icon{
  width:32px!important;
  height:32px!important;
  flex:0 0 32px!important;
}
body.mst16 .mst16-all-item .mst16-all-icon i{font-size:17px!important}
body.mst16 .mst16-all-item > i{flex:0 0 auto!important;margin-left:auto!important}

@media(max-width:767px){
  body.mst16 .mst16-all-item > span:nth-child(2){font-size:12.5px!important;line-height:1.3!important}
}
