/* Tools listing (/tools/, /tools/category/{slug}/) and single tools: the approved design at a 1040px container (Tools spec 1, section 9).
   Sizes are the spec's exact pixel values (owner-approved design), not the --kp-s scale.
   Every selector starts with body.kp-site .kp-tools… so the shared site.css element rules (h2, p, a, :focus-visible) do not override it,
   and nothing here reaches another page. Weights carry !important where typography.css forces its own (h1/h2 800, a 500, button 600). */
body.kp-site .kp-tools{max-width:1040px;margin:0 auto;padding:12px 16px 0;font-family:Inter,Helvetica,Arial,sans-serif;color:#2B2E33}
body.kp-site .kp-tools *,body.kp-site .kp-tools *::before,body.kp-site .kp-tools *::after{box-sizing:border-box}
body.kp-site .kp-tools .screen-reader-text{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.kp-site .kp-tools a:focus-visible,body.kp-site .kp-tools button:focus-visible,body.kp-site .kp-tools input:focus-visible,body.kp-site .kp-tools select:focus-visible{outline:2px solid #0A6EFB;outline-offset:2px}

/* 9.3 Hero */
body.kp-site .kp-tools-hero__title{margin:0;font-size:38px;line-height:1.2;font-weight:700!important;color:#0A0A0A;max-width:420px;font-family:inherit}
body.kp-site .kp-tools-hero__title--alone{margin:0 0 16px}

/* 9.4 Filter sidebar */
body.kp-site .kp-tools-body{display:flex;flex-wrap:wrap;gap:28px;align-items:flex-start;padding:32px 0 48px}
body.kp-site .kp-tools-filters{flex:1 1 220px;border:1px solid #E9EEF3;box-shadow:0 2.4px 7.2px rgba(38,63,96,.063);padding:18px;display:flex;flex-direction:column;gap:20px;box-sizing:border-box;background:#fff;margin:0}
body.kp-site .kp-tools-filters__head{display:flex;justify-content:space-between;align-items:center}
body.kp-site .kp-tools-filters__title{margin:0;font-size:16px;font-weight:700!important;color:#1F2328;line-height:1.3;font-family:inherit}
body.kp-site .kp-tools-filters__clear{color:#0A6EFB;font-size:13px;font-weight:600!important;padding:8px 0;text-decoration:none}
body.kp-site .kp-tools-filters fieldset{border:0;border-top:1px solid #E9EEF3;margin:0;padding:16px 0 0;display:flex;flex-direction:column;gap:4px;min-width:0}
body.kp-site .kp-tools-filters legend{float:left;width:100%;padding:0 0 8px;margin:0;font-size:12px;font-weight:700;letter-spacing:.08em;color:#57606A;line-height:1.4}
body.kp-site .kp-tools-filter{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400;color:#2B2E33;cursor:pointer;min-height:32px;margin:0;line-height:1.4}
body.kp-site .kp-tools-filter input{width:17px;height:17px;margin:0;accent-color:#0A6EFB;flex:none}
body.kp-site .kp-tools-filter__name{flex:1}
body.kp-site .kp-tools-filter__count{font-size:12px;color:#57606A;background:#F3F6F9;padding:2px 8px}
body.kp-site .kp-tools-apply{margin-top:4px;background:#0A6EFB;color:#fff;border:0;border-radius:5.6px;padding:9px 14px;font-weight:600!important;font-size:14px;cursor:pointer;font-family:inherit;line-height:1.4;text-transform:none}
body.kp-site .kp-tools.kp-js .kp-tools-apply{display:none}
/* Phones: the button that opens the sidebar (JavaScript only; see 9.11 below). */
body.kp-site .kp-tools-filters-btn{display:none;align-self:flex-start;border:1px solid #C9DDF7;background:#EEF5FF;color:#0B4FB3;font-weight:600!important;font-size:14px;padding:9px 14px;cursor:pointer;font-family:inherit;line-height:1.4;border-radius:0;text-transform:none}

/* 9.5 Main column heading */
body.kp-site .kp-tools-main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:14px}
body.kp-site .kp-tools-title{margin:0;font-size:30px;font-weight:700!important;color:#1F2328;line-height:1.2;font-family:inherit}
body.kp-site .kp-tools-intro{margin:0;font-size:15px;line-height:1.6;color:#57606A}

/* 9.6 Toolbar */
body.kp-site .kp-tools-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #E9EEF3;border-bottom:1px solid #E9EEF3;padding:10px 0;margin-top:4px}
body.kp-site .kp-tools-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14px}
body.kp-site .kp-tools-count{color:#57606A}
body.kp-site .kp-tools-count strong{color:#1F2328}
body.kp-site .kp-tools-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #C9DDF7;background:#EEF5FF;color:#0B4FB3;font-size:13px;font-weight:600!important;padding:5px 10px;text-decoration:none;line-height:1.3}
body.kp-site .kp-tools-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
body.kp-site .kp-tools-search{display:flex;align-items:center;gap:8px;border:1px solid #D6E2EC;background:#fff;padding:0 10px;min-width:220px;border-radius:0}
body.kp-site .kp-tools-search input{flex:1;min-width:0;width:auto;border:0;border-radius:0;box-shadow:none;margin:0;padding:9px 0;font:inherit;font-size:13px;line-height:1.4;background:transparent;color:#1F2328;outline:none;height:auto}
body.kp-site .kp-tools-search:focus-within{outline:2px solid #0A6EFB;outline-offset:1px}
body.kp-site .kp-tools-search input:focus-visible{outline:none}
body.kp-site .kp-tools-sort{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:400;color:#57606A;margin:0;line-height:1.4}
body.kp-site .kp-tools-sort select{font:inherit;font-size:13px;line-height:1.4;padding:8px 10px;border:1px solid #D6E2EC;border-radius:0;background:#fff;color:#1F2328;margin:0;height:auto;width:auto;box-shadow:none}

/* 9.7 Card grid and card */
body.kp-site .kp-tools-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(232px,1fr));gap:14px;transition:opacity .15s}
body.kp-site #kp-tools-results[aria-busy="true"] .kp-tools-grid{opacity:.6}
body.kp-site .kp-tools-card{display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid #E9EEF3;box-shadow:0 2.4px 7.2px rgba(38,63,96,.063);padding:16px;text-decoration:none;color:#2B2E33;font-weight:400!important;transition:border-color .15s,box-shadow .15s}
body.kp-site .kp-tools-card:hover{border-color:#C9DDF7;box-shadow:0 4px 14px rgba(38,63,96,.12);color:#2B2E33}
body.kp-site .kp-tools-card:focus-visible{outline:2px solid #0A6EFB;outline-offset:2px}
body.kp-site .kp-tools-card__head{display:flex;align-items:center;gap:12px}
body.kp-site .kp-tools-card__logo{width:44px;height:44px;object-fit:contain;flex:none}
body.kp-site .kp-tools-card__meta{display:flex;flex-direction:column;gap:4px;min-width:0}
body.kp-site .kp-tools-card__name{font-size:16.4px;font-weight:650!important;color:#2B2E33;line-height:1.3}
body.kp-site .kp-tools-badges{display:flex;flex-wrap:wrap;gap:4px}
body.kp-site .kp-tools-badge{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700!important;padding:2px 8px;line-height:1.5}
body.kp-site .kp-tools-badge--more{background:#F3F6F9;color:#45484D;border:1px solid #D6E2EC;padding:1px 7px;cursor:help}
body.kp-site .kp-tools-card__desc{margin:0;font-size:13.5px;line-height:1.55;color:#45484D;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
body.kp-site .kp-tools-card__foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #F0F3F6;padding-top:10px;font-size:12.4px}
body.kp-site .kp-tools-card__cat{color:#57606A}
body.kp-site .kp-tools-card__stars{display:flex;align-items:center;gap:4px;font-weight:600!important;color:#2B2E33}

/* 9.8 Empty state */
body.kp-site .kp-tools-empty{border:1px dashed #D6E2EC;padding:32px;text-align:center;font-size:15px;color:#57606A}
body.kp-site .kp-tools-empty a{color:#0A6EFB;font-weight:600!important;padding:8px;text-decoration:none}

/* 9.9 Pagination: Load more, or numbered pages */
body.kp-site .kp-tools-more{align-self:center;display:inline-block;margin:6px auto 0;border:1px solid #0A6EFB;color:#0A6EFB;background:#fff;font-size:15px;font-weight:600!important;padding:10px 18px;border-radius:5.6px;text-decoration:none;line-height:1.4}
body.kp-site .kp-tools-more:hover{background:#EEF5FF}
body.kp-site .kp-tools-pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin-top:6px;font-size:14px}
body.kp-site .kp-tools-pagination a,body.kp-site .kp-tools-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 8px;border:1px solid #D6E2EC;color:#1F2328;background:#fff;text-decoration:none;font-weight:500}
body.kp-site .kp-tools-pagination a:hover{background:#EEF5FF;border-color:#C9DDF7}
body.kp-site .kp-tools-pagination span[aria-current="page"]{background:#0A6EFB;border-color:#0A6EFB;color:#fff}
body.kp-site .kp-tools-pagination .kp-tools-pagination__gap{border:0;background:transparent;min-width:0;color:#57606A}


/* 9.11 Phones (below 768px): smaller hero, a Filters button in place of the sidebar (JavaScript), stacked toolbar, one card per row */
@media (max-width:767px){
  body.kp-site .kp-tools-hero__title{font-size:30px}
  body.kp-site .kp-tools-title{font-size:24px}
  body.kp-site .kp-tools.kp-js .kp-tools-filters-btn{display:inline-block}
  body.kp-site .kp-tools.kp-js .kp-tools-filters{display:none;flex:1 1 100%;order:1}
  body.kp-site .kp-tools.kp-js .kp-tools-filters.is-open{display:flex}
  body.kp-site .kp-tools.kp-js .kp-tools-main{order:2}
  body.kp-site .kp-tools.kp-js .kp-tools-filters-btn{order:0}
  body.kp-site .kp-tools-toolbar{flex-direction:column;align-items:stretch}
  body.kp-site .kp-tools-controls{flex-direction:column;align-items:stretch}
  body.kp-site .kp-tools-search{min-width:0;width:100%}
  body.kp-site .kp-tools-sort{width:100%}
  body.kp-site .kp-tools-sort select{flex:1}
  body.kp-site .kp-tools-grid{grid-template-columns:1fr}
}

/* Spec 2: single tool page (Tools spec 2, sections 7–10). Same rules as above: exact spec pixels, every selector under body.kp-site .kp-tool…,
   !important only where typography.css forces a weight (h1/h2/h3, a, button). The spec's inline styles are classes with the same values. */
body.kp-site .kp-tools.kp-tool{padding:16px 16px 0}
/* 7.1 Breadcrumb */
body.kp-site .kp-tool-crumbs{font-size:13px;color:#57606A;padding-bottom:12px;line-height:1.5}
body.kp-site .kp-tool-crumbs a{color:#57606A;text-decoration:none;font-weight:400!important}
body.kp-site .kp-tool-crumbs .kp-tool-crumbs__current,body.kp-site .kp-tool-crumbs .last{color:#1F2328;font-weight:600}
body.kp-site .kp-tool-crumbs .separator{padding:0 2px}
/* 7.2 Banner */
body.kp-site .kp-tool-banner{background-image:linear-gradient(90deg,rgba(255,255,255,.4),rgba(255,255,255,0) 55%),linear-gradient(180deg,#E2F3FD 0%,#E9F5FB 55%,#EFF8E6 100%);padding:32px 36px;display:flex;flex-wrap:wrap;gap:28px;align-items:center}
body.kp-site .kp-tool-banner__logo{width:112px;height:112px;flex:none;background:#fff;border:1px solid #E9EEF3;box-shadow:0 2.4px 7.2px rgba(38,63,96,.08);display:flex;align-items:center;justify-content:center}
body.kp-site .kp-tool-banner__logo img{width:76px;height:76px;object-fit:contain;display:block}
body.kp-site .kp-tool-banner__body{flex:1 1 420px;display:flex;flex-direction:column;gap:12px;min-width:0}
body.kp-site .kp-tool-banner__tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
body.kp-site .kp-tool-badge{font-size:12px;font-weight:700!important;padding:4px 10px;line-height:1.4}
body.kp-site .kp-tool-cat{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600!important;padding:4px 10px;background:#D8F5DC;color:#383B40;text-decoration:none;line-height:1.4}
body.kp-site .kp-tool-banner h1{margin:0;font-size:38px;line-height:1.15;font-weight:700!important;color:#0A0A0A;font-family:inherit;text-transform:none;letter-spacing:0}
body.kp-site .kp-tool-banner__text{margin:0;font-size:17px;line-height:1.6;color:#45484D;max-width:600px}
body.kp-site .kp-tool-banner__text a{color:#0A6EFB}
body.kp-site .kp-tool-banner__btns{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:4px}
/* Buttons (owner's choice, 17 Nov 2026): square corners on all four tool page buttons; Official docs text 14px, so it is exactly as tall as the GitHub button (41.6px). */
body.kp-site .kp-tool-btn-docs{display:flex;align-items:center;gap:8px;background:#0A6EFB;color:#fff;text-decoration:none;font-size:14px;font-weight:600!important;padding:11px 18px;border-radius:0;line-height:1.4}
body.kp-site .kp-tool-btn-gh{display:flex;align-items:stretch;text-decoration:none;color:#1F2328;font-size:14px;font-weight:600!important;border:1px solid #C9D3DD;border-radius:0;overflow:hidden;background:#fff;line-height:1.4}
body.kp-site .kp-tool-btn-gh__name{display:flex;align-items:center;gap:8px;padding:10px 14px;border-right:1px solid #C9D3DD}
body.kp-site .kp-tool-btn-gh__name:last-child{border-right:0}
body.kp-site .kp-tool-btn-gh__stars{display:flex;align-items:center;gap:6px;padding:10px 14px;background:#F6F8FA}
/* 7.3 Layout below the banner */
body.kp-site .kp-tool-layout{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start;padding:22px 0 48px}
body.kp-site .kp-tool-main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:40px;font-size:16px;line-height:1.7;color:#2B2E33}
body.kp-site .kp-tool-side{flex:1 1 260px;display:flex;flex-direction:column;gap:16px;min-width:0}
body.kp-site .kp-tool-card{border:1px solid #E9EEF3;box-shadow:0 4px 16px rgba(38,63,96,.10);background:#fff;padding:28px 28px 30px;display:flex;flex-direction:column;gap:18px}
body.kp-site .kp-tool-main h2{margin:0;font-size:24px;font-weight:700!important;color:#1F2328;line-height:1.3;font-family:inherit;text-transform:none;letter-spacing:0}
body.kp-site .kp-tool-main h3{margin:0;font-weight:700!important;font-family:inherit;text-transform:none;letter-spacing:0}
body.kp-site .kp-tool-main p{margin:0}
body.kp-site .kp-tool-main code{font-size:14px;background:#F3F6FA;padding:2px 6px}
body.kp-site .kp-tool-main a{color:#0A6EFB}
body.kp-site .kp-tool-main ul,body.kp-site .kp-tool-main ol{margin:0;padding:0}
body.kp-site .kp-tool-main #overview,body.kp-site .kp-tool-main #how,body.kp-site .kp-tool-main #features,body.kp-site .kp-tool-main #pros,body.kp-site .kp-tool-main #real,body.kp-site .kp-tool-main #faq{scroll-margin-top:24px}
body.kp-site .kp-tool-check{flex:none;margin-top:4px}
body.kp-site .kp-tool-text{display:flex;flex-direction:column;gap:12px}
body.kp-site .kp-tool-intro{color:#45484D}
/* 7.4 Overview card */
body.kp-site .kp-tool-overview{gap:22px}
body.kp-site .kp-tool-overview__part{display:flex;flex-direction:column;gap:10px}
body.kp-site .kp-tool-overview__part--next{border-top:1px solid #EEF1F4;padding-top:22px}
body.kp-site .kp-tool-main h2.kp-tool-h2--sub{font-size:22px}
body.kp-site .kp-tool-overview__content{display:flex;flex-direction:column;gap:12px}
body.kp-site .kp-tool-overview__content ul,body.kp-site .kp-tool-overview__content ol{padding-left:22px}
body.kp-site .kp-tool-overview__content img{max-width:100%;height:auto}
body.kp-site .kp-tool-points{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px;font-size:15px}
body.kp-site .kp-tool-points li{display:flex;gap:10px;margin:0}
body.kp-site .kp-tool-ba{display:flex;flex-wrap:wrap;gap:10px}
body.kp-site .kp-tool-ba__box{flex:1 1 240px;font-size:14.5px;line-height:1.6;padding:10px 12px}
body.kp-site .kp-tool-ba__box--before{background:#FFF4F0}
body.kp-site .kp-tool-ba__box--after{background:#F3FAF4}
body.kp-site .kp-tool-ba__box--before .kp-tool-ba__label{color:#A33A12}
body.kp-site .kp-tool-ba__box--after .kp-tool-ba__label{color:#2E6B37}
/* 7.5 How it works */
body.kp-site .kp-tool-how__figure{margin:0}
body.kp-site .kp-tool-how__img{width:100%;height:auto;display:block}
body.kp-site .kp-tool-how__text{display:flex;flex-direction:column;gap:14px}
/* 7.6 Key features */
body.kp-site .kp-tool-featcard__head{display:flex;flex-direction:column;gap:6px}
body.kp-site .kp-tool-features{margin:0;padding:0;list-style:none;border:1px solid #E9EEF3;display:flex;flex-direction:column}
body.kp-site .kp-tool-features li{display:flex;align-items:center;gap:16px;padding:16px 18px;border-bottom:1px solid #EEF1F4;background:#fff;margin:0}
body.kp-site .kp-tool-features li:last-child{border-bottom:0}
body.kp-site .kp-tool-features__icon{width:46px;height:46px;flex:none;border-radius:999px;display:flex;align-items:center;justify-content:center}
body.kp-site .kp-tool-features__icon svg{width:21px;height:21px}
body.kp-site .kp-tool-features__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
body.kp-site .kp-tool-features__title{font-size:16.5px;color:#1F2328;font-weight:700}
body.kp-site .kp-tool-features__line{font-size:14.5px;line-height:1.55;color:#45484D}
/* 7.7 Advantages and limitations */
body.kp-site .kp-tool-pros{display:flex;flex-direction:column;gap:16px}
body.kp-site .kp-tool-pros__head{display:flex;align-items:center;gap:12px}
body.kp-site .kp-tool-pros__icon{width:36px;height:36px;flex:none;background:#E8F1FE;display:flex;align-items:center;justify-content:center}
body.kp-site .kp-tool-pros__cols{display:flex;flex-wrap:wrap;gap:14px;font-size:15px}
body.kp-site .kp-tool-pros__box{flex:1 1 260px;padding:18px}
body.kp-site .kp-tool-pros__box--pro{border:1px solid #CDEBD3;background:#F3FAF4}
body.kp-site .kp-tool-pros__box--con{border:1px solid #F5D3C4;background:#FFF6F2}
body.kp-site .kp-tool-pros__box h3{margin:0 0 10px;font-size:16px}
body.kp-site .kp-tool-pros__box--pro h3{color:#2E6B37}
body.kp-site .kp-tool-pros__box--con h3{color:#A33A12}
body.kp-site .kp-tool-pros__box ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
body.kp-site .kp-tool-pros__box li{display:flex;gap:10px;margin:0}
/* 7.8 Real-world case studies */
body.kp-site .kp-tool-real{background:#E2F2FD;box-shadow:8px 8px 0 #DDE2E8;margin-right:8px;padding:30px 30px 32px;display:flex;flex-direction:column;gap:18px}
body.kp-site .kp-tool-real__head{display:flex;flex-direction:column;gap:8px}
body.kp-site .kp-tool-real__label{margin:0;font-size:12.4px;font-weight:700!important;letter-spacing:1.44px;color:#45484D}
body.kp-site .kp-tool-main .kp-tool-real h2{font-size:26px;color:#0A0A0A}
body.kp-site .kp-tool-real__intro{margin:0;font-size:15.5px;color:#45484D}
body.kp-site .kp-tool-real__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:14px}
body.kp-site .kp-tool-case{background:#fff;border:1px solid #CFE3F3;box-shadow:0 2.4px 7.2px rgba(38,63,96,.08);padding:20px;display:flex;flex-direction:column;gap:10px}
body.kp-site .kp-tool-case__top{display:flex;justify-content:space-between;align-items:center;gap:8px}
body.kp-site .kp-tool-main h3.kp-tool-case__company{font-size:19px;color:#0A0A0A;font-weight:700!important;line-height:1.3}
body.kp-site .kp-tool-case__tag{font-size:11px;font-weight:700;letter-spacing:.06em;padding:3px 8px;background:#F3F6FA;color:#45484D;text-transform:uppercase;white-space:nowrap}
body.kp-site .kp-tool-case__desc{font-size:14.5px;line-height:1.6;color:#45484D}
body.kp-site .kp-tool-case__desc strong{color:#1F2328}
body.kp-site .kp-tool-case__desc p{margin:0 0 8px}
body.kp-site .kp-tool-case__desc p:last-child{margin:0}
body.kp-site .kp-tool-case__desc ul,body.kp-site .kp-tool-case__desc ol{padding-left:20px;margin:0 0 8px}
body.kp-site .kp-tool-main .kp-tool-case__btn{margin-top:auto;background:#0A6EFB;color:#fff!important;text-decoration:none;font-size:14.5px;font-weight:500!important;padding:10px 14px;border-radius:0;text-align:center;line-height:1.4}
/* 7.9 FAQ */
body.kp-site .kp-tool-faq{display:flex;flex-direction:column;gap:12px}
body.kp-site .kp-tool-faq details{border:1px solid #E9EEF3;padding:14px 16px}
body.kp-site .kp-tool-faq summary{font-weight:600!important;color:#1F2328;cursor:pointer}
body.kp-site .kp-tool-faq__a{margin:8px 0 0;font-size:15px}
body.kp-site .kp-tool-faq__a p{margin:0 0 8px}
body.kp-site .kp-tool-faq__a p:last-child{margin:0}
body.kp-site .kp-tool-faq__a ul,body.kp-site .kp-tool-faq__a ol{padding-left:20px;margin:0 0 8px}
/* 8.3 Certification voucher card (printed twice; one copy is shown per screen size, 8.4) */
body.kp-site .kp-tool-voucher{border:1px solid #E9EEF3;box-shadow:0 2.4px 7.2px rgba(38,63,96,.063);background:#fff;padding:18px;display:flex;flex-direction:column;gap:14px}
body.kp-site .kp-tool-voucher--mobile{display:none}
body.kp-site .kp-tool-voucher__label{margin:0;font-size:12px;font-weight:700!important;letter-spacing:.08em;color:#57606A}
body.kp-site .kp-tool-voucher__row{display:flex;align-items:center;gap:14px}
body.kp-site .kp-tool-voucher__row img{width:52px;height:52px;flex:none;object-fit:contain}
body.kp-site .kp-tool-voucher__name{display:flex;flex-direction:column;gap:2px;min-width:0}
body.kp-site .kp-tool-voucher__name strong{font-size:16.4px;font-weight:650!important;color:#2B2E33;line-height:1.3}
body.kp-site .kp-tool-voucher__name span{font-size:12.4px;line-height:1.4;color:#2B2E33}
body.kp-site .kp-tool-voucher__text{margin:0;font-size:13.5px;line-height:1.55;color:#45484D}
body.kp-site .kp-tool-voucher__text strong{color:#1F2328}
body.kp-site .kp-tool-voucher__btn{background:#0A6EFB;color:#fff!important;text-decoration:none;font-size:15.2px;font-weight:500!important;padding:10px 13px;border-radius:0;text-align:center;line-height:1.4}
/* 9.2 Related tools */
body.kp-site .kp-tool-box{border:1px solid #E9EEF3;box-shadow:0 2.4px 7.2px rgba(38,63,96,.063);background:#fff;padding:18px;display:flex;flex-direction:column;gap:4px}
body.kp-site .kp-tool-box h2{margin:0 0 8px;font-size:16px;font-weight:700!important;color:#1F2328;line-height:1.3;font-family:inherit;text-transform:none;letter-spacing:0}
body.kp-site .kp-tool-rel{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #F0F3F6;text-decoration:none;color:#2B2E33;font-weight:400!important}
body.kp-site .kp-tool-rel img{width:32px;height:32px;object-fit:contain;flex:none}
body.kp-site .kp-tool-rel__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
body.kp-site .kp-tool-rel__top{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
body.kp-site .kp-tool-rel__name{font-size:15px;color:#1F2328;font-weight:700;line-height:1.3}
body.kp-site .kp-tool-rel__type{font-size:10.5px;font-weight:700;padding:1px 7px;line-height:1.5}
body.kp-site .kp-tool-rel__type--works{background:#E8F1FE;color:#0B4FB3}
body.kp-site .kp-tool-rel__type--alt{background:#FFF4D6;color:#7A4F00}
body.kp-site .kp-tool-rel__why{font-size:12.4px;line-height:1.45;color:#57606A}
body.kp-site .kp-tool-rel__why--clamp{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
body.kp-site .kp-tool-rel__stars{display:flex;align-items:center;gap:3px;font-size:12.4px;font-weight:600}
/* 10.1 On this page */
body.kp-site .kp-tool-toc{border:1px solid #E9EEF3;background:#F3F6FA;padding:14px 6px 8px}
body.kp-site .kp-tool-toc__label{margin:0 10px 8px;font-size:12px;font-weight:700!important;letter-spacing:.08em;color:#57606A}
body.kp-site .kp-tool-toc ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;font-size:13.5px}
body.kp-site .kp-tool-toc li{margin:0}
body.kp-site .kp-tool-toc a{display:block;padding:9px 12px;color:#050505;font-weight:500!important;text-decoration:none;line-height:1.4}
body.kp-site .kp-tool-toc a[aria-current="location"]{background:#fff;box-shadow:inset 3px 0 0 #2A6AF8;font-weight:700!important}
/* 10.2 Below 992px: one column — breadcrumb, banner, the mobile voucher card, the main sections, then Related tools; no "On this page" */
@media (max-width:991px){
  body.kp-site .kp-tool-layout{flex-direction:column}
  body.kp-site .kp-tool-main,body.kp-site .kp-tool-side{flex:1 1 auto;width:100%}
  body.kp-site .kp-tool-voucher--mobile{display:flex;margin-top:16px}
  body.kp-site .kp-tool-voucher--desktop{display:none}
  body.kp-site .kp-tool-toc{display:none}
}
/* 10.2 Phones (below 768px): smaller banner, logo and headings; tighter cards and callout; one case card per row */
@media (max-width:767px){
  body.kp-site .kp-tool-banner{padding:24px 20px}
  body.kp-site .kp-tool-banner__logo{width:80px;height:80px}
  body.kp-site .kp-tool-banner__logo img{width:56px;height:56px}
  body.kp-site .kp-tool-banner h1{font-size:30px}
  body.kp-site .kp-tool-main h2{font-size:22px}
  body.kp-site .kp-tool-main .kp-tool-real h2{font-size:22px}
  body.kp-site .kp-tool-card{padding:20px}
  body.kp-site .kp-tool-real{padding:22px;margin-right:8px}
  body.kp-site .kp-tool-real__grid{grid-template-columns:1fr}
}
/* Fix round 1: site.css gives every .kp-site p the muted grey (#546380) and a 16px bottom margin. The tool page's own text paragraphs take
   their box's spec colour instead (7.3 main column #2B2E33, 7.8 case description #45484D, 7.9 FAQ answer), and Rank Math's breadcrumb <p> adds no gap (7.1). */
body.kp-site .kp-tool-overview__content p,body.kp-site .kp-tool-text p,body.kp-site .kp-tool-how__text p,body.kp-site .kp-tool-faq__a p,body.kp-site .kp-tool-case__desc p{color:inherit}
body.kp-site .kp-tool-crumbs p{margin:0;color:inherit}
/* Tools listing hero = the home hero (owner's choice, 17 Nov 2026). The hero uses the home hero's classes
   (kp-hero kp-hero-home), so the shared .kp-site rules size it; these lines repeat the home-only (.home) rules. */
body.kp-site .kp-tools .kp-hero.kp-hero-home{margin:0 -16px;overflow:hidden}
@media(min-width:601px){body.kp-site .kp-tools .kp-hero.kp-hero-home{padding-left:min(calc(57.5px*var(--kp-s)),max(var(--kp-gut,calc(20px*var(--kp-s))),calc(50vw - 515px)))}}
@media(min-width:1025px){body.kp-site .kp-tools .kp-hero.kp-hero-home{padding-top:calc(36px*var(--kp-s))}body.kp-site .kp-tools .kp-hero.kp-hero-home>div{padding-bottom:calc(47px*var(--kp-s))}}
@media(min-width:1200px){body.kp-site .kp-tools .kp-hero.kp-hero-home{grid-template-columns:minmax(0,calc(550px*var(--kp-s)));position:relative;min-height:calc(412.5px*var(--kp-s))}body.kp-site .kp-tools .kp-hero.kp-hero-home>div{position:relative;z-index:1}body.kp-site .kp-tools .kp-hero.kp-hero-home img.kp-hero-art-custom{position:absolute;top:auto;bottom:0;right:0;left:auto;width:auto;height:auto;max-width:50%;max-height:100%;-webkit-mask:none;mask:none}}
@media(max-width:600px){body.kp-site .kp-tools .kp-hero.kp-hero-home>div{padding-inline:16px}}
body.kp-site .kp-tools .kp-hero.kp-hero-home h1{font-weight:700!important}
/* Tool page FAQ: the questions are h3 headings (owner's choice, 17 Nov 2026) but look exactly as the summary text did: same size, line, colour
   and 600 weight; inline, so the open/close arrow stays on the same line as the question. */
body.kp-site .kp-tool-faq summary h3.kp-tool-faq__q{display:inline;margin:0;padding:0;font-family:inherit;font-size:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;text-transform:none;font-weight:600!important}
/* Tool page: "On this page" and "Related tools" float (stay on screen while scrolling) on 992px and wider, like the
   Learning Platform page's floating box (24px from the top, plus the WordPress toolbar when logged in). The voucher card above them scrolls normally. */
@media(min-width:992px){
  body.kp-site .kp-tool-side{align-self:stretch}
  body.kp-site .kp-tool-float{position:sticky;top:calc(24px*var(--kp-s));display:flex;flex-direction:column;gap:16px}
  body.kp-site.admin-bar .kp-tool-float{top:calc(32px + 24px*var(--kp-s))}
}
/* Tool page FAQ: no 20px gap under each question (the WP Coupon theme's details summary{margin-bottom:20px}), so a closed
   question has the same space above and below it (18px / 19px), as the Learning Platform FAQ does (owner's choice, 17 Nov 2026). */
body.kp-site .kp-tool-faq summary{margin:0}
/* Tools banner picture on computers: exactly 300px tall with an 18px gap on the right (owner's exact sizes, 19 Nov 2026; was
   310px tall, touching the right edge). Fixed px on purpose. Tablet and phone keep their smaller in-flow picture. */
@media(min-width:1200px){body.kp-site .kp-tools .kp-hero.kp-hero-home img.kp-hero-art{height:300px;width:auto;max-height:none;right:18px}}

/* Tools list in a box (owner's choice, 19 Nov 2026): the heading, intro, search bar and tool cards sit inside one white box with the
   Learning Platform page's card look (thin #e9ecf1 border, soft shadow). Filters stay outside. The box padding would push the cards
   down to 2 per row on computers, so 3 per row is kept from 1200px up. */
body.kp-site .kp-tools-main{background:#fff;border:1px solid #e9ecf1;box-shadow:0 2px 10px rgba(30,40,70,.04);padding:26px 28px;box-sizing:border-box}
@media(min-width:1200px){body.kp-site .kp-tools-main .kp-tools-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){body.kp-site .kp-tools-main{padding:20px 16px}}

/* Tools listing lined up like the home page (owner's choice after a preview, 19 Nov 2026): the listing had 16px side padding, so the
   filters and the tools box started 16px right of the logo, and the banner used the home banner's old text spacing (text 46px right
   of the logo on computers). Now, as on home: no side padding; the banner reaches 30px past the page edges on computers and runs edge
   to edge on tablets and phones, with its text on the logo line. The banner picture keeps its 300px height and 18px right gap.
   Single tool pages (.kp-tool) share the wrapper and are left unchanged. */
body.kp-site .kp-tools:not(.kp-tool){padding-inline:0}
body.kp-site .kp-tools:not(.kp-tool) .kp-hero.kp-hero-home{margin-inline:0}
@media(min-width:1025px){body.kp-site .kp-tools:not(.kp-tool) .kp-hero.kp-hero-home{margin-inline:calc(-37.5px*var(--kp-s));padding-left:calc(37.5px*var(--kp-s))}}
@media(min-width:801px) and (max-width:1024px){body.kp-site .kp-tools:not(.kp-tool) .kp-hero.kp-hero-home{margin-inline:calc(-1*var(--kp-gut));padding-left:var(--kp-gut)}}
@media(min-width:601px) and (max-width:800px){body.kp-site .kp-tools:not(.kp-tool) .kp-hero.kp-hero-home{margin-inline:calc(-20px*var(--kp-s));padding-left:calc(20px*var(--kp-s))}}
@media(max-width:600px){body.kp-site .kp-tools:not(.kp-tool) .kp-hero.kp-hero-home{margin-inline:calc(-16px*var(--kp-s))}}
