/* Shared navigation and home entry; scoped to their own components. */
.site-header > .global-nav{display:flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;width:100%;margin:2px 0 0;font-size:.875rem;line-height:1.5}
.site-header > .global-nav > a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;border-radius:6px;color:#68756f;text-decoration:none;font-weight:500;white-space:nowrap;touch-action:manipulation}
.site-header > .global-nav > a:hover{background:#f4f5ef;color:#315747}
.site-header > .global-nav > a[aria-current="page"]{background:#edf2eb;color:#315747}
.site-header > .global-nav > a:focus-visible{outline:2px solid #5d7969;outline-offset:3px}
.site > .tools-entry{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:28px 40px 0;padding:24px 28px;border:1px solid #dde6db;border-radius:10px;background:#f5f7f0;color:#253039;line-height:1.65}
.site > .tools-entry > div{min-width:0}
.site > .tools-entry .tools-entry-eyebrow{margin:0 0 5px;color:#5d7969;font-size:.75rem;font-weight:500;letter-spacing:.08em}
.site > .tools-entry h2{margin:0;font-size:1.1875rem;line-height:1.5;text-align:left;font-weight:600}
.site > .tools-entry p:not(.tools-entry-eyebrow){margin:6px 0 0;font-size:.875rem;line-height:1.75;color:#68756f}
.site > .tools-entry .tools-entry-actions{display:flex;flex:0 0 auto;flex-direction:column;align-items:center;gap:3px}
.site > .tools-entry .tools-entry-primary{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:44px;padding:10px 17px;background:#315747;border:1px solid #315747;border-radius:6px;font-size:.875rem;line-height:1.5;color:#fff;text-decoration:none;white-space:nowrap;touch-action:manipulation}
.site > .tools-entry .tools-entry-primary:hover{background:#244637;border-color:#244637;color:#fff}
.site > .tools-entry .tools-entry-more{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;font-size:.8125rem;line-height:1.5;color:#536f5f;text-decoration:none;touch-action:manipulation}
.site > .tools-entry .tools-entry-more:hover{text-decoration:underline;text-underline-offset:4px}
.site > .tools-entry a:focus-visible{outline:2px solid #5d7969;outline-offset:4px}
/* Directory-only styling; no unscoped element rules. */
.tools-page{margin:0;background:#fff;color:#253039;font:400 16px/1.65 -apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;color-scheme:light;-webkit-text-size-adjust:100%}
.tools-page *, .tools-page *::before, .tools-page *::after{box-sizing:border-box}
.tools-page a{color:inherit;text-decoration:none;touch-action:manipulation}
.tools-page a:focus-visible{outline:2px solid #5d7969;outline-offset:5px}
.tools-page h1,.tools-page h2,.tools-page p{margin:0}
.tools-page > .site{max-width:1280px;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;margin:0 auto}
.tools-page .tools-skip{position:fixed;top:12px;left:12px;z-index:10;transform:translateY(-160%);padding:10px 16px;background:#253039;color:#fff;border-radius:5px}
.tools-page .tools-skip:focus{transform:none}
.tools-page .site-header{display:flex;flex-direction:column;align-items:center;gap:12px;padding:22px 40px 14px;border-bottom:1px solid #e5e9e6}
.tools-page .wordmark{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}
.tools-page .wordmark strong{font-size:1.625rem;font-weight:750;line-height:1.4;white-space:nowrap}
.tools-page .wordmark > span{font-size:.8125rem;line-height:1.5;letter-spacing:.12em;color:#68756f}
.tools-page .header-links{display:flex;align-items:center;justify-content:center;width:100%;min-width:0}
.tools-page .social-links{display:flex;align-items:center;justify-content:center;gap:28px}
.tools-page .social-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;font-size:.875rem;white-space:nowrap}
.tools-page .social-link:hover{color:#ad5032}
.tools-page .platform-logo{display:block;width:28px;height:28px;flex-shrink:0;fill:currentColor}
.tools-page .telegram-link .platform-logo{color:#229ed9}
.tools-page .channel-avatar{display:block;position:relative;width:36px;height:36px;flex-shrink:0}
.tools-page .channel-avatar img{display:block;width:36px;height:36px;object-fit:cover;border-radius:50%}
.tools-page .youtube-link .channel-avatar .platform-logo{position:absolute;right:-3px;bottom:-1px;width:16px;height:13px;padding:1px;background:#fff;border-radius:3px;color:#ff0033}
.tools-page .tools-directory{flex:1;padding:52px 40px 64px;background:linear-gradient(180deg,#f8f7f3 0,#fff 420px)}
.tools-page .tools-intro{text-align:center;max-width:680px;margin:0 auto 34px}
.tools-page .tools-eyebrow{color:#5d7969;font-size:.8125rem;font-weight:500;letter-spacing:.05em}
.tools-page .tools-intro h1{margin-top:9px;font-size:2.125rem;font-weight:650;line-height:1.4;letter-spacing:.02em}
.tools-page .tools-description{margin-top:12px;color:#68756f;font-size:1rem;line-height:1.85}
.tools-page .tools-mobile-break{display:none}
.tools-page .tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1080px;margin:0 auto}
.tools-page .tool-card{display:flex;flex-direction:column;min-width:0;padding:28px 30px 0;border:1px solid #dce5d9;border-radius:12px;background:#fff;box-shadow:0 5px 20px #314b3c06;transition:border-color .15s ease,box-shadow .15s ease}
.tools-page .tool-card:only-child{grid-column:1/-1;width:100%;max-width:640px;justify-self:center}
.tools-page .tool-card:hover{border-color:#8fa78f;box-shadow:0 7px 24px #314b3c0d}
.tools-page .tool-card-top{display:flex;align-items:center;gap:16px}
.tools-page .tool-icon{display:flex;align-items:center;justify-content:center;width:58px;height:58px;flex:0 0 58px;border-radius:12px;background:#edf3e9;color:#40644f}
.tools-page .tool-icon svg{width:33px;height:33px}
.tools-page .tool-category{margin-bottom:2px;color:#68756f;font-size:.75rem;line-height:1.5}
.tools-page .tool-card h2{font-size:1.5rem;line-height:1.5;font-weight:600;color:#253039}
.tools-page .tool-description{margin-top:20px;color:#68756f;font-size:.9375rem;line-height:1.85}
.tools-page .tool-features{display:grid;grid-template-columns:1fr;gap:9px;margin:20px 0 25px;padding:0;list-style:none;color:#486450;font-size:.875rem;line-height:1.7}
.tools-page .tool-features li{display:flex;align-items:center;gap:9px}
.tools-page .tool-features svg{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.tools-page .tool-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:65px;margin-top:auto;border-top:1px solid #e8ede5;color:#315747;font-size:.9375rem;font-weight:600}
.tools-page .tool-open-arrow{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#edf3e9;font-size:1.125rem}
.tools-page .tools-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px 24px;padding:23px 40px;border-top:1px solid #e5e9e6;color:#68756f;font-size:.8125rem;line-height:1.7}
.tools-page .tools-footer a{min-height:44px;display:inline-flex;align-items:center;gap:8px;color:#536f5f}
.tools-page .tools-footer a:hover{text-decoration:underline;text-underline-offset:4px}
@media(min-width:1150px){.site > .tools-entry{margin-left:56px;margin-right:56px}.tools-page .site-header,.tools-page .tools-directory,.tools-page .tools-footer{padding-left:56px;padding-right:56px}}
@media(max-width:850px){.site > .tools-entry{margin-left:26px;margin-right:26px;padding:22px 24px;gap:20px}.tools-page .tools-directory{padding:42px 26px 54px}.tools-page .tool-card{padding:24px 24px 0}.tools-page .tool-card h2{font-size:1.375rem}}
@media(max-width:700px){.site > .tools-entry{align-items:flex-start;flex-direction:column;gap:16px}.site > .tools-entry .tools-entry-actions{flex-direction:row;flex-wrap:wrap;gap:6px 12px;justify-content:flex-start}.tools-page .tools-grid{grid-template-columns:1fr}.tools-page .tool-card:only-child{max-width:640px}.site-header > .global-nav{display:flex}}
@media(max-width:550px){.site-header > .global-nav{gap:6px;font-size:.8125rem}.site-header > .global-nav > a{padding:10px 20px}.site > .tools-entry{margin:22px 20px 0;padding:20px}.site > .tools-entry h2{font-size:1.0625rem}.site > .tools-entry p:not(.tools-entry-eyebrow){font-size:.8125rem}.site > .tools-entry .tools-entry-primary{font-size:.8125rem;padding:10px 14px;gap:12px}.site > .tools-entry .tools-entry-more{font-size:.8125rem;padding-left:4px;padding-right:4px}.tools-page .site-header{padding:20px 16px 12px;gap:10px}.tools-page .wordmark strong{font-size:1.5rem}.tools-page .wordmark > span{font-size:.75rem;letter-spacing:.1em}.tools-page .social-links{gap:18px}.tools-page .social-link{font-size:.75rem;gap:6px}.tools-page .channel-avatar,.tools-page .channel-avatar img{width:32px;height:32px}.tools-page .platform-logo{width:23px;height:23px}.tools-page .tools-directory{padding:32px 20px 44px}.tools-page .tools-intro{margin-bottom:26px}.tools-page .tools-eyebrow{font-size:.75rem}.tools-page .tools-intro h1{font-size:1.75rem}.tools-page .tools-description{font-size:.9375rem;margin-top:9px}.tools-page .tools-mobile-break{display:inline}.tools-page .tool-card{padding:22px 20px 0;border-radius:10px}.tools-page .tool-card-top{gap:13px}.tools-page .tool-icon{width:52px;height:52px;flex-basis:52px}.tools-page .tool-icon svg{width:30px;height:30px}.tools-page .tool-card h2{font-size:1.375rem}.tools-page .tool-description{font-size:.875rem;margin-top:17px}.tools-page .tool-features{font-size:.8125rem;margin:18px 0 20px;gap:9px}.tools-page .tool-card-bottom{min-height:60px;font-size:.875rem}.tools-page .tools-footer{padding:17px 20px;font-size:.75rem}}
@media(max-width:360px){.tools-page .social-links{gap:12px}.tools-page .social-link{font-size:.6875rem;gap:5px}.tools-page .telegram-link .platform-logo{width:21px;height:21px}.tools-page .tool-card{padding-left:18px;padding-right:18px}.tools-page .tool-card h2{font-size:1.25rem}.site > .tools-entry .tools-entry-actions{gap:2px 12px}.site > .tools-entry .tools-entry-primary{width:100%}}
@media(prefers-reduced-motion:reduce){.tools-page .tool-card{transition:none}}
