/*
 * The Teacher's own pieces, on top of the house's tokens.css and site.css (copied from HireSys).
 *
 * THE SITE SHOWS THE CLASSROOM ITSELF, DRAWN IN HTML, instead of illustrations: the product is the
 * proof, and the illustration bank the panel uses cannot be published. Everything is monochrome,
 * like every image of the system: grays and the ink, no color. No radius, no shadow, no hex: the
 * house's tokens only (design-system/07-checklist.md).
 */

/* ---------- the classroom, in the hero ---------- */
.room {
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--gray-2);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.room-board {
    border: 1px solid var(--gray-2);
    background: var(--gray-1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.room-kind {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-4);
}

.room-title {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--gray-9);
}

.room-points {
    list-style: none;
    counter-reset: point;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.room-points li {
    counter-increment: point;
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: baseline;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--gray-9);
}

.room-points li::before {
    content: counter(point);
    width: 24px;
    height: 24px;
    background: var(--gray-2);
    color: var(--gray-9);
        display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 900;
    align-self: start;
}

.room-points li.latest::before {
    background: var(--gray-9);
    color: var(--on-fill);
}

.room-points.small li {
    font-size: 14px;
}

/* "Sua vez": the question stays written at the foot of the board. */
.room-ask {
    background: var(--gray-9);
    color: var(--on-fill);
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 4px -20px -20px;
}

.room-ask-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.75;
}

.room-ask p {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.room-ask .room-ask-context {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.8;
    border-left: 2px solid var(--gray-3);
    padding-left: 10px;
}

.room-wave {
    width: 100%;
    height: 40px;
    display: block;
    overflow: visible;
}

.room-wave path {
    fill: none;
    stroke: var(--gray-9);
    stroke-width: 2;
}

.room-wave path.soft {
    stroke: var(--gray-4);
    stroke-width: 1.5;
}

@media (prefers-reduced-motion: no-preference) {
    .room-wave path {
        animation: wave 2.4s ease-in-out infinite alternate;
        transform-origin: center;
    }
    .room-wave path.soft {
        animation-delay: -1.2s;
    }
}

@keyframes wave {
    from { transform: scaleY(0.45); }
    to { transform: scaleY(1); }
}

/* The caption: what was said is lit, the word being said is marked, what comes waits dimmed. */
.room-said {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
    color: var(--gray-5);
    min-height: 3.2em;
}

.room-said span {
    transition: color 120ms linear;
}

.room-said .done {
    color: var(--gray-9);
}

.room-said .key {
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.room-said .now {
    color: var(--on-fill);
    background: var(--gray-9);
    padding: 0 3px;
    margin: 0 -3px;
}

.room-bar {
    border-top: 1px solid var(--gray-2);
    padding-top: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.room-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--gray-2);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-9);
}

.room-btn.main {
    background: var(--gray-9);
    border-color: var(--gray-9);
    color: var(--on-fill);
}

.room-spacer {
    flex: 1;
}

.room-voice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--gray-2);
    min-height: 36px;
    padding: 0 12px 0 10px;
    color: var(--gray-9);
}

.room-voice > span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.room-voice b {
    font-size: 12px;
    font-weight: 800;
}

.room-voice small {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-4);
}

/* ---------- the three kinds, on each path ---------- */
.path-kind {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-5);
}

/* ---------- the drawings of each step ---------- */
.mock {
    background: var(--surface);
    border: 1px solid var(--gray-2);
    padding: 24px;
    aspect-ratio: 4 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

/* 01: the teachers' cards, with the glyph of each one. */
.mock-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-content: center;
}

.mini-card {
    border: 1px solid var(--gray-2);
    background: var(--gray-1);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 150px;
    min-width: 0;
}

.mini-kind {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-4);
}

.mini-card strong {
    margin-top: auto;
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    color: var(--gray-9);
}

.mini-name {
    font-size: 12px;
    font-weight: 800;
    color: var(--gray-9);
    line-height: 1.3;
}

/* 02: listening, and the wait that fills while you are silent. */
.mock-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 14px;
    color: var(--gray-9);
}

.mock-status i {
    width: 8px;
    height: 8px;
        background: var(--gray-9);
}

.mock-heard {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--gray-7);
    border-left: 2px solid var(--gray-3);
    padding-left: 14px;
}

.mock-wait {
    width: 180px;
    height: 3px;
    background: var(--gray-2);
    position: relative;
}

.mock-wait i {
    position: absolute;
    inset: 0 auto 0 0;
    width: 35%;
    background: var(--gray-9);
}

@media (prefers-reduced-motion: no-preference) {
    .mock-wait i {
        animation: wait 3.2s ease-in-out infinite;
    }
}

@keyframes wait {
    from { width: 0; }
    to { width: 100%; }
}

.mock small {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-5);
}

/* 03: the book's page beside the board's points. */
.mock-page {
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.page-sheet {
    flex: 0 0 38%;
    aspect-ratio: 3 / 4;
    background: var(--gray-0);
    border: 1px solid var(--gray-2);
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.page-sheet i {
    height: 4px;
    background: var(--gray-3);
}

.page-sheet i.short {
    width: 60%;
}

.mock-page .room-points {
    flex: 1;
    min-width: 0;
}

/* 04: what you know, concept by concept, and when each comes back. */
.memo {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-2);
}

.memo:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.memo > span:first-child {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-9);
}

.memo small {
    grid-column: 1 / -1;
}

.blocks {
    display: inline-flex;
    gap: 3px;
}

.blocks i {
    width: 14px;
    height: 14px;
    background: var(--gray-2);
}

.blocks i.on {
    background: var(--gray-9);
}

@media (max-width: 599px) {
    .room {
        padding: 14px;
    }
    .room-board {
        padding: 16px;
    }
    .room-ask {
        margin: 4px -16px -16px;
    }
    .room-said {
        font-size: 16px;
    }
    .mock {
        aspect-ratio: auto;
        padding: 18px;
    }
    .mini-card {
        min-height: 120px;
    }
    .mini-card strong {
        font-size: 30px;
    }
}
.announce.flush { margin: 0; }
.title-section { font-size: var(--fz-section-title); }

/* A centered section's list sits in the middle of the page, its questions still read from the left. */
.faq.center { margin-inline: auto; }
