:root {
  --ink: #14213a;
  --muted: #68738a;
  --blue: #3157a4;
  --blue-dark: #102a56;
  --orange: #ef7a42;
  --green: #248d63;
  --paper: #f3f5f8;
  --white: #fff;
  --line: #e0e5ee;
  --soft-blue: #edf2fc;
  --cream: #fffaf4;
  --shadow: 0 16px 42px rgba(21, 42, 79, .09);
  --shadow-hover: 0 18px 38px rgba(21, 42, 79, .14);
  --radius: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(40, 86, 189, .24); outline-offset: 2px; }
.wrap { width: min(1320px, calc(100% - 32px)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--blue-dark); color: white; font-size: 12px; font-weight: 800; text-decoration: none; transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 50; border-top: 3px solid var(--blue-dark); border-bottom: 1px solid rgba(216,223,235,.9); background: rgba(255,255,255,.92); backdrop-filter: blur(18px); }
.nav { min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; font-weight: 850; line-height: 1.1; }
.brand small { display: block; margin-top: 4px; color: #8691a5; font-size: 9px; font-weight: 650; letter-spacing: .08em; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(145deg, #3b64bc, var(--blue-dark)); color: white; font-size: 12px; letter-spacing: .08em; box-shadow: 0 8px 20px rgba(26,59,119,.22), inset 0 1px rgba(255,255,255,.2); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { position: relative; color: #414c60; text-decoration: none; font-size: 13px; font-weight: 750; }
.nav-links a::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s ease; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--blue); }
.nav-apply { padding: 10px 17px; border-radius: 999px; background: var(--blue-dark); color: white; font-size: 12px; font-weight: 800; text-decoration: none; box-shadow: 0 8px 18px rgba(16,42,86,.16); transition: transform .2s var(--ease), background .2s ease; }
.nav-apply:hover { transform: translateY(-1px); background: var(--blue); }

.directory-hero { position: relative; overflow: hidden; padding: 38px 0 32px; background: radial-gradient(circle at 72% -40%, rgba(71,106,185,.2), transparent 43%), radial-gradient(circle at 8% 115%, rgba(239,122,66,.11), transparent 31%), linear-gradient(135deg, #f9fbff 0%, #f3f6fb 56%, #fffaf5 100%); }
.directory-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(40,68,120,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(40,68,120,.025) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to right, black, transparent 86%); }
.directory-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 235px minmax(380px, 1fr) 330px; align-items: center; gap: 32px; }
.directory-title p { margin: 0 0 6px; color: var(--orange); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.directory-title h1 { margin: 0; font-size: 32px; line-height: 1.08; letter-spacing: -.045em; }
.directory-title h1 em { color: var(--blue); font-style: normal; }
.directory-title > span { display: block; margin-top: 12px; color: #7e899d; font-size: 11px; letter-spacing: .02em; }
.search-center { min-width: 0; }
.directory-search { position: relative; display: flex; align-items: center; height: 60px; overflow: hidden; border: 1px solid rgba(190,200,219,.9); border-radius: 14px; background: white; box-shadow: 0 18px 44px rgba(32,55,96,.11); transition: border .2s ease, box-shadow .2s ease; }
.directory-search:focus-within { border-color: rgba(49,87,164,.6); box-shadow: 0 20px 48px rgba(32,55,96,.16), 0 0 0 4px rgba(49,87,164,.08); }
.directory-search input { min-width: 0; flex: 1; height: 100%; padding: 0 18px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.directory-search .search-glyph { display: grid; place-items: center; width: 62px; height: 100%; border-left: 1px solid #edf0f5; background: #f8faff; color: var(--blue); font-size: 25px; }
.search-library-link { display: inline-block; margin: 10px 0 0 4px; color: var(--blue); font-size: 11px; font-weight: 800; text-decoration: none; }
.headline-card { padding: 17px 19px; border: 1px solid rgba(218,224,235,.9); border-radius: 14px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.headline-card > div { display: flex; justify-content: space-between; margin-bottom: 7px; }
.headline-card > div b { font-size: 14px; }
.headline-card > div a { color: var(--blue); font-size: 10px; text-decoration: none; }
.headline-card ul { list-style: none; margin: 0; padding: 0; }
.headline-card li a { display: block; overflow: hidden; padding: 7px 0; border-top: 1px solid #edf0f5; font-size: 11px; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.headline-card li a span { margin-right: 7px; color: var(--orange); font-size: 9px; font-weight: 850; }

.directory-workspace { padding: 26px 0 72px; scroll-margin-top: 72px; }
.directory-layout { display: grid; grid-template-columns: 178px minmax(0, 1fr); align-items: start; gap: 20px; }
.category-rail { position: sticky; top: 86px; max-height: calc(100vh - 104px); overflow-x: hidden; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 28px rgba(28,48,84,.06); }
.rail-title { padding: 18px 17px 14px; border-bottom: 1px solid var(--line); color: var(--blue-dark); font-size: 14px; font-weight: 900; }
.category-rail > button { width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: 45px; padding: 0 16px; border: 0; border-left: 3px solid transparent; background: white; color: #596377; font-size: 12px; cursor: pointer; text-align: left; transition: .18s ease; }
.category-rail > button:hover { background: #f7f9fd; color: var(--blue); }
.category-rail > button.active { border-left-color: var(--orange); background: linear-gradient(90deg, #eef3ff, #f8faff); color: var(--blue); font-weight: 850; }
.category-rail > button b { min-width: 24px; color: #a2aabb; font-size: 9px; font-weight: 700; text-align: right; }
.rail-actions { display: grid; gap: 1px; padding: 10px; border-top: 1px solid var(--line); background: #f7f8fb; }
.rail-actions a { padding: 8px 9px; color: #5f6a7f; font-size: 10px; font-weight: 750; text-decoration: none; }
.rail-actions a:hover { color: var(--blue); }
.tool-directory { min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 12px 34px rgba(28,48,84,.06); }
.directory-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.directory-heading p { margin: 0 0 4px; color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.directory-heading h2 { margin: 0; font-size: 27px; letter-spacing: -.04em; }
.directory-count { display: flex; align-items: baseline; gap: 6px; }
.directory-count b { color: var(--orange); font-size: 28px; line-height: 1; }
.directory-count span { color: var(--muted); font-size: 10px; }
.directory-notice { margin-top: 15px; padding: 10px 13px; border: 1px solid #e6ebf4; border-radius: 9px; background: #f7f9fd; color: #61708c; font-size: 10px; }
.directory-notice span { margin-right: 7px; padding: 3px 6px; border-radius: 5px; background: var(--green); color: white; font-size: 8px; font-weight: 900; }
.subcategory-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; padding-bottom: 2px; }
.subcategory-filters button { padding: 7px 10px; border: 1px solid #dfe5ef; border-radius: 999px; background: #fff; color: #697489; font: inherit; font-size: 10px; font-weight: 750; cursor: pointer; }
.subcategory-filters button:hover { border-color: #aabbd8; color: var(--blue); }
.subcategory-filters button.active { border-color: var(--blue); background: var(--blue); color: #fff; }
.subcategory-filters button b { margin-left: 3px; font-size: 8px; opacity: .72; }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-top: 18px; }
.tool-card { position: relative; min-width: 0; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 13px; min-height: 102px; padding: 14px; border: 1px solid #e3e8f0; border-radius: 13px; background: linear-gradient(145deg, #fff 0%, #fbfcff 100%); text-decoration: none; transition: transform .22s var(--ease), border-color .22s ease, box-shadow .22s ease; }
.tool-card:hover { transform: translateY(-3px); border-color: #b8c8e4; box-shadow: var(--shadow-hover); }
.tool-card[hidden] { display: none; }
.tool-logo { display: grid; place-items: center; width: 58px; height: 58px; overflow: hidden; border: 1px solid #e4e9f0; border-radius: 14px; background: #fff; box-shadow: 0 6px 16px rgba(24, 43, 76, .07); }
.tool-logo img { width: 100%; height: 100%; object-fit: contain; }
.tool-logo-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(145deg, #edf3ff, #dfe9fb); color: var(--blue); font-size: 15px; font-weight: 900; }
.tool-logo-fallback[hidden] { display: none; }
.tool-avatar { width: 58px; height: 58px; border: 1px solid #e9edf3; border-radius: 14px; background: #f5f7fa; object-fit: cover; }
.tool-avatar { display: grid; place-items: center; border-color: #d9e3fa; background: linear-gradient(145deg, #f7f9ff, #e7eeff); color: var(--blue); font-size: 15px; font-weight: 900; box-shadow: inset 0 1px rgba(255,255,255,.7); }
.tool-copy { min-width: 0; }
.tool-card b, .tool-card small { display: block; overflow: hidden; text-overflow: ellipsis; }
.tool-card b { color: #202a3e; font-size: 13px; white-space: nowrap; }
.tool-card small { display: -webkit-box; min-height: 30px; margin-top: 4px; color: #7c879a; font-size: 10px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tool-meta { display: block; overflow: hidden; margin-top: 5px; color: #a1aabc; font-size: 8px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.tool-card i { color: #aeb6c5; font-size: 11px; font-style: normal; transition: transform .2s ease, color .2s ease; }
.tool-card:hover i { color: var(--orange); transform: translate(2px, -2px); }
.imported-tool:nth-child(7n+1) .tool-avatar { background: #fff4ed; border-color: #fae0d1; color: #c65b22; }
.imported-tool:nth-child(7n+3) .tool-avatar { background: #eaf8f1; border-color: #d5efe2; color: #218553; }
.restored-tool:nth-child(8n+1) { border-color: #dce6f7; }
.tool-load-status { margin: 15px 0 0; color: #8a94a6; font-size: 10px; text-align: center; }
.tool-load-status.loaded { color: #58846d; }
.tool-pagination { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 24px; }
.tool-pagination[hidden] { display: none; }
.tool-pagination button { min-width: 36px; height: 36px; padding: 0 11px; border: 1px solid #dce3ed; border-radius: 9px; background: #fff; color: #59667b; font-size: 11px; font-weight: 800; cursor: pointer; }
.tool-pagination button:hover:not(:disabled) { border-color: #9fb2d3; color: var(--blue); }
.tool-pagination button.active { border-color: var(--blue-dark); background: var(--blue-dark); color: #fff; }
.tool-pagination button:disabled { opacity: .38; cursor: default; }
.pagination-gap { color: #9aa4b5; font-size: 12px; }
.tool-empty { margin: 18px 0 0; padding: 25px; border: 1px dashed #c4cad5; color: var(--muted); font-size: 12px; text-align: center; }
.directory-footer-links { display: flex; justify-content: center; gap: 24px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.directory-footer-links a { color: var(--blue); font-size: 11px; font-weight: 800; text-decoration: none; }

.section { padding: 70px 0; scroll-margin-top: 66px; }
.section-heading { max-width: 760px; }
.kicker { margin: 0 0 10px; color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.section-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.045em; }
.section-heading > p:last-child { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.section-heading.row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.section-heading.row > p { max-width: 470px; }
.platform { border-top: 1px solid var(--line); background: linear-gradient(180deg, #eef2f7, #f5f7fa); }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 35px; }
.platform-grid article { position: relative; min-height: 210px; padding: 26px; overflow: hidden; border: 1px solid #dde3ed; border-radius: 13px; background: white; box-shadow: 0 10px 28px rgba(28,48,84,.05); transition: transform .22s var(--ease), box-shadow .22s ease; }
.platform-grid article::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 110px; height: 110px; border-radius: 50%; background: var(--soft-blue); opacity: .8; }
.platform-grid article:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.platform-grid span { color: var(--orange); font: 10px monospace; font-weight: 800; }
.platform-grid h3 { margin: 52px 0 8px; font-size: 19px; }
.platform-grid p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 12px; }

.apply { position: relative; overflow: hidden; background: radial-gradient(circle at 84% -20%, rgba(98,132,211,.42), transparent 40%), linear-gradient(135deg, #102a56, #173b75); color: white; }
.apply::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 24px 24px; }
.apply > .wrap { position: relative; z-index: 1; }
.compact-apply { padding: 46px 0; }
.kicker.light { color: #a9c4ff; }
.compact-apply-head { max-width: 760px; }
.compact-apply-head h2 { margin: 0; font-size: clamp(27px, 3.5vw, 40px); line-height: 1.08; letter-spacing: -.04em; }
.compact-apply-head > div:first-child > p:last-child { margin: 9px 0 0; color: #bed0f1; font-size: 12px; }
.compact-contact { min-width: 250px; padding: 15px 19px; border: 1px solid rgba(255,255,255,.2); border-radius: 11px; background: rgba(255,255,255,.09); backdrop-filter: blur(8px); }
.compact-contact span { color: #b8c9e8; font-size: 10px; }
.compact-contact b { margin: 0 12px 0 8px; font: 700 16px monospace; }
.compact-contact button, .dialog-wechat button { border: 0; background: transparent; color: #ffad7f; padding: 0; font-weight: 800; cursor: pointer; }
.application-panel { margin-top: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; background: rgba(255,255,255,.07); }
.application-panel summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding: 13px 19px; cursor: pointer; }
.application-panel summary::-webkit-details-marker { display: none; }
.application-panel summary b, .application-panel summary small { display: block; }
.application-panel summary b { font-size: 15px; }
.application-panel summary small { margin-top: 2px; color: #abc0e5; font-size: 10px; }
.application-panel summary i { color: #ffad7f; font-size: 11px; font-style: normal; font-weight: 800; }
.application-panel[open] summary { border-bottom: 1px solid rgba(255,255,255,.18); }
.lead-form { max-width: 760px; margin: 0 auto; padding: 30px; border-radius: 0 0 12px 12px; background: white; color: var(--ink); }
.form-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.form-head span { color: var(--blue); font: 11px monospace; }
.form-head h3 { margin: 0; font-size: 22px; }
.form-head p { margin: 0; color: var(--muted); font-size: 11px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label { display: block; margin-bottom: 17px; }
.lead-form label > span:first-child { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; }
.lead-form input:not([type="checkbox"],[type="file"]), .lead-form select { width: 100%; height: 48px; padding: 0 13px; border: 1px solid #cad1dc; border-radius: 3px; outline: 0; background: #fbfcfe; color: var(--ink); }
.lead-form input:focus, .lead-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40,86,189,.1); }
.upload-field input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-box { min-height: 150px; display: grid !important; place-items: center; overflow: hidden; border: 1px dashed #aeb9c9; background: #f7f9fc; cursor: pointer; text-align: center; }
.upload-box:hover { border-color: var(--blue); background: var(--soft-blue); }
.upload-prompt b, .upload-prompt small { display: block; }
.upload-prompt b { color: var(--blue); }
.upload-prompt small { margin-top: 5px; color: var(--muted); font-size: 10px; }
#image-preview { width: 100%; height: 210px; object-fit: contain; background: #eef1f5; }
.consent { display: flex !important; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 11px; }
.consent input { margin-top: 3px; accent-color: var(--blue); }
.consent span { margin: 0 !important; font-weight: 500 !important; }
.form-error { margin: 0 0 14px; padding: 10px 12px; background: #fff0ec; color: #b73a19; font-size: 12px; }
.submit-button { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 19px; border: 0; border-radius: 3px; background: var(--orange); color: white; font-weight: 850; cursor: pointer; }
.submit-button:hover { background: #dc6325; }
.submit-button:disabled { opacity: .6; cursor: wait; }

.faq { background: white; }
.faq-shell { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 21px 0; cursor: pointer; font-size: 15px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--blue); font-size: 18px; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { margin: -7px 0 21px; color: var(--muted); font-size: 13px; }
.site-footer { padding: 52px 0 22px; background: #0b2044; color: white; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer-grid b { font-size: 21px; }
.footer-grid p, .footer-grid span { color: #8fa4ca; font-size: 12px; }
.footer-grid a { display: block; margin-bottom: 7px; color: #c5d2e8; font-size: 12px; text-decoration: none; }
.footer-grid strong { display: block; font-family: monospace; }
.copyright { margin-top: 42px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #7186ab; font-size: 10px; }
.success-dialog { width: min(520px, calc(100% - 30px)); padding: 42px; border: 0; border-radius: 8px; color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.35); text-align: center; }
.success-dialog::backdrop { background: rgba(4,14,35,.72); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 15px; right: 18px; border: 0; background: none; color: var(--muted); font-size: 25px; cursor: pointer; }
.success-mark { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; background: #e6f7ed; color: #14834c; font-size: 23px; font-weight: 900; }
.success-dialog h2 { margin: 0; font-size: 34px; }
.success-dialog > p:not(.kicker) { color: var(--muted); }
.dialog-wechat { margin-top: 23px; padding: 18px; background: var(--soft-blue); }
.dialog-wechat span, .dialog-wechat b { display: block; }
.dialog-wechat b { margin: 5px 0; font: 750 22px monospace; }

.library-hero { padding: 64px 0 48px; background: radial-gradient(circle at 76% -30%, rgba(49,87,164,.2), transparent 42%), linear-gradient(135deg, #f9fbff, #f3f6fb); }
.library-hero h1 { margin: 0; font-size: clamp(40px, 6vw, 68px); line-height: 1; letter-spacing: -.055em; }
.library-hero > .wrap > p:last-of-type { max-width: 700px; margin: 18px 0 26px; color: var(--muted); }
.library-search { max-width: 760px; }
.library-content { padding: 30px 0 80px; }
.library-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.library-filters button { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: white; color: #596377; font-size: 12px; cursor: pointer; }
.library-filters button.active { border-color: var(--blue); background: var(--blue-dark); color: white; }
.library-summary { display: flex; align-items: baseline; gap: 7px; margin: 25px 0 4px; }
.library-summary strong { color: var(--orange); font-size: 32px; }
.library-summary span { font-size: 12px; font-weight: 800; }
.library-summary small { margin-left: auto; color: var(--muted); }
.library-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.library-note { margin: 30px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

@media (max-width: 1120px) {
  .directory-hero-grid { grid-template-columns: 190px minmax(340px, 1fr) 280px; gap: 20px; }
  .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
  .nav-links { display: none; }
  .directory-hero-grid { grid-template-columns: 1fr; }
  .directory-title { text-align: center; }
  .directory-title h1 br { display: none; }
  .headline-card { display: none; }
  .directory-layout { grid-template-columns: 1fr; }
  .category-rail { position: static; display: flex; max-height: none; overflow-x: auto; overflow-y: hidden; border-radius: 5px; }
  .rail-title, .rail-actions, .category-rail > button b { display: none; }
  .category-rail > button { flex: 0 0 auto; width: auto; min-height: 42px; padding-inline: 14px; border-left: 0; border-bottom: 3px solid transparent; }
  .category-rail > button.active { border-left: 0; border-bottom-color: var(--orange); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-shell { gap: 45px; }
}
@media (max-width: 600px) {
  .wrap { width: min(100% - 22px, 560px); }
  .nav { min-height: 58px; }
  .brand small, .nav-apply { display: none; }
  .directory-hero { padding: 22px 0 18px; }
  .directory-title h1 { font-size: 25px; }
  .directory-search { height: 50px; }
  .directory-workspace { padding-top: 15px; }
  .tool-directory { padding: 15px 12px; }
  .subcategory-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 7px; }
  .subcategory-filters button { flex: 0 0 auto; }
  .directory-heading h2 { font-size: 21px; }
  .directory-count b { font-size: 20px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tool-card { grid-template-columns: 48px minmax(0, 1fr); min-height: 86px; padding: 10px; gap: 10px; }
  .tool-logo, .tool-avatar { width: 48px; height: 48px; border-radius: 12px; }
  .tool-card small { min-height: 0; -webkit-line-clamp: 1; }
  .tool-card i { display: none; }
  .tool-pagination { gap: 4px; }
  .tool-pagination button { min-width: 32px; height: 34px; padding-inline: 9px; }
  .section { padding: 56px 0; }
  .section-heading.row { display: block; }
  .section-heading h2 { font-size: 34px; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-grid article { min-height: 175px; }
  .platform-grid h3 { margin-top: 35px; }
  .compact-apply-head { grid-template-columns: 1fr; gap: 20px; }
  .compact-contact { min-width: 0; }
  .application-panel summary { align-items: flex-start; flex-direction: column; gap: 7px; }
  .lead-form { padding: 24px 20px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .form-head { grid-template-columns: auto 1fr; }
  .form-head p { display: none; }
  .faq-shell { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .success-dialog { padding: 38px 20px 27px; }
  .library-hero { padding: 42px 0 34px; }
  .library-summary small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
