﻿/* ===== book-tools.css (BookCore) – temporary / for checking =====
   Localhost tools ("Festlegung erstellen") and the window and box "Kontrolle". After book-pages.css. */

/* ===== Localhost tools ("Festlegung erstellen" on the start page) ===== */
.local-tools {
    margin-top: 16px;
    padding: 12px 16px 16px;
    border: 1px dashed var(--bar);
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.45;
}

    .local-tools h2 {
        margin: 0 0 6px;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--bar);
    }

    .local-tools > p {
        margin: 0 0 12px;
    }

.btn-primary {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 22px;
    background: var(--bar);
    color: var(--on-bar);
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

    .btn-primary:disabled {
        background: #9aa3ad;
        cursor: not-allowed;
    }

.result-box {
    margin-top: 16px;
    padding: 12px 16px;
    background: #eef7ee;
    border: 1px solid #b9dcb9;
    border-radius: 8px;
}

    .result-box h3 {
        margin: 0 0 8px;
        font-size: 16px;
        font-weight: 600;
    }

        .result-box h3:not(:first-child) {
            margin-top: 14px;
        }

    .result-box dl {
        display: grid;
        grid-template-columns: max-content 1fr;
        gap: 4px 16px;
        margin: 0;
    }

    .result-box dt {
        color: var(--muted);
    }

    .result-box dd {
        margin: 0;
        min-width: 0;
        overflow-wrap: anywhere;
        font-variant-numeric: tabular-nums;
    }

    .result-box ol {
        margin: 0;
        padding-left: 22px;
    }

        .result-box ol li {
            margin-bottom: 6px;
        }

/* ===== Window and box "Kontrolle" (Info → Kontrolle; temporary) ===== */
.check-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
}

.check-box {
    margin-top: 24px;
    padding: 12px 16px;
    border: 1px dashed #9aa3ad;
    border-radius: 8px;
    font-size: 15px;
}

.check-box h2 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.check-box dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 4px 16px;
    margin: 0;
}

.check-box dt {
    color: var(--muted);
}

.check-box dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}

.check-box h3 {
    margin: 12px 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

/* Kontrolle: Angaben links, Ladezeiten rechts; on the phone one under the other */
.check-box .check-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
}

/* without load times only one column */
.check-box .check-cols--one {
    grid-template-columns: 1fr;
}

@media (max-width: 559px) {
    .check-box .check-cols {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 560px) {
    .check-box .check-cols h3 {
        margin-top: 0;
    }
}

.check-box .check-total {
    font-weight: 600;
    color: inherit;
}
