/*
 * PDF report of the SHRM BASK test (partials/bask-report.php). The block lives
 * off screen (`.bask-report-shelf`) and html2pdf draws a copy of it onto A4;
 * that copy is mounted under <body>, outside `.bask`, so every rule is under
 * the root `.bask-report` and never under `.bask`. Unlike the rest of the site
 * its sizes are fixed px (a document, not a responsive layout): 704px is the
 * 186mm text width of A4 with 12mm margins.
 */
.bask-report-shelf {
    position: fixed;
    top: 0;
    left: -10000px;
    pointer-events: none;
}

.bask-report {
    width: 704px;
    padding: 0;
    color: #1b2233;
    background: #fff;
    font-size: 13px;
    line-height: 1.5;
}

.bask-report * {
    box-sizing: border-box;
}

.bask-report p,
.bask-report ul,
.bask-report dl,
.bask-report dd {
    margin: 0;
}

.bask-report__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
}

.bask-report__logo {
    display: block;
    width: 160px;
    height: auto;
}

.bask-report__tagline {
    margin-top: 6px;
    color: var(--color-text-muted);
    font-size: 11px;
}

.bask-report__date {
    color: var(--color-text-muted);
    font-size: 12px;
}

.bask-report__title {
    margin: 18px 0 14px;
    color: var(--color-primary);
    font-size: 22px;
    line-height: 1.25;
}

.bask-report__card {
    margin-bottom: 10px;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
    break-inside: avoid;
}

.bask-report__profile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
    background: var(--color-surface-muted);
}

.bask-report__profile dt {
    color: var(--color-text-muted);
    font-size: 11px;
}

.bask-report__profile dd {
    font-weight: 600;
}

.bask-report__total {
    display: flex;
    align-items: baseline;
    gap: 14px;
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.bask-report__total-value {
    font-size: 28px;
    font-weight: 700;
}

.bask-report__total-value small {
    font-size: 13px;
    font-weight: 400;
}

.bask-report__total-level {
    font-size: 15px;
}

.bask-report__h2 {
    margin: 0 0 8px;
    color: var(--color-primary);
    font-size: 16px;
}

.bask-report__h2--bare {
    margin-top: 16px;
}

.bask-report__h3 {
    margin: 0 0 6px;
    color: var(--color-primary);
    font-size: 14px;
}

.bask-report__h3--gap {
    margin-top: 14px;
}

.bask-report__h4 {
    margin: 2px 0 4px;
    font-size: 14px;
}

.bask-report__muted {
    color: var(--color-text-muted);
    font-size: 12px;
}

.bask-report__row {
    margin-top: 8px;
    break-inside: avoid;
}

.bask-report__row-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.bask-report__bar {
    height: 8px;
    border-radius: 4px;
    background: var(--color-border);
}

.bask-report__bar-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--color-accent);
}

.bask-report__list {
    padding-left: 18px;
}

.bask-report__list li + li {
    margin-top: 4px;
}

.bask-report__course {
    border-left: 4px solid var(--color-accent);
}

.bask-report__link {
    color: var(--color-accent);
    font-size: 12px;
    word-break: break-all;
    text-decoration: none;
}

.bask-report__foot {
    margin-top: 14px;
    background: var(--color-surface-muted);
}

.bask-report__contacts {
    margin-top: 8px;
    padding: 0;
    list-style: none;
    font-size: 12px;
}

@media print {
    .bask-report-shelf {
        display: none;
    }
}
