:root {
  --kus-ink: #17231f;
  --kus-muted: #52615b;
  --kus-green: #0e6b50;
  --kus-green-dark: #074b39;
  --kus-mint: #eaf6f1;
  --kus-border: #d6e2dd;
  --kus-warm: #fff7e8;
  --kus-danger: #9f3e25;
  --kus-shell: min(1180px, calc(100% - 40px));
}

.kunt-search-page-active .site-content,
.kunt-search-page-active .content-area,
.kunt-search-page-active .site-main,
.kunt-search-page-active .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.kunt-search-page-active.separate-containers .site-main,
.kunt-search-page-active .site-main {
  margin: 0;
}

.kunt-search-page-active.separate-containers .inside-article,
.kunt-search-page-active .inside-article {
  padding: 0;
}

.kunt-search-page-active .site-header,
.kunt-search-page-active .site-footer,
.kunt-search-page-active .entry-header {
  display: none;
}

.kus-search {
  color: var(--kus-ink);
  background: #f7faf8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.kus-search * { box-sizing: border-box; }
.kus-search a { color: inherit; }
.kus-shell { width: var(--kus-shell); margin-inline: auto; }
.kus-skip-link { position: fixed; top: 8px; left: 8px; z-index: 9999; padding: 10px 14px; color: #fff; background: var(--kus-green-dark); transform: translateY(-140%); }
.kus-skip-link:focus { transform: none; }

.kus-trustbar { color: #fff; background: var(--kus-green-dark); font-size: .82rem; }
.kus-trustbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.kus-live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #78e0b3; }

.kus-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--kus-border); }
.kus-header-inner { min-height: 72px; display: flex; align-items: center; gap: 30px; }
.kus-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.kus-brand > span { display: grid; width: 38px; height: 38px; place-items: center; color: #fff; border-radius: 12px; background: var(--kus-green); font-weight: 800; }
.kus-brand strong { font-size: 1.1rem; font-style: normal; }
.kus-brand em { color: var(--kus-green); font-style: normal; }
.kus-header nav { display: flex; gap: 24px; margin-left: auto; }
.kus-header nav a { text-decoration: none; font-weight: 650; }
.kus-header nav a:hover { color: var(--kus-green); }
.kus-help-link { padding: 10px 15px; border-radius: 999px; color: #fff !important; background: var(--kus-danger); text-decoration: none; font-weight: 750; }

.kus-hero { padding: 72px 0 58px; color: #fff; background: linear-gradient(130deg, #073f31, #0e6b50 65%, #168b69); }
.kus-hero-inner { max-width: 900px; }
.kus-eyebrow { margin: 0 0 8px; color: var(--kus-green); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.kus-hero .kus-eyebrow { color: #a8ead0; }
.kus-hero h1 { margin: 0; color: #fff; font-size: clamp(2.25rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -.045em; }
.kus-hero > .kus-shell > p,
.kus-hero-inner > p:not(.kus-eyebrow) { max-width: 760px; margin: 18px 0 30px; color: #e5f4ee; font-size: 1.08rem; }

.kus-form { display: grid; grid-template-columns: minmax(0, 1fr) 180px auto; gap: 12px; padding: 15px; border-radius: 20px; background: #fff; box-shadow: 0 18px 48px rgba(0,0,0,.18); }
.kus-form label { display: block; margin: 0 0 5px; color: var(--kus-muted); font-size: .75rem; font-weight: 750; }
.kus-form input,
.kus-form select { width: 100%; min-height: 50px; border: 1px solid var(--kus-border); border-radius: 11px; color: var(--kus-ink); background: #fff; font: inherit; }
.kus-form input { padding: 0 15px; }
.kus-form select { padding: 0 12px; }
.kus-form button { align-self: end; min-height: 50px; padding: 0 24px; border: 0; border-radius: 11px; color: #fff; background: var(--kus-green); font: inherit; font-weight: 800; cursor: pointer; }
.kus-form input:focus-visible,
.kus-form select:focus-visible,
.kus-form button:focus-visible,
.kus-search a:focus-visible { outline: 3px solid #f5c451; outline-offset: 3px; }

.kus-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 18px; font-size: .88rem; }
.kus-popular > span { color: #cfeadd; font-weight: 700; }
.kus-popular a { padding: 7px 11px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: #fff; text-decoration: none; }
.kus-popular a:hover { background: rgba(255,255,255,.12); }

.kus-results-section { min-height: 480px; padding: 58px 0 84px; }
.kus-results-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.kus-results-heading h2,
.kus-empty h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.15; letter-spacing: -.025em; }
.kus-results-heading > p { max-width: 350px; margin: 0; color: var(--kus-muted); text-align: right; }

.kus-filter-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 30px; }
.kus-filter-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border: 1px solid var(--kus-border); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 700; }
.kus-filter-links a[aria-current="page"] { color: #fff; border-color: var(--kus-green); background: var(--kus-green); }
.kus-filter-links span { display: grid; min-width: 23px; height: 23px; place-items: center; border-radius: 999px; background: rgba(14,107,80,.1); font-size: .75rem; }
.kus-filter-links a[aria-current="page"] span { background: rgba(255,255,255,.18); }

.kus-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.kus-result-card { position: relative; display: flex; flex-direction: column; min-height: 330px; padding: 26px; border: 1px solid var(--kus-border); border-radius: 20px; background: #fff; box-shadow: 0 9px 28px rgba(23,35,31,.05); }
.kus-result-card:hover { border-color: #a8c8bb; box-shadow: 0 14px 34px rgba(23,35,31,.09); }
.kus-card-top { display: flex; justify-content: space-between; gap: 12px; }
.kus-type-badge,
.kus-overdue { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border-radius: 999px; font-size: .74rem; font-weight: 800; }
.kus-type-badge { color: var(--kus-green-dark); background: var(--kus-mint); }
.kus-type-service .kus-type-badge { color: #644b13; background: #fff1c9; }
.kus-type-tool .kus-type-badge { color: #3f4c79; background: #eef0ff; }
.kus-overdue { color: #7e2c18; background: #fff0eb; }
.kus-result-card h3 { margin: 17px 0 9px; font-size: 1.32rem; line-height: 1.25; letter-spacing: -.015em; }
.kus-result-card h3 a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.kus-summary { margin: 0; color: var(--kus-muted); }
.kus-compatibility { display: flex; flex-wrap: wrap; gap: 7px; margin: 17px 0 0; padding: 0; list-style: none; }
.kus-compatibility li { padding: 5px 8px; border-radius: 7px; color: #315046; background: #f0f6f3; font-size: .77rem; font-weight: 650; }
.kus-card-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 22px; color: var(--kus-muted); font-size: .78rem; }
.kus-open-link { margin-top: 13px; color: var(--kus-green) !important; font-weight: 800; text-decoration: none; }

.kus-empty { max-width: 760px; padding: 36px; border: 1px solid var(--kus-border); border-radius: 20px; background: #fff; }
.kus-empty-initial { margin-top: 0; }
.kus-empty h3 { margin: 0 0 10px; font-size: 1.55rem; }
.kus-empty p { color: var(--kus-muted); }
.kus-empty-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.kus-empty-actions a { padding: 10px 15px; border: 1px solid var(--kus-green); border-radius: 10px; color: var(--kus-green); text-decoration: none; font-weight: 750; }

.kus-footer { padding: 38px 0; color: #d9ebe4; background: #102b23; }
.kus-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.kus-footer strong { color: #fff; font-size: 1.1rem; }
.kus-footer p { margin: 6px 0 0; }
.kus-footer a { color: #fff; }

@media (max-width: 760px) {
  :root { --kus-shell: min(100% - 28px, 1180px); }
  .kus-trustbar-inner { justify-content: center; text-align: center; }
  .kus-trustbar-inner span:last-child { display: none; }
  .kus-header-inner { min-height: 64px; }
  .kus-header nav { display: none; }
  .kus-help-link { margin-left: auto; font-size: .82rem; }
  .kus-hero { padding: 52px 0 42px; }
  .kus-form { grid-template-columns: 1fr; }
  .kus-form button { width: 100%; }
  .kus-results-section { padding: 42px 0 62px; }
  .kus-results-heading { align-items: start; flex-direction: column; }
  .kus-results-heading > p { text-align: left; }
  .kus-result-grid { grid-template-columns: 1fr; }
  .kus-result-card { min-height: 0; }
  .kus-empty { padding: 25px; }
  .kus-footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .kus-result-card { transition: none; }
}
