.glossary-layout {
    max-width: 52rem;
    margin: 0 auto;
    padding: 1.25rem 1rem 2.5rem;
}

.glossary-search {
    width: 100%;
    max-width: 22rem;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 0.75rem;
    padding: 0.5rem 0.65rem;
    border-radius: 4px;
    border: 1px solid #2a3a52;
    background: #0c1220;
    color: #d1dae8;
    margin-bottom: 1rem;
}

.glossary-search:focus {
    outline: none;
    border-color: #f5c518;
}

.glossary-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}

.glossary-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem;
}

.glossary-term {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #f5c518;
}

.glossary-type {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 0.55rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7f99;
}

.glossary-full {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: #c8d4e8;
    line-height: 1.45;
}

.glossary-code {
    margin-top: 0.25rem;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 0.62rem;
    color: #6b7f99;
}

.glossary-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #8fa3bf;
    padding: 2rem;
}
