.bz2-marketplace {
  --bz2-navy: #031027;
  --bz2-navy-2: #071b3c;
  --bz2-ink: #101828;
  --bz2-muted: #667085;
  --bz2-line: #dfe5ef;
  --bz2-soft: #f5f8fc;
  --bz2-blue: #1769ff;
  --bz2-blue-dark: #0d4fd7;
  --bz2-green: #15996b;
  --bz2-orange: #ef8b23;
  color: var(--bz2-ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.bz2-marketplace *, .bz2-marketplace *::before, .bz2-marketplace *::after { box-sizing: border-box; }
.bz2-shell { width: min(1400px, calc(100% - 48px)); margin-inline: auto; }
.bz2-kicker { display: inline-flex; align-items: center; color: #55a0ff; font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.bz2-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 23px; border: 1px solid rgba(255,255,255,.5); border-radius: 7px; color: #fff !important; font-weight: 750; text-decoration: none !important; transition: transform .18s ease, background .18s ease; }
.bz2-button:hover { transform: translateY(-2px); }
.bz2-button.is-primary { border-color: var(--bz2-blue); background: var(--bz2-blue); }
.bz2-button.is-ghost { background: rgba(3,16,39,.2); }

/* Header appearance is owned by baize-zibll-header-footer.css on every channel. */
body.bz2-page-home .header .container,
body.bz2-page-tool .header .container,
body.bz2-page-resource .header .container,
body.baize-ai-academy-route .header .container,
body.bz2-page-home .footer .container-footer,
body.bz2-page-tool .footer .container-footer,
body.bz2-page-resource .footer .container-footer,
body.baize-ai-academy-route .footer .container-footer { width: min(1400px, calc(100% - 48px)) !important; max-width: 1400px !important; margin-inline: auto; }

/* Homepage hero */
.bz2-home-hero { position: relative; min-height: 610px; overflow: hidden; background: var(--bz2-navy); }
.bz2-home-hero::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: rgba(107,155,232,.35); content: ""; }
.bz2-home-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); min-height: 610px; align-items: center; }
.bz2-home-hero-copy { position: relative; z-index: 2; padding: 62px 0 92px; color: #fff; }
.bz2-home-hero-copy h1 { max-width: 650px; margin: 17px 0 18px; color: #fff; font-size: clamp(48px,3vw,58px); font-weight: 850; line-height: 1.08; letter-spacing: -.05em; }
.bz2-home-hero-copy > p { max-width: 590px; margin: 0; color: #c5d2e8; font-size: 16px; line-height: 1.8; }
.bz2-hero-actions { display: flex; gap: 14px; margin-top: 30px; }
.bz2-home-hero-art { position: absolute; z-index: 1; top: 0; right: calc((100vw - 100%) / -2); bottom: 0; width: calc(66% + (100vw - 100%) / 2); background: #031027 url('../img/baize-ai-ecosystem-hero-v2.png') right center / auto 100% no-repeat; }
.bz2-home-hero-art::after { position: absolute; inset: 0; background: linear-gradient(90deg, var(--bz2-navy) 0%, rgba(3,16,39,.76) 16%, rgba(3,16,39,.12) 47%, rgba(3,16,39,0) 72%); content: ""; }
.bz2-search { display: flex; max-width: 720px; min-height: 54px; align-items: center; margin: 28px auto 0; padding: 5px; border: 1px solid #d0d8e5; border-radius: 10px; background: #fff; box-shadow: 0 14px 32px rgba(16,24,40,.08); }
.bz2-search > i, .bz2-filter-search > i { flex: 0 0 auto; margin-left: 12px; color: #7b8798; }
.bz2-search input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 0 !important; outline: 0 !important; background: transparent !important; box-shadow: none !important; }
.bz2-search button, .bz2-filter-panel button { min-height: 42px; padding: 0 21px; border: 0; border-radius: 7px; background: var(--bz2-blue); color: #fff; font-weight: 750; }
.bz2-search-dark { max-width: 650px; margin: 26px 0 0; border-color: rgba(156,188,236,.48); background: rgba(2,13,32,.78); box-shadow: 0 18px 44px rgba(0,0,0,.18); }
.bz2-search-dark input { color: #fff; }
.bz2-search-dark input::placeholder { color: #91a3bd; }
.bz2-hot-search { display: flex; max-width: 650px; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; color: #8294af; font-size: 13px; }
.bz2-hot-search a { color: #b6c5da; text-decoration: none; }

/* Channel entry cards */
.bz2-channels { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin: -54px 0 22px; }
.bz2-channel { display: grid; min-height: 218px; grid-template-columns: 58px 1fr 14px; gap: 16px; align-items: start; padding: 25px 22px 21px; border: 1px solid #e1e6ef; border-radius: 14px; background: #fff; box-shadow: 0 20px 46px rgba(10,31,68,.11); color: inherit !important; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease; }
.bz2-channel:hover { transform: translateY(-4px); box-shadow: 0 26px 55px rgba(10,31,68,.16); }
.bz2-channel > i { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 16px; background: #e9f2ff; color: var(--bz2-blue); font-size: 25px; }
.bz2-channel.is-resource > i { background: #e8f8f1; color: var(--bz2-green); }
.bz2-channel.is-project > i { background: #f1ebff; color: #7c4dff; }
.bz2-channel.is-academy > i { background: #fff2e2; color: var(--bz2-orange); }
.bz2-channel span, .bz2-channel strong, .bz2-channel small { display: block; }
.bz2-channel span { margin: 1px 0 7px; color: #152238; font-size: 20px; font-weight: 850; }
.bz2-channel strong { min-height: 46px; color: #667085; font-size: 14px; font-weight: 500; line-height: 1.65; }
.bz2-channel ul { margin: 9px 0 0; padding: 0; color: #53637a; font-size: 13px; line-height: 1.75; list-style: none; }
.bz2-channel li::before { margin-right: 7px; color: var(--bz2-blue); content: "•"; }
.bz2-channel.is-resource li::before { color: var(--bz2-green); }
.bz2-channel.is-project li::before { color: #7c4dff; }
.bz2-channel.is-academy li::before { color: var(--bz2-orange); }
.bz2-channel small { margin-top: 10px; color: var(--bz2-blue); font-size: 13px; font-weight: 750; }
.bz2-channel > b { align-self: end; color: #7ea7ee; font-size: 16px; }

.bz2-market-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0 0 34px; border: 1px solid #e3e9f2; border-radius: 13px; background: #fff; box-shadow: 0 10px 30px rgba(16,24,40,.05); }
.bz2-market-stats > div { display: grid; grid-template-columns: 46px 1fr auto; grid-template-rows: auto auto; gap: 3px 14px; align-items: center; padding: 23px 26px; border-right: 1px solid #edf1f6; }
.bz2-market-stats > div:last-child { border-right: 0; }
.bz2-market-stats i { grid-row: 1 / 3; color: var(--bz2-blue); font-size: 26px; }
.bz2-market-stats span { color: #667085; font-size: 14px; }
.bz2-market-stats strong { grid-row: 1 / 3; grid-column: 3; color: var(--bz2-blue); font-size: 32px; line-height: 1; }
.bz2-market-stats strong.is-capability { max-width: 76px; font-size: 16px; line-height: 1.25; text-align: right; }
.bz2-market-stats small { color: #98a2b3; font-size: 12px; }
.bz2-quality-assurance { margin: 0 0 64px; }
.bz2-quality-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; }
.bz2-quality-heading > i { color: var(--bz2-blue); font-size: 22px; }
.bz2-quality-heading h2 { margin: 0; font-size: 25px; font-weight: 850; }
.bz2-quality-heading p { margin: 2px 0 0 4px; color: var(--bz2-muted); font-size: 14px; }
.bz2-quality-cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.bz2-quality-cards article { display: grid; min-height: 112px; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; padding: 22px; border: 1px solid #e3e9f2; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(16,24,40,.035); }
.bz2-quality-cards article > i { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 13px; background: #eef4ff; color: var(--bz2-blue); font-size: 22px; }
.bz2-quality-cards strong, .bz2-quality-cards span { display: block; }
.bz2-quality-cards strong { margin: 2px 0 6px; font-size: 15px; }
.bz2-quality-cards span { color: var(--bz2-muted); font-size: 13px; line-height: 1.65; }

/* Shared section and cards */
.bz2-section { margin: 0 0 72px; }
.bz2-section-head, .bz2-results-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.bz2-section-head h2 { margin: 0; color: var(--bz2-ink); font-size: 30px; font-weight: 850; letter-spacing: -.025em; }
.bz2-section-head h2::before { display: inline-block; width: 4px; height: 20px; margin-right: 10px; border-radius: 4px; background: var(--bz2-blue); vertical-align: -2px; content: ""; }
.bz2-section-head p { margin: 5px 0 0 14px; color: var(--bz2-muted); font-size: 14px; }
.bz2-section-head > a { color: var(--bz2-blue); font-size: 14px; font-weight: 750; text-decoration: none; }
.bz2-grid { display: grid; gap: 18px; }
.bz2-grid-tool { grid-template-columns: repeat(4,minmax(0,1fr)); }
.bz2-grid-resource { grid-template-columns: repeat(4,minmax(0,1fr)); }
.bz2-grid-academy { grid-template-columns: repeat(3,minmax(0,1fr)); }
.bz2-card { min-width: 0; padding: 17px; border: 1px solid #dfe5ee; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(16,24,40,.04); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.bz2-card:hover { transform: translateY(-3px); border-color: #cbd8eb; box-shadow: 0 16px 34px rgba(16,24,40,.09); }
.bz2-card h3 { margin: 0; color: var(--bz2-ink); font-size: 18px; font-weight: 800; line-height: 1.4; }
.bz2-card h3 a { color: inherit; text-decoration: none; }
.bz2-card > p, .bz2-resource-body > p { display: -webkit-box; overflow: hidden; min-height: 48px; margin: 11px 0 13px; color: var(--bz2-muted); font-size: 14px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.bz2-tool-card { display: flex; min-height: 286px; flex-direction: column; }
.bz2-tool-identity { position: relative; display: flex; gap: 12px; align-items: center; padding-right: 42px; }
.bz2-tool-logo { flex: 0 0 52px; display: grid; width: 52px; height: 52px; place-items: center; overflow: hidden; border: 1px solid var(--bz2-line); border-radius: 13px; background: var(--bz2-soft); color: var(--bz2-blue); font-size: 12px; font-weight: 850; }
.bz2-tool-logo img { width: 100%; height: 100%; object-fit: contain; }
.bz2-meta { display: block; margin-top: 3px; color: var(--bz2-muted); font-size: 12px; }
.bz2-card-badge { position: absolute; top: 0; right: 0; padding: 4px 8px; border-radius: 4px; background: #e9f8ef; color: #15835c; font-size: 11px; font-weight: 800; }
.bz2-facts { display: flex; min-height: 24px; flex-wrap: wrap; gap: 5px; }
.bz2-facts span { display: inline-flex; min-height: 25px; align-items: center; padding: 0 8px; border-radius: 5px; background: #eef4ff; color: #426aa9; font-size: 11px; font-weight: 700; }
.bz2-facts .is-category { background: #e4efff; color: #1758bd; }
.bz2-taxonomy-facts { margin-bottom: 7px; }
.bz2-facts .is-status { background: #ebf8f2; color: #11805a; }
.bz2-tool-facts, .bz2-resource-facts { margin: 5px 0 0; font-size: 12px; }
.bz2-tool-facts > div, .bz2-resource-facts > div { display: grid; grid-template-columns: 58px 1fr; gap: 7px; padding: 3px 0; }
.bz2-tool-facts dt, .bz2-resource-facts dt { color: #7d8898; font-weight: 500; }
.bz2-tool-facts dd, .bz2-resource-facts dd { margin: 0; color: #344054; }
.bz2-tool-facts dd.is-status { color: var(--bz2-green); }
.bz2-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid #edf0f4; color: var(--bz2-muted); font-size: 13px; }
.bz2-card-actions > span { display: flex; gap: 8px; }
.bz2-card-actions a { color: var(--bz2-blue); font-weight: 750; text-decoration: none; }
.bz2-card-actions .is-primary { padding: 9px 14px; border-radius: 7px; background: var(--bz2-blue); color: #fff; text-align: center; }
.bz2-card-actions .bz2-price { color: var(--bz2-blue); font-size: 17px; }

/* BAIZE-098: homepage featured AI tools — compact, real-data card presentation. */
.bz2-home-tools { margin-bottom: 76px; }
.bz2-home-tools .bz2-section-head { margin-bottom: 22px; }
.bz2-home-tools .bz2-section-head h2 { font-size: 32px; }
.bz2-home-tools .bz2-section-head p { margin-top: 6px; }
.bz2-home-tools .bz2-section-head > a { display: inline-flex; min-height: 36px; align-items: center; }
.bz2-home-tools .bz2-grid-tool { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.bz2-home-tools .bz2-tool-card { min-height: 186px; padding: 16px; border-color: #e2e8f1; border-radius: 12px; box-shadow: 0 7px 18px rgba(16,24,40,.045); }
.bz2-home-tools .bz2-tool-card:hover { border-color: #b8cff4; box-shadow: 0 12px 26px rgba(26,105,255,.10); }
.bz2-home-tools .bz2-tool-identity { gap: 12px; padding-right: 0; }
.bz2-home-tools .bz2-tool-logo { flex-basis: 56px; width: 56px; height: 56px; border-radius: 13px; background: #fff; }
.bz2-home-tools .bz2-card h3 { overflow: hidden; font-size: 17px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.bz2-home-tools .bz2-card > p { min-height: 20px; margin: 10px 0 12px; font-size: 13px; line-height: 1.55; -webkit-line-clamp: 1; }
.bz2-home-tools .bz2-tool-tags { min-height: 25px; flex-wrap: nowrap; overflow: hidden; margin-top: 0; }
.bz2-home-tools .bz2-tool-tags span { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bz2-home-tools .bz2-card-actions { justify-content: flex-end; min-height: 36px; margin-top: auto; padding-top: 10px; border-top: 0; }
.bz2-home-tools .bz2-card-actions .is-primary { display: inline-flex; min-height: 32px; align-items: center; justify-content: center; padding: 6px 13px; border: 1px solid var(--bz2-blue); border-radius: 7px; background: #fff; color: var(--bz2-blue); font-size: 12px; font-weight: 750; line-height: 1.2; }
.bz2-home-tools .bz2-card-actions .is-primary:hover,
.bz2-home-tools .bz2-card-actions .is-primary:focus-visible { background: #f0f6ff; color: var(--bz2-blue-dark); }
.bz2-home-tools .bz2-card-actions .is-primary:focus-visible { outline: 3px solid rgba(23,105,255,.18); outline-offset: 2px; }
.bz2-resource-card { display: flex; min-width: 0; height: 100%; padding: 0; overflow: hidden; flex-direction: column; border-radius: 14px; }
.bz2-resource-card:hover { transform: translateY(-2px); border-color: #b8d1f6; box-shadow: 0 14px 30px rgba(24, 76, 157, .1); }
.bz2-resource-cover, .bz2-academy-cover { display: grid; height: 190px; place-items: center; overflow: hidden; background: #eaf1fb; color: var(--bz2-blue); font-size: 11px; font-weight: 850; letter-spacing: .1em; }
.bz2-resource-cover { width: 100%; height: auto; aspect-ratio: 1200 / 630; border-radius: 13px 13px 0 0; }
.bz2-resource-cover img, .bz2-academy-cover img { width: 100%; height: 100%; object-fit: cover; }
.bz2-resource-cover.has-fallback img { object-fit: cover; opacity: .92; }
.bz2-resource-body { display: flex; min-height: 0; flex: 1; flex-direction: column; padding: 18px; }
.bz2-resource-type { align-self: flex-start; min-height: 26px; padding: 4px 9px; border-radius: 7px; background: #e8f2ff; color: #1769dc; font-size: 12px; font-weight: 800; line-height: 18px; }
.bz2-resource-body h3 { display: -webkit-box; overflow: hidden; min-height: 50px; margin: 8px 0 0; color: var(--bz2-ink); font-size: 18px; font-weight: 800; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.bz2-resource-capabilities { min-height: 0; gap: 7px; margin-top: 10px; }
.bz2-resource-capabilities span { min-height: 28px; padding: 4px 9px; border: 1px solid #d7e7ff; border-radius: 999px; background: #eef5ff; color: #2468d6; font-size: 12px; font-weight: 700; line-height: 18px; }
.bz2-resource-body > p { min-height: 48px; margin: 12px 0 0; color: #667085; font-size: 14px; font-weight: 400; line-height: 1.7; }
.bz2-resource-scenarios { display: flex; min-width: 0; flex-wrap: wrap; gap: 7px; margin-top: 14px; color: #667085; font-size: 12px; }
.bz2-resource-scenarios span { min-height: 28px; max-width: 100%; padding: 4px 9px; overflow-wrap: anywhere; border: 1px solid #dbe5f3; border-radius: 999px; background: #f8fbff; line-height: 18px; }
.bz2-resource-card .bz2-card-actions { width: 100%; margin-top: auto; padding-top: 18px; border-top: 0; }
.bz2-resource-card .bz2-card-actions .is-primary { display: grid; width: 100%; min-height: 46px; place-items: center; padding: 10px 16px; border-radius: 9px; background: var(--bz2-blue); color: #fff; font-size: 15px; font-weight: 800; line-height: 1.4; }
.bz2-resource-card .bz2-card-actions .is-primary:hover,
.bz2-resource-card .bz2-card-actions .is-primary:focus-visible { background: #075bd7; box-shadow: 0 8px 18px rgba(26, 108, 232, .2); color: #fff; }
.bz2-resource-card .bz2-card-actions .is-primary:focus-visible { outline: 3px solid rgba(20, 105, 225, .25); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .bz2-resource-card,
  .bz2-resource-card .bz2-card-actions .is-primary { transition: none; }
}
.bz2-academy-card { display: flex; min-height: 392px; overflow: hidden; flex-direction: column; padding: 0; border-radius: 14px; }
.bz2-academy-cover { width: 100%; height: auto; margin: 0 0 16px; aspect-ratio: 16 / 9; }
.bz2-academy-card .bz2-facts,
.bz2-academy-card h3,
.bz2-academy-card > p,
.bz2-academy-card .bz2-card-actions { margin-right: 18px; margin-left: 18px; }
.bz2-academy-card .bz2-facts { min-height: 25px; }
.bz2-academy-card .baize-academy-member-badge { display: inline-flex; min-height: 25px; align-items: center; gap: 4px; padding: 0 8px; border: 1px solid #e8cb8e; border-radius: 5px; background: #fff7e7; color: #825a17; font-size: 11px; font-weight: 750; }
.bz2-academy-card h3 { display: -webkit-box; overflow: hidden; min-height: 50px; margin-top: 10px; font-size: 18px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.bz2-academy-card > p { min-height: 48px; margin-top: 10px; margin-bottom: 14px; -webkit-line-clamp: 2; }
.bz2-academy-card .bz2-card-actions { margin-top: auto; margin-bottom: 17px; }
.bz2-empty { padding: 32px; border: 1px dashed #bdc9da; border-radius: 10px; background: #f7f9fc; text-align: center; }
.bz2-empty strong { font-size: 16px; }
.bz2-empty p { margin: 6px 0 0; color: var(--bz2-muted); font-size: 13px; }

.bz2-academy-entry { position: relative; margin: 4px 0 52px; padding: 24px; border: 1px solid #e1e6ee; border-radius: 11px; background: #f7f8ff; }
.bz2-academy-entry > div:first-child { display: flex; gap: 13px; align-items: center; }
.bz2-academy-entry .bz2-grid-academy { margin-top: 22px; }
.bz2-section-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 10px; background: #ece7ff; color: #764dff; font-size: 19px; }
.bz2-academy-entry h2 { margin: 0 0 4px; font-size: 23px; }
.bz2-academy-entry p { margin: 0; color: var(--bz2-muted); font-size: 14px; }
.bz2-academy-entry > a { position: absolute; top: 28px; right: 24px; color: #7047ff; font-size: 14px; font-weight: 750; text-decoration: none; }
.bz2-academy-empty { display: flex; flex-direction: column; margin-top: 18px; padding: 20px; border: 1px dashed #c9c3e9; border-radius: 9px; background: #fff; }
.bz2-academy-empty span { margin-top: 4px; color: var(--bz2-muted); font-size: 13px; }
.bz2-home-cta, .bz2-directory-cta { display: flex; min-height: 100px; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 48px; padding: 22px 30px; border-radius: 10px; background: #08245c; color: #fff; }
.bz2-home-cta > div, .bz2-directory-cta > div { display: flex; gap: 18px; align-items: center; }
.bz2-home-cta i, .bz2-directory-cta i { color: #72a9ff; font-size: 30px; }
.bz2-home-cta strong, .bz2-directory-cta strong { display: block; font-size: 19px; }
.bz2-home-cta span, .bz2-directory-cta span { color: #bdcbe2; font-size: 13px; }
.bz2-home-cta > a, .bz2-directory-cta > a { flex: 0 0 auto; padding: 12px 24px; border-radius: 7px; background: var(--bz2-blue); color: #fff; font-weight: 750; text-decoration: none; }

/* Directory hero and controls */
.bz2-directory-head { position: relative; display: flex; min-height: 500px; align-items: center; overflow: hidden; padding: 76px 0; background: var(--bz2-navy); color: #fff; }
.bz2-directory-tool .bz2-directory-head { background: #031027 url('../img/baize-tool-directory-network-v2.png') center center / cover no-repeat; }
.bz2-directory-resource .bz2-directory-head { width: 100%; margin: 0; border-radius: 0; background: #031027 url('../img/baize-resource-market-hero-v2.png') center center / cover no-repeat; }
.bz2-directory-hero-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(430px,.75fr); gap: 64px; align-items: center; }
.bz2-directory-copy { position: relative; z-index: 2; }
.bz2-directory-copy h1 { max-width: 900px; margin: 15px 0 18px; color: #fff; font-size: clamp(38px,2.35vw,46px); font-weight: 850; line-height: 1.16; letter-spacing: -.04em; }
.bz2-directory-copy p { max-width: 760px; margin: 0; color: #c7d3e6; font-size: 16px; line-height: 1.85; }
.bz2-directory-principles { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 30px; color: #e4efff; font-size: 14px; }
.bz2-directory-principles i { margin-right: 7px; color: #5ba3ff; }
.bz2-directory-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.bz2-directory-stats > div { display: flex; min-height: 116px; flex-direction: column; align-items: center; justify-content: center; padding: 18px; border: 1px solid rgba(60,135,255,.68); border-radius: 11px; background: rgba(8,37,83,.82); box-shadow: inset 0 1px rgba(255,255,255,.035), 0 16px 32px rgba(0,0,0,.12); text-align: center; }
.bz2-directory-stats strong { color: #fff; font-size: 34px; line-height: 1; }
.bz2-directory-stats span { margin-top: 10px; color: #d1dded; font-size: 13px; line-height: 1.55; }
.bz2-directory-stats i { color: #68aaff; font-size: 29px; }
.bz2-directory-resource .bz2-directory-stats.is-resource-list { grid-template-columns: 1fr; gap: 8px; }
.bz2-directory-resource .bz2-directory-stats.is-resource-list > div { min-height: 68px; flex-direction: row; justify-content: flex-start; gap: 16px; padding: 12px 18px; text-align: left; }
.bz2-directory-resource .bz2-directory-stats.is-resource-list i { flex: 0 0 30px; text-align: center; }
.bz2-directory-resource .bz2-directory-stats.is-resource-list span { margin: 0; }
.bz2-directory-resource .bz2-directory-stats.is-resource-list strong,
.bz2-directory-resource .bz2-directory-stats.is-resource-list small { display: block; }
.bz2-directory-resource .bz2-directory-stats.is-resource-list strong { font-size: 17px; line-height: 1.35; }
.bz2-directory-resource .bz2-directory-stats.is-resource-list small { margin-top: 2px; color: #afc1d9; font-size: 12px; line-height: 1.45; }
.bz2-directory-resource .bz2-directory-head::after { display: none; }
.bz2-directory-body { padding: 34px 0 82px; }
.bz2-taxonomy { display: flex; overflow-x: auto; gap: 10px; margin-bottom: 20px; padding: 0 0 3px; scrollbar-width: thin; }
.bz2-taxonomy a { flex: 0 0 auto; min-height: 44px; padding: 12px 19px; border: 1px solid var(--bz2-line); border-radius: 8px; background: #fff; color: #344054; font-size: 13px; font-weight: 700; text-decoration: none; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.bz2-taxonomy a.is-active { border-color: var(--bz2-blue); background: var(--bz2-blue); color: #fff; }
.bz2-filter-panel { display: grid; grid-template-columns: minmax(320px,1fr) 220px auto auto; gap: 16px; align-items: end; margin-bottom: 34px; padding: 22px; border: 1px solid #dfe6f0; border-radius: 11px; background: #f9fbfe; box-shadow: 0 8px 24px rgba(16,24,40,.035); }
.bz2-filter-search { display: flex; min-height: 42px; align-items: center; border: 1px solid #d9e0ea; border-radius: 7px; background: #fff; }
.bz2-filter-search input { width: 100%; min-width: 0; height: 40px; padding: 0 12px; border: 0 !important; outline: 0 !important; background: transparent !important; box-shadow: none !important; }
.bz2-filter-panel > label > span { display: block; margin-bottom: 5px; color: #667085; font-size: 12px; }
.bz2-filter-panel select { width: 100%; height: 42px; border: 1px solid #d9e0ea; border-radius: 7px; background: #fff; color: #344054; }
.bz2-filter-panel > a { display: grid; min-height: 42px; place-items: center; color: #667085; font-size: 13px; text-decoration: none; }
.bz2-results-head { align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--bz2-line); color: var(--bz2-muted); font-size: 13px; }
.bz2-results-head > div { display: flex; gap: 12px; align-items: baseline; }
.bz2-results-head h2 { margin: 0; color: var(--bz2-ink); font-size: 21px; }
.bz2-results-head strong { color: var(--bz2-ink); font-size: 14px; }
.bz2-results-meta { justify-content: flex-end; }
.bz2-tool-submit-link { display: inline-flex; min-height: 36px; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid #cbdcff; border-radius: 7px; background: #f5f8ff; color: var(--bz2-blue); font-weight: 750; text-decoration: none; white-space: nowrap; }
.bz2-tool-submit-link:hover, .bz2-tool-submit-link:focus-visible { border-color: var(--bz2-blue); background: #eaf1ff; color: #174db8; }

/* AI tool filters use two rows of equal-width controls and multi-select menus. */
.bz2-directory-tool .bz2-tool-filter-panel { grid-template-columns: repeat(6,minmax(0,1fr)); grid-template-areas: "search search search sort tooltype scenario" "capability platform pricing chinese apply reset" "selected selected selected selected selected selected"; gap: 12px; align-items: stretch; max-width: 100%; }
.bz2-directory-tool .bz2-tool-filter-panel > * { min-width: 0; }
.bz2-directory-tool .bz2-tool-filter-panel .bz2-filter-search { grid-area: search; }
.bz2-directory-tool .bz2-tool-filter-panel .bz2-filter-sort { grid-area: sort; }
.bz2-directory-tool .bz2-tool-filter-panel .bz2-filter-field-tool_type { grid-area: tooltype; }
.bz2-directory-tool .bz2-tool-filter-panel .bz2-filter-field-capability { grid-area: capability; }
.bz2-directory-tool .bz2-tool-filter-panel .bz2-filter-field-scenario { grid-area: scenario; }
.bz2-directory-tool .bz2-tool-filter-panel .bz2-filter-field-platform { grid-area: platform; }
.bz2-directory-tool .bz2-tool-filter-panel .bz2-filter-field-pricing_mode { grid-area: pricing; }
.bz2-directory-tool .bz2-tool-filter-panel .bz2-filter-field-chinese_support { grid-area: chinese; }
.bz2-directory-tool .bz2-tool-filter-panel .bz2-filter-apply { grid-area: apply; width: 100%; min-height: 42px; padding: 0 14px; }
.bz2-directory-tool .bz2-tool-filter-panel .bz2-filter-reset { grid-area: reset; width: 100%; border: 1px solid #d9e0ea; border-radius: 7px; background: #fff; }
.bz2-directory-tool .bz2-tool-filter-panel .bz2-filter-sort,
.bz2-directory-tool .bz2-tool-filter-panel .bz2-multifilter > summary { display: flex; min-height: 42px; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid #d9e0ea; border-radius: 7px; background: #fff; color: #344054; cursor: pointer; list-style: none; }
.bz2-directory-tool .bz2-tool-filter-panel .bz2-filter-sort > span,
.bz2-directory-tool .bz2-tool-filter-panel .bz2-multifilter summary > span { flex: 0 0 auto; color: #667085; font-size: 12px; font-weight: 700; }
.bz2-directory-tool .bz2-tool-filter-panel .bz2-filter-sort select { width: 100%; min-width: 0; height: 40px; padding: 0 0 0 2px; border: 0; background: transparent; box-shadow: none; font-weight: 700; }
.bz2-directory-tool .bz2-tool-filter-panel .bz2-multifilter { position: relative; }
.bz2-directory-tool .bz2-tool-filter-panel .bz2-multifilter > summary::-webkit-details-marker { display: none; }
.bz2-directory-tool .bz2-tool-filter-panel .bz2-multifilter > summary > strong { min-width: 0; flex: 1; overflow: hidden; color: var(--bz2-ink); font-size: 13px; font-weight: 750; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.bz2-directory-tool .bz2-tool-filter-panel .bz2-multifilter > summary > i { color: #7a8798; font-size: 14px; transition: transform .18s ease; }
.bz2-directory-tool .bz2-tool-filter-panel .bz2-multifilter[open] > summary { border-color: #9dbdff; box-shadow: 0 0 0 3px rgba(23,105,255,.1); }
.bz2-directory-tool .bz2-tool-filter-panel .bz2-multifilter[open] > summary > i { transform: rotate(180deg); }

/* Resource filters share the tool directory's controls but use their own two-row field map. */
.bz2-directory-resource .bz2-resource-filter-panel { grid-template-columns: repeat(6,minmax(0,1fr)); grid-template-areas: "search search search sort resource_type resource_type" "capability scenario platform acquisition apply reset" "selected selected selected selected selected selected"; gap: 12px; align-items: stretch; max-width: 100%; }
.bz2-directory-resource .bz2-resource-filter-panel > * { min-width: 0; }
.bz2-directory-resource .bz2-resource-filter-panel .bz2-filter-search { grid-area: search; }
.bz2-directory-resource .bz2-resource-filter-panel .bz2-filter-sort { grid-area: sort; }
.bz2-directory-resource .bz2-resource-filter-panel .bz2-filter-field-resource_type { grid-area: resource_type; }
.bz2-directory-resource .bz2-resource-filter-panel .bz2-filter-field-capability { grid-area: capability; }
.bz2-directory-resource .bz2-resource-filter-panel .bz2-filter-field-scenario { grid-area: scenario; }
.bz2-directory-resource .bz2-resource-filter-panel .bz2-filter-field-platform { grid-area: platform; }
.bz2-directory-resource .bz2-resource-filter-panel .bz2-filter-field-acquisition { grid-area: acquisition; }
.bz2-directory-resource .bz2-resource-filter-panel .bz2-filter-apply { grid-area: apply; width: 100%; min-height: 42px; padding: 0 14px; }
.bz2-directory-resource .bz2-resource-filter-panel .bz2-filter-reset { grid-area: reset; width: 100%; border: 1px solid #d9e0ea; border-radius: 7px; background: #fff; }
.bz2-directory-resource .bz2-resource-filter-panel .bz2-filter-sort,
.bz2-directory-resource .bz2-resource-filter-panel .bz2-filter-field-resource_type,
.bz2-directory-resource .bz2-resource-filter-panel .bz2-filter-field-acquisition,
.bz2-directory-resource .bz2-resource-filter-panel .bz2-multifilter > summary { display: flex; min-height: 42px; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid #d9e0ea; border-radius: 7px; background: #fff; color: #344054; cursor: pointer; list-style: none; }
.bz2-directory-resource .bz2-resource-filter-panel .bz2-filter-sort > span,
.bz2-directory-resource .bz2-resource-filter-panel .bz2-filter-field-resource_type > span,
.bz2-directory-resource .bz2-resource-filter-panel .bz2-filter-field-acquisition > span,
.bz2-directory-resource .bz2-resource-filter-panel .bz2-multifilter summary > span { flex: 0 0 auto; margin: 0; color: #667085; font-size: 12px; font-weight: 700; }
.bz2-directory-resource .bz2-resource-filter-panel .bz2-filter-sort select,
.bz2-directory-resource .bz2-resource-filter-panel .bz2-filter-field-resource_type select,
.bz2-directory-resource .bz2-resource-filter-panel .bz2-filter-field-acquisition select { width: 100%; min-width: 0; height: 40px; padding: 0 0 0 2px; border: 0; background: transparent; box-shadow: none; font-weight: 700; }
.bz2-directory-resource .bz2-resource-filter-panel .bz2-multifilter { position: relative; }
.bz2-directory-resource .bz2-resource-filter-panel .bz2-multifilter > summary::-webkit-details-marker { display: none; }
.bz2-directory-resource .bz2-resource-filter-panel .bz2-multifilter > summary > strong { min-width: 0; flex: 1; overflow: hidden; color: var(--bz2-ink); font-size: 13px; font-weight: 750; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.bz2-directory-resource .bz2-resource-filter-panel .bz2-multifilter > summary > i { color: #7a8798; font-size: 14px; transition: transform .18s ease; }
.bz2-directory-resource .bz2-resource-filter-panel .bz2-multifilter[open] > summary { border-color: #9dbdff; box-shadow: 0 0 0 3px rgba(23,105,255,.1); }
.bz2-directory-resource .bz2-resource-filter-panel .bz2-multifilter[open] > summary > i { transform: rotate(180deg); }
.bz2-filter-popover { position: absolute; z-index: 30; top: calc(100% + 6px); right: 0; left: 0; display: grid; max-height: 246px; overflow-y: auto; padding: 8px; border: 1px solid #cbd9ec; border-radius: 8px; background: #fff; box-shadow: 0 16px 30px rgba(16,24,40,.14); }
.bz2-filter-popover label { display: flex; min-height: 34px; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 5px; color: #344054; cursor: pointer; font-size: 13px; line-height: 1.35; }
.bz2-filter-popover label:hover { background: #f2f6ff; }
.bz2-filter-popover input { width: 15px; height: 15px; margin: 0; accent-color: var(--bz2-blue); }
.bz2-selected-filters { grid-area: selected; display: flex; align-items: center; gap: 10px; min-width: 0; padding-top: 2px; }
.bz2-selected-filters[hidden] { display: none; }
.bz2-selected-filters > span { flex: 0 0 auto; color: #667085; font-size: 12px; font-weight: 700; }
.bz2-selected-filters > div { display: flex; min-width: 0; flex-wrap: wrap; gap: 7px; }
.bz2-selected-filters button { display: inline-flex; min-height: 28px; align-items: center; gap: 5px; padding: 4px 8px; border: 1px solid #cbdcff; border-radius: 999px; background: #f1f5ff; color: #285ccc; font-size: 12px; font-weight: 700; line-height: 1.2; }
.bz2-selected-filters button:hover, .bz2-selected-filters button:focus-visible { border-color: var(--bz2-blue); background: #e7efff; }
.bz2-directory .bz2-grid-tool { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; align-items: stretch; }
.bz2-directory .bz2-grid-resource { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; align-items: stretch; }
.bz2-directory .bz2-tool-card { min-height: 320px; height: 100%; padding: 16px; text-align: center; }
.bz2-directory .bz2-tool-card .bz2-tool-identity { flex-direction: column; gap: 6px; padding-right: 0; text-align: center; }
.bz2-directory .bz2-tool-card .bz2-tool-identity > div { width: 100%; }
.bz2-directory .bz2-tool-card h3 { font-size: 16px; line-height: 1.35; }
.bz2-directory .bz2-tool-card > p { min-height: 32px; margin: 6px 0 7px; font-size: 13px; line-height: 1.5; text-align: center; }
.bz2-directory .bz2-tool-card .bz2-tool-logo { flex-basis: 52px; width: 52px; height: 52px; border-radius: 12px; }
.bz2-directory .bz2-tool-card .bz2-card-badge { top: 0; right: 0; }
.bz2-directory .bz2-tool-card .bz2-tool-facts { margin-top: 0; padding-top: 5px; border-top: 1px solid #edf1f5; font-size: 13px; }
.bz2-directory .bz2-tool-card .bz2-tool-facts > div { min-height: 22px; grid-template-columns: minmax(0,1fr) minmax(0,1.35fr); align-items: center; gap: 4px; padding: 2px 0; text-align: center; }
.bz2-directory .bz2-tool-card .bz2-tool-facts dt, .bz2-directory .bz2-tool-card .bz2-tool-facts dd { text-align: center; }
.bz2-directory .bz2-tool-card .bz2-tool-facts dd { overflow: hidden; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.bz2-directory .bz2-tool-card .bz2-card-actions { margin-top: auto; padding-top: 8px; }
.bz2-directory .bz2-tool-card .bz2-card-actions .is-primary { width: 100%; min-height: 38px; display: grid; place-items: center; padding: 7px 12px; font-size: 14px; }
.bz2-directory-tool .bz2-tool-submission-banner { margin-top: 36px; }
.bz2-tool-submission-banner { width: min(100%, 1400px); margin-right: auto; margin-bottom: 30px; margin-left: auto; overflow: hidden; border-radius: 24px; background: transparent; box-shadow: 0 16px 34px rgba(12, 52, 127, .14); }
.bz2-tool-submission-banner img { display: block; width: 100%; height: auto; aspect-ratio: 1400 / 350; object-fit: contain; }
.bz2-directory .bz2-resource-card { min-height: 0; }
.bz2-directory .bz2-resource-cover { height: auto; min-height: 0; }
.bz2-directory .bz2-resource-body { min-height: 0; padding: 18px; }
.bz2-directory .bz2-resource-body > p { min-height: 48px; margin: 12px 0 0; -webkit-line-clamp: 2; }
.bz2-directory .bz2-resource-facts > div:nth-child(n+4) { display: none; }
.bz2-directory .bz2-resource-card .bz2-card-actions .is-primary { min-width: 0; }
.bz2-resource-facts { margin-top: 4px; padding: 8px 0; border-top: 1px solid #edf0f4; border-bottom: 1px solid #edf0f4; }
.bz2-pagination { margin-top: 32px; }
.bz2-pagination ul { display: flex; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bz2-pagination a, .bz2-pagination span { display: grid; min-width: 36px; height: 36px; place-items: center; padding: 0 9px; border: 1px solid var(--bz2-line); border-radius: 6px; color: var(--bz2-blue); text-decoration: none; }
.bz2-pagination .current { border-color: var(--bz2-blue); background: var(--bz2-blue); color: #fff; }
.bz2-directory-cta { margin: 36px 0 0; background: var(--bz2-blue-dark); }
.bz2-directory-cta > a { background: #fff; color: var(--bz2-blue-dark); }
.bz2-quality-grid { margin-top: 40px; }
.bz2-quality-grid h2 { margin: 0 0 16px; font-size: 24px; }
.bz2-quality-grid > div { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.bz2-quality-grid article { display: grid; grid-template-columns: 42px 1fr; padding: 19px; border: 1px solid #e1e6ee; border-radius: 9px; }
.bz2-quality-grid article i { grid-row: 1 / 3; color: var(--bz2-blue); font-size: 24px; }
.bz2-quality-grid article strong { font-size: 14px; }
.bz2-quality-grid article span { margin-top: 5px; color: var(--bz2-muted); font-size: 12px; line-height: 1.55; }
.bz2-detail-contract { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; padding: 11px 13px; border: 1px solid #dbe5f3; border-radius: 9px; background: #f8fbff; color: #475467; font-size: 13px; }
.bz2-detail-contract span { color: var(--bz2-blue); font-weight: 850; }

@media (max-width: 1380px) {
  .bz2-shell { width: min(100% - 40px,1400px); }
  body.bz2-page-home .header .container,
  body.bz2-page-tool .header .container,
  body.bz2-page-resource .header .container,
  body.baize-ai-academy-route .header .container,
  body.bz2-page-home .footer .container-footer,
  body.bz2-page-tool .footer .container-footer,
  body.bz2-page-resource .footer .container-footer,
  body.baize-ai-academy-route .footer .container-footer { width: min(100% - 40px,1400px) !important; }
  .bz2-market-stats, .bz2-quality-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bz2-market-stats > div:nth-child(2) { border-right: 0; }
  .bz2-market-stats > div:nth-child(-n+2) { border-bottom: 1px solid #edf1f6; }
}

@media (max-width: 1100px) {
  .bz2-home-hero-grid { grid-template-columns: 1fr 1fr; }
  .bz2-home-hero-art { right: calc((100vw - 100%) / -2); width: calc(72% + (100vw - 100%) / 2); }
  .bz2-channels, .bz2-grid-tool, .bz2-grid-resource, .bz2-directory .bz2-grid-tool, .bz2-directory .bz2-grid-resource { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bz2-directory .bz2-resource-cover { height: auto; min-height: 0; }
  .bz2-directory-tool .bz2-tool-filter-panel { grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-areas: "search search sort" "tooltype scenario capability" "platform pricing chinese" "apply reset reset" "selected selected selected"; }
  .bz2-directory-resource .bz2-resource-filter-panel { grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-areas: "search search sort" "resource_type capability scenario" "platform acquisition apply" "reset reset reset" "selected selected selected"; }
}

@media (max-width: 760px) {
  .bz2-shell { width: min(100% - 28px,1400px); }
  body.bz2-page-home .header .container,
  body.bz2-page-tool .header .container,
  body.bz2-page-resource .header .container,
  body.baize-ai-academy-route .header .container,
  body.bz2-page-home .footer .container-footer,
  body.bz2-page-tool .footer .container-footer,
  body.bz2-page-resource .footer .container-footer,
  body.baize-ai-academy-route .footer .container-footer { width: min(100% - 28px,1400px) !important; }
  .bz2-home-hero { min-height: 680px; }
  .bz2-home-hero-grid { display: block; min-height: 680px; }
  .bz2-home-hero-copy { padding: 44px 0 245px; }
  .bz2-home-hero-copy h1 { font-size: 38px; }
  .bz2-home-hero-copy > p { font-size: 14px; }
  .bz2-home-hero-art { top: auto; right: -150px; bottom: 0; width: 680px; height: 350px; opacity: .72; }
  .bz2-home-hero-art::after { background: linear-gradient(180deg, var(--bz2-navy), rgba(3,16,39,0) 40%); }
  .bz2-hero-actions { flex-wrap: wrap; }
  .bz2-button { flex: 1; padding-inline: 14px; }
  .bz2-search-dark { position: relative; z-index: 2; }
  .bz2-search-dark button { padding-inline: 13px; }
  .bz2-hot-search { display: none; }
  .bz2-channels { grid-template-columns: 1fr 1fr; gap: 11px; margin-top: -30px; }
  .bz2-channel { min-height: 190px; grid-template-columns: 42px 1fr; gap: 11px; padding: 17px 14px; }
  .bz2-channel > i { width: 40px; height: 40px; font-size: 18px; }
  .bz2-channel > b { display: none; }
  .bz2-channel span { font-size: 16px; }
  .bz2-channel strong { font-size: 11px; }
  .bz2-market-stats, .bz2-quality-cards { grid-template-columns: 1fr; }
  .bz2-market-stats > div { border-right: 0; border-bottom: 1px solid #edf1f6; }
  .bz2-market-stats > div:last-child { border-bottom: 0; }
  .bz2-quality-heading { align-items: flex-start; flex-wrap: wrap; }
  .bz2-quality-heading p { width: 100%; margin-left: 32px; }
  .bz2-grid-tool, .bz2-grid-resource, .bz2-grid-academy, .bz2-directory .bz2-grid-tool, .bz2-directory .bz2-grid-resource { grid-template-columns: 1fr; }
  .bz2-section { margin-bottom: 46px; }
  .bz2-section-head { align-items: flex-start; }
  .bz2-section-head h2 { font-size: 23px; }
  .bz2-academy-entry > a { position: static; display: inline-block; margin-top: 16px; }
  .bz2-home-cta, .bz2-directory-cta { align-items: flex-start; flex-direction: column; padding: 22px; }
  .bz2-home-cta > a, .bz2-directory-cta > a { width: 100%; text-align: center; }
  .bz2-directory-head { min-height: 0; padding: 52px 0; }
  .bz2-directory-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .bz2-directory-copy h1 { font-size: 34px; }
  .bz2-directory-principles { gap: 10px 18px; }
  .bz2-directory-stats > div { min-height: 82px; }
  .bz2-filter-panel { grid-template-columns: 1fr 1fr; }
  .bz2-filter-search { grid-column: 1 / -1; }
  .bz2-filter-panel > button, .bz2-filter-panel > a { width: 100%; }
  .bz2-results-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .bz2-results-meta { width: 100%; justify-content: space-between; }
  .bz2-directory-tool .bz2-tool-filter-panel { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-areas: "search search" "sort tooltype" "scenario capability" "platform pricing" "chinese chinese" "apply reset" "selected selected"; }
  .bz2-directory-resource .bz2-resource-filter-panel { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-areas: "search search" "sort resource_type" "capability scenario" "platform acquisition" "apply reset" "selected selected"; }
  .bz2-directory .bz2-tool-card { min-height: 0; }
  .bz2-directory .bz2-resource-card { min-height: 0; }
  .bz2-directory .bz2-resource-cover { height: auto; min-height: 0; }
  .bz2-resource-body { min-height: 0; padding: 16px; }
  .bz2-resource-body h3 { min-height: 0; }
  .bz2-quality-grid > div { grid-template-columns: 1fr; }
  .bz2-tool-submission-banner { border-radius: 10px; }
}

@media (max-width: 560px) {
  .bz2-directory-tool .bz2-tool-filter-panel { grid-template-columns: 1fr; grid-template-areas: "search" "sort" "tooltype" "scenario" "capability" "platform" "pricing" "chinese" "apply" "reset" "selected"; }
  .bz2-directory-resource .bz2-resource-filter-panel { grid-template-columns: 1fr; grid-template-areas: "search" "sort" "resource_type" "capability" "scenario" "platform" "acquisition" "apply" "reset" "selected"; }
  .bz2-selected-filters { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .bz2-home-hero-copy h1 { font-size: 34px; }
  .bz2-channels { grid-template-columns: 1fr; }
  .bz2-channel { min-height: 190px; }
  .bz2-filter-panel { grid-template-columns: 1fr; }
  .bz2-filter-search { grid-column: auto; }
  .bz2-results-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (max-width: 1280px) {
  .bz2-home-tools .bz2-grid-tool { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}

@media (max-width: 980px) {
  .bz2-home-tools .bz2-grid-tool { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .bz2-home-tools .bz2-grid-tool { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bz2-home-tools .bz2-tool-card { min-height: 178px; padding: 14px; }
  .bz2-home-tools .bz2-tool-logo { flex-basis: 48px; width: 48px; height: 48px; }
  .bz2-home-tools .bz2-card h3 { font-size: 15px; }
}

@media (max-width: 520px) {
  .bz2-home-tools .bz2-grid-tool { grid-template-columns: 1fr; }
}

/* BAIZE-117: directory CTA uses the page container and a semantic, linked layout. */
.bz2-tool-submission-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  min-height: 272px;
  margin: 34px 0 0;
  border: 1px solid rgba(56, 116, 223, .34);
  border-radius: 18px;
  background: linear-gradient(112deg, #092577 0%, #0b3aaa 58%, #0d2b7f 100%);
  box-shadow: 0 16px 34px rgba(12, 52, 127, .14);
  color: #fff;
  isolation: isolate;
}

.bz2-tool-submission-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 22px 30px clamp(28px, 4vw, 58px);
}

.bz2-tool-submission-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(224, 237, 255, .9);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .035em;
}

.bz2-tool-submission-brand i { color: #8bc5ff; font-size: 15px; }

.bz2-tool-submission-copy h2 {
  max-width: 560px;
  margin: 11px 0 8px;
  color: #fff;
  font-size: clamp(25px, 2.25vw, 34px);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.bz2-tool-submission-copy > p {
  max-width: 570px;
  margin: 0;
  color: rgba(224, 237, 255, .88);
  font-size: 14px;
  line-height: 1.7;
}

.bz2-tool-submission-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin: 15px 0 17px;
  padding: 0;
  list-style: none;
}

.bz2-tool-submission-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(244, 249, 255, .92);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.bz2-tool-submission-benefits i { color: #83c4ff; font-size: 14px; }

.bz2-tool-submission-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 24, 94, .22);
  color: #1555bf;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.bz2-tool-submission-action:hover,
.bz2-tool-submission-action:focus-visible {
  background: #eaf4ff;
  box-shadow: 0 11px 23px rgba(0, 24, 94, .28);
  color: #1049a8;
  transform: translateY(-1px);
}

.bz2-tool-submission-action:active { transform: translateY(0); }

.bz2-tool-submission-art {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: 0 17px 17px 0;
}

.bz2-tool-submission-art::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #0b3aaa 0%, #0b3aaa 17%, rgba(11, 58, 170, .18) 43%, rgba(11, 58, 170, 0) 100%);
  content: '';
}

.bz2-tool-submission-art::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 82px;
  background: linear-gradient(90deg, #0b3aaa 0%, #0c348f 46%, #0d2b7f 100%);
  content: '';
}

.bz2-tool-submission-art img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: right center;
}

.bz2-tool-submission-banner--submit {
  display: block;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
}

.bz2-tool-submission-banner--submit > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1400 / 350;
  object-fit: contain;
}

@media (max-width: 920px) {
  .bz2-tool-submission-banner { grid-template-columns: minmax(0, 1fr) 38%; }
  .bz2-tool-submission-copy { padding: 28px 20px 28px 30px; }
  .bz2-tool-submission-benefits { gap: 7px 11px; }
}

@media (max-width: 680px) {
  .bz2-tool-submission-banner {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 14px;
  }
  .bz2-tool-submission-copy { padding: 26px 22px; }
  .bz2-tool-submission-copy h2 { font-size: 25px; }
  .bz2-tool-submission-art { display: none; }
  .bz2-tool-submission-action { width: 100%; justify-content: center; }
}
