/* KGE Student PDF Viewer v2.3 — clean revision guide viewer */
body.kge-student-portal.single-lesson .tutor-learning-area-content iframe.kge-student-revision-frame {
    display: block !important;
    width: 100% !important;
    height: clamp(360px, calc(100dvh - 230px), 650px) !important;
    min-height: 0 !important;
    border: 0 !important;
}
body.kge-student-portal.single-lesson .kge-pdfjs-presentation-button {
    min-height: 34px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
}

[data-kge-hide-pdfjs-fullscreen-link="true"] {
    display: none !important;
}

.kge-pdfjs-presentation-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.kge-pdfjs-presentation-button {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #C5A059 !important;
    border-radius: 8px;
    background: linear-gradient(135deg, #f7e7bb 0%, #e5c98d 46%, #c5a059 100%) !important;
    color: #001F18 !important;
    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 7px rgba(0,31,24,.12);
}

.kge-pdfjs-presentation-button:hover,
.kge-pdfjs-presentation-button:focus-visible {
    filter: brightness(.97);
    color: #001F18 !important;
}

.kge-pdfjs-presentation-button:focus-visible {
    outline: 2px solid #001F18;
    outline-offset: 2px;
}
