* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
                 "Segoe UI", sans-serif;
    background: #f5f5f7;
    color: #1d1d1f;
}

.topbar {
    height: 72px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #1d1d1f;
    color: white;
    font-weight: 700;
}

.brand strong {
    display: block;
    font-size: 17px;
}

.brand span {
    display: block;
    font-size: 12px;
    color: #86868b;
}

.user-area {
    display: flex;
    gap: 18px;
    align-items: center;
    font-size: 14px;
}

.user-area a {
    color: #0071e3;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 50px 28px;
}

.welcome h1 {
    margin: 0;
    font-size: 42px;
}

.welcome p {
    color: #6e6e73;
    font-size: 17px;
}

.departments {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.department-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px;
    min-height: 130px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 22px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 30px rgba(0,0,0,.05);
    transition: .2s ease;
}

.department-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0,0,0,.10);
}

.icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: #f0f0f2;
    font-size: 25px;
}

.department-card h2 {
    margin: 0 0 6px;
    font-size: 19px;
}

.department-card p {
    margin: 0;
    color: #6e6e73;
    font-size: 14px;
}
