.home-finder { background: var(--bg); }
.home-finder [hidden] { display: none !important; }
.home-finder-heading { text-align: center; }
.home-finder-heading p { margin: 18px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.6; }
.home-finder-search { display: block; max-width: 680px; margin: 28px auto 34px; }
.home-finder-input-wrap { position: relative; }
.home-finder input[type="search"] { display: block; width: 100%; min-width: 0; min-height: 64px; padding: 17px 58px 17px 54px; border: 1px solid var(--border-control); border-radius: 16px; background: var(--bg); color: var(--ink); font: inherit; font-size: 18px; line-height: 1.5; -webkit-appearance: none; appearance: none; }
.home-finder input[type="search"]::placeholder { color: var(--ink-soft); opacity: 1; }
.home-finder input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.home-finder-search-icon { position: absolute; top: 50%; left: 19px; transform: translateY(-50%); pointer-events: none; color: var(--ink-soft); }
.home-finder-clear { display: flex; align-items: center; justify-content: center; position: absolute; right: 9px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--bg); color: var(--ink-soft); cursor: pointer; }
.home-finder-clear:hover { background: var(--bg-soft); color: var(--ink); }
.home-finder-label { margin: 30px 0 14px; color: var(--ink-soft); font-size: 13px; font-weight: 500; line-height: 1.5; }
.home-finder-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.home-finder-results li { min-width: 0; }
.home-finder-card { display: flex; align-items: center; gap: 16px; min-height: 100px; height: 100%; padding: 20px 18px; border: 1px solid var(--border); border-radius: 17px; background: var(--bg); color: var(--ink); text-decoration: none; transition: background 160ms ease, transform 160ms ease; }
.home-finder-card:hover { background: var(--bg-soft); transform: translateY(-2px); }
.home-finder-card img { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 11px; }
.home-finder-card-copy { display: grid; gap: 6px; min-width: 0; }
.home-finder-name { color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
.home-finder-description { color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.home-finder-arrow { margin-left: auto; color: var(--ink-soft); font-size: 20px; }
.home-finder-card:hover .home-finder-name, .home-finder-card:hover .home-finder-arrow { color: var(--brand-on-light); }
.home-finder-status { margin: -4px 0 16px; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.home-finder-status:empty { display: none; }
.home-finder-empty { padding: 28px 0; text-align: center; }
.home-finder-empty h3 { margin: 0; color: var(--ink); font-size: 22px; }
.home-finder-empty p { margin: 12px 0 20px; color: var(--ink-soft); font-size: 16px; }
.home-finder-more { margin-top: 24px; text-align: center; }
.home-finder-browse { display: flex; width: fit-content; margin: 30px auto 0; }
.home-finder-subjects { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 22px; margin-top: 30px; }
.home-finder-subjects a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink-soft); font-size: 13px; line-height: 1.5; text-decoration: none; }
.home-finder-subjects a:hover { color: var(--brand-on-light); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 960px) {
  .home-finder-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .home-finder-heading p { font-size: 16px; margin-top: 14px; }
  .home-finder-search { margin-top: 24px; margin-bottom: 26px; }
  .home-finder input[type="search"] { min-height: 58px; font-size: 16px; padding-left: 46px; }
  .home-finder-search-icon { left: 15px; width: 20px; }
  .home-finder-results { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .home-finder-card { min-height: 86px; padding: 16px; gap: 14px; }
  .home-finder-name { font-size: 17px; }
  .home-finder-subjects { gap: 4px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-finder-card { transition: none; }
  .home-finder-card:hover { transform: none; }
}
@media print {
  .home-finder-search, .home-finder-more, .home-finder-empty { display: none !important; }
  .home-finder-card { break-inside: avoid; }
}
