
:root {
  --color-ink: #16211f;
  --color-accent: #17332f;
  --color-accent-2: #274840;
  --color-warm: #8b5e34;
  --color-cream: #fff4e7;
  --color-muted: #5f6964;
  --color-muted-2: #6b756f;
  --color-border: rgba(22, 33, 31, 0.08);
  --color-surface: rgba(255, 255, 255, 0.82);
  --shadow-soft: 0 18px 40px rgba(73, 60, 35, 0.06);
  --shadow-panel: 0 22px 48px rgba(73, 60, 35, 0.08);
}
  .search-shell {
    margin: 0 auto;
  }

  .section-heading {
    max-width: 720px;
    margin-bottom: 32px;
  }

  .section-label {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
  }

  .section-heading h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
    color: var(--color-ink);
  }

  .section-text {
    margin: 16px 0 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-muted);
  }

  .search-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 20px;
    margin-bottom: 28px;
  }

  .search-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
     backdrop-filter: blur(20px);
  }

.search-card-primary {
  border-color: rgba(23, 51, 47, .18);
}

  .search-card-label {
    display: inline-flex;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2563eb;
  }

  .search-request strong,
  .search-photo-copy strong {
    display: block;
    font-size: 20px;
    color: #0f172a;
  }

  .search-request p,
  .search-photo-state p,
  .search-photo-copy p {
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.6;
  }

  .search-results-shell {
    margin-top: 24px;
  }

  .search-result-groups {
    display: grid;
    gap: 24px;
  }

  .search-result-group {
    background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
    border-radius: 24px;
    padding: 22px;
  }

  .search-result-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
  }

  .search-result-group-head strong {
    font-size: 20px;
    color: #0f172a;
  }

  .search-result-group-head span {
    min-width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
  }

  .search-result-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .search-result-card {
    border-radius: 20px;
    padding: 16px;
    background: rgba(255,255,255,.6);
  border: 1px solid var(--color-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .search-result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
  }

  .search-result-card-head {
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .search-result-media {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    overflow: hidden;
    flex: 0 0 auto;
    background: #e2e8f0;
  }

  .search-result-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .search-result-media-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: #2563eb;
    background: #dbeafe;
  }

  .search-result-copy strong {
    display: block;
    color: #0f172a;
    font-size: 16px;
  }

  .search-result-subtitle {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
  }

  .search-result-summary {
    margin: 14px 0 0;
    color: #475569;
    line-height: 1.6;
    font-size: 14px;
  }

  .search-result-actions {
    margin-top: 16px;
  }

  .search-result-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
  }

  .search-result-link:hover {
    background: #1d4ed8;
  }

  .search-result-link-muted {
    background: #e2e8f0;
    color: #64748b;
  }

  .status-panel {
    margin-top: 20px;
    padding: 24px;
    border-radius: 22px;
    border: 1px dashed #cbd5e1;
    background: #ffffff;
    color: #475569;
  }

  .status-panel strong {
    display: block;
    color: #0f172a;
    margin-bottom: 6px;
  }

  .search-photo-preview {
    display: flex;
    gap: 14px;
    align-items: center;
  }

  .search-photo-preview img {
    width: 86px;
    height: 86px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
  }

  [hidden] {
    display: none !important;
  }

  @media (max-width: 900px) {
    .search-layout {
      grid-template-columns: 1fr;
    }

    .search-result-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 600px) {
    .search-page {
      padding: 48px 14px;
    }

    .search-card,
    .search-result-group {
      padding: 18px;
      border-radius: 20px;
    }

    .search-result-grid {
      grid-template-columns: 1fr;
    }

    .search-photo-preview {
      align-items: flex-start;
    }
  }