.zb-notes-badge {
    display: flex;
    align-items: center;
    gap: .65rem;
    align-self: flex-start;
    width: fit-content;
    margin: .35rem 0 .85rem;
    padding: .35rem .8rem .35rem .4rem;
    border: 1px solid #efdae3;
    border-radius: 999px;
    background: #fff4f8;
    color: #513247;
    font-size: .86rem;
    font-weight: 650;
    line-height: 1.3;
}

.zb-notes-frog {
    display: block;
    flex: none;
    object-fit: contain;
}

.zb-notes-badge .zb-notes-frog {
    width: 2.5rem;
    height: 2.5rem;
}

.zb-course-notes {
    margin: clamp(1.5rem, 4vw, 2.5rem) 0;
    padding: clamp(1rem, 3.5vw, 2rem);
    border: 1px solid #efdae3;
    border-radius: 24px;
    background: #fff4f8;
    color: #382534;
}

.zb-notes-header {
    display: flex;
    align-items: center;
    gap: clamp(.8rem, 3vw, 1.4rem);
}

.zb-notes-header .zb-notes-frog {
    width: clamp(3.5rem, 12vw, 5.5rem);
    height: auto;
    aspect-ratio: 1;
}

.zb-portal .zb-notes-header h2 {
    color: #563246;
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.2;
    margin: .2rem 0 .45rem;
}

.zb-portal .zb-notes-header p {
    margin: 0;
}

.zb-portal .zb-notes-header .zb-notes-tagline {
    margin-bottom: .6rem;
    color: var(--zb-action);
    font-size: .85rem;
    font-weight: 600;
}

.zb-notes-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .8rem 1.2rem;
    margin: 1.3rem 0 1rem;
}

.zb-notes-open {
    color: #65384f;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.zb-notes-preview {
    display: block;
    width: 100%;
    height: clamp(24rem, 75vh, 48rem);
    border: 1px solid #efdae3;
    border-radius: 12px;
    background: #fff;
}
