.visit-list { display: flex; flex-direction: column; gap: 8px; }
.visit-row {
    display: grid;
    grid-template-columns: 80px 110px 140px 1fr 100px 90px;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.85em;
}
.visit-week { font-weight: 700; color: var(--accent-green); }
.visit-date { color: var(--text-main); font-weight: 500; }
.visit-window { color: var(--text-muted); font-size: 0.85em; }

.rater-cell {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.95em;
}
.rater-principal { color: var(--accent-green); }
.rater-suplente { color: var(--accent-yellow); font-weight: 400; }
.rater-pending { color: var(--text-dim); font-style: italic; font-weight: 400; }
/* =========================================================
   PREVIEW WORD
========================================================= */

.preview-word {
    background: white;
    color: black;
    padding: 20px;
    border-radius: 6px;
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow-x: auto;
}

.preview-mes {
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 15px;
    color: black;
}

.preview-tabla {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.preview-tabla th {
    background: white;
    color: black;
    font-weight: bold;
    padding: 8px;
    border: 2px solid black;
    text-align: center;
    font-size: 0.85em;
    text-transform: uppercase;
}

.preview-celda {
    border: 2px solid black;
    padding: 8px;
    vertical-align: top;
    height: 500px;
    font-size: 0.78em;
    color: black;
    background: white;
    position: relative;
}

.preview-celda.preview-festivo {
    background: #FFA500;
}

.preview-dia-num {
    font-weight: bold;
    font-size: 1.4em;
    text-align: center;
    margin-bottom: 10px;
    color: black;
    border-bottom: 1px solid black;
    padding-bottom: 6px;
}

.preview-ne,
.preview-m {
    display: block;
    background: #00BCD4;
    color: black;
    font-weight: bold;
    padding: 2px 6px;
    width: fit-content;
    margin-bottom: 4px;
    font-size: 0.9em;
}

.preview-sep-grueso {
    border-top: 2px solid black;
    margin: 8px 0;
}

.preview-restriccion {
    color: black;
    font-style: italic;
    font-size: 0.85em;
    margin-bottom: 4px;
}

.preview-manana,
.preview-tarde {
    min-height: 40px;
}

.preview-sep-fino {
    border-top: 1px dashed #666;
    margin: 12px 0;
}

.preview-visita {
    margin-bottom: 8px;
}

.preview-estudio {
    font-weight: bold;
    text-decoration: underline;
    color: black;
    font-size: 0.85em;
}

.preview-linea {
    color: black;
    font-size: 0.85em;
}

.preview-semana {
    background: #CC0000;
    color: black;
    font-weight: bold;
    padding: 0 3px;
    border-radius: 2px;
}

/* =========================================================
   OPCIONES DE CAMBIO DE AGENDA
========================================================= */

.opciones-cambio {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.opcion-cambio {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 15px;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}

.opcion-cambio:hover {
    background-color: var(--hover-bg);
    border-color: var(--accent-green);
}

.opcion-cambio input[type="radio"] {
    margin-top: 4px;
    accent-color: var(--accent-green);
}

.opcion-info {
    flex: 1;
    font-size: 0.9em;
}

.opcion-fecha {
    font-size: 1em;
    margin-bottom: 4px;
}

.opcion-raters {
    color: var(--text-muted);
    font-size: 0.9em;
    margin-bottom: 4px;
}

.preview-resonancia {
    color: black;
    font-weight: bold;
    font-size: 1.1em;
    margin-left: 2px;
}