/**
 * Staff daily-dispatch desk.
 */
.dispatch-wrap {
    padding: 2rem 0 3rem;
}

.dispatch-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1rem 0 0.85rem;
}

.dispatch-test-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.dispatch-wrap #testEmail {
    width: 100%;
    max-width: 28rem;
    min-height: 44px;
    margin: 0.35rem 0 0.75rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text);
}

.dispatch-frame {
    display: block;
    width: 100%;
    min-height: 720px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #d8d0c0;
}

@media (max-width: 767px) {
    .dispatch-toolbar .btn {
        flex: 1 1 100%;
    }

    .dispatch-frame {
        min-height: 520px;
    }
}

.dispatch-h2 {
    margin: 2.5rem 0 0.35rem;
    font-size: 1.4rem;
}

.dispatch-table-wrap {
    overflow-x: auto;
    margin-top: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.dispatch-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.dispatch-table th,
.dispatch-table td {
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    white-space: nowrap;
}

.dispatch-table td:nth-child(3) {
    white-space: normal;
    min-width: 14rem;
}

.dispatch-table tbody tr:last-child td {
    border-bottom: 0;
}

.dispatch-table a {
    display: inline-block;
    padding: 0.35rem 0;
}
