/* _content/InmoNAV.Mudblazor.Web/Components/Shared/HitosProgressChart.razor.rz.scp.css */
.cn-hitos-empty[b-hxs40rodez] {
    margin: 0;
    color: var(--mud-palette-text-secondary);
    font-size: 0.875rem;
}

.cn-hitos-chart-scroll[b-hxs40rodez] {
    overflow-x: auto;
    padding: 26px 4px 0;
}

.cn-hitos-line-chart[b-hxs40rodez] {
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    min-width: 480px;
}

.cn-hitos-y-title[b-hxs40rodez] {
    position: absolute;
    top: -25px;
    left: 0;
    color: var(--mud-palette-text-primary);
    font-size: 0.875rem;
}

.cn-hitos-y-labels[b-hxs40rodez] {
    position: relative;
}

.cn-hitos-y-label[b-hxs40rodez] {
    position: absolute;
    right: 8px;
    display: flex;
    max-width: 100%;
    flex-direction: column;
    transform: translateY(-50%);
    line-height: 1.25;
    text-align: right;
}

.cn-hitos-y-label span[b-hxs40rodez],
.cn-hitos-y-excluido span[b-hxs40rodez] {
    overflow: hidden;
    color: var(--mud-palette-text-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cn-hitos-y-label small[b-hxs40rodez],
.cn-hitos-y-excluido small[b-hxs40rodez] {
    font-size: 0.6875rem;
    font-weight: 600;
}

.cn-hitos-y-excluido[b-hxs40rodez] {
    display: flex;
    flex-direction: column;
    margin-top: 26px;
    padding-right: 8px;
    opacity: 0.6;
    line-height: 1.25;
    text-align: right;
}

.cn-hitos-y-excluido span[b-hxs40rodez] {
    text-decoration: line-through;
}

.cn-hitos-y-excluido small[b-hxs40rodez] {
    color: var(--mud-palette-text-secondary);
}

.cn-hitos-x-axis[b-hxs40rodez] {
    min-width: 0;
}

.cn-hitos-plot[b-hxs40rodez] {
    position: relative;
    border-bottom: 2px solid var(--mud-palette-text-primary);
    border-left: 2px solid var(--mud-palette-text-primary);
    background: color-mix(in srgb, var(--mud-palette-surface) 96%, var(--mud-palette-primary) 4%);
}

.cn-hitos-grid-horizontal[b-hxs40rodez],
.cn-hitos-grid-vertical[b-hxs40rodez] {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.cn-hitos-grid-horizontal[b-hxs40rodez] {
    right: 0;
    left: 0;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.cn-hitos-grid-vertical[b-hxs40rodez] {
    top: 0;
    bottom: 0;
    border-left: 1px dashed var(--mud-palette-lines-default);
}

.cn-hitos-line[b-hxs40rodez] {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.cn-hitos-point[b-hxs40rodez] {
    position: absolute;
    z-index: 2;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%);
    border: 2px solid var(--mud-palette-surface);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--mud-palette-text-primary);
}

.cn-hitos-x-ticks[b-hxs40rodez] {
    position: relative;
    height: 30px;
    color: var(--mud-palette-text-secondary);
    font-size: 0.75rem;
}

.cn-hitos-x-tick[b-hxs40rodez] {
    position: absolute;
    top: 6px;
    transform: translateX(-50%);
    white-space: nowrap;
}

.cn-hitos-tick-start[b-hxs40rodez] {
    transform: none;
}

.cn-hitos-tick-end[b-hxs40rodez] {
    transform: translateX(-100%);
}

.cn-hitos-axis-footer[b-hxs40rodez] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    color: var(--mud-palette-text-secondary);
    font-size: 0.75rem;
}

.cn-hitos-axis-footer span[b-hxs40rodez] {
    display: flex;
    flex-direction: column;
}

.cn-hitos-axis-footer strong[b-hxs40rodez] {
    color: var(--mud-palette-text-primary);
    font-weight: 600;
}

.cn-hitos-time-title[b-hxs40rodez] {
    align-self: flex-end;
    text-align: center;
}

.cn-hitos-date-end[b-hxs40rodez] {
    text-align: right;
}

.cn-sr-only[b-hxs40rodez] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.cn-hitos-point-label[b-hxs40rodez] {
    position: absolute;
    z-index: 2;
    transform: translate(-50%, calc(-100% - 10px));
    color: var(--mud-palette-text-primary);
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
}

.cn-hitos-point-label-end[b-hxs40rodez] {
    transform: translate(-100%, calc(-100% - 10px));
}

/* Today, when the project ends later. */
.cn-hitos-today[b-hxs40rodez] {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    border-left: 1px solid var(--mud-palette-text-secondary);
    opacity: 0.6;
    pointer-events: none;
}

.cn-hitos-today > span[b-hxs40rodez] {
    position: absolute;
    top: 2px;
    left: 4px;
    color: var(--mud-palette-text-secondary);
    font-size: 0.7rem;
    font-weight: 600;
}

.cn-hitos-current[b-hxs40rodez] {
    position: absolute;
    right: 4px;
    transform: translateY(calc(100% - 4px));
    color: var(--mud-palette-text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    pointer-events: none;
}

.cn-hitos-legend[b-hxs40rodez] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    color: var(--mud-palette-text-primary);
    font-size: 0.75rem;
}

.cn-hitos-legend li[b-hxs40rodez] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cn-hitos-legend small[b-hxs40rodez] {
    color: var(--mud-palette-text-secondary);
}

.cn-hitos-legend-dot[b-hxs40rodez] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* EVO013: a label that goes below its point sits beside the riser, not on it: right under a point is the
   vertical step that leads up to it. To the right (left at the end of the axis) there is only the shaded area. */
.cn-hitos-point-label-below[b-hxs40rodez] {
    transform: translate(9px, 4px);
}

.cn-hitos-point-label-end.cn-hitos-point-label-below[b-hxs40rodez] {
    transform: translate(calc(-100% - 9px), 4px);
}

.cn-hitos-lista[b-hxs40rodez] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.cn-hitos-lista li[b-hxs40rodez] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 0.8125rem;
}

.cn-hitos-lista-nombre[b-hxs40rodez] {
    overflow: hidden;
    color: var(--mud-palette-text-primary);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cn-hitos-lista small[b-hxs40rodez] {
    font-size: 0.6875rem;
    font-weight: 600;
}

.cn-hitos-lista-excluido[b-hxs40rodez] {
    opacity: 0.6;
}

.cn-hitos-lista-excluido .cn-hitos-lista-nombre[b-hxs40rodez] {
    text-decoration: line-through;
}
