.lookup-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 6px;
}

.lookup-hint {
    color: var(--text-muted);
    margin: 0 0 16px;
    font-size: 0.95rem;
}

.search-wrap {
    position: relative;
    max-width: 480px;
}

#search-input {
    width: 100%;
    font-size: 1rem;
    padding: 10px 14px;
    background: var(--input-bg);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-sizing: border-box;
    font-family: inherit;
}

#search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}

.suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 4px 12px var(--shadow);
    z-index: 100;
    max-height: 280px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.active {
    background: var(--primary-light);
    color: var(--accent);
}

.suggestion-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1px;
}

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px 28px;
    max-width: 480px;
    margin-bottom: 20px;
}

.result-name {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0 0 4px;
}

.result-age {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.result-dob {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.result-address {
    margin-bottom: 16px;
    line-height: 1.6;
}

.result-phones {
    margin-bottom: 14px;
    line-height: 1.8;
}

.result-phones .phone-row {
    display: flex;
    gap: 10px;
}

.phone-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    min-width: 38px;
    padding-top: 1px;
}

.result-email {
    margin-bottom: 4px;
}

/* All links inside the result card share one rule. --link is the token
   designed for link text (#0066CC light / #6BB0FF dark) — slightly
   more legible than --accent against the card background. The address
   needed an explicit rule because lookup.js renders it as a bare <a>
   wrapping the Google Maps link (no class), so without this it would
   fall back to the browser-default blue and be unreadable in dark mode. */
.result-address a,
.result-email a,
.result-phones a {
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.result-address a:hover,
.result-email a:hover,
.result-phones a:hover {
    color: var(--accent-hover);
}
