.ifb-exam-calendar{padding-bottom:40px}.ifb-exam-calendar .ifb-section-heading{align-items:center;gap:20px}.ifb-exam-year+.ifb-exam-year{margin-top:36px}.ifb-exam-year>h3{margin:0 0 20px;color:var(--ifb-navy,#173c4a);font-size:clamp(1.7rem,3vw,2.2rem);line-height:1.2}.ifb-exam-month+.ifb-exam-month{margin-top:28px}.ifb-exam-month>h4{margin:0 0 12px;color:var(--ifb-navy,#173c4a);font-size:1.2rem;line-height:1.4}.ifb-exam-calendar .ifb-table-scroll,.ifb-exam-archive .ifb-table-scroll{position:relative}.ifb-exam-calendar .ifb-table-scroll:focus-visible,.ifb-exam-archive .ifb-table-scroll:focus-visible{outline:3px solid var(--ifb-teal,#278c7c);outline-offset:4px}.ifb-exam-no-action{color:var(--ifb-muted,#607984)}.ifb-exam-archive{padding-top:16px;padding-bottom:64px;scroll-margin-top:100px}.ifb-exam-archive>h2{margin:0 0 20px;color:var(--ifb-navy,#173c4a);font-size:clamp(1.5rem,3vw,2rem);line-height:1.25}.ifb-exam-archive__year{border:1px solid var(--ifb-border,#dbe6e5);border-radius:14px;background:var(--ifb-white,#fff);overflow:hidden}.ifb-exam-archive__year+.ifb-exam-archive__year{margin-top:12px}.ifb-exam-archive summary{cursor:pointer;color:var(--ifb-navy,#173c4a);font-weight:700;line-height:1.5;padding:18px 20px}.ifb-exam-archive summary:focus-visible{outline:3px solid var(--ifb-teal,#278c7c);outline-offset:-4px}.ifb-exam-archive summary::marker{color:var(--ifb-teal,#278c7c)}.ifb-exam-archive__year>summary{background:var(--ifb-cream,#f8f7f2);font-size:1.2rem}.ifb-exam-group-count{margin-left:14px;font-size:.8rem;font-weight:500;color:var(--ifb-muted,#607984)}.ifb-exam-archive__month{margin:0 16px;border-bottom:1px solid var(--ifb-border,#dbe6e5)}.ifb-exam-archive__month:last-child{border-bottom:0}.ifb-exam-archive__month[open]{padding-bottom:16px}.ifb-exam-archive__month>summary{padding-left:4px;padding-right:4px}.ifb-exam-archive .ifb-exam-table{min-width:530px}.ifb-status--archive{color:#52666f;background:#edf1f2}.ifb-exam-archive__empty{color:var(--ifb-muted,#607984)}
@media(max-width:680px){.ifb-exam-calendar .ifb-section-heading{align-items:flex-start}.ifb-exam-calendar .ifb-exam-table{min-width:560px}.ifb-exam-calendar .ifb-exam-table th,.ifb-exam-calendar .ifb-exam-table td,.ifb-exam-archive .ifb-exam-table th,.ifb-exam-archive .ifb-exam-table td{padding:14px 12px}.ifb-exam-archive .ifb-exam-table{min-width:470px}.ifb-exam-archive__month{margin:0 10px}.ifb-exam-archive summary{padding:16px}.ifb-exam-archive__month>summary{padding-left:4px;padding-right:4px}.ifb-exam-group-count{margin-left:10px}.ifb-exam-archive{padding-bottom:44px}}

/* Current exams keep their real table/links, with every action visible on mobile. */
@media (max-width: 760px) {
    .ifb-exam-calendar .ifb-table-scroll {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    .ifb-exam-calendar .ifb-exam-table--current {
        display: block;
        position: relative;
        width: 100%;
        min-width: 0;
        border-collapse: separate;
    }
    .ifb-exam-calendar .ifb-exam-table--current thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(1px, 1px, 1px, 1px);
        clip-path: inset(50%);
        white-space: nowrap;
        border: 0;
    }
    .ifb-exam-calendar .ifb-exam-table--current tbody {
        display: grid;
        gap: 12px;
    }
    .ifb-exam-calendar .ifb-exam-table--current tbody > tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 16px;
        padding: 16px;
        border: 1px solid var(--ifb-border);
        border-radius: 14px;
        background: var(--ifb-white);
    }
    .ifb-exam-calendar .ifb-exam-table--current td {
        min-width: 0;
        padding: 0;
        border: 0;
        font-size: 14px;
        line-height: 1.5;
    }
    .ifb-exam-calendar .ifb-exam-table--current td:first-child {
        grid-column: 1 / -1;
    }
    .ifb-exam-calendar .ifb-exam-table--current td:nth-child(2)::before,
    .ifb-exam-calendar .ifb-exam-table--current td:nth-child(3)::before {
        content: attr(data-ifb-label);
        display: block;
        margin-bottom: 4px;
        color: var(--ifb-muted);
        font-size: 12px;
        line-height: 1.4;
    }
    .ifb-exam-calendar .ifb-exam-table--current td:nth-child(3),
    .ifb-exam-calendar .ifb-exam-table--current td:nth-child(5) {
        text-align: end;
    }
    .ifb-exam-calendar .ifb-exam-table--current td:nth-child(4) {
        align-self: center;
    }
    .ifb-exam-calendar .ifb-exam-table--current .ifb-level-tag {
        max-width: 100%;
        white-space: normal;
    }
    .ifb-exam-calendar .ifb-exam-table--current .ifb-table-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 16px;
        border-radius: 8px;
        color: var(--ifb-white);
        background: var(--ifb-teal);
        font-weight: 700;
        text-decoration: none;
    }
    .ifb-exam-calendar .ifb-exam-table--current .ifb-table-action:hover {
        color: var(--ifb-white);
        background: #005e65;
    }
}
