body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background: #f9f9f9;
    color: #333;
}

header,
footer {
    text-align: center;
    padding: 1.5em 1em;
    background: #004d99;
    color: white;
}

footer {
    background: #eee;
    color: #000;
    font-size: 0.9em;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2em;
    padding: 2em;
    max-width: 1200px;
    margin: 0 auto;
}

.app-card {
    display: flex;
    align-items: center;
    gap: 1em;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1em;
    min-height: 110px;
    text-align: left;
    transition: transform 0.2s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    background-color: #f5f5f5;
}

.img-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-text {
    flex: 1;
}

.app-text h2 {
    margin: 0 0 0.3em;
    font-size: 1.1em;
}

.app-text p {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.app-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.app-link:hover {
    transform: scale(1.05);
}

main h3 {
    font-size: 1.5em;
    color: #004d99;
    grid-column: 1/-1;
    border-bottom: 2px solid #ddd;
}

.topbar {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}

.brand {
    display: flex;
    gap: 10px;
    align-items: center;
}

.logo {
    font-size: 22px;
}

.title {
    font-weight: 700;
    font-size: 24px;
    text-align: left;
}

.subtitle {
    font-size: 16px;
    opacity: .75;
    margin-top: 2px;
    text-align: left;
}

.topbarActions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.small {
    font-size: 12px;
    opacity: .8;
}